本文整理汇总了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)
示例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)
示例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)
示例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)
示例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)