Пример #1
0
    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()
Пример #2
0
 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)
Пример #3
0
    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()
Пример #4
0
 def dockCloseEventTriggered(self):
     pyqt.deleteInstances(self, MayaQDockWidget)