If fname and any(fname) and (type(fname) is tuple):įilename, _ = QFileDialog.getOpenFileName(self, # so perhaps we keep our current hack for now? # update: it's turned out that this behavior is due to compatibility # So we need this hack to make sure that fname is a string of a filename # PyQt5 documentation), but for some reason fname is a tuple. # HACK: fname is supposed to be a string (at least according to the # noinspection PyTypeChecker,P圜allB圜lassįname = QFileDialog.getOpenFileName(self, ![]() If self.last_file_path and self.last_file_type = ftype: _agl(())ĭef _get_filename_from_dialog(self, ftype='input'): _hwnd(())Įlif sys.platform = "darwin": # for MacOS _xwindow(())Įlif sys.platform = "win32": # for Windows If sys.platform = "linux2": # for Linux using the X Server # vlc, different platforms have different functions for this # you have to give the id of the QFrame (or similar object) to # (otherwise a video would be displayed in it's own window) # the media player has to be 'connected' to the QFrame # set the title of the track as window title Self, "Open File", os.path.expanduser("~")) Reply = msg.question(self, 'Message', question, msg.Yes, msg.No) Question = "Do you want to choose a custom list of domain specific common words?" Self.tag = (TextWorker(), QtCore.QThread()) Text = codecs.open(file_name, "r", "utf-8").read() Ret = QMessageBox.warning(self, "Warning", 'missing ffmpeg binaries, please download it from '+versione+' and paste it in /.qgis3/python/plugins/Video_UAV_Tracker/FFMPEG/ ', QMessageBox.Ok)ĭtNameFilters()įile_name = dialog.getOpenFileName(self, 'Open file') Self.GPXfile, _ = QFileDialog.getOpenFileName(self,"Select GPX file", "","All Files (*) Video File (*.gpx)", options=options) file, _ = QFileDialog.getOpenFileName(self,"Select Video File", "","All Files (*) Video File (*.mp4 *.avi *.ogv)", options=options) Options |= QFileDialog.DontUseNativeDialog It is used as the game engine for City In A Bottle, a game on evolution by natural selection.Ffmpeg = os.path.dirname(_file_)+'/FFMPEG/ffmpeg.exe'įfmpeg = os.path.dirname(_file_)+'/FFMPEG/./ffmpeg' NOGL NodeBox for OpenGL: cross-platform version developed for rendering fast animation of images. The foundation for NodeBox 3 was laid during the Gravital research project. ![]() NB3 NodeBox 3: NodeBox 3 is cross-platform and has a node-based GUI. Vampyr!: contemporary music + live performance with a NodeBox installation.It allows concepts to be related to each other in a semantic network of common sense. Perception: a web application for NodeBox to play with.Studying at the Experimental Media Research Group: graduate students with an interest in computer graphics are welcome to come and stay with the NodeBox development team for a while. ![]() NodeBox Workshops: view the results of current and past NodeBox workshops.1.8.5 - Fast, integrated path mathematics.1.8.5 - Stop running scripts by hitting command-dot.1.9.0 - Import NodeBox into any Python project.1.9.0 - Export to PNG, TIFF, JPEG and more.1.9.2 - Leopard compatibility, Python 2.5.1.9.3 - Boolean operations (union/intersect/difference).NodeBox is free and well-documented.ĭownload NodeBox for Mac OS X (version 1.9.5)Ĭompatible with Mac OS X 10.5 (Leopard) and NodeBox is a Mac OS X application that lets you create 2D visuals (static, animated or interactive) using Python programming code and export them as a PDF or a QuickTime movie.
0 Comments
Leave a Reply. |