示例#1
0
 def _setupWindow(self):
     super(AovControl, self)._setupWindow()
     self.baseLayout = QtWidgets.QVBoxLayout()
     self.lightList = QtWidgets.QListWidget()
     self.aovList = QtWidgets.QListWidget()
     self.lightBox = QtWidgets.QGroupBox('Lights')
     self.aovBox = QtWidgets.QGroupBox('AOVs')
     self.lightBoxLayout = QtWidgets.QVBoxLayout(self.lightBox)
     self.aovBoxLayout = QtWidgets.QVBoxLayout(self.aovBox)
示例#2
0
    def _setupWindow(self):
        super(AttributeControl, self)._setupWindow()

        self.baseLayout = QtWidgets.QVBoxLayout()
        self.objectList = ListWidget()
        self.objectBox = QtWidgets.QGroupBox('Objects')
        self.objectBoxLayout = QtWidgets.QHBoxLayout()
        self.objectBoxControlLayout = QtWidgets.QVBoxLayout()
        self.controlBox = QtWidgets.QGroupBox('Control')
        self.controlBoxLayout = QtWidgets.QVBoxLayout()
        self.closeButton = QtWidgets.QPushButton('Close')
        self.tab = QtWidgets.QTabWidget()
        self.addObjectButton = QtWidgets.QPushButton(u'\u271A')
        self.removeObjectButton = QtWidgets.QPushButton(u'\u2716')
        self.refreshObjectButton = QtWidgets.QPushButton(u'\u267B')
        self.recursiveObjectButton = QtWidgets.QPushButton(u'\u272A')
示例#3
0
 def _groupWidgets(self, widgets, title):
     box = QtWidgets.QGroupBox(title)
     layout = QtWidgets.QVBoxLayout()
     box.setLayout(layout)
     addBorder(box)
     for widget in widgets:
         layout.addWidget(widget)
     return box
示例#4
0
 def _setupWindow(self):
     super(LightControl, self)._setupWindow()
     self.baseLayout = QtWidgets.QHBoxLayout()
     self.controlLayout = QtWidgets.QVBoxLayout()
     self.lightList = QtWidgets.QListWidget()
     self.lightBox = QtWidgets.QGroupBox('Lights')
     self.lightBoxLayout = QtWidgets.QVBoxLayout()
     self.controlBox = QtWidgets.QGroupBox('Control')
     self.controlBoxLayout = QtWidgets.QVBoxLayout(self.controlBox)
     self.cameraBox = QtWidgets.QGroupBox('View')
     self.cameraBoxLayout = QtWidgets.QVBoxLayout(self.cameraBox)
     self.checkBoxLayout = QtWidgets.QHBoxLayout()
     self.lightEnableCheckbox = QtWidgets.QCheckBox('Enabled')
     self.useKelvinCheckbox = QtWidgets.QCheckBox('Kelvin')
     self.selectLightCheckbox = QtWidgets.QCheckBox('Select')
     self.lookThroughLightCheckbox = QtWidgets.QCheckBox('Look Through')
     self.lightCheckboxLayout = QtWidgets.QHBoxLayout()
     self.refreshButton = QtWidgets.QPushButton('Refresh')
示例#5
0
 def _setupWindow(self):
     centralWidget = QtWidgets.QWidget(self)
     self.setCentralWidget(centralWidget)
     self._mainLayout = QtWidgets.QVBoxLayout(centralWidget)
     self._mainLayout.setContentsMargins(2, 2, 2, 2)
     centralWidget.setLayout(self._mainLayout)
     self.parentWidget = QtWidgets.QGroupBox()
     self.parentWidget.setObjectName("parentWidgetBox")
     centralWidget.setObjectName('centralWidget')
     self._mainLayout.setObjectName('baseMainLayout')
     self._mainLayout.addWidget(self.parentWidget)
     self.setMenuBar(self.menuBar)
     self.statusBar()