Beispiel #1
0
def get_disas_bg_color():
    """
    Get the background color of the disas text area via pixel... YOLO

    PS: please expose the get_graph_color(...) palette accessor, Ilfak ;_;
    """

    # find a form (eg, IDA view) to steal a pixel from
    for i in xrange(5):
        form = idaapi.find_tform("IDA View-%c" % chr(ord('A') + i))
        if form:
            break
    else:
        raise RuntimeError("Failed to find donor IDA View")

    # lookup the Qt Widget for the given form and take 2px tall image
    if using_pyqt5():
        widget = idaapi.PluginForm.FormToPyQtWidget(form)
        pixmap = widget.grab(QtCore.QRect(0, 0, widget.width(), 2))
    else:
        widget = idaapi.PluginForm.FormToPySideWidget(form)
        pixmap = QtGui.QPixmap.grabWidget(
            widget, QtCore.QRect(0, 0, widget.width(), 2))

    # extract a pixel from the top center like a pleb (hopefully a background pixel :|)
    img = QtGui.QImage(pixmap.toImage())
    color = QtGui.QColor(img.pixel(img.width() / 2, 1))

    # return the color of the pixel we extracted
    return color
Beispiel #2
0
 def setViewMode(self):
     view = str(self.ui.viewComboBox.currentText())
     if 'List' in view:
         self.ui.assetListWidget.setViewMode(QtGui.QListView.ListMode)
     if 'Icon' in view:
         self.ui.assetListWidget.setViewMode(QtGui.QListView.IconMode)
         self.ui.assetListWidget.setIconSize(QtCore.QSize(80, 80))
Beispiel #3
0
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(400, 300)
        self.verticalLayout = QtGui.QVBoxLayout(Dialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(Dialog)
        self.label.setAlignment(QtCore.Qt.AlignCenter)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.label_2 = QtGui.QLabel(Dialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout.addWidget(self.label_2)
        self.localUser_lineEdit = QtGui.QLineEdit(Dialog)
        self.localUser_lineEdit.setObjectName(_fromUtf8("localUser_lineEdit"))
        self.verticalLayout.addWidget(self.localUser_lineEdit)
        self.user_listWidget = QtGui.QListWidget(Dialog)
        self.user_listWidget.setObjectName(_fromUtf8("user_listWidget"))
        self.verticalLayout.addWidget(self.user_listWidget)
        self.setUser_pushButton = QtGui.QPushButton(Dialog)
        self.setUser_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.setUser_pushButton.setObjectName(_fromUtf8("setUser_pushButton"))
        self.verticalLayout.addWidget(self.setUser_pushButton)

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
Beispiel #4
0
def get_disas_bg_color():
    """
    Get the background color of an IDA disassembly view.

    -----------------------------------------------------------------------

    The necessity of this function is pretty silly. I would like lighthouse
    to be color-aware of the user's IDA theme such that it selects reasonable
    colors that maintain readability.

    Since there is no supported way to probe the palette & colors in use by
    IDA, we must get creative. This function attempts to locate an IDA
    disassembly view, and take a screenshot of said widget. It will then
    attempt to extract the color of a single background pixel (hopefully).

    PS: please expose the get_graph_color(...) palette accessor, Ilfak ;_;
    """

    # find a form (eg, IDA view) to steal a pixel from
    for i in xrange(5):
        form = idaapi.find_tform("IDA View-%c" % chr(ord('A') + i))
        if form:
            break
    else:
        raise RuntimeError("Failed to find donor IDA View")

    # locate the Qt Widget for an IDA View form and take 2px tall screenshot
    if using_pyqt5():
        widget = idaapi.PluginForm.FormToPyQtWidget(form)
        pixmap = widget.grab(QtCore.QRect(0, 0, widget.width(), 2))
    else:
        widget = idaapi.PluginForm.FormToPySideWidget(form)
        region = QtCore.QRect(0, 0, widget.width(), 2)
        pixmap = QtGui.QPixmap.grabWidget(widget, region)

    # extract 1 pixel like a pleb (hopefully a background pixel :|)
    img = QtGui.QImage(pixmap.toImage())
    color = QtGui.QColor(img.pixel(img.width() / 2, 1))

    # return the color of the pixel we extracted
    return color
Beispiel #5
0
 def init(self):
     self.dragFlipped = False
     # how many pixels you have to move the mouse to increse or decrease
     # the value
     self.incdecSteps = 20
     self._currentStep = 0
     self.lastCoordValueX = 0
     self.dragBeginCount = 9
     self._dragCurrentCount = 0
     # value which will be added or substracted
     self.incdecrementor = 0.1
     self.lastMousePressedPos = QtCore.QPoint()
Beispiel #6
0
    def setupUi(self, FacialRigWindow):
        FacialRigWindow.setObjectName(_fromUtf8("FacialRigWindow"))
        FacialRigWindow.resize(476, 554)
        self.centralwidget = QtGui.QWidget(FacialRigWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_4 = QtGui.QLabel(self.centralwidget)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
        self.project_comboBox = QtGui.QComboBox(self.centralwidget)
        self.project_comboBox.setObjectName(_fromUtf8("project_comboBox"))
        self.gridLayout.addWidget(self.project_comboBox, 0, 1, 1, 1)
        self.type_comboBox = QtGui.QComboBox(self.centralwidget)
        self.type_comboBox.setObjectName(_fromUtf8("type_comboBox"))
        self.gridLayout.addWidget(self.type_comboBox, 1, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.centralwidget)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 1, 0, 1, 1)
        self.label_6 = QtGui.QLabel(self.centralwidget)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout.addWidget(self.label_6, 2, 0, 1, 1)
        self.subType_comboBox = QtGui.QComboBox(self.centralwidget)
        self.subType_comboBox.setObjectName(_fromUtf8("subType_comboBox"))
        self.gridLayout.addWidget(self.subType_comboBox, 2, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.centralwidget)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout.addWidget(self.label_7, 3, 0, 1, 1)
        self.asset_comboBox = QtGui.QComboBox(self.centralwidget)
        self.asset_comboBox.setObjectName(_fromUtf8("asset_comboBox"))
        self.gridLayout.addWidget(self.asset_comboBox, 3, 1, 1, 1)
        self.gridLayout.setColumnStretch(0, 1)
        self.gridLayout.setColumnStretch(1, 2)
        self.horizontalLayout_3.addLayout(self.gridLayout)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_2 = QtGui.QLabel(self.centralwidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout.addWidget(self.label_2)
        self.path_lineEdit = QtGui.QLineEdit(self.centralwidget)
        self.path_lineEdit.setText(_fromUtf8(""))
        self.path_lineEdit.setObjectName(_fromUtf8("path_lineEdit"))
        self.horizontalLayout.addWidget(self.path_lineEdit)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.label_8 = QtGui.QLabel(self.centralwidget)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.horizontalLayout_4.addWidget(self.label_8)
        self.base_comboBox = QtGui.QComboBox(self.centralwidget)
        self.base_comboBox.setObjectName(_fromUtf8("base_comboBox"))
        self.horizontalLayout_4.addWidget(self.base_comboBox)
        self.import_pushButton = QtGui.QPushButton(self.centralwidget)
        self.import_pushButton.setObjectName(_fromUtf8("import_pushButton"))
        self.horizontalLayout_4.addWidget(self.import_pushButton)
        self.horizontalLayout_4.setStretch(0, 2)
        self.horizontalLayout_4.setStretch(1, 4)
        self.horizontalLayout_4.setStretch(2, 2)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.work_listWidget = QtGui.QListWidget(self.centralwidget)
        self.work_listWidget.setObjectName(_fromUtf8("work_listWidget"))
        self.horizontalLayout_2.addWidget(self.work_listWidget)
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.rig_pushButton = QtGui.QPushButton(self.centralwidget)
        self.rig_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.rig_pushButton.setObjectName(_fromUtf8("rig_pushButton"))
        self.gridLayout_2.addWidget(self.rig_pushButton, 9, 0, 1, 1)
        self.clearAnim_pushButton = QtGui.QPushButton(self.centralwidget)
        self.clearAnim_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.clearAnim_pushButton.setObjectName(
            _fromUtf8("clearAnim_pushButton"))
        self.gridLayout_2.addWidget(self.clearAnim_pushButton, 11, 0, 1, 1)
        self.render_pushButton = QtGui.QPushButton(self.centralwidget)
        self.render_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.render_pushButton.setObjectName(_fromUtf8("render_pushButton"))
        self.gridLayout_2.addWidget(self.render_pushButton, 7, 0, 1, 1)
        self.open_pushButton = QtGui.QPushButton(self.centralwidget)
        self.open_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.open_pushButton.setObjectName(_fromUtf8("open_pushButton"))
        self.gridLayout_2.addWidget(self.open_pushButton, 4, 0, 1, 1)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setSpacing(0)
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.label_13 = QtGui.QLabel(self.centralwidget)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.horizontalLayout_8.addWidget(self.label_13)
        self.renderRes_comboBox = QtGui.QComboBox(self.centralwidget)
        self.renderRes_comboBox.setObjectName(_fromUtf8("renderRes_comboBox"))
        self.horizontalLayout_8.addWidget(self.renderRes_comboBox)
        self.gridLayout_2.addLayout(self.horizontalLayout_8, 5, 0, 1, 1)
        self.clearRender_pushButton = QtGui.QPushButton(self.centralwidget)
        self.clearRender_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.clearRender_pushButton.setObjectName(
            _fromUtf8("clearRender_pushButton"))
        self.gridLayout_2.addWidget(self.clearRender_pushButton, 10, 0, 1, 1)
        self.anim_pushButton = QtGui.QPushButton(self.centralwidget)
        self.anim_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.anim_pushButton.setObjectName(_fromUtf8("anim_pushButton"))
        self.gridLayout_2.addWidget(self.anim_pushButton, 8, 0, 1, 1)
        self.save_pushButton = QtGui.QPushButton(self.centralwidget)
        self.save_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.save_pushButton.setObjectName(_fromUtf8("save_pushButton"))
        self.gridLayout_2.addWidget(self.save_pushButton, 3, 0, 1, 1)
        self.clearAll_pushButton = QtGui.QPushButton(self.centralwidget)
        self.clearAll_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.clearAll_pushButton.setObjectName(
            _fromUtf8("clearAll_pushButton"))
        self.gridLayout_2.addWidget(self.clearAll_pushButton, 12, 0, 1, 1)
        self.horizontalLayout_9 = QtGui.QHBoxLayout()
        self.horizontalLayout_9.setSpacing(0)
        self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9"))
        self.label_14 = QtGui.QLabel(self.centralwidget)
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.horizontalLayout_9.addWidget(self.label_14)
        self.animRes_comboBox = QtGui.QComboBox(self.centralwidget)
        self.animRes_comboBox.setObjectName(_fromUtf8("animRes_comboBox"))
        self.horizontalLayout_9.addWidget(self.animRes_comboBox)
        self.gridLayout_2.addLayout(self.horizontalLayout_9, 6, 0, 1, 1)
        self.copyTexture_pushButton = QtGui.QPushButton(self.centralwidget)
        self.copyTexture_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.copyTexture_pushButton.setObjectName(
            _fromUtf8("copyTexture_pushButton"))
        self.gridLayout_2.addWidget(self.copyTexture_pushButton, 2, 0, 1, 1)
        self.horizontalLayout_2.addLayout(self.gridLayout_2)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.verticalLayout_2.addLayout(self.verticalLayout)
        FacialRigWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(FacialRigWindow)
        QtCore.QMetaObject.connectSlotsByName(FacialRigWindow)
Beispiel #7
0
    def setupUi(self, assemblyBuilderUI):
        assemblyBuilderUI.setObjectName(_fromUtf8("assemblyBuilderUI"))
        assemblyBuilderUI.resize(775, 578)
        self.centralwidget = QtGui.QWidget(assemblyBuilderUI)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.horizontalLayout_11 = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_11.setObjectName(
            _fromUtf8("horizontalLayout_11"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(self.centralwidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.projectComboBox = QtGui.QComboBox(self.centralwidget)
        self.projectComboBox.setObjectName(_fromUtf8("projectComboBox"))
        self.horizontalLayout.addWidget(self.projectComboBox)
        self.label_2 = QtGui.QLabel(self.centralwidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout.addWidget(self.label_2)
        self.typeComboBox = QtGui.QComboBox(self.centralwidget)
        self.typeComboBox.setObjectName(_fromUtf8("typeComboBox"))
        self.typeComboBox.addItem(_fromUtf8(""))
        self.typeComboBox.addItem(_fromUtf8(""))
        self.typeComboBox.addItem(_fromUtf8(""))
        self.typeComboBox.addItem(_fromUtf8(""))
        self.horizontalLayout.addWidget(self.typeComboBox)
        self.label_3 = QtGui.QLabel(self.centralwidget)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.horizontalLayout.addWidget(self.label_3)
        self.subtypeComboBox = QtGui.QComboBox(self.centralwidget)
        self.subtypeComboBox.setObjectName(_fromUtf8("subtypeComboBox"))
        self.horizontalLayout.addWidget(self.subtypeComboBox)
        self.horizontalLayout.setStretch(0, 1)
        self.horizontalLayout.setStretch(1, 4)
        self.horizontalLayout.setStretch(2, 1)
        self.horizontalLayout.setStretch(3, 1)
        self.horizontalLayout.setStretch(4, 1)
        self.horizontalLayout.setStretch(5, 4)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.line_2 = QtGui.QFrame(self.centralwidget)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.verticalLayout_2.addWidget(self.line_2)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.label_5 = QtGui.QLabel(self.centralwidget)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.horizontalLayout_4.addWidget(self.label_5)
        self.searchLineEdit = QtGui.QLineEdit(self.centralwidget)
        self.searchLineEdit.setObjectName(_fromUtf8("searchLineEdit"))
        self.horizontalLayout_4.addWidget(self.searchLineEdit)
        self.label_4 = QtGui.QLabel(self.centralwidget)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.horizontalLayout_4.addWidget(self.label_4)
        self.viewComboBox = QtGui.QComboBox(self.centralwidget)
        self.viewComboBox.setObjectName(_fromUtf8("viewComboBox"))
        self.viewComboBox.addItem(_fromUtf8(""))
        self.viewComboBox.addItem(_fromUtf8(""))
        self.horizontalLayout_4.addWidget(self.viewComboBox)
        self.verticalLayout_2.addLayout(self.horizontalLayout_4)
        self.assetListWidget = QtGui.QListWidget(self.centralwidget)
        self.assetListWidget.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.assetListWidget.setProperty("showDropIndicator", False)
        self.assetListWidget.setDragEnabled(False)
        self.assetListWidget.setSelectionMode(
            QtGui.QAbstractItemView.SingleSelection)
        self.assetListWidget.setIconSize(QtCore.QSize(80, 80))
        self.assetListWidget.setViewMode(QtGui.QListView.IconMode)
        self.assetListWidget.setObjectName(_fromUtf8("assetListWidget"))
        self.verticalLayout_2.addWidget(self.assetListWidget)
        self.line_6 = QtGui.QFrame(self.centralwidget)
        self.line_6.setFrameShape(QtGui.QFrame.HLine)
        self.line_6.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_6.setObjectName(_fromUtf8("line_6"))
        self.verticalLayout_2.addWidget(self.line_6)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.tipPlainTextEdit = QtGui.QPlainTextEdit(self.centralwidget)
        self.tipPlainTextEdit.setEnabled(True)
        self.tipPlainTextEdit.setReadOnly(True)
        self.tipPlainTextEdit.setObjectName(_fromUtf8("tipPlainTextEdit"))
        self.horizontalLayout_5.addWidget(self.tipPlainTextEdit)
        self.line_5 = QtGui.QFrame(self.centralwidget)
        self.line_5.setFrameShape(QtGui.QFrame.VLine)
        self.line_5.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_5.setObjectName(_fromUtf8("line_5"))
        self.horizontalLayout_5.addWidget(self.line_5)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.label_6 = QtGui.QLabel(self.centralwidget)
        self.label_6.setAlignment(QtCore.Qt.AlignRight
                                  | QtCore.Qt.AlignTrailing
                                  | QtCore.Qt.AlignVCenter)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.horizontalLayout_2.addWidget(self.label_6)
        self.numCreateLineEdit = QtGui.QLineEdit(self.centralwidget)
        self.numCreateLineEdit.setObjectName(_fromUtf8("numCreateLineEdit"))
        self.horizontalLayout_2.addWidget(self.numCreateLineEdit)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.seperateCheckBox = QtGui.QCheckBox(self.centralwidget)
        self.seperateCheckBox.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.seperateCheckBox.setChecked(True)
        self.seperateCheckBox.setObjectName(_fromUtf8("seperateCheckBox"))
        self.verticalLayout.addWidget(self.seperateCheckBox)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.label_7 = QtGui.QLabel(self.centralwidget)
        self.label_7.setAlignment(QtCore.Qt.AlignRight
                                  | QtCore.Qt.AlignTrailing
                                  | QtCore.Qt.AlignVCenter)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.horizontalLayout_6.addWidget(self.label_7)
        self.txLineEdit = QtGui.QLineEdit(self.centralwidget)
        self.txLineEdit.setObjectName(_fromUtf8("txLineEdit"))
        self.horizontalLayout_6.addWidget(self.txLineEdit)
        self.label_8 = QtGui.QLabel(self.centralwidget)
        self.label_8.setAlignment(QtCore.Qt.AlignRight
                                  | QtCore.Qt.AlignTrailing
                                  | QtCore.Qt.AlignVCenter)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.horizontalLayout_6.addWidget(self.label_8)
        self.tzLineEdit = QtGui.QLineEdit(self.centralwidget)
        self.tzLineEdit.setObjectName(_fromUtf8("tzLineEdit"))
        self.horizontalLayout_6.addWidget(self.tzLineEdit)
        self.verticalLayout.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_5.addLayout(self.verticalLayout)
        self.addPushButton = QtGui.QPushButton(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.addPushButton.sizePolicy().hasHeightForWidth())
        self.addPushButton.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.addPushButton.setFont(font)
        self.addPushButton.setObjectName(_fromUtf8("addPushButton"))
        self.horizontalLayout_5.addWidget(self.addPushButton)
        self.horizontalLayout_5.setStretch(0, 3)
        self.horizontalLayout_5.setStretch(2, 2)
        self.horizontalLayout_5.setStretch(3, 1)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        self.verticalLayout_2.setStretch(3, 13)
        self.verticalLayout_2.setStretch(5, 2)
        self.horizontalLayout_3.addLayout(self.verticalLayout_2)
        self.line = QtGui.QFrame(self.centralwidget)
        self.line.setFrameShape(QtGui.QFrame.VLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.horizontalLayout_3.addWidget(self.line)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.horizontalLayout_9 = QtGui.QHBoxLayout()
        self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9"))
        self.horizontalLayout_10 = QtGui.QHBoxLayout()
        self.horizontalLayout_10.setObjectName(
            _fromUtf8("horizontalLayout_10"))
        self.label_9 = QtGui.QLabel(self.centralwidget)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.horizontalLayout_10.addWidget(self.label_9)
        self.countLineEdit = QtGui.QLineEdit(self.centralwidget)
        self.countLineEdit.setObjectName(_fromUtf8("countLineEdit"))
        self.horizontalLayout_10.addWidget(self.countLineEdit)
        self.horizontalLayout_9.addLayout(self.horizontalLayout_10)
        self.refreshPushButton = QtGui.QPushButton(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.refreshPushButton.sizePolicy().hasHeightForWidth())
        self.refreshPushButton.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(9)
        self.refreshPushButton.setFont(font)
        self.refreshPushButton.setObjectName(_fromUtf8("refreshPushButton"))
        self.horizontalLayout_9.addWidget(self.refreshPushButton)
        self.horizontalLayout_9.setStretch(0, 2)
        self.horizontalLayout_9.setStretch(1, 1)
        self.verticalLayout_3.addLayout(self.horizontalLayout_9)
        self.arListWidget = QtGui.QListWidget(self.centralwidget)
        self.arListWidget.setIconSize(QtCore.QSize(40, 40))
        self.arListWidget.setObjectName(_fromUtf8("arListWidget"))
        self.verticalLayout_3.addWidget(self.arListWidget)
        self.line_4 = QtGui.QFrame(self.centralwidget)
        self.line_4.setFrameShape(QtGui.QFrame.HLine)
        self.line_4.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_4.setObjectName(_fromUtf8("line_4"))
        self.verticalLayout_3.addWidget(self.line_4)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.nameRadioButton = QtGui.QRadioButton(self.centralwidget)
        self.nameRadioButton.setObjectName(_fromUtf8("nameRadioButton"))
        self.horizontalLayout_8.addWidget(self.nameRadioButton)
        self.nameLineEdit = QtGui.QLineEdit(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.nameLineEdit.sizePolicy().hasHeightForWidth())
        self.nameLineEdit.setSizePolicy(sizePolicy)
        self.nameLineEdit.setObjectName(_fromUtf8("nameLineEdit"))
        self.horizontalLayout_8.addWidget(self.nameLineEdit)
        self.verticalLayout_4.addLayout(self.horizontalLayout_8)
        self.verticalLayout_5 = QtGui.QVBoxLayout()
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.selectRadioButton = QtGui.QRadioButton(self.centralwidget)
        self.selectRadioButton.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.selectRadioButton.setChecked(True)
        self.selectRadioButton.setObjectName(_fromUtf8("selectRadioButton"))
        self.verticalLayout_5.addWidget(self.selectRadioButton)
        self.verticalLayout_4.addLayout(self.verticalLayout_5)
        self.horizontalLayout_7.addLayout(self.verticalLayout_4)
        self.replacePushButton = QtGui.QPushButton(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.replacePushButton.sizePolicy().hasHeightForWidth())
        self.replacePushButton.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.replacePushButton.setFont(font)
        self.replacePushButton.setObjectName(_fromUtf8("replacePushButton"))
        self.horizontalLayout_7.addWidget(self.replacePushButton)
        self.horizontalLayout_7.setStretch(0, 2)
        self.horizontalLayout_7.setStretch(1, 1)
        self.verticalLayout_3.addLayout(self.horizontalLayout_7)
        self.verticalLayout_3.setStretch(1, 6)
        self.verticalLayout_3.setStretch(3, 1)
        self.horizontalLayout_3.addLayout(self.verticalLayout_3)
        self.horizontalLayout_3.setStretch(0, 2)
        self.horizontalLayout_3.setStretch(2, 1)
        self.horizontalLayout_11.addLayout(self.horizontalLayout_3)
        assemblyBuilderUI.setCentralWidget(self.centralwidget)

        self.retranslateUi(assemblyBuilderUI)
        QtCore.QMetaObject.connectSlotsByName(assemblyBuilderUI)
    def setupUi(self, matteTools):
        matteTools.setObjectName(_fromUtf8("matteTools"))
        matteTools.resize(456, 600)
        self.centralwidget = QtGui.QWidget(matteTools)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.frame = QtGui.QFrame(self.centralwidget)
        self.frame.setFrameShape(QtGui.QFrame.Box)
        self.frame.setFrameShadow(QtGui.QFrame.Sunken)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.frame)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.label_6 = QtGui.QLabel(self.frame)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_6.setFont(font)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_4.addWidget(self.label_6, 3, 0, 1, 1)
        self.autoName_checkBox = QtGui.QCheckBox(self.frame)
        self.autoName_checkBox.setChecked(True)
        self.autoName_checkBox.setObjectName(_fromUtf8("autoName_checkBox"))
        self.gridLayout_4.addWidget(self.autoName_checkBox, 1, 2, 1, 1)
        self.label_2 = QtGui.QLabel(self.frame)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_2.setFont(font)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_4.addWidget(self.label_2, 1, 0, 1, 1)
        self.override_checkBox = QtGui.QCheckBox(self.frame)
        self.override_checkBox.setChecked(False)
        self.override_checkBox.setObjectName(_fromUtf8("override_checkBox"))
        self.gridLayout_4.addWidget(self.override_checkBox, 2, 2, 1, 1)
        self.path_lineEdit = QtGui.QLineEdit(self.frame)
        self.path_lineEdit.setEnabled(False)
        self.path_lineEdit.setObjectName(_fromUtf8("path_lineEdit"))
        self.gridLayout_4.addWidget(self.path_lineEdit, 2, 1, 1, 1)
        self.showAll_checkBox = QtGui.QCheckBox(self.frame)
        self.showAll_checkBox.setChecked(True)
        self.showAll_checkBox.setObjectName(_fromUtf8("showAll_checkBox"))
        self.gridLayout_4.addWidget(self.showAll_checkBox, 3, 2, 1, 1)
        self.label = QtGui.QLabel(self.frame)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_4.addWidget(self.label, 2, 0, 1, 1)
        self.name_lineEdit = QtGui.QLineEdit(self.frame)
        self.name_lineEdit.setText(_fromUtf8(""))
        self.name_lineEdit.setObjectName(_fromUtf8("name_lineEdit"))
        self.gridLayout_4.addWidget(self.name_lineEdit, 1, 1, 1, 1)
        self.dbFile_lineEdit = QtGui.QLineEdit(self.frame)
        self.dbFile_lineEdit.setObjectName(_fromUtf8("dbFile_lineEdit"))
        self.gridLayout_4.addWidget(self.dbFile_lineEdit, 3, 1, 1, 1)
        self.label_3 = QtGui.QLabel(self.frame)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_3.setFont(font)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_4.addWidget(self.label_3, 0, 0, 1, 1)
        self.project_comboBox = QtGui.QComboBox(self.frame)
        self.project_comboBox.setObjectName(_fromUtf8("project_comboBox"))
        self.gridLayout_4.addWidget(self.project_comboBox, 0, 1, 1, 1)
        self.verticalLayout_4.addLayout(self.gridLayout_4)
        self.id_tableWidget = QtGui.QTableWidget(self.frame)
        self.id_tableWidget.setMinimumSize(QtCore.QSize(220, 0))
        self.id_tableWidget.setObjectName(_fromUtf8("id_tableWidget"))
        self.id_tableWidget.setColumnCount(4)
        self.id_tableWidget.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.id_tableWidget.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.id_tableWidget.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.id_tableWidget.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.id_tableWidget.setHorizontalHeaderItem(3, item)
        self.verticalLayout_4.addWidget(self.id_tableWidget)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.assignObjectID_pushButton = QtGui.QPushButton(self.frame)
        self.assignObjectID_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.assignObjectID_pushButton.setObjectName(_fromUtf8("assignObjectID_pushButton"))
        self.horizontalLayout_3.addWidget(self.assignObjectID_pushButton)
        self.clearObjectID_pushButton = QtGui.QPushButton(self.frame)
        self.clearObjectID_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.clearObjectID_pushButton.setObjectName(_fromUtf8("clearObjectID_pushButton"))
        self.horizontalLayout_3.addWidget(self.clearObjectID_pushButton)
        self.horizontalLayout_3.setStretch(0, 3)
        self.horizontalLayout_3.setStretch(1, 1)
        self.verticalLayout_4.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_4.addLayout(self.verticalLayout_4)
        self.horizontalLayout_4.setStretch(0, 3)
        self.verticalLayout.addWidget(self.frame)
        matteTools.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(matteTools)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 456, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        matteTools.setMenuBar(self.menubar)

        self.retranslateUi(matteTools)
        QtCore.QObject.connect(self.override_checkBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.path_lineEdit.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(matteTools)
Beispiel #9
0
    def setupUi(self, AlembicImportWin):
        AlembicImportWin.setObjectName(_fromUtf8("AlembicImportWin"))
        AlembicImportWin.resize(571, 846)
        self.centralwidget = QtGui.QWidget(AlembicImportWin)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.frame = QtGui.QFrame(self.centralwidget)
        self.frame.setFrameShape(QtGui.QFrame.Box)
        self.frame.setFrameShadow(QtGui.QFrame.Sunken)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.frame)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_5 = QtGui.QLabel(self.frame)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_5.setFont(font)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 2, 0, 1, 1)
        self.project_comboBox = QtGui.QComboBox(self.frame)
        self.project_comboBox.setObjectName(_fromUtf8("project_comboBox"))
        self.gridLayout.addWidget(self.project_comboBox, 0, 1, 1, 1)
        self.sequence_comboBox = QtGui.QComboBox(self.frame)
        self.sequence_comboBox.setObjectName(_fromUtf8("sequence_comboBox"))
        self.gridLayout.addWidget(self.sequence_comboBox, 2, 1, 1, 1)
        self.label = QtGui.QLabel(self.frame)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.label_7 = QtGui.QLabel(self.frame)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_7.setFont(font)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout.addWidget(self.label_7, 4, 0, 1, 1)
        self.shot_comboBox = QtGui.QComboBox(self.frame)
        self.shot_comboBox.setObjectName(_fromUtf8("shot_comboBox"))
        self.gridLayout.addWidget(self.shot_comboBox, 4, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.frame)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_4.setFont(font)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 1, 0, 1, 1)
        self.episode_comboBox = QtGui.QComboBox(self.frame)
        self.episode_comboBox.setObjectName(_fromUtf8("episode_comboBox"))
        self.gridLayout.addWidget(self.episode_comboBox, 1, 1, 1, 1)
        self.gridLayout.setColumnStretch(0, 1)
        self.gridLayout.setColumnStretch(1, 2)
        self.horizontalLayout_2.addLayout(self.gridLayout)
        self.logo2_label = QtGui.QLabel(self.frame)
        self.logo2_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.logo2_label.setObjectName(_fromUtf8("logo2_label"))
        self.horizontalLayout_2.addWidget(self.logo2_label)
        self.logo_label = QtGui.QLabel(self.frame)
        self.logo_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.logo_label.setObjectName(_fromUtf8("logo_label"))
        self.horizontalLayout_2.addWidget(self.logo_label)
        self.horizontalLayout_2.setStretch(0, 2)
        self.horizontalLayout_2.setStretch(1, 1)
        self.horizontalLayout_2.setStretch(2, 1)
        self.verticalLayout_4.addLayout(self.horizontalLayout_2)
        self.verticalLayout_6.addWidget(self.frame)
        self.frame_2 = QtGui.QFrame(self.centralwidget)
        self.frame_2.setFrameShape(QtGui.QFrame.Box)
        self.frame_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.frame_2.setObjectName(_fromUtf8("frame_2"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.frame_2)
        self.verticalLayout_3.setSpacing(2)
        self.verticalLayout_3.setContentsMargins(9, 2, 9, 2)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.label_10 = QtGui.QLabel(self.frame_2)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_10.setFont(font)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.verticalLayout_3.addWidget(self.label_10)
        self.asset_tableWidget = QtGui.QTableWidget(self.frame_2)
        self.asset_tableWidget.setMinimumSize(QtCore.QSize(0, 200))
        self.asset_tableWidget.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.asset_tableWidget.setObjectName(_fromUtf8("asset_tableWidget"))
        self.asset_tableWidget.setColumnCount(10)
        self.asset_tableWidget.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.asset_tableWidget.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.asset_tableWidget.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.asset_tableWidget.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.asset_tableWidget.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.asset_tableWidget.setHorizontalHeaderItem(4, item)
        item = QtGui.QTableWidgetItem()
        self.asset_tableWidget.setHorizontalHeaderItem(5, item)
        item = QtGui.QTableWidgetItem()
        self.asset_tableWidget.setHorizontalHeaderItem(6, item)
        item = QtGui.QTableWidgetItem()
        self.asset_tableWidget.setHorizontalHeaderItem(7, item)
        item = QtGui.QTableWidgetItem()
        self.asset_tableWidget.setHorizontalHeaderItem(8, item)
        item = QtGui.QTableWidgetItem()
        self.asset_tableWidget.setHorizontalHeaderItem(9, item)
        self.asset_tableWidget.horizontalHeader().setVisible(True)
        self.asset_tableWidget.horizontalHeader().setCascadingSectionResizes(False)
        self.asset_tableWidget.horizontalHeader().setDefaultSectionSize(106)
        self.asset_tableWidget.horizontalHeader().setHighlightSections(True)
        self.asset_tableWidget.verticalHeader().setVisible(True)
        self.verticalLayout_3.addWidget(self.asset_tableWidget)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.all_checkBox = QtGui.QCheckBox(self.frame_2)
        self.all_checkBox.setChecked(True)
        self.all_checkBox.setObjectName(_fromUtf8("all_checkBox"))
        self.horizontalLayout_5.addWidget(self.all_checkBox)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.label_12 = QtGui.QLabel(self.frame_2)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_12.setFont(font)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.horizontalLayout_7.addWidget(self.label_12)
        self.assetVersion_comboBox = QtGui.QComboBox(self.frame_2)
        self.assetVersion_comboBox.setObjectName(_fromUtf8("assetVersion_comboBox"))
        self.horizontalLayout_7.addWidget(self.assetVersion_comboBox)
        self.horizontalLayout_7.setStretch(0, 1)
        self.horizontalLayout_7.setStretch(1, 2)
        self.horizontalLayout_5.addLayout(self.horizontalLayout_7)
        self.refresh_pushButton = QtGui.QPushButton(self.frame_2)
        self.refresh_pushButton.setObjectName(_fromUtf8("refresh_pushButton"))
        self.horizontalLayout_5.addWidget(self.refresh_pushButton)
        self.horizontalLayout_5.setStretch(0, 1)
        self.horizontalLayout_5.setStretch(2, 6)
        self.horizontalLayout_5.setStretch(3, 3)
        self.verticalLayout_3.addLayout(self.horizontalLayout_5)
        self.verticalLayout_3.setStretch(0, 1)
        self.verticalLayout_3.setStretch(1, 6)
        self.verticalLayout_3.setStretch(2, 1)
        self.verticalLayout_6.addWidget(self.frame_2)
        self.frame_3 = QtGui.QFrame(self.centralwidget)
        self.frame_3.setFrameShape(QtGui.QFrame.Box)
        self.frame_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.frame_3.setObjectName(_fromUtf8("frame_3"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout(self.frame_3)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.removeAsset_pushButton = QtGui.QPushButton(self.frame_3)
        self.removeAsset_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(156, 70, 71))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(156, 70, 71))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(156, 70, 71))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        self.removeAsset_pushButton.setPalette(palette)
        self.removeAsset_pushButton.setObjectName(_fromUtf8("removeAsset_pushButton"))
        self.gridLayout_2.addWidget(self.removeAsset_pushButton, 3, 0, 1, 1)
        self.label_6 = QtGui.QLabel(self.frame_3)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_6.setFont(font)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_2.addWidget(self.label_6, 0, 0, 1, 1)
        self.rebuildAbcAsset_pushButton = QtGui.QPushButton(self.frame_3)
        self.rebuildAbcAsset_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        self.rebuildAbcAsset_pushButton.setPalette(palette)
        self.rebuildAbcAsset_pushButton.setObjectName(_fromUtf8("rebuildAbcAsset_pushButton"))
        self.gridLayout_2.addWidget(self.rebuildAbcAsset_pushButton, 2, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem1, 4, 0, 1, 1)
        self.horizontalLayout_6.addLayout(self.gridLayout_2)
        self.line_3 = QtGui.QFrame(self.frame_3)
        self.line_3.setFrameShape(QtGui.QFrame.VLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName(_fromUtf8("line_3"))
        self.horizontalLayout_6.addWidget(self.line_3)
        self.gridLayout_6 = QtGui.QGridLayout()
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.label_13 = QtGui.QLabel(self.frame_3)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_13.setFont(font)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.gridLayout_6.addWidget(self.label_13, 0, 0, 1, 1)
        self.connectShade_pushButton = QtGui.QPushButton(self.frame_3)
        self.connectShade_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        self.connectShade_pushButton.setPalette(palette)
        self.connectShade_pushButton.setObjectName(_fromUtf8("connectShade_pushButton"))
        self.gridLayout_6.addWidget(self.connectShade_pushButton, 3, 0, 1, 1)
        self.removeCache_pushButton = QtGui.QPushButton(self.frame_3)
        self.removeCache_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(156, 70, 71))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(156, 70, 71))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(156, 70, 71))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        self.removeCache_pushButton.setPalette(palette)
        self.removeCache_pushButton.setObjectName(_fromUtf8("removeCache_pushButton"))
        self.gridLayout_6.addWidget(self.removeCache_pushButton, 4, 0, 1, 1)
        self.importCache_pushButton = QtGui.QPushButton(self.frame_3)
        self.importCache_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        self.importCache_pushButton.setPalette(palette)
        self.importCache_pushButton.setObjectName(_fromUtf8("importCache_pushButton"))
        self.gridLayout_6.addWidget(self.importCache_pushButton, 2, 0, 1, 1)
        self.rebuildAsset_pushButton = QtGui.QPushButton(self.frame_3)
        self.rebuildAsset_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        self.rebuildAsset_pushButton.setPalette(palette)
        self.rebuildAsset_pushButton.setObjectName(_fromUtf8("rebuildAsset_pushButton"))
        self.gridLayout_6.addWidget(self.rebuildAsset_pushButton, 1, 0, 1, 1)
        self.gridLayout_6.setRowStretch(0, 1)
        self.horizontalLayout_6.addLayout(self.gridLayout_6)
        self.horizontalLayout_6.setStretch(0, 1)
        self.horizontalLayout_6.setStretch(1, 1)
        self.horizontalLayout_6.setStretch(2, 1)
        self.verticalLayout_6.addWidget(self.frame_3)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.frame_4 = QtGui.QFrame(self.centralwidget)
        self.frame_4.setMaximumSize(QtCore.QSize(16777215, 240))
        self.frame_4.setFrameShape(QtGui.QFrame.Box)
        self.frame_4.setFrameShadow(QtGui.QFrame.Sunken)
        self.frame_4.setObjectName(_fromUtf8("frame_4"))
        self.verticalLayout = QtGui.QVBoxLayout(self.frame_4)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label_9 = QtGui.QLabel(self.frame_4)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_9.setFont(font)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.verticalLayout.addWidget(self.label_9)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.nonCache_tableWidget = QtGui.QTableWidget(self.frame_4)
        self.nonCache_tableWidget.setMinimumSize(QtCore.QSize(0, 100))
        self.nonCache_tableWidget.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.nonCache_tableWidget.setObjectName(_fromUtf8("nonCache_tableWidget"))
        self.nonCache_tableWidget.setColumnCount(2)
        self.nonCache_tableWidget.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.nonCache_tableWidget.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.nonCache_tableWidget.setHorizontalHeaderItem(1, item)
        self.nonCache_tableWidget.horizontalHeader().setVisible(True)
        self.nonCache_tableWidget.horizontalHeader().setCascadingSectionResizes(False)
        self.nonCache_tableWidget.horizontalHeader().setDefaultSectionSize(106)
        self.nonCache_tableWidget.horizontalHeader().setHighlightSections(True)
        self.nonCache_tableWidget.verticalHeader().setVisible(True)
        self.verticalLayout_2.addWidget(self.nonCache_tableWidget)
        self.refresh2_pushButton = QtGui.QPushButton(self.frame_4)
        self.refresh2_pushButton.setObjectName(_fromUtf8("refresh2_pushButton"))
        self.verticalLayout_2.addWidget(self.refresh2_pushButton)
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.all2_checkBox = QtGui.QCheckBox(self.frame_4)
        self.all2_checkBox.setChecked(True)
        self.all2_checkBox.setObjectName(_fromUtf8("all2_checkBox"))
        self.gridLayout_3.addWidget(self.all2_checkBox, 0, 0, 1, 1)
        self.importNonCache_pushButton = QtGui.QPushButton(self.frame_4)
        self.importNonCache_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        self.importNonCache_pushButton.setPalette(palette)
        self.importNonCache_pushButton.setObjectName(_fromUtf8("importNonCache_pushButton"))
        self.gridLayout_3.addWidget(self.importNonCache_pushButton, 1, 0, 1, 1)
        self.removeNonCache_pushButton = QtGui.QPushButton(self.frame_4)
        self.removeNonCache_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(156, 70, 71))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(156, 70, 71))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(156, 70, 71))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        self.removeNonCache_pushButton.setPalette(palette)
        self.removeNonCache_pushButton.setObjectName(_fromUtf8("removeNonCache_pushButton"))
        self.gridLayout_3.addWidget(self.removeNonCache_pushButton, 1, 1, 1, 1)
        self.importCamera_pushButton = QtGui.QPushButton(self.frame_4)
        self.importCamera_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(40, 60, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        self.importCamera_pushButton.setPalette(palette)
        self.importCamera_pushButton.setObjectName(_fromUtf8("importCamera_pushButton"))
        self.gridLayout_3.addWidget(self.importCamera_pushButton, 1, 2, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout_3)
        self.verticalLayout.addLayout(self.verticalLayout_2)
        self.horizontalLayout_8.addWidget(self.frame_4)
        self.frame_5 = QtGui.QFrame(self.centralwidget)
        self.frame_5.setMaximumSize(QtCore.QSize(16777215, 240))
        self.frame_5.setFrameShape(QtGui.QFrame.Box)
        self.frame_5.setFrameShadow(QtGui.QFrame.Sunken)
        self.frame_5.setObjectName(_fromUtf8("frame_5"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.frame_5)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.label_11 = QtGui.QLabel(self.frame_5)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_11.setFont(font)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.verticalLayout_5.addWidget(self.label_11)
        self.status_listWidget = QtGui.QListWidget(self.frame_5)
        self.status_listWidget.setObjectName(_fromUtf8("status_listWidget"))
        self.verticalLayout_5.addWidget(self.status_listWidget)
        self.horizontalLayout_8.addWidget(self.frame_5)
        self.horizontalLayout_8.setStretch(1, 1)
        self.verticalLayout_6.addLayout(self.horizontalLayout_8)
        self.verticalLayout_6.setStretch(1, 2)
        AlembicImportWin.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(AlembicImportWin)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 571, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        AlembicImportWin.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(AlembicImportWin)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        AlembicImportWin.setStatusBar(self.statusbar)

        self.retranslateUi(AlembicImportWin)
        QtCore.QMetaObject.connectSlotsByName(AlembicImportWin)
Beispiel #10
0
    def setupUi(self, taskManager):
        taskManager.setObjectName(_fromUtf8("taskManager"))
        taskManager.resize(1029, 636)
        self.centralwidget = QtGui.QWidget(taskManager)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout_9 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_9.setObjectName(_fromUtf8("verticalLayout_9"))
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.frame = QtGui.QFrame(self.centralwidget)
        self.frame.setFrameShape(QtGui.QFrame.Box)
        self.frame.setFrameShadow(QtGui.QFrame.Sunken)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.frame)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label = QtGui.QLabel(self.frame)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_2.addWidget(self.label, 2, 0, 1, 1)
        self.label_2 = QtGui.QLabel(self.frame)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1)
        self.user_comboBox = QtGui.QComboBox(self.frame)
        self.user_comboBox.setObjectName(_fromUtf8("user_comboBox"))
        self.gridLayout_2.addWidget(self.user_comboBox, 1, 1, 1, 1)
        self.project_comboBox = QtGui.QComboBox(self.frame)
        self.project_comboBox.setObjectName(_fromUtf8("project_comboBox"))
        self.gridLayout_2.addWidget(self.project_comboBox, 2, 1, 1, 1)
        self.step_comboBox = QtGui.QComboBox(self.frame)
        self.step_comboBox.setObjectName(_fromUtf8("step_comboBox"))
        self.gridLayout_2.addWidget(self.step_comboBox, 2, 7, 1, 1)
        self.episode_comboBox = QtGui.QComboBox(self.frame)
        self.episode_comboBox.setEnabled(True)
        self.episode_comboBox.setObjectName(_fromUtf8("episode_comboBox"))
        self.gridLayout_2.addWidget(self.episode_comboBox, 2, 3, 1, 1)
        self.entity_comboBox = QtGui.QComboBox(self.frame)
        self.entity_comboBox.setObjectName(_fromUtf8("entity_comboBox"))
        self.gridLayout_2.addWidget(self.entity_comboBox, 2, 5, 1, 1)
        self.label_10 = QtGui.QLabel(self.frame)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.gridLayout_2.addWidget(self.label_10, 2, 6, 1, 1)
        self.label_6 = QtGui.QLabel(self.frame)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_2.addWidget(self.label_6, 2, 4, 1, 1)
        self.label_4 = QtGui.QLabel(self.frame)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_2.addWidget(self.label_4, 2, 2, 1, 1)
        self.gridLayout_2.setColumnStretch(0, 1)
        self.gridLayout_2.setColumnStretch(1, 2)
        self.gridLayout_2.setColumnStretch(2, 1)
        self.gridLayout_2.setColumnStretch(3, 2)
        self.gridLayout_2.setColumnStretch(4, 1)
        self.gridLayout_2.setColumnStretch(5, 2)
        self.gridLayout_2.setColumnStretch(6, 1)
        self.gridLayout_2.setColumnStretch(7, 2)
        self.verticalLayout_2.addLayout(self.gridLayout_2)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.label_3 = QtGui.QLabel(self.frame)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.horizontalLayout_2.addWidget(self.label_3)
        self.path_lineEdit = QtGui.QLineEdit(self.frame)
        self.path_lineEdit.setText(_fromUtf8(""))
        self.path_lineEdit.setObjectName(_fromUtf8("path_lineEdit"))
        self.horizontalLayout_2.addWidget(self.path_lineEdit)
        self.status_label = QtGui.QLabel(self.frame)
        self.status_label.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.status_label.setObjectName(_fromUtf8("status_label"))
        self.horizontalLayout_2.addWidget(self.status_label)
        self.refresh_pushButton = QtGui.QPushButton(self.frame)
        self.refresh_pushButton.setObjectName(_fromUtf8("refresh_pushButton"))
        self.horizontalLayout_2.addWidget(self.refresh_pushButton)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_7.addWidget(self.frame)
        self.logo2_label = QtGui.QLabel(self.centralwidget)
        self.logo2_label.setAlignment(QtCore.Qt.AlignRight
                                      | QtCore.Qt.AlignTrailing
                                      | QtCore.Qt.AlignVCenter)
        self.logo2_label.setObjectName(_fromUtf8("logo2_label"))
        self.horizontalLayout_7.addWidget(self.logo2_label)
        self.logo_label = QtGui.QLabel(self.centralwidget)
        self.logo_label.setAlignment(QtCore.Qt.AlignRight
                                     | QtCore.Qt.AlignTrailing
                                     | QtCore.Qt.AlignVCenter)
        self.logo_label.setObjectName(_fromUtf8("logo_label"))
        self.horizontalLayout_7.addWidget(self.logo_label)
        self.horizontalLayout_7.setStretch(0, 18)
        self.horizontalLayout_7.setStretch(1, 3)
        self.horizontalLayout_7.setStretch(2, 3)
        self.verticalLayout_9.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.frame_4 = QtGui.QFrame(self.centralwidget)
        self.frame_4.setFrameShape(QtGui.QFrame.Box)
        self.frame_4.setFrameShadow(QtGui.QFrame.Sunken)
        self.frame_4.setObjectName(_fromUtf8("frame_4"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.frame_4)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.verticalLayout_8 = QtGui.QVBoxLayout()
        self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8"))
        self.label_9 = QtGui.QLabel(self.frame_4)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.verticalLayout_8.addWidget(self.label_9)
        self.status_listWidget = QtGui.QListWidget(self.frame_4)
        self.status_listWidget.setObjectName(_fromUtf8("status_listWidget"))
        self.verticalLayout_8.addWidget(self.status_listWidget)
        self.verticalLayout_5.addLayout(self.verticalLayout_8)
        self.verticalLayout_6 = QtGui.QVBoxLayout()
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.label_7 = QtGui.QLabel(self.frame_4)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.verticalLayout_6.addWidget(self.label_7)
        self.task_listWidget = QtGui.QListWidget(self.frame_4)
        self.task_listWidget.setObjectName(_fromUtf8("task_listWidget"))
        self.verticalLayout_6.addWidget(self.task_listWidget)
        self.verticalLayout_5.addLayout(self.verticalLayout_6)
        self.verticalLayout_5.setStretch(0, 4)
        self.verticalLayout_5.setStretch(1, 2)
        self.horizontalLayout.addWidget(self.frame_4)
        self.frame_6 = QtGui.QFrame(self.centralwidget)
        self.frame_6.setFrameShape(QtGui.QFrame.Box)
        self.frame_6.setFrameShadow(QtGui.QFrame.Sunken)
        self.frame_6.setObjectName(_fromUtf8("frame_6"))
        self.verticalLayout_10 = QtGui.QVBoxLayout(self.frame_6)
        self.verticalLayout_10.setObjectName(_fromUtf8("verticalLayout_10"))
        self.info_label = QtGui.QLabel(self.frame_6)
        self.info_label.setObjectName(_fromUtf8("info_label"))
        self.verticalLayout_10.addWidget(self.info_label)
        self.line = QtGui.QFrame(self.frame_6)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.verticalLayout_10.addWidget(self.line)
        self.verticalLayout_11 = QtGui.QVBoxLayout()
        self.verticalLayout_11.setObjectName(_fromUtf8("verticalLayout_11"))
        self.entity_label = QtGui.QLabel(self.frame_6)
        self.entity_label.setObjectName(_fromUtf8("entity_label"))
        self.verticalLayout_11.addWidget(self.entity_label)
        self.entities_listWidget = QtGui.QListWidget(self.frame_6)
        self.entities_listWidget.setObjectName(
            _fromUtf8("entities_listWidget"))
        self.verticalLayout_11.addWidget(self.entities_listWidget)
        self.note_checkBox = QtGui.QCheckBox(self.frame_6)
        self.note_checkBox.setChecked(True)
        self.note_checkBox.setObjectName(_fromUtf8("note_checkBox"))
        self.verticalLayout_11.addWidget(self.note_checkBox)
        self.line_2 = QtGui.QFrame(self.frame_6)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.verticalLayout_11.addWidget(self.line_2)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.search_lineEdit = QtGui.QLineEdit(self.frame_6)
        self.search_lineEdit.setObjectName(_fromUtf8("search_lineEdit"))
        self.horizontalLayout_5.addWidget(self.search_lineEdit)
        self.search_pushButton = QtGui.QPushButton(self.frame_6)
        self.search_pushButton.setObjectName(_fromUtf8("search_pushButton"))
        self.horizontalLayout_5.addWidget(self.search_pushButton)
        self.verticalLayout_11.addLayout(self.horizontalLayout_5)
        self.verticalLayout_10.addLayout(self.verticalLayout_11)
        self.horizontalLayout.addWidget(self.frame_6)
        self.horizontalLayout.setStretch(0, 3)
        self.horizontalLayout.setStretch(1, 4)
        self.verticalLayout_4.addLayout(self.horizontalLayout)
        self.horizontalLayout_6.addLayout(self.verticalLayout_4)
        self.frame_5 = QtGui.QFrame(self.centralwidget)
        self.frame_5.setFrameShape(QtGui.QFrame.Box)
        self.frame_5.setFrameShadow(QtGui.QFrame.Sunken)
        self.frame_5.setObjectName(_fromUtf8("frame_5"))
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.frame_5)
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.frame_2 = QtGui.QFrame(self.frame_5)
        self.frame_2.setFrameShape(QtGui.QFrame.Box)
        self.frame_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.frame_2.setObjectName(_fromUtf8("frame_2"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.frame_2)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.work_radioButton = QtGui.QRadioButton(self.frame_2)
        self.work_radioButton.setChecked(True)
        self.work_radioButton.setObjectName(_fromUtf8("work_radioButton"))
        self.horizontalLayout_3.addWidget(self.work_radioButton)
        self.publish_radioButton = QtGui.QRadioButton(self.frame_2)
        self.publish_radioButton.setObjectName(
            _fromUtf8("publish_radioButton"))
        self.horizontalLayout_3.addWidget(self.publish_radioButton)
        self.source_radioButton = QtGui.QRadioButton(self.frame_2)
        self.source_radioButton.setObjectName(_fromUtf8("source_radioButton"))
        self.horizontalLayout_3.addWidget(self.source_radioButton)
        self.verticalLayout_7.addWidget(self.frame_2)
        self.work_listWidget = QtGui.QListWidget(self.frame_5)
        self.work_listWidget.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.work_listWidget.setObjectName(_fromUtf8("work_listWidget"))
        self.verticalLayout_7.addWidget(self.work_listWidget)
        self.ip_checkBox = QtGui.QCheckBox(self.frame_5)
        self.ip_checkBox.setChecked(True)
        self.ip_checkBox.setObjectName(_fromUtf8("ip_checkBox"))
        self.verticalLayout_7.addWidget(self.ip_checkBox)
        self.new_pushButton = QtGui.QPushButton(self.frame_5)
        self.new_pushButton.setObjectName(_fromUtf8("new_pushButton"))
        self.verticalLayout_7.addWidget(self.new_pushButton)
        self.open_pushButton = QtGui.QPushButton(self.frame_5)
        self.open_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.open_pushButton.setObjectName(_fromUtf8("open_pushButton"))
        self.verticalLayout_7.addWidget(self.open_pushButton)
        self.horizontalLayout_6.addWidget(self.frame_5)
        self.frame_8 = QtGui.QFrame(self.centralwidget)
        self.frame_8.setFrameShape(QtGui.QFrame.Box)
        self.frame_8.setFrameShadow(QtGui.QFrame.Sunken)
        self.frame_8.setObjectName(_fromUtf8("frame_8"))
        self.verticalLayout_13 = QtGui.QVBoxLayout(self.frame_8)
        self.verticalLayout_13.setObjectName(_fromUtf8("verticalLayout_13"))
        self.label_12 = QtGui.QLabel(self.frame_8)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.verticalLayout_13.addWidget(self.label_12)
        self.comment_plainTextEdit = QtGui.QPlainTextEdit(self.frame_8)
        self.comment_plainTextEdit.setObjectName(
            _fromUtf8("comment_plainTextEdit"))
        self.verticalLayout_13.addWidget(self.comment_plainTextEdit)
        self.showAll_checkBox = QtGui.QCheckBox(self.frame_8)
        self.showAll_checkBox.setChecked(True)
        self.showAll_checkBox.setObjectName(_fromUtf8("showAll_checkBox"))
        self.verticalLayout_13.addWidget(self.showAll_checkBox)
        self.label_13 = QtGui.QLabel(self.frame_8)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.verticalLayout_13.addWidget(self.label_13)
        self.sourceFiles_listWidget = QtGui.QListWidget(self.frame_8)
        self.sourceFiles_listWidget.setObjectName(
            _fromUtf8("sourceFiles_listWidget"))
        self.verticalLayout_13.addWidget(self.sourceFiles_listWidget)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.openAs_radioButton = QtGui.QRadioButton(self.frame_8)
        self.openAs_radioButton.setObjectName(_fromUtf8("openAs_radioButton"))
        self.horizontalLayout_4.addWidget(self.openAs_radioButton)
        self.import_radioButton = QtGui.QRadioButton(self.frame_8)
        self.import_radioButton.setObjectName(_fromUtf8("import_radioButton"))
        self.horizontalLayout_4.addWidget(self.import_radioButton)
        self.reference_radioButton = QtGui.QRadioButton(self.frame_8)
        self.reference_radioButton.setObjectName(
            _fromUtf8("reference_radioButton"))
        self.horizontalLayout_4.addWidget(self.reference_radioButton)
        self.verticalLayout_13.addLayout(self.horizontalLayout_4)
        self.open_pushButton_2 = QtGui.QPushButton(self.frame_8)
        self.open_pushButton_2.setMinimumSize(QtCore.QSize(0, 30))
        self.open_pushButton_2.setObjectName(_fromUtf8("open_pushButton_2"))
        self.verticalLayout_13.addWidget(self.open_pushButton_2)
        self.horizontalLayout_6.addWidget(self.frame_8)
        self.horizontalLayout_6.setStretch(0, 11)
        self.horizontalLayout_6.setStretch(1, 7)
        self.horizontalLayout_6.setStretch(2, 6)
        self.verticalLayout_9.addLayout(self.horizontalLayout_6)
        taskManager.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(taskManager)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1029, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        taskManager.setMenuBar(self.menubar)

        self.retranslateUi(taskManager)
        QtCore.QMetaObject.connectSlotsByName(taskManager)
Beispiel #11
0
    def setupUi(self, SetManagerUI):
        SetManagerUI.setObjectName(_fromUtf8("SetManagerUI"))
        SetManagerUI.resize(533, 600)
        self.centralwidget = QtGui.QWidget(SetManagerUI)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(self.centralwidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.set_tableWidget = QtGui.QTableWidget(self.centralwidget)
        self.set_tableWidget.setObjectName(_fromUtf8("set_tableWidget"))
        self.set_tableWidget.setColumnCount(0)
        self.set_tableWidget.setRowCount(0)
        self.verticalLayout.addWidget(self.set_tableWidget)
        self.compare_listWidget = QtGui.QListWidget(self.centralwidget)
        self.compare_listWidget.setObjectName(_fromUtf8("compare_listWidget"))
        self.verticalLayout.addWidget(self.compare_listWidget)
        self.compareCurrent_checkBox = QtGui.QCheckBox(self.centralwidget)
        self.compareCurrent_checkBox.setObjectName(
            _fromUtf8("compareCurrent_checkBox"))
        self.verticalLayout.addWidget(self.compareCurrent_checkBox)
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.asset_radioButton = QtGui.QRadioButton(self.centralwidget)
        self.asset_radioButton.setObjectName(_fromUtf8("asset_radioButton"))
        self.gridLayout_4.addWidget(self.asset_radioButton, 0, 0, 1, 1)
        self.shot_radioButton = QtGui.QRadioButton(self.centralwidget)
        self.shot_radioButton.setObjectName(_fromUtf8("shot_radioButton"))
        self.gridLayout_4.addWidget(self.shot_radioButton, 1, 0, 1, 1)
        self.shot_lineEdit = QtGui.QLineEdit(self.centralwidget)
        self.shot_lineEdit.setObjectName(_fromUtf8("shot_lineEdit"))
        self.gridLayout_4.addWidget(self.shot_lineEdit, 1, 1, 1, 1)
        self.asset_lineEdit = QtGui.QLineEdit(self.centralwidget)
        self.asset_lineEdit.setText(_fromUtf8(""))
        self.asset_lineEdit.setObjectName(_fromUtf8("asset_lineEdit"))
        self.gridLayout_4.addWidget(self.asset_lineEdit, 0, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_4)
        self.gridLayout_7 = QtGui.QGridLayout()
        self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
        self.import_pushButton = QtGui.QPushButton(self.centralwidget)
        self.import_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.import_pushButton.setObjectName(_fromUtf8("import_pushButton"))
        self.gridLayout_7.addWidget(self.import_pushButton, 1, 0, 1, 1)
        self.autoBuild_checkBox = QtGui.QCheckBox(self.centralwidget)
        self.autoBuild_checkBox.setObjectName(_fromUtf8("autoBuild_checkBox"))
        self.gridLayout_7.addWidget(self.autoBuild_checkBox, 0, 0, 1, 1)
        self.merge_pushButton = QtGui.QPushButton(self.centralwidget)
        self.merge_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.merge_pushButton.setObjectName(_fromUtf8("merge_pushButton"))
        self.gridLayout_7.addWidget(self.merge_pushButton, 1, 1, 1, 1)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.sync_radioButton = QtGui.QRadioButton(self.centralwidget)
        self.sync_radioButton.setObjectName(_fromUtf8("sync_radioButton"))
        self.horizontalLayout_6.addWidget(self.sync_radioButton)
        self.position_radioButton = QtGui.QRadioButton(self.centralwidget)
        self.position_radioButton.setObjectName(
            _fromUtf8("position_radioButton"))
        self.horizontalLayout_6.addWidget(self.position_radioButton)
        self.gridLayout_7.addLayout(self.horizontalLayout_6, 0, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_7)
        self.verticalLayout.setStretch(1, 1)
        self.verticalLayout.setStretch(2, 2)
        self.verticalLayout_4.addLayout(self.verticalLayout)
        SetManagerUI.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(SetManagerUI)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 533, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        SetManagerUI.setMenuBar(self.menubar)

        self.retranslateUi(SetManagerUI)
        QtCore.QMetaObject.connectSlotsByName(SetManagerUI)
Beispiel #12
0
    def setupUi(self, rigPublishWin):
        rigPublishWin.setObjectName(_fromUtf8("rigPublishWin"))
        rigPublishWin.resize(530, 743)
        self.centralwidget = QtGui.QWidget(rigPublishWin)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_8 = QtGui.QLabel(self.centralwidget)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout_2.addWidget(self.label_8, 0, 0, 1, 1)
        self.scene_label = QtGui.QLabel(self.centralwidget)
        self.scene_label.setObjectName(_fromUtf8("scene_label"))
        self.gridLayout_2.addWidget(self.scene_label, 0, 1, 1, 1)
        self.label_9 = QtGui.QLabel(self.centralwidget)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout_2.addWidget(self.label_9, 1, 0, 1, 1)
        self.asset_label = QtGui.QLabel(self.centralwidget)
        self.asset_label.setObjectName(_fromUtf8("asset_label"))
        self.gridLayout_2.addWidget(self.asset_label, 1, 1, 1, 1)
        self.gridLayout_2.setColumnStretch(0, 1)
        self.gridLayout_2.setColumnStretch(1, 4)
        self.verticalLayout_2.addLayout(self.gridLayout_2)
        self.line = QtGui.QFrame(self.centralwidget)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.verticalLayout_2.addWidget(self.line)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_3 = QtGui.QLabel(self.centralwidget)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.cmd_listWidget = QtGui.QListWidget(self.centralwidget)
        self.cmd_listWidget.setSelectionMode(
            QtGui.QAbstractItemView.ExtendedSelection)
        self.cmd_listWidget.setObjectName(_fromUtf8("cmd_listWidget"))
        self.gridLayout.addWidget(self.cmd_listWidget, 2, 0, 1, 1)
        self.exe_listWidget = QtGui.QListWidget(self.centralwidget)
        self.exe_listWidget.setSelectionMode(
            QtGui.QAbstractItemView.ExtendedSelection)
        self.exe_listWidget.setObjectName(_fromUtf8("exe_listWidget"))
        self.gridLayout.addWidget(self.exe_listWidget, 2, 2, 1, 1)
        self.label_4 = QtGui.QLabel(self.centralwidget)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 1, 2, 1, 1)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.label_6 = QtGui.QLabel(self.centralwidget)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.horizontalLayout_4.addWidget(self.label_6)
        self.cmd_lineEdit = QtGui.QLineEdit(self.centralwidget)
        self.cmd_lineEdit.setObjectName(_fromUtf8("cmd_lineEdit"))
        self.horizontalLayout_4.addWidget(self.cmd_lineEdit)
        self.gridLayout.addLayout(self.horizontalLayout_4, 0, 0, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.label_5 = QtGui.QLabel(self.centralwidget)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.horizontalLayout_3.addWidget(self.label_5)
        self.preset_comboBox = QtGui.QComboBox(self.centralwidget)
        self.preset_comboBox.setObjectName(_fromUtf8("preset_comboBox"))
        self.horizontalLayout_3.addWidget(self.preset_comboBox)
        self.horizontalLayout_3.setStretch(1, 2)
        self.gridLayout.addLayout(self.horizontalLayout_3, 0, 2, 1, 1)
        self.refresh_pushButton = QtGui.QPushButton(self.centralwidget)
        self.refresh_pushButton.setObjectName(_fromUtf8("refresh_pushButton"))
        self.gridLayout.addWidget(self.refresh_pushButton, 3, 0, 1, 1)
        self.clear_pushButton = QtGui.QPushButton(self.centralwidget)
        self.clear_pushButton.setObjectName(_fromUtf8("clear_pushButton"))
        self.gridLayout.addWidget(self.clear_pushButton, 3, 2, 1, 1)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem)
        self.add_pushButton = QtGui.QPushButton(self.centralwidget)
        self.add_pushButton.setMaximumSize(QtCore.QSize(40, 16777215))
        self.add_pushButton.setObjectName(_fromUtf8("add_pushButton"))
        self.verticalLayout_3.addWidget(self.add_pushButton)
        self.remove_pushButton = QtGui.QPushButton(self.centralwidget)
        self.remove_pushButton.setMaximumSize(QtCore.QSize(40, 16777215))
        self.remove_pushButton.setObjectName(_fromUtf8("remove_pushButton"))
        self.verticalLayout_3.addWidget(self.remove_pushButton)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem1)
        self.gridLayout.addLayout(self.verticalLayout_3, 2, 1, 1, 1)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.label_11 = QtGui.QLabel(self.centralwidget)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.horizontalLayout_6.addWidget(self.label_11)
        self.preset_lineEdit = QtGui.QLineEdit(self.centralwidget)
        self.preset_lineEdit.setObjectName(_fromUtf8("preset_lineEdit"))
        self.horizontalLayout_6.addWidget(self.preset_lineEdit)
        self.savePreset_pushButton = QtGui.QPushButton(self.centralwidget)
        self.savePreset_pushButton.setObjectName(
            _fromUtf8("savePreset_pushButton"))
        self.horizontalLayout_6.addWidget(self.savePreset_pushButton)
        self.gridLayout.addLayout(self.horizontalLayout_6, 4, 2, 1, 1)
        self.gridLayout.setColumnStretch(0, 6)
        self.gridLayout.setColumnStretch(1, 1)
        self.gridLayout.setColumnStretch(2, 6)
        self.verticalLayout.addLayout(self.gridLayout)
        self.line_2 = QtGui.QFrame(self.centralwidget)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.verticalLayout.addWidget(self.line_2)
        self.label_10 = QtGui.QLabel(self.centralwidget)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.verticalLayout.addWidget(self.label_10)
        self.log_textEdit = QtGui.QTextEdit(self.centralwidget)
        self.log_textEdit.setObjectName(_fromUtf8("log_textEdit"))
        self.verticalLayout.addWidget(self.log_textEdit)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.label_2 = QtGui.QLabel(self.centralwidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout_2.addWidget(self.label_2)
        self.task_comboBox = QtGui.QComboBox(self.centralwidget)
        self.task_comboBox.setObjectName(_fromUtf8("task_comboBox"))
        self.horizontalLayout_2.addWidget(self.task_comboBox)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem2)
        self.horizontalLayout_2.setStretch(0, 1)
        self.horizontalLayout_2.setStretch(1, 3)
        self.horizontalLayout_2.setStretch(2, 6)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.line_3 = QtGui.QFrame(self.centralwidget)
        self.line_3.setFrameShape(QtGui.QFrame.HLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName(_fromUtf8("line_3"))
        self.verticalLayout.addWidget(self.line_3)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.save_checkBox = QtGui.QCheckBox(self.centralwidget)
        self.save_checkBox.setObjectName(_fromUtf8("save_checkBox"))
        self.horizontalLayout.addWidget(self.save_checkBox)
        self.label = QtGui.QLabel(self.centralwidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.output_lineEdit = QtGui.QLineEdit(self.centralwidget)
        self.output_lineEdit.setText(_fromUtf8(""))
        self.output_lineEdit.setObjectName(_fromUtf8("output_lineEdit"))
        self.horizontalLayout.addWidget(self.output_lineEdit)
        self.ref_radioButton = QtGui.QRadioButton(self.centralwidget)
        self.ref_radioButton.setObjectName(_fromUtf8("ref_radioButton"))
        self.horizontalLayout.addWidget(self.ref_radioButton)
        self.dev_radioButton = QtGui.QRadioButton(self.centralwidget)
        self.dev_radioButton.setObjectName(_fromUtf8("dev_radioButton"))
        self.horizontalLayout.addWidget(self.dev_radioButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.batch_checkBox = QtGui.QCheckBox(self.centralwidget)
        self.batch_checkBox.setObjectName(_fromUtf8("batch_checkBox"))
        self.verticalLayout.addWidget(self.batch_checkBox)
        self.publish_pushButton = QtGui.QPushButton(self.centralwidget)
        self.publish_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.publish_pushButton.setObjectName(_fromUtf8("publish_pushButton"))
        self.verticalLayout.addWidget(self.publish_pushButton)
        self.verticalLayout.setStretch(0, 4)
        self.verticalLayout.setStretch(3, 1)
        self.verticalLayout_2.addLayout(self.verticalLayout)
        self.line_4 = QtGui.QFrame(self.centralwidget)
        self.line_4.setFrameShape(QtGui.QFrame.HLine)
        self.line_4.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_4.setObjectName(_fromUtf8("line_4"))
        self.verticalLayout_2.addWidget(self.line_4)
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.workFile_pushButton = QtGui.QPushButton(self.centralwidget)
        self.workFile_pushButton.setObjectName(
            _fromUtf8("workFile_pushButton"))
        self.gridLayout_3.addWidget(self.workFile_pushButton, 0, 0, 1, 1)
        self.outputFile_pushButton = QtGui.QPushButton(self.centralwidget)
        self.outputFile_pushButton.setObjectName(
            _fromUtf8("outputFile_pushButton"))
        self.gridLayout_3.addWidget(self.outputFile_pushButton, 0, 1, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout_3)
        rigPublishWin.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(rigPublishWin)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 530, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        rigPublishWin.setMenuBar(self.menubar)

        self.retranslateUi(rigPublishWin)
        QtCore.QMetaObject.connectSlotsByName(rigPublishWin)
Beispiel #13
0
    def setupUi(self, importMatteTool):
        importMatteTool.setObjectName(_fromUtf8("importMatteTool"))
        importMatteTool.resize(545, 534)
        self.centralwidget = QtGui.QWidget(importMatteTool)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.frame = QtGui.QFrame(self.centralwidget)
        self.frame.setFrameShape(QtGui.QFrame.Box)
        self.frame.setFrameShadow(QtGui.QFrame.Sunken)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.frame)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.label_7 = QtGui.QLabel(self.frame)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_7.setFont(font)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout_4.addWidget(self.label_7, 2, 0, 1, 1)
        self.label_3 = QtGui.QLabel(self.frame)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_3.setFont(font)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_4.addWidget(self.label_3, 0, 0, 1, 1)
        self.label_6 = QtGui.QLabel(self.frame)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_6.setFont(font)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_4.addWidget(self.label_6, 1, 0, 1, 1)
        self.dbFile2_lineEdit = QtGui.QLineEdit(self.frame)
        self.dbFile2_lineEdit.setObjectName(_fromUtf8("dbFile2_lineEdit"))
        self.gridLayout_4.addWidget(self.dbFile2_lineEdit, 2, 1, 1, 1)
        self.dbFile_lineEdit = QtGui.QLineEdit(self.frame)
        self.dbFile_lineEdit.setObjectName(_fromUtf8("dbFile_lineEdit"))
        self.gridLayout_4.addWidget(self.dbFile_lineEdit, 1, 1, 1, 1)
        self.project_comboBox = QtGui.QComboBox(self.frame)
        self.project_comboBox.setMaximumSize(QtCore.QSize(160, 16777215))
        self.project_comboBox.setObjectName(_fromUtf8("project_comboBox"))
        self.gridLayout_4.addWidget(self.project_comboBox, 0, 1, 1, 1)
        self.verticalLayout_4.addLayout(self.gridLayout_4)
        self.id_tableWidget = QtGui.QTableWidget(self.frame)
        self.id_tableWidget.setMinimumSize(QtCore.QSize(220, 0))
        self.id_tableWidget.setObjectName(_fromUtf8("id_tableWidget"))
        self.id_tableWidget.setColumnCount(5)
        self.id_tableWidget.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.id_tableWidget.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.id_tableWidget.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.id_tableWidget.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.id_tableWidget.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.id_tableWidget.setHorizontalHeaderItem(4, item)
        self.verticalLayout_4.addWidget(self.id_tableWidget)
        self.selected_checkBox = QtGui.QCheckBox(self.frame)
        self.selected_checkBox.setObjectName(_fromUtf8("selected_checkBox"))
        self.verticalLayout_4.addWidget(self.selected_checkBox)
        self.refresh_pushButton = QtGui.QPushButton(self.frame)
        self.refresh_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.refresh_pushButton.setObjectName(_fromUtf8("refresh_pushButton"))
        self.verticalLayout_4.addWidget(self.refresh_pushButton)
        self.create_pushButton = QtGui.QPushButton(self.frame)
        self.create_pushButton.setMinimumSize(QtCore.QSize(0, 30))
        self.create_pushButton.setObjectName(_fromUtf8("create_pushButton"))
        self.verticalLayout_4.addWidget(self.create_pushButton)
        self.horizontalLayout_4.addLayout(self.verticalLayout_4)
        self.horizontalLayout_4.setStretch(0, 1)
        self.verticalLayout.addWidget(self.frame)
        importMatteTool.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(importMatteTool)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 545, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        importMatteTool.setMenuBar(self.menubar)

        self.retranslateUi(importMatteTool)
        QtCore.QMetaObject.connectSlotsByName(importMatteTool)