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


Python TaurusWidget.getQtDesignerPluginInfo方法代码示例

本文整理汇总了Python中taurus.qt.qtgui.container.TaurusWidget.getQtDesignerPluginInfo方法的典型用法代码示例。如果您正苦于以下问题:Python TaurusWidget.getQtDesignerPluginInfo方法的具体用法?Python TaurusWidget.getQtDesignerPluginInfo怎么用?Python TaurusWidget.getQtDesignerPluginInfo使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在taurus.qt.qtgui.container.TaurusWidget的用法示例。


在下文中一共展示了TaurusWidget.getQtDesignerPluginInfo方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: getQtDesignerPluginInfo

# 需要导入模块: from taurus.qt.qtgui.container import TaurusWidget [as 别名]
# 或者: from taurus.qt.qtgui.container.TaurusWidget import getQtDesignerPluginInfo [as 别名]
 def getQtDesignerPluginInfo(cls):
     ret = TaurusWidget.getQtDesignerPluginInfo()
     ret['module'] = 'taurus.qt.qtgui.panel'
     ret['icon'] = "designer:listview.png"
     ret['container'] = False
     ret['group'] = 'Taurus Views'
     return ret
开发者ID:cmft,项目名称:taurus,代码行数:9,代码来源:taurusmodelchooser.py

示例2: getQtDesignerPluginInfo

# 需要导入模块: from taurus.qt.qtgui.container import TaurusWidget [as 别名]
# 或者: from taurus.qt.qtgui.container.TaurusWidget import getQtDesignerPluginInfo [as 别名]
 def getQtDesignerPluginInfo(cls):
     ret = TaurusWidget.getQtDesignerPluginInfo()
     ret['module'] = 'hklscan'
     ret['group'] = 'Taurus Containers'
     ret['container'] = ':/designer/frame.png'
     ret['container'] = True
     return ret
开发者ID:rhomspuron,项目名称:sardana,代码行数:9,代码来源:hklscan.py

示例3: getQtDesignerPluginInfo

# 需要导入模块: from taurus.qt.qtgui.container import TaurusWidget [as 别名]
# 或者: from taurus.qt.qtgui.container.TaurusWidget import getQtDesignerPluginInfo [as 别名]
 def getQtDesignerPluginInfo(cls):
     '''Reimplemented from :meth:`TaurusWidget.getQtDesignerPluginInfo`'''
     ret = TaurusWidget.getQtDesignerPluginInfo()
     ret['module'] = 'taurus.qt.qtgui.table'
     ret['group'] = 'Taurus Views'
     ret['icon'] = "designer:table.png"
     return ret
开发者ID:cmft,项目名称:taurus,代码行数:9,代码来源:taurusvaluestable.py

示例4: getQtDesignerPluginInfo

# 需要导入模块: from taurus.qt.qtgui.container import TaurusWidget [as 别名]
# 或者: from taurus.qt.qtgui.container.TaurusWidget import getQtDesignerPluginInfo [as 别名]
 def getQtDesignerPluginInfo(cls):
     ret = TaurusWidget.getQtDesignerPluginInfo()
     ret['module'] = 'actionform'
     ret['group'] = 'Taurus Linac Widgets'
     ret['container'] = ':/designer/dialogbuttonbox.png'
     ret['container'] = False
     return ret
开发者ID:srgblnch,项目名称:LinacGUI,代码行数:9,代码来源:actionform.py

示例5: getQtDesignerPluginInfo

# 需要导入模块: from taurus.qt.qtgui.container import TaurusWidget [as 别名]
# 或者: from taurus.qt.qtgui.container.TaurusWidget import getQtDesignerPluginInfo [as 别名]
    def getQtDesignerPluginInfo(cls):
        """Returns pertinent information in order to be able to build a valid
        QtDesigner widget plugin

        :return: (dict) a map with pertinent designer information"""
        ret = TaurusWidget.getQtDesignerPluginInfo()
        ret['module'] = 'taurus.qt.qtgui.plot'
        ret['group'] = 'Taurus Input'
        ret['icon'] = 'designer:arrayedit.png'
        ret['container'] = False
        return ret
开发者ID:cmft,项目名称:taurus,代码行数:13,代码来源:taurusarrayedit.py

示例6: getQtDesignerPluginInfo

# 需要导入模块: from taurus.qt.qtgui.container import TaurusWidget [as 别名]
# 或者: from taurus.qt.qtgui.container.TaurusWidget import getQtDesignerPluginInfo [as 别名]
 def getQtDesignerPluginInfo(cls):
     ret = TaurusWidget.getQtDesignerPluginInfo()
     ret['module'] = 'taurus.qt.qtgui.compact'
     ret['group'] = 'Taurus R+W'
     ret['icon'] = "designer:frame.png"
     if (cls.readWClass or cls.readWClass) is None:
         ret['container'] = True  # for base classes
     else:
         # for classes which already define the subwidgets
         ret['container'] = False
     return ret
开发者ID:cmft,项目名称:taurus,代码行数:13,代码来源:abstractswitcher.py

示例7: getQtDesignerPluginInfo

# 需要导入模块: from taurus.qt.qtgui.container import TaurusWidget [as 别名]
# 或者: from taurus.qt.qtgui.container.TaurusWidget import getQtDesignerPluginInfo [as 别名]
 def getQtDesignerPluginInfo(cls):
     ret = TaurusWidget.getQtDesignerPluginInfo()
     ret['module'] = 'electrongunsnapshot'
     ret['group'] = 'Taurus Linac Snapshot'
     ret['container'] = False
     return ret
开发者ID:srgblnch,项目名称:LinacGUI,代码行数:8,代码来源:electrongunsnapshot.py

示例8: getQtDesignerPluginInfo

# 需要导入模块: from taurus.qt.qtgui.container import TaurusWidget [as 别名]
# 或者: from taurus.qt.qtgui.container.TaurusWidget import getQtDesignerPluginInfo [as 别名]
 def getQtDesignerPluginInfo(cls):
     ret = TaurusWidget.getQtDesignerPluginInfo()
     ret['module'] = 'taurus.qt.qtgui.panel'
     ret['container'] = False
     return ret
开发者ID:cmft,项目名称:taurus,代码行数:7,代码来源:taurusform.py


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