def __init__(self, parent=None): ExplorerWidget.__init__(self, parent=parent, name_filters=self.get_option('name_filters'), show_all=self.get_option('show_all'), show_icontext=self.get_option('show_icontext')) SpyderPluginMixin.__init__(self, parent) # Initialize plugin self.initialize_plugin()
def __init__(self, parent=None, path=None): ExplorerWidget.__init__(self, parent=parent, path=path, name_filters=CONF.get(self.ID, 'name_filters'), valid_types=CONF.get(self.ID, 'valid_filetypes'), show_all=CONF.get(self.ID, 'show_all'), show_toolbar=CONF.get(self.ID, 'show_toolbar'), show_icontext=CONF.get(self.ID, 'show_icontext')) PluginMixin.__init__(self, parent) self.set_font(get_font(self.ID)) self.connect(self, SIGNAL("open_file(QString)"), self.open_file)
def __init__(self, parent=None): ExplorerWidget.__init__(self, parent=parent, name_filters=self.get_option('name_filters'), valid_types=VALID_EXT, show_all=self.get_option('show_all'), show_toolbar=self.get_option('show_toolbar'), show_icontext=self.get_option('show_icontext')) SpyderPluginMixin.__init__(self, parent) # Initialize plugin self.initialize_plugin() self.set_font(self.get_plugin_font())
def __init__(self, parent=None): ExplorerWidget.__init__( self, parent=parent, name_filters=self.get_option("name_filters"), show_all=self.get_option("show_all"), show_icontext=self.get_option("show_icontext"), ) SpyderPluginMixin.__init__(self, parent) # Initialize plugin self.initialize_plugin() self.set_font(self.get_plugin_font())
def __init__(self, parent=None): ExplorerWidget.__init__(self, parent=parent, path=CONF.get(self.ID, 'path', None), name_filters=CONF.get(self.ID, 'name_filters'), valid_types=CONF.get(self.ID, 'valid_filetypes'), show_all=CONF.get(self.ID, 'show_all'), show_toolbar=CONF.get(self.ID, 'show_toolbar'), show_icontext=CONF.get(self.ID, 'show_icontext')) SpyderPluginMixin.__init__(self, parent) self.editor_valid_types = None self.set_font(get_font(self.ID)) self.connect(self, SIGNAL("open_file(QString)"), self.open_file)
def __init__(self, parent=None, path=None): ExplorerWidget.__init__( self, parent=parent, path=path, name_filters=CONF.get(self.ID, "name_filters"), valid_types=CONF.get(self.ID, "valid_filetypes"), show_all=CONF.get(self.ID, "show_all"), show_toolbar=CONF.get(self.ID, "show_toolbar"), show_icontext=CONF.get(self.ID, "show_icontext"), ) PluginMixin.__init__(self, parent) self.set_font(get_font(self.ID)) self.connect(self, SIGNAL("open_file(QString)"), self.open_file)