本文整理汇总了Python中spyderlib.plugins.SpyderPluginMixin.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python SpyderPluginMixin.__init__方法的具体用法?Python SpyderPluginMixin.__init__怎么用?Python SpyderPluginMixin.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类spyderlib.plugins.SpyderPluginMixin
的用法示例。
在下文中一共展示了SpyderPluginMixin.__init__方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from spyderlib.plugins import SpyderPluginMixin [as 别名]
# 或者: from spyderlib.plugins.SpyderPluginMixin import __init__ [as 别名]
def __init__(self, parent):
PydocBrowser.__init__(self, parent)
SpyderPluginMixin.__init__(self, parent)
self.set_zoom_factor(CONF.get(self.ID, 'zoom_factor'))
self.url_combo.setMaxCount(CONF.get(self.ID, 'max_history_entries'))
self.url_combo.addItems( self.load_history() )
示例2: __init__
# 需要导入模块: from spyderlib.plugins import SpyderPluginMixin [as 别名]
# 或者: from spyderlib.plugins.SpyderPluginMixin import __init__ [as 别名]
def __init__(self, parent):
QStackedWidget.__init__(self, parent)
SpyderPluginMixin.__init__(self, parent)
self.shellwidgets = {}
# Initialize plugin
self.initialize_plugin()
示例3: __init__
# 需要导入模块: from spyderlib.plugins import SpyderPluginMixin [as 别名]
# 或者: from spyderlib.plugins.SpyderPluginMixin import __init__ [as 别名]
def __init__(self, parent=None):
BreakpointWidget.__init__(self, parent=parent)
SpyderPluginMixin.__init__(self, parent)
# Initialize plugin
self.initialize_plugin()
self.set_data()
示例4: __init__
# 需要导入模块: from spyderlib.plugins import SpyderPluginMixin [as 别名]
# 或者: from spyderlib.plugins.SpyderPluginMixin import __init__ [as 别名]
def __init__(self, parent=None):
supported_encodings = self.get_option('supported_encodings')
search_path = self.get_option('search_path', None)
self.search_text_samples = self.get_option('search_text_samples')
search_text = self.get_option('search_text')
search_text = [txt for txt in search_text \
if txt not in self.search_text_samples]
search_text += self.search_text_samples
search_text_regexp = self.get_option('search_text_regexp')
include = self.get_option('include')
include_idx = self.get_option('include_idx', None)
include_regexp = self.get_option('include_regexp')
exclude = self.get_option('exclude')
exclude_idx = self.get_option('exclude_idx', None)
exclude_regexp = self.get_option('exclude_regexp')
in_python_path = self.get_option('in_python_path')
more_options = self.get_option('more_options')
FindInFilesWidget.__init__(self, parent,
search_text, search_text_regexp, search_path,
include, include_idx, include_regexp,
exclude, exclude_idx, exclude_regexp,
supported_encodings,
in_python_path, more_options)
SpyderPluginMixin.__init__(self, parent)
# Initialize plugin
self.initialize_plugin()
self.connect(self, SIGNAL('toggle_visibility(bool)'), self.toggle)
示例5: __init__
# 需要导入模块: from spyderlib.plugins import SpyderPluginMixin [as 别名]
# 或者: from spyderlib.plugins.SpyderPluginMixin import __init__ [as 别名]
def __init__(self, parent=None):
PylintWidget.__init__(self, parent=parent,
max_entries=self.get_option('max_entries', 50))
SpyderPluginMixin.__init__(self, parent)
# Initialize plugin
self.initialize_plugin()
示例6: __init__
# 需要导入模块: from spyderlib.plugins import SpyderPluginMixin [as 别名]
# 或者: from spyderlib.plugins.SpyderPluginMixin import __init__ [as 别名]
def __init__(self, parent=None):
QWidget.__init__(self, parent=parent)
SpyderPluginMixin.__init__(self, parent)
layout = QVBoxLayout()
self.setLayout(layout)
# Initialize plugin
self.initialize_plugin()
示例7: __init__
# 需要导入模块: from spyderlib.plugins import SpyderPluginMixin [as 别名]
# 或者: from spyderlib.plugins.SpyderPluginMixin import __init__ [as 别名]
def __init__(self, parent=None):
CondaPackagesWidget.__init__(self, parent=parent)
SpyderPluginMixin.__init__(self, parent)
self.root_env = 'root'
self._prefix_to_set = self.get_environment_prefix()
# Initialize plugin
self.initialize_plugin()
示例8: __init__
# 需要导入模块: from spyderlib.plugins import SpyderPluginMixin [as 别名]
# 或者: from spyderlib.plugins.SpyderPluginMixin import __init__ [as 别名]
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()
示例9: __init__
# 需要导入模块: from spyderlib.plugins import SpyderPluginMixin [as 别名]
# 或者: from spyderlib.plugins.SpyderPluginMixin import __init__ [as 别名]
def __init__(self, parent=None):
CondaPackagesWidget.__init__(self, parent=parent)
SpyderPluginMixin.__init__(self, parent)
self.root_env = 'root'
self._env_to_set = self.get_active_env()
# Initialize plugin
self.initialize_plugin()
示例10: __init__
# 需要导入模块: from spyderlib.plugins import SpyderPluginMixin [as 别名]
# 或者: from spyderlib.plugins.SpyderPluginMixin import __init__ [as 别名]
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())
示例11: __init__
# 需要导入模块: from spyderlib.plugins import SpyderPluginMixin [as 别名]
# 或者: from spyderlib.plugins.SpyderPluginMixin import __init__ [as 别名]
def __init__(self, parent=None):
ProjectExplorerWidget.__init__(self, parent=parent,
name_filters=self.get_option('name_filters'),
valid_types=VALID_EXT,
show_all=self.get_option('show_all', False))
SpyderPluginMixin.__init__(self, parent)
# Initialize plugin
self.initialize_plugin()
self.treewidget.header().hide()
self.set_font(self.get_plugin_font())
self.load_config()
示例12: __init__
# 需要导入模块: from spyderlib.plugins import SpyderPluginMixin [as 别名]
# 或者: from spyderlib.plugins.SpyderPluginMixin import __init__ [as 别名]
def __init__(self, parent):
self.main = parent
PydocBrowser.__init__(self, parent)
SpyderPluginMixin.__init__(self, parent)
# Initialize plugin
self.initialize_plugin()
self.register_widget_shortcuts("Editor", self.find_widget)
self.webview.set_zoom_factor(self.get_option('zoom_factor'))
self.url_combo.setMaxCount(self.get_option('max_history_entries'))
self.url_combo.addItems( self.load_history() )
示例13: __init__
# 需要导入模块: from spyderlib.plugins import SpyderPluginMixin [as 别名]
# 或者: from spyderlib.plugins.SpyderPluginMixin import __init__ [as 别名]
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())
示例14: __init__
# 需要导入模块: from spyderlib.plugins import SpyderPluginMixin [as 别名]
# 或者: from spyderlib.plugins.SpyderPluginMixin import __init__ [as 别名]
def __init__(self, parent=None):
self.configCls = PyfabConfigStandalone
PyfabConfigSpyder.plugin = self
self.config = self
PyfabConfigSpyder.__init__(self)
pyfab_app.Autolayout.__init__(self)
self.AppCls = qapplication().__class__
SpyderPluginMixin.__init__(self, parent)
# Initialize plugin
self.initialize_plugin()
self.raise_() #useless
示例15: __init__
# 需要导入模块: from spyderlib.plugins import SpyderPluginMixin [as 别名]
# 或者: from spyderlib.plugins.SpyderPluginMixin import __init__ [as 别名]
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)