Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)

src/g/s/gsdview-HEAD/gsdview/qt4support.py   gsdview(Download)
    if ncols == 1:
        filters.insert(0, 'Text file (*.txt)')
        target = os.path.join(utils.default_workdir(), 'data.txt')
    if ncols == 2:
        filters.insert(0, 'INI file format (*.ini)')
        target = os.path.join(utils.default_workdir(), 'data.ini')
    else:
        target = os.path.join(utils.default_workdir(), 'data.csv')
            parent = None
 
    target = os.path.join(utils.default_workdir(), 'image.jpeg')
 
    filename, filter_ = QtGui.QFileDialog.getSaveFileNameAndFilter(

src/g/s/gsdview-HEAD/gsdview/plugins/gsdtoolsui/core.py   gsdview(Download)
        target = os.path.basename(src)
        target = os.path.splitext(target)[0] + '.kml'
        target = os.path.join(utils.default_workdir(), target)
 
        dst, filter_ = QtGui.QFileDialog.getSaveFileNameAndFilter(

src/g/s/gsdview-HEAD/gsdview/gdalbackend/widgets.py   gsdview(Download)
 
        # @TODO: use common dialaog
        target = os.path.join(utils.default_workdir(), 'metadata.ini')
        filename, filter_ = QtGui.QFileDialog.getSaveFileNameAndFilter(
            self, self.tr('Save'), target, ';;'.join(filters))

src/g/s/gsdview-HEAD/gsdview/app.py   gsdview(Download)
 
            # workdir
            workdir = settings.value('workdir', utils.default_workdir())
            workdir = os.path.expanduser(os.path.expandvars(workdir))
            self.filedialog.setDirectory(workdir)