本文整理汇总了Python中spyderlib.plugins.SpyderPluginMixin类的典型用法代码示例。如果您正苦于以下问题:Python SpyderPluginMixin类的具体用法?Python SpyderPluginMixin怎么用?Python SpyderPluginMixin使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了SpyderPluginMixin类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。
示例1: __init__
def __init__(self, parent=None):
BreakpointWidget.__init__(self, parent=parent)
SpyderPluginMixin.__init__(self, parent)
# Initialize plugin
self.initialize_plugin()
self.set_data()
开发者ID:gyenney,项目名称:Tools,代码行数:7,代码来源:p_breakpoints.py
示例2: __init__
def __init__(self, parent):
QStackedWidget.__init__(self, parent)
SpyderPluginMixin.__init__(self, parent)
self.shellwidgets = {}
# Initialize plugin
self.initialize_plugin()
开发者ID:jromang,项目名称:retina-old,代码行数:7,代码来源:variableexplorer.py
示例3: __init__
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() )
开发者ID:cheesinglee,项目名称:spyder,代码行数:7,代码来源:onlinehelp.py
示例4: __init__
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()
开发者ID:ImadBouirmane,项目名称:spyder,代码行数:7,代码来源:p_pylint.py
示例5: __init__
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)
开发者ID:jromang,项目名称:spyderlib,代码行数:31,代码来源:findinfiles.py
示例6: __init__
def __init__(self, parent=None):
QWidget.__init__(self, parent=parent)
SpyderPluginMixin.__init__(self, parent)
layout = QVBoxLayout()
self.setLayout(layout)
# Initialize plugin
self.initialize_plugin()
开发者ID:kirichoi,项目名称:spyderplugins,代码行数:8,代码来源:p_import_combine_phrasedml.py
示例7: __init__
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()
开发者ID:ccordoba12,项目名称:conda-manager,代码行数:9,代码来源:condapackages.py
示例8: __init__
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()
开发者ID:ChunHungLiu,项目名称:spyder,代码行数:9,代码来源:explorer.py
示例9: __init__
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()
开发者ID:lzfernandes,项目名称:conda-manager,代码行数:9,代码来源:condapackages.py
示例10: __init__
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())
开发者ID:jromang,项目名称:retina-old,代码行数:13,代码来源:explorer.py
示例11: __init__
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() )
开发者ID:ChunHungLiu,项目名称:spyder,代码行数:13,代码来源:onlinehelp.py
示例12: __init__
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()
开发者ID:jromang,项目名称:retina-old,代码行数:13,代码来源:projectexplorer.py
示例13: __init__
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())
开发者ID:ftsiadimos,项目名称:spyder,代码行数:14,代码来源:explorer.py
示例14: __init__
def __init__(self, parent):
QWidget.__init__(self, parent)
SpyderPluginMixin.__init__(self, parent)
# Widgets
self.stack = QStackedWidget(self)
self.shellwidgets = {}
# Layout
layout = QVBoxLayout()
layout.addWidget(self.stack)
self.setLayout(layout)
# Initialize plugin
self.initialize_plugin()
开发者ID:AminJamalzadeh,项目名称:spyder,代码行数:15,代码来源:variableexplorer.py
示例15: __init__
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)
开发者ID:cheesinglee,项目名称:spyder,代码行数:15,代码来源:explorer.py
示例16: __init__
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
开发者ID:hsauro,项目名称:sbnw,代码行数:15,代码来源:p_pyfab.py
示例17: __init__
def __init__(self, parent=None, fullpath_sorting=True):
show_fullpath = self.get_option('show_fullpath')
show_all_files = self.get_option('show_all_files')
show_comments = self.get_option('show_comments')
OutlineExplorerWidget.__init__(self, parent=parent,
show_fullpath=show_fullpath,
fullpath_sorting=fullpath_sorting,
show_all_files=show_all_files,
show_comments=show_comments)
SpyderPluginMixin.__init__(self, parent)
# Initialize plugin
self.initialize_plugin()
self.treewidget.header().hide()
self.load_config()
开发者ID:gyenney,项目名称:Tools,代码行数:16,代码来源:outlineexplorer.py
示例18: __init__
def __init__(self, parent=None):
channels = self.get_option('channels', ['anaconda', 'spyder-ide'])
active_channels = self.get_option('active_channels',
['anaconda', 'spyder-ide'])
CondaPackagesWidget.__init__(self,
parent=parent,
channels=channels,
active_channels=active_channels,
)
SpyderPluginMixin.__init__(self, parent)
self.root_env = 'root'
self._prefix_to_set = self.get_environment_prefix()
# Initialize plugin
self.initialize_plugin()
开发者ID:Discalced51,项目名称:conda-manager,代码行数:16,代码来源:condapackages.py
示例19: __init__
def __init__(self, parent=None):
self.new_project_action = None
include = CONF.get(self.ID, 'include', '.')
exclude = CONF.get(self.ID, 'exclude', r'\.pyc$|\.pyo$|\.orig$|^\.')
show_all = CONF.get(self.ID, 'show_all', False)
ProjectExplorerWidget.__init__(self, parent=parent, include=include,
exclude=exclude, show_all=show_all)
SpyderPluginMixin.__init__(self, parent)
self.editor_valid_types = None
self.set_font(get_font(self.ID))
if osp.isfile(self.DATAPATH):
self.load_config()
self.connect(self, SIGNAL("open_file(QString)"), self.open_file)
开发者ID:cheesinglee,项目名称:spyder,代码行数:17,代码来源:projectexplorer.py
示例20: __init__
def __init__(self, parent=None):
UnitTestingWidget.__init__(self, parent=parent)
SpyderPluginMixin.__init__(self, parent)
# Initialize plugin
self.initialize_plugin()
开发者ID:Nodd,项目名称:spyder.unittesting,代码行数:6,代码来源:unittesting.py
注:本文中的spyderlib.plugins.SpyderPluginMixin类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论