当前位置: 首页>>代码示例>>Python>>正文


Python plugins.SpyderPluginMixin类代码示例

本文整理汇总了Python中spyderlib.plugins.SpyderPluginMixin的典型用法代码示例。如果您正苦于以下问题:Python SpyderPluginMixin类的具体用法?Python SpyderPluginMixin怎么用?Python SpyderPluginMixin使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了SpyderPluginMixin类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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


注:本文中的spyderlib.plugins.SpyderPluginMixin类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。