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


Python PM_Dialog.close方法代码示例

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


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

示例1: close

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

        # Restore the original global display style.
        self.o.setGlobalDisplayStyle(self.originalDisplayStyle)
开发者ID:ematvey,项目名称:NanoEngineer-1,代码行数:11,代码来源:DnaDisplayStyle_PropertyManager.py

示例2: close

# 需要导入模块: from PM.PM_Dialog import PM_Dialog [as 别名]
# 或者: from PM.PM_Dialog.PM_Dialog import close [as 别名]
    def close(self):
        """
        Closes the Property Manager. Overrides PM_Dialog.close.
        """
        # this is important since these pref keys are used in other command modes
        # as well and we do not want to see the 5' end arrow in Inset DNA mode

        self.connect_or_disconnect_signals(False)
        PM_Dialog.close(self)
开发者ID:octopus89,项目名称:NanoEngineer-1,代码行数:11,代码来源:BreakOrJoinStrands_PropertyManager.py

示例3: close

# 需要导入模块: from PM.PM_Dialog import PM_Dialog [as 别名]
# 或者: from PM.PM_Dialog.PM_Dialog import close [as 别名]
 def close(self):
     """
     Closes the Property Manager. Overrides PM_Dialog.close.
     """   
     #First exit temporary modes (e.g. Pan mode) if any.
     currentCommand = self.win.commandSequencer.currentCommand 
     if not currentCommand.command_has_its_own_gui:
         currentCommand.Done()
     self.connect_or_disconnect_signals(isConnect = False)
     PM_Dialog.close(self) 
开发者ID:ematvey,项目名称:NanoEngineer-1,代码行数:12,代码来源:QuteMolPropertyManager.py

示例4: close

# 需要导入模块: from PM.PM_Dialog import PM_Dialog [as 别名]
# 或者: from PM.PM_Dialog.PM_Dialog import close [as 别名]
 def close(self):
     """
     Closes the Property Manager. Overrides PM_Dialog.close.
     """
     #First exit temporary modes (e.g. Pan mode) if any.
     currentCommand = self.win.commandSequencer.currentCommand
     if not currentCommand.command_has_its_own_gui:
         currentCommand.Done()
     self.connect_or_disconnect_signals(False)
     self.enable_or_disable_gui_actions(bool_enable = True)
     self.updateCommandToolbar(bool_entering = False)
     PM_Dialog.close(self)
开发者ID:ematvey,项目名称:NanoEngineer-1,代码行数:14,代码来源:EditCommand_PM.py

示例5: close

# 需要导入模块: from PM.PM_Dialog import PM_Dialog [as 别名]
# 或者: from PM.PM_Dialog.PM_Dialog import close [as 别名]
 def close(self):
     """
     Closes the Property Manager. Overrides PM_Dialog.close.
     """
     self.connect_or_disconnect_signals(False)
     PM_Dialog.close(self)
开发者ID:ematvey,项目名称:NanoEngineer-1,代码行数:8,代码来源:OrderDna_PropertyManager.py


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