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


Python PM_Dialog.show方法代码示例

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


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

示例1: show

# 需要导入模块: from PM.PM_Dialog import PM_Dialog [as 别名]
# 或者: from PM.PM_Dialog.PM_Dialog import show [as 别名]
 def show(self):
     """
     Shows the Property Manager. Overrides PM_Dialog.show.
     """
     PM_Dialog.show(self)
     # self.updateDnaDisplayStyleWidgets()
     self.connect_or_disconnect_signals(isConnect = True)
开发者ID:ematvey,项目名称:NanoEngineer-1,代码行数:9,代码来源:StereoProperties_PropertyManager.py

示例2: show

# 需要导入模块: from PM.PM_Dialog import PM_Dialog [as 别名]
# 或者: from PM.PM_Dialog.PM_Dialog import show [as 别名]
 def show(self):
     """
     Shows the Property Manager. Overrides PM_Dialog.show.
     """
     self._updateAllWidgets()
     PM_Dialog.show(self)
     self.connect_or_disconnect_signals(isConnect = True)
开发者ID:ematvey,项目名称:NanoEngineer-1,代码行数:9,代码来源:ColorScheme_PropertyManager.py

示例3: show

# 需要导入模块: from PM.PM_Dialog import PM_Dialog [as 别名]
# 或者: from PM.PM_Dialog.PM_Dialog import show [as 别名]
 def show(self):
     """
     Shows the Property Manager. Overrides PM_Dialog.show.
     """
     PM_Dialog.show(self)
     self.connect_or_disconnect_signals(isConnect=True)
     return
开发者ID:octopus89,项目名称:NanoEngineer-1,代码行数:9,代码来源:BreakOrJoinStrands_PropertyManager.py

示例4: show

# 需要导入模块: from PM.PM_Dialog import PM_Dialog [as 别名]
# 或者: from PM.PM_Dialog.PM_Dialog import show [as 别名]
 def show(self):
     """
     Shows the Property Manager. Overrides PM_Dialog.show)
     """
     if self.isVisible(): # Fixes bug 2680. --Mark 2008-03-19
         return
     PM_Dialog.show(self)
     self.connect_or_disconnect_signals(isConnect = True)
开发者ID:ematvey,项目名称:NanoEngineer-1,代码行数:10,代码来源:QuteMolPropertyManager.py

示例5: show

# 需要导入模块: from PM.PM_Dialog import PM_Dialog [as 别名]
# 或者: from PM.PM_Dialog.PM_Dialog import show [as 别名]
 def show(self):
     """
     Shows the Property Manager. Overrides PM_Dialog.show)
     """
     self._update_widgets_in_PM_before_show()
     PM_Dialog.show(self)
     self.connect_or_disconnect_signals(isConnect = True)
     self.enable_or_disable_gui_actions(bool_enable = False)
     self.updateCommandToolbar(bool_entering = True)
开发者ID:ematvey,项目名称:NanoEngineer-1,代码行数:11,代码来源:EditCommand_PM.py

示例6: show

# 需要导入模块: from PM.PM_Dialog import PM_Dialog [as 别名]
# 或者: from PM.PM_Dialog.PM_Dialog import show [as 别名]
    def show(self):
        """
        Shows the Property Manager. Overrides PM_Dialog.show.
        """
        self.sequenceEditor = self.win.createProteinSequenceEditorIfNeeded()
        self.sequenceEditor.hide()
        PM_Dialog.show(self)

        # Update all PM widgets, then establish their signal-slot connections.
        # note: It is important to update the widgets *first* since doing
        # it in the reverse order will generate signals when updating
        # the PM widgets (via updateDnaDisplayStyleWidgets()), causing
        # unneccessary repaints of the model view.
        self.connect_or_disconnect_signals(isConnect = True)
开发者ID:ematvey,项目名称:NanoEngineer-1,代码行数:16,代码来源:EditRotamers_PropertyManager.py

示例7: show

# 需要导入模块: from PM.PM_Dialog import PM_Dialog [as 别名]
# 或者: from PM.PM_Dialog.PM_Dialog import show [as 别名]
    def show(self):
        """
        Shows the Property Manager. Overrides PM_Dialog.show.
        """
        PM_Dialog.show(self)

        # Force the Global Display Style to "DNA Cylinder" so the user
        # can see the display style setting effects on any DNA in the current
        # model. The current global display style will be restored when leaving
        # this command (via self.close()).
        self.originalDisplayStyle = self.o.getGlobalDisplayStyle()
        self.o.setGlobalDisplayStyle(diDNACYLINDER)

        # Update all PM widgets, then establish their signal-slot connections.
        # note: It is important to update the widgets *first* since doing
        # it in the reverse order will generate signals when updating
        # the PM widgets (via updateDnaDisplayStyleWidgets()), causing
        # unneccessary repaints of the model view.
        self.updateDnaDisplayStyleWidgets()
        self.connect_or_disconnect_signals(isConnect = True)
开发者ID:ematvey,项目名称:NanoEngineer-1,代码行数:22,代码来源:DnaDisplayStyle_PropertyManager.py


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