def __init__(self, parent=None): self.toolName = TYPE # Delete old instances of the componet settings window. pyqt.deleteInstances(self, MayaQDockWidget) self.iconsList = ['arrow', 'circle', 'compas', 'cross', 'crossarrow', 'cube', 'cubewithpeak', 'cylinder', 'diamond', 'flower', 'null', 'pyramid', 'sphere', 'square'] super(self.__class__, self).__init__(parent=parent) self.settingsTab = settingsTab() self.setup_componentSettingWindow() self.create_componentControls() self.populate_componentControls() self.create_componentLayout() self.create_componentConnections()
def __init__(self, parent=None): self.toolName = SYNOPTIC_WIDGET_NAME # Delete old instances of the componet settings window. gqt.deleteInstances(self, MayaQDockWidget) super(Synoptic, self).__init__(parent) self.create_widgets() self.setAttribute(QtCore.Qt.WA_DeleteOnClose)
def __init__(self, parent=None): self.toolName = TYPE # Delete old instances of the componet settings window. pyqt.deleteInstances(self, MayaQDockWidget) super(self.__class__, self).__init__(parent=parent) self.setup_componentSettingWindow() self.create_componentControls() self.populate_componentControls() self.create_componentLayout() self.create_componentConnections()
def dockCloseEventTriggered(self): pyqt.deleteInstances(self, MayaQDockWidget)