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