コード例 #1
0
    def setupUi(self, createUpdateDialog):
        createUpdateDialog.setObjectName("createUpdateDialog")
        createUpdateDialog.resize(473, 396)
        createUpdateDialog.setSizeGripEnabled(True)
        createUpdateDialog.setModal(True)
        self.formLayout = QtGui.QFormLayout(createUpdateDialog)
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName("formLayout")
        self.versionLabel = QtGui.QLabel(createUpdateDialog)
        self.versionLabel.setObjectName("versionLabel")
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.versionLabel)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.majorSpinBox = QtGui.QSpinBox(createUpdateDialog)
        self.majorSpinBox.setObjectName("majorSpinBox")
        self.horizontalLayout.addWidget(self.majorSpinBox)
        self.minorSpinBox = QtGui.QSpinBox(createUpdateDialog)
        self.minorSpinBox.setObjectName("minorSpinBox")
        self.horizontalLayout.addWidget(self.minorSpinBox)
        self.buildSpinBox = QtGui.QSpinBox(createUpdateDialog)
        self.buildSpinBox.setObjectName("buildSpinBox")
        self.horizontalLayout.addWidget(self.buildSpinBox)
        self.revisionSpinBox = QtGui.QSpinBox(createUpdateDialog)
        self.revisionSpinBox.setObjectName("revisionSpinBox")
        self.horizontalLayout.addWidget(self.revisionSpinBox)
        self.formLayout.setLayout(0, QtGui.QFormLayout.FieldRole, self.horizontalLayout)
        self.dateLabel = QtGui.QLabel(createUpdateDialog)
        self.dateLabel.setObjectName("dateLabel")
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.dateLabel)
        self.changesLabel = QtGui.QLabel(createUpdateDialog)
        self.changesLabel.setObjectName("changesLabel")
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.changesLabel)
        self.changesPlainTextEdit = QtGui.QPlainTextEdit(createUpdateDialog)
        self.changesPlainTextEdit.setObjectName("changesPlainTextEdit")
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.changesPlainTextEdit)
        self.miscLabel = QtGui.QLabel(createUpdateDialog)
        self.miscLabel.setObjectName("miscLabel")
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.miscLabel)
        self.miscPlainTextEdit = QtGui.QPlainTextEdit(createUpdateDialog)
        self.miscPlainTextEdit.setObjectName("miscPlainTextEdit")
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.miscPlainTextEdit)
        self.createUpdatePushButton = QtGui.QPushButton(createUpdateDialog)
        self.createUpdatePushButton.setObjectName("createUpdatePushButton")
        self.formLayout.setWidget(4, QtGui.QFormLayout.SpanningRole, self.createUpdatePushButton)
        self.dateEdit = QtGui.QDateEdit(createUpdateDialog)
        self.dateEdit.setCalendarPopup(True)
        self.dateEdit.setObjectName("dateEdit")
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.dateEdit)

        self.retranslateUi(createUpdateDialog)
        QtCore.QMetaObject.connectSlotsByName(createUpdateDialog)
コード例 #2
0
    def setupUi(self, referenceOptions):
        referenceOptions.setObjectName("referenceOptions")
        referenceOptions.setWindowModality(QtCore.Qt.ApplicationModal)
        referenceOptions.resize(400, 100)
        referenceOptions.setMinimumSize(QtCore.QSize(400, 0))
        referenceOptions.setMaximumSize(QtCore.QSize(16777215, 100))
        self.gridLayout = QtGui.QGridLayout(referenceOptions)
        self.gridLayout.setObjectName("gridLayout")
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 1, 0, 1, 1)
        self.optionsReferencePushButton = QtGui.QPushButton(referenceOptions)
        self.optionsReferencePushButton.setObjectName(
            "optionsReferencePushButton")
        self.gridLayout.addWidget(self.optionsReferencePushButton, 1, 1, 1, 1)
        self.referencePushButton = QtGui.QPushButton(referenceOptions)
        self.referencePushButton.setObjectName("referencePushButton")
        self.gridLayout.addWidget(self.referencePushButton, 1, 2, 1, 1)
        self.groupBox = QtGui.QGroupBox(referenceOptions)
        self.groupBox.setFlat(True)
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout = QtGui.QHBoxLayout(self.groupBox)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.horizontalSlider = QtGui.QSlider(self.groupBox)
        self.horizontalSlider.setMinimum(1)
        self.horizontalSlider.setMaximum(100)
        self.horizontalSlider.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalSlider.setObjectName("horizontalSlider")
        self.horizontalLayout.addWidget(self.horizontalSlider)
        self.spinBox = QtGui.QSpinBox(self.groupBox)
        self.spinBox.setAccelerated(True)
        self.spinBox.setMinimum(1)
        self.spinBox.setMaximum(100)
        self.spinBox.setObjectName("spinBox")
        self.horizontalLayout.addWidget(self.spinBox)
        self.gridLayout.addWidget(self.groupBox, 0, 0, 1, 3)

        self.retranslateUi(referenceOptions)
        QtCore.QObject.connect(self.horizontalSlider,
                               QtCore.SIGNAL("valueChanged(int)"),
                               self.spinBox.setValue)
        QtCore.QObject.connect(self.spinBox,
                               QtCore.SIGNAL("valueChanged(int)"),
                               self.horizontalSlider.setValue)
        QtCore.QMetaObject.connectSlotsByName(referenceOptions)
コード例 #3
0
    def setupUi(self, matchingTemplateConfig):
        matchingTemplateConfig.setObjectName("matchingTemplateConfig")
        matchingTemplateConfig.setSizeGripEnabled(True)
        self.gridLayout_2 = QtGui.QGridLayout(matchingTemplateConfig)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.matchingTamplateLabel = QtGui.QLabel(matchingTemplateConfig)
        self.matchingTamplateLabel.setObjectName("matchingTamplateLabel")
        self.gridLayout_2.addWidget(self.matchingTamplateLabel, 0, 0, 1, 1)
        self.editSelectedItemButton = QtGui.QToolButton(matchingTemplateConfig)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.editSelectedItemButton.sizePolicy().hasHeightForWidth())
        self.editSelectedItemButton.setSizePolicy(sizePolicy)
        self.editSelectedItemButton.setMinimumSize(QtCore.QSize(70, 0))
        self.editSelectedItemButton.setObjectName("editSelectedItemButton")
        self.gridLayout_2.addWidget(self.editSelectedItemButton, 0, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 0, 1, 1, 1)
        self.addNewItemButton = QtGui.QToolButton(matchingTemplateConfig)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.addNewItemButton.sizePolicy().hasHeightForWidth())
        self.addNewItemButton.setSizePolicy(sizePolicy)
        self.addNewItemButton.setMinimumSize(QtCore.QSize(70, 0))
        self.addNewItemButton.setObjectName("addNewItemButton")
        self.gridLayout_2.addWidget(self.addNewItemButton, 0, 3, 1, 1)
        self.templatesTreeWidget = QtGui.QTreeWidget(matchingTemplateConfig)
        self.templatesTreeWidget.setStyleSheet("QTreeView::item {\n"
"    padding: 2px;\n"
"}\n"
"\n"
"QTreeView::item:selected:active{\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(82, 133, 166, 255), stop:1 rgba(82, 133, 166, 255));\n"
"    border: 1px solid transparent;\n"
"}\n"
"QTreeView::item:selected:!active {\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(82, 133, 166, 255), stop:1 rgba(82, 133, 166, 255));\n"
"    border: 1px solid transparent;\n"
"}\n"
"")
        self.templatesTreeWidget.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.templatesTreeWidget.setAlternatingRowColors(True)
        self.templatesTreeWidget.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.templatesTreeWidget.setVerticalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.templatesTreeWidget.setRootIsDecorated(False)
        self.templatesTreeWidget.setItemsExpandable(True)
        self.templatesTreeWidget.setObjectName("templatesTreeWidget")
        self.templatesTreeWidget.header().setVisible(True)
        self.gridLayout_2.addWidget(self.templatesTreeWidget, 1, 0, 1, 4)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtGui.QLabel(matchingTemplateConfig)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.horizontalSlider = QtGui.QSlider(matchingTemplateConfig)
        self.horizontalSlider.setMinimum(1)
        self.horizontalSlider.setMaximum(9)
        self.horizontalSlider.setProperty("value", 3)
        self.horizontalSlider.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalSlider.setObjectName("horizontalSlider")
        self.gridLayout.addWidget(self.horizontalSlider, 0, 2, 1, 1)
        self.minFramesPaddingSpinBox = QtGui.QSpinBox(matchingTemplateConfig)
        self.minFramesPaddingSpinBox.setMinimum(1)
        self.minFramesPaddingSpinBox.setMaximum(9)
        self.minFramesPaddingSpinBox.setProperty("value", 3)
        self.minFramesPaddingSpinBox.setObjectName("minFramesPaddingSpinBox")
        self.gridLayout.addWidget(self.minFramesPaddingSpinBox, 0, 1, 1, 1)
        self.oneFrameSequenceDetectionCheckBox = QtGui.QCheckBox(matchingTemplateConfig)
        self.oneFrameSequenceDetectionCheckBox.setChecked(True)
        self.oneFrameSequenceDetectionCheckBox.setObjectName("oneFrameSequenceDetectionCheckBox")
        self.gridLayout.addWidget(self.oneFrameSequenceDetectionCheckBox, 1, 0, 1, 2)
        self.oneUdimDetectionCheckBox = QtGui.QCheckBox(matchingTemplateConfig)
        self.oneUdimDetectionCheckBox.setChecked(True)
        self.oneUdimDetectionCheckBox.setObjectName("oneUdimDetectionCheckBox")
        self.gridLayout.addWidget(self.oneUdimDetectionCheckBox, 1, 2, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 2, 0, 1, 4)

        self.retranslateUi(matchingTemplateConfig)
        QtCore.QObject.connect(self.horizontalSlider, QtCore.SIGNAL("valueChanged(int)"), self.minFramesPaddingSpinBox.setValue)
        QtCore.QObject.connect(self.minFramesPaddingSpinBox, QtCore.SIGNAL("valueChanged(int)"), self.horizontalSlider.setValue)
        QtCore.QMetaObject.connectSlotsByName(matchingTemplateConfig)
コード例 #4
0
    def setupUi(self, assetsBrowser):
        assetsBrowser.setObjectName("assetsBrowser")
        assetsBrowser.resize(545, 192)
        self.verticalLayout = QtGui.QVBoxLayout(assetsBrowser)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.splitter = QtGui.QSplitter(assetsBrowser)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName("splitter")
        self.assetsTreeWidget = QtGui.QTreeWidget(self.splitter)
        self.assetsTreeWidget.setMinimumSize(QtCore.QSize(120, 0))
        self.assetsTreeWidget.setMaximumSize(QtCore.QSize(200, 16777215))
        self.assetsTreeWidget.setBaseSize(QtCore.QSize(60, 0))
        self.assetsTreeWidget.setObjectName("assetsTreeWidget")
        self.assetsTreeWidget.header().setVisible(False)
        self.verticalLayoutWidget_3 = QtGui.QWidget(self.splitter)
        self.verticalLayoutWidget_3.setObjectName("verticalLayoutWidget_3")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.verticalLayoutWidget_3)
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.searchLineEdit = QtGui.QLineEdit(self.verticalLayoutWidget_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.searchLineEdit.sizePolicy().hasHeightForWidth())
        self.searchLineEdit.setSizePolicy(sizePolicy)
        self.searchLineEdit.setMaximumSize(QtCore.QSize(16777215, 20))
        font = Qt4Gui.QFont()
        font.setPointSize(9)
        self.searchLineEdit.setFont(font)
        self.searchLineEdit.setStyleSheet(
            "QLineEdit {\n"
            "    color: rgb(192, 192, 192);\n"
            "    border: 2px solid darkgray;\n"
            "    border-radius: 10px;\n"
            "    show-decoration-selected: 1;\n"
            "    padding: 0px 8px;\n"
            "    background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(128, 128, 128, 255), stop:1 rgba(64, 64,64, 255));\n"
            "    background-position: bottom left;\n"
            "    background-image: url(\":/ui_check/gliph/search_16.png\");\n"
            "    background-repeat: fixed;\n"
            "    selection-background-color: darkgray;\n"
            "    padding-left: 15px;\n"
            "}\n"
            "QLineEdit:hover{\n"
            "    color: white;\n"
            "    background-image: url(\":/ui_check/gliph/searchHover_16.png\");\n"
            "}")
        self.searchLineEdit.setFrame(False)
        self.searchLineEdit.setObjectName("searchLineEdit")
        self.verticalLayout_2.addWidget(self.searchLineEdit)
        self.searchOptionsLayout = QtGui.QVBoxLayout()
        self.searchOptionsLayout.setSpacing(0)
        self.searchOptionsLayout.setObjectName("searchOptionsLayout")
        self.verticalLayout_2.addLayout(self.searchOptionsLayout)
        self.sobjectScrollLayout = QtGui.QVBoxLayout()
        self.sobjectScrollLayout.setSpacing(0)
        self.sobjectScrollLayout.setObjectName("sobjectScrollLayout")
        self.verticalLayout_2.addLayout(self.sobjectScrollLayout)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(6)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.countLabel = QtGui.QLabel(self.verticalLayoutWidget_3)
        self.countLabel.setObjectName("countLabel")
        self.horizontalLayout.addWidget(self.countLabel)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.label_2 = QtGui.QLabel(self.verticalLayoutWidget_3)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout.addWidget(self.label_2)
        self.limitSpinBox = QtGui.QSpinBox(self.verticalLayoutWidget_3)
        self.limitSpinBox.setMinimum(5)
        self.limitSpinBox.setMaximum(500)
        self.limitSpinBox.setSingleStep(5)
        self.limitSpinBox.setProperty("value", 20)
        self.limitSpinBox.setObjectName("limitSpinBox")
        self.horizontalLayout.addWidget(self.limitSpinBox)
        self.label = QtGui.QLabel(self.verticalLayoutWidget_3)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.zoomSpinBox = QtGui.QSpinBox(self.verticalLayoutWidget_3)
        self.zoomSpinBox.setMinimum(25)
        self.zoomSpinBox.setMaximum(400)
        self.zoomSpinBox.setSingleStep(25)
        self.zoomSpinBox.setProperty("value", 100)
        self.zoomSpinBox.setObjectName("zoomSpinBox")
        self.horizontalLayout.addWidget(self.zoomSpinBox)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.verticalLayout_2.setStretch(2, 1)
        self.verticalLayout.addWidget(self.splitter)

        self.retranslateUi(assetsBrowser)
        QtCore.QMetaObject.connectSlotsByName(assetsBrowser)
コード例 #5
0
    def setupUi(self, checkinPageWidget):
        checkinPageWidget.setObjectName("checkinPageWidget")
        self.checkinPageWidgetLayout = QtGui.QVBoxLayout(checkinPageWidget)
        self.checkinPageWidgetLayout.setContentsMargins(0, 0, 0, 0)
        self.checkinPageWidgetLayout.setObjectName("checkinPageWidgetLayout")
        self.checkinMiscOptionsGroupBox = QtGui.QGroupBox(checkinPageWidget)
        self.checkinMiscOptionsGroupBox.setFlat(True)
        self.checkinMiscOptionsGroupBox.setObjectName(
            "checkinMiscOptionsGroupBox")
        self.checkinMiscOptionsLayout = QtGui.QGridLayout(
            self.checkinMiscOptionsGroupBox)
        self.checkinMiscOptionsLayout.setContentsMargins(9, -1, 0, 0)
        self.checkinMiscOptionsLayout.setObjectName("checkinMiscOptionsLayout")
        self.versionsSeparateCheckinCheckBox = QtGui.QCheckBox(
            self.checkinMiscOptionsGroupBox)
        self.versionsSeparateCheckinCheckBox.setObjectName(
            "versionsSeparateCheckinCheckBox")
        self.checkinMiscOptionsLayout.addWidget(
            self.versionsSeparateCheckinCheckBox, 2, 0, 1, 1)
        self.snapshotDescriptionLimitCheckBox = QtGui.QCheckBox(
            self.checkinMiscOptionsGroupBox)
        self.snapshotDescriptionLimitCheckBox.setChecked(True)
        self.snapshotDescriptionLimitCheckBox.setObjectName(
            "snapshotDescriptionLimitCheckBox")
        self.checkinMiscOptionsLayout.addWidget(
            self.snapshotDescriptionLimitCheckBox, 4, 0, 1, 1)
        self.doubleClickSaveCheckBox = QtGui.QCheckBox(
            self.checkinMiscOptionsGroupBox)
        self.doubleClickSaveCheckBox.setObjectName("doubleClickSaveCheckBox")
        self.checkinMiscOptionsLayout.addWidget(self.doubleClickSaveCheckBox,
                                                0, 0, 1, 1)
        self.doubleClickOpenCheckBox = QtGui.QCheckBox(
            self.checkinMiscOptionsGroupBox)
        self.doubleClickOpenCheckBox.setObjectName("doubleClickOpenCheckBox")
        self.checkinMiscOptionsLayout.addWidget(self.doubleClickOpenCheckBox,
                                                1, 0, 1, 1)
        self.snapshotDescriptionLimitSpinBox = QtGui.QSpinBox(
            self.checkinMiscOptionsGroupBox)
        self.snapshotDescriptionLimitSpinBox.setMinimum(20)
        self.snapshotDescriptionLimitSpinBox.setMaximum(50000)
        self.snapshotDescriptionLimitSpinBox.setSingleStep(5)
        self.snapshotDescriptionLimitSpinBox.setProperty("value", 80)
        self.snapshotDescriptionLimitSpinBox.setObjectName(
            "snapshotDescriptionLimitSpinBox")
        self.checkinMiscOptionsLayout.addWidget(
            self.snapshotDescriptionLimitSpinBox, 4, 2, 1, 1)
        self.bottomVersionsRadioButton = QtGui.QRadioButton(
            self.checkinMiscOptionsGroupBox)
        self.bottomVersionsRadioButton.setObjectName(
            "bottomVersionsRadioButton")
        self.checkinMiscOptionsLayout.addWidget(self.bottomVersionsRadioButton,
                                                2, 1, 1, 1)
        self.rightVersionsRadioButton = QtGui.QRadioButton(
            self.checkinMiscOptionsGroupBox)
        self.rightVersionsRadioButton.setChecked(True)
        self.rightVersionsRadioButton.setObjectName("rightVersionsRadioButton")
        self.checkinMiscOptionsLayout.addWidget(self.rightVersionsRadioButton,
                                                2, 2, 1, 1)
        self.checkinMiscOptionsLayout.setColumnStretch(0, 1)
        self.checkinPageWidgetLayout.addWidget(self.checkinMiscOptionsGroupBox)
        self.snapshotsSavingOptionsGroupBox = QtGui.QGroupBox(
            checkinPageWidget)
        self.snapshotsSavingOptionsGroupBox.setFlat(True)
        self.snapshotsSavingOptionsGroupBox.setObjectName(
            "snapshotsSavingOptionsGroupBox")
        self.snapshotsSavingOptionsLayout = QtGui.QGridLayout(
            self.snapshotsSavingOptionsGroupBox)
        self.snapshotsSavingOptionsLayout.setContentsMargins(9, -1, 0, 0)
        self.snapshotsSavingOptionsLayout.setObjectName(
            "snapshotsSavingOptionsLayout")
        self.checkinMethodLabel = QtGui.QLabel(
            self.snapshotsSavingOptionsGroupBox)
        self.checkinMethodLabel.setObjectName("checkinMethodLabel")
        self.snapshotsSavingOptionsLayout.addWidget(self.checkinMethodLabel, 2,
                                                    0, 1, 1)
        self.updateVersionlessCheckBox = QtGui.QCheckBox(
            self.snapshotsSavingOptionsGroupBox)
        self.updateVersionlessCheckBox.setChecked(True)
        self.updateVersionlessCheckBox.setObjectName(
            "updateVersionlessCheckBox")
        self.snapshotsSavingOptionsLayout.addWidget(
            self.updateVersionlessCheckBox, 3, 0, 1, 1)
        self.createMayaDirsCheckBox = QtGui.QCheckBox(
            self.snapshotsSavingOptionsGroupBox)
        self.createMayaDirsCheckBox.setObjectName("createMayaDirsCheckBox")
        self.snapshotsSavingOptionsLayout.addWidget(
            self.createMayaDirsCheckBox, 5, 0, 1, 1)
        self.generatePreviewsCheckBox = QtGui.QCheckBox(
            self.snapshotsSavingOptionsGroupBox)
        self.generatePreviewsCheckBox.setChecked(True)
        self.generatePreviewsCheckBox.setObjectName("generatePreviewsCheckBox")
        self.snapshotsSavingOptionsLayout.addWidget(
            self.generatePreviewsCheckBox, 4, 0, 1, 1)
        self.repositoryLabel = QtGui.QLabel(
            self.snapshotsSavingOptionsGroupBox)
        self.repositoryLabel.setObjectName("repositoryLabel")
        self.snapshotsSavingOptionsLayout.addWidget(self.repositoryLabel, 1, 0,
                                                    1, 1)
        self.sequencePaddingCheckBox = QtGui.QCheckBox(
            self.snapshotsSavingOptionsGroupBox)
        self.sequencePaddingCheckBox.setObjectName("sequencePaddingCheckBox")
        self.snapshotsSavingOptionsLayout.addWidget(
            self.sequencePaddingCheckBox, 9, 0, 1, 1)
        self.sequqnceNamingTemplatelabel = QtGui.QLabel(
            self.snapshotsSavingOptionsGroupBox)
        self.sequqnceNamingTemplatelabel.setObjectName(
            "sequqnceNamingTemplatelabel")
        self.snapshotsSavingOptionsLayout.addWidget(
            self.sequqnceNamingTemplatelabel, 10, 0, 1, 1)
        self.seuqenceNamingHorizontalLayout = QtGui.QHBoxLayout()
        self.seuqenceNamingHorizontalLayout.setSpacing(4)
        self.seuqenceNamingHorizontalLayout.setObjectName(
            "seuqenceNamingHorizontalLayout")
        self.sequenceNamingTemplateLineEdit = QtGui.QLineEdit(
            self.snapshotsSavingOptionsGroupBox)
        self.sequenceNamingTemplateLineEdit.setReadOnly(True)
        self.sequenceNamingTemplateLineEdit.setObjectName(
            "sequenceNamingTemplateLineEdit")
        self.seuqenceNamingHorizontalLayout.addWidget(
            self.sequenceNamingTemplateLineEdit)
        self.editSequenceNamingTemplateToolButton = QtGui.QToolButton(
            self.snapshotsSavingOptionsGroupBox)
        self.editSequenceNamingTemplateToolButton.setText("")
        self.editSequenceNamingTemplateToolButton.setAutoRaise(True)
        self.editSequenceNamingTemplateToolButton.setObjectName(
            "editSequenceNamingTemplateToolButton")
        self.seuqenceNamingHorizontalLayout.addWidget(
            self.editSequenceNamingTemplateToolButton)
        self.seuqenceNamingHorizontalLayout.setStretch(0, 1)
        self.snapshotsSavingOptionsLayout.addLayout(
            self.seuqenceNamingHorizontalLayout, 10, 1, 1, 3)
        self.sequencePaddingHorizontalLayout = QtGui.QHBoxLayout()
        self.sequencePaddingHorizontalLayout.setSpacing(4)
        self.sequencePaddingHorizontalLayout.setObjectName(
            "sequencePaddingHorizontalLayout")
        self.sequencePaddingHorizontalSlider = QtGui.QSlider(
            self.snapshotsSavingOptionsGroupBox)
        self.sequencePaddingHorizontalSlider.setMinimum(1)
        self.sequencePaddingHorizontalSlider.setMaximum(9)
        self.sequencePaddingHorizontalSlider.setProperty("value", 3)
        self.sequencePaddingHorizontalSlider.setOrientation(
            QtCore.Qt.Horizontal)
        self.sequencePaddingHorizontalSlider.setObjectName(
            "sequencePaddingHorizontalSlider")
        self.sequencePaddingHorizontalLayout.addWidget(
            self.sequencePaddingHorizontalSlider)
        self.sequencePaddingSpinBox = QtGui.QSpinBox(
            self.snapshotsSavingOptionsGroupBox)
        self.sequencePaddingSpinBox.setMinimum(1)
        self.sequencePaddingSpinBox.setMaximum(9)
        self.sequencePaddingSpinBox.setProperty("value", 3)
        self.sequencePaddingSpinBox.setObjectName("sequencePaddingSpinBox")
        self.sequencePaddingHorizontalLayout.addWidget(
            self.sequencePaddingSpinBox)
        self.sequencePaddingHorizontalLayout.setStretch(0, 1)
        self.snapshotsSavingOptionsLayout.addLayout(
            self.sequencePaddingHorizontalLayout, 9, 1, 1, 3)
        self.checkinMethodComboBox = QtGui.QComboBox(
            self.snapshotsSavingOptionsGroupBox)
        self.checkinMethodComboBox.setObjectName("checkinMethodComboBox")
        self.checkinMethodComboBox.addItem("")
        self.checkinMethodComboBox.addItem("")
        self.checkinMethodComboBox.addItem("")
        self.checkinMethodComboBox.addItem("")
        self.checkinMethodComboBox.addItem("")
        self.snapshotsSavingOptionsLayout.addWidget(self.checkinMethodComboBox,
                                                    2, 1, 1, 3)
        self.confirmsHorizontalLayout = QtGui.QHBoxLayout()
        self.confirmsHorizontalLayout.setSpacing(0)
        self.confirmsHorizontalLayout.setObjectName("confirmsHorizontalLayout")
        self.askBeforeSaveCheckBox = QtGui.QCheckBox(
            self.snapshotsSavingOptionsGroupBox)
        self.askBeforeSaveCheckBox.setChecked(True)
        self.askBeforeSaveCheckBox.setObjectName("askBeforeSaveCheckBox")
        self.confirmsHorizontalLayout.addWidget(self.askBeforeSaveCheckBox)
        self.askReplaceRevisionCheckBox = QtGui.QCheckBox(
            self.snapshotsSavingOptionsGroupBox)
        self.askReplaceRevisionCheckBox.setChecked(True)
        self.askReplaceRevisionCheckBox.setObjectName(
            "askReplaceRevisionCheckBox")
        self.confirmsHorizontalLayout.addWidget(
            self.askReplaceRevisionCheckBox)
        self.snapshotsSavingOptionsLayout.addLayout(
            self.confirmsHorizontalLayout, 7, 0, 1, 4)
        self.repositoryComboBox = QtGui.QComboBox(
            self.snapshotsSavingOptionsGroupBox)
        self.repositoryComboBox.setObjectName("repositoryComboBox")
        self.snapshotsSavingOptionsLayout.addWidget(self.repositoryComboBox, 1,
                                                    1, 1, 3)
        self.createPlayblastCheckBox = QtGui.QCheckBox(
            self.snapshotsSavingOptionsGroupBox)
        self.createPlayblastCheckBox.setChecked(True)
        self.createPlayblastCheckBox.setObjectName("createPlayblastCheckBox")
        self.snapshotsSavingOptionsLayout.addWidget(
            self.createPlayblastCheckBox, 6, 0, 1, 1)
        self.checkinPageWidgetLayout.addWidget(
            self.snapshotsSavingOptionsGroupBox)
        self.dropPlateOptionsGroupBox = QtGui.QGroupBox(checkinPageWidget)
        self.dropPlateOptionsGroupBox.setFlat(True)
        self.dropPlateOptionsGroupBox.setObjectName("dropPlateOptionsGroupBox")
        self.dropPlateOptionsLayout = QtGui.QGridLayout(
            self.dropPlateOptionsGroupBox)
        self.dropPlateOptionsLayout.setContentsMargins(-1, -1, 0, 0)
        self.dropPlateOptionsLayout.setObjectName("dropPlateOptionsLayout")
        self.clearDropPlateAfterCheckincheckBox = QtGui.QCheckBox(
            self.dropPlateOptionsGroupBox)
        self.clearDropPlateAfterCheckincheckBox.setObjectName(
            "clearDropPlateAfterCheckincheckBox")
        self.dropPlateOptionsLayout.addWidget(
            self.clearDropPlateAfterCheckincheckBox, 1, 0, 1, 1)
        self.uncheckFromDropPlateCheckBox = QtGui.QCheckBox(
            self.dropPlateOptionsGroupBox)
        self.uncheckFromDropPlateCheckBox.setObjectName(
            "uncheckFromDropPlateCheckBox")
        self.dropPlateOptionsLayout.addWidget(
            self.uncheckFromDropPlateCheckBox, 0, 0, 1, 1)
        self.checkinPageWidgetLayout.addWidget(self.dropPlateOptionsGroupBox)
        self.defaultRepoPathsGroupBox = QtGui.QGroupBox(checkinPageWidget)
        self.defaultRepoPathsGroupBox.setFlat(True)
        self.defaultRepoPathsGroupBox.setObjectName("defaultRepoPathsGroupBox")
        self.defaultRepoPathsLayout = QtGui.QGridLayout(
            self.defaultRepoPathsGroupBox)
        self.defaultRepoPathsLayout.setContentsMargins(9, 9, 0, 0)
        self.defaultRepoPathsLayout.setObjectName("defaultRepoPathsLayout")
        self.assetBaseDirPathLineEdit = QtGui.QLineEdit(
            self.defaultRepoPathsGroupBox)
        self.assetBaseDirPathLineEdit.setObjectName("assetBaseDirPathLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.assetBaseDirPathLineEdit, 0,
                                              3, 1, 1)
        self.handoffDirPathLineEdit = QtGui.QLineEdit(
            self.defaultRepoPathsGroupBox)
        self.handoffDirPathLineEdit.setObjectName("handoffDirPathLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.handoffDirPathLineEdit, 4,
                                              2, 1, 2)
        self.sandboxDirPathLineEdit = QtGui.QLineEdit(
            self.defaultRepoPathsGroupBox)
        self.sandboxDirPathLineEdit.setObjectName("sandboxDirPathLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.sandboxDirPathLineEdit, 1,
                                              3, 1, 1)
        self.localRepoDirPathLineEdit = QtGui.QLineEdit(
            self.defaultRepoPathsGroupBox)
        self.localRepoDirPathLineEdit.setObjectName("localRepoDirPathLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.localRepoDirPathLineEdit, 2,
                                              3, 1, 1)
        self.clientRepoDirPathLineEdit = QtGui.QLineEdit(
            self.defaultRepoPathsGroupBox)
        self.clientRepoDirPathLineEdit.setObjectName(
            "clientRepoDirPathLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.clientRepoDirPathLineEdit,
                                              3, 3, 1, 1)
        self.assetBaseDirCheckBox = QtGui.QCheckBox(
            self.defaultRepoPathsGroupBox)
        self.assetBaseDirCheckBox.setChecked(True)
        self.assetBaseDirCheckBox.setObjectName("assetBaseDirCheckBox")
        self.defaultRepoPathsLayout.addWidget(self.assetBaseDirCheckBox, 0, 0,
                                              1, 1)
        self.sandboxCheckBox = QtGui.QCheckBox(self.defaultRepoPathsGroupBox)
        self.sandboxCheckBox.setObjectName("sandboxCheckBox")
        self.defaultRepoPathsLayout.addWidget(self.sandboxCheckBox, 1, 0, 1, 1)
        self.localRepoCheckBox = QtGui.QCheckBox(self.defaultRepoPathsGroupBox)
        self.localRepoCheckBox.setChecked(True)
        self.localRepoCheckBox.setObjectName("localRepoCheckBox")
        self.defaultRepoPathsLayout.addWidget(self.localRepoCheckBox, 2, 0, 1,
                                              1)
        self.clientRepoCheckBox = QtGui.QCheckBox(
            self.defaultRepoPathsGroupBox)
        self.clientRepoCheckBox.setObjectName("clientRepoCheckBox")
        self.defaultRepoPathsLayout.addWidget(self.clientRepoCheckBox, 3, 0, 1,
                                              1)
        self.handoffCheckBox = QtGui.QCheckBox(self.defaultRepoPathsGroupBox)
        self.handoffCheckBox.setObjectName("handoffCheckBox")
        self.defaultRepoPathsLayout.addWidget(self.handoffCheckBox, 4, 0, 1, 1)
        self.assetBaseDirNameLineEdit = QtGui.QLineEdit(
            self.defaultRepoPathsGroupBox)
        self.assetBaseDirNameLineEdit.setObjectName("assetBaseDirNameLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.assetBaseDirNameLineEdit, 0,
                                              2, 1, 1)
        self.sandboxDirNameLineEdit = QtGui.QLineEdit(
            self.defaultRepoPathsGroupBox)
        self.sandboxDirNameLineEdit.setObjectName("sandboxDirNameLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.sandboxDirNameLineEdit, 1,
                                              2, 1, 1)
        self.localRepoDirNameLineEdit = QtGui.QLineEdit(
            self.defaultRepoPathsGroupBox)
        self.localRepoDirNameLineEdit.setObjectName("localRepoDirNameLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.localRepoDirNameLineEdit, 2,
                                              2, 1, 1)
        self.clientRepoDirNameLineEdit = QtGui.QLineEdit(
            self.defaultRepoPathsGroupBox)
        self.clientRepoDirNameLineEdit.setObjectName(
            "clientRepoDirNameLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.clientRepoDirNameLineEdit,
                                              3, 2, 1, 1)
        self.assetBaseDirColorToolButton = QtGui.QToolButton(
            self.defaultRepoPathsGroupBox)
        self.assetBaseDirColorToolButton.setMaximumSize(QtCore.QSize(20, 20))
        self.assetBaseDirColorToolButton.setStyleSheet(
            "QToolButton {\n"
            "    border: 1px solid rgb(128, 128, 128);\n"
            "    border-radius: 4px;\n"
            "    background-color:  rgb(96, 96, 96);\n"
            "}\n"
            "QToolButton:pressed {\n"
            "    background-color: rgb(64, 64, 64);\n"
            "}")
        self.assetBaseDirColorToolButton.setChecked(False)
        self.assetBaseDirColorToolButton.setObjectName(
            "assetBaseDirColorToolButton")
        self.defaultRepoPathsLayout.addWidget(self.assetBaseDirColorToolButton,
                                              0, 1, 1, 1)
        self.sandboxDirColorToolButton = QtGui.QToolButton(
            self.defaultRepoPathsGroupBox)
        self.sandboxDirColorToolButton.setMaximumSize(QtCore.QSize(20, 20))
        self.sandboxDirColorToolButton.setStyleSheet(
            "QToolButton {\n"
            "    border: 1px solid rgb(128, 128, 128);\n"
            "    border-radius: 4px;\n"
            "    background-color:  rgb(128, 64, 64);\n"
            "}\n"
            "QToolButton:pressed {\n"
            "    background-color: rgb(108, 44, 44);\n"
            "}")
        self.sandboxDirColorToolButton.setChecked(False)
        self.sandboxDirColorToolButton.setObjectName(
            "sandboxDirColorToolButton")
        self.defaultRepoPathsLayout.addWidget(self.sandboxDirColorToolButton,
                                              1, 1, 1, 1)
        self.clientRepoDirColorToolButton = QtGui.QToolButton(
            self.defaultRepoPathsGroupBox)
        self.clientRepoDirColorToolButton.setMaximumSize(QtCore.QSize(20, 20))
        self.clientRepoDirColorToolButton.setStyleSheet(
            "QToolButton {\n"
            "    border: 1px solid rgb(128, 128, 128);\n"
            "    border-radius: 4px;\n"
            "    background-color:  rgb(31, 143, 0);\n"
            "}\n"
            "QToolButton:pressed {\n"
            "    background-color: rgb(11, 123, 0);\n"
            "}")
        self.clientRepoDirColorToolButton.setChecked(False)
        self.clientRepoDirColorToolButton.setObjectName(
            "clientRepoDirColorToolButton")
        self.defaultRepoPathsLayout.addWidget(
            self.clientRepoDirColorToolButton, 3, 1, 1, 1)
        self.localRepoDirColorToolButton = QtGui.QToolButton(
            self.defaultRepoPathsGroupBox)
        self.localRepoDirColorToolButton.setMaximumSize(QtCore.QSize(20, 20))
        self.localRepoDirColorToolButton.setStyleSheet(
            "QToolButton {\n"
            "    border: 1px solid rgb(128, 128, 128);\n"
            "    border-radius: 4px;\n"
            "    background-color:  rgb(255, 140, 40);\n"
            "}\n"
            "QToolButton:pressed {\n"
            "    background-color: rgb(235, 120, 20);\n"
            "}")
        self.localRepoDirColorToolButton.setChecked(False)
        self.localRepoDirColorToolButton.setObjectName(
            "localRepoDirColorToolButton")
        self.defaultRepoPathsLayout.addWidget(self.localRepoDirColorToolButton,
                                              2, 1, 1, 1)
        self.defaultRepoPathsLayout.setColumnStretch(3, 1)
        self.checkinPageWidgetLayout.addWidget(self.defaultRepoPathsGroupBox)
        self.customRepoPathsGroupBox = QtGui.QGroupBox(checkinPageWidget)
        self.customRepoPathsGroupBox.setEnabled(True)
        self.customRepoPathsGroupBox.setFlat(True)
        self.customRepoPathsGroupBox.setCheckable(True)
        self.customRepoPathsGroupBox.setChecked(False)
        self.customRepoPathsGroupBox.setObjectName("customRepoPathsGroupBox")
        self.customRepoPathsLayout = QtGui.QGridLayout(
            self.customRepoPathsGroupBox)
        self.customRepoPathsLayout.setContentsMargins(9, -1, 0, -1)
        self.customRepoPathsLayout.setObjectName("customRepoPathsLayout")
        self.label_7 = QtGui.QLabel(self.customRepoPathsGroupBox)
        self.label_7.setObjectName("label_7")
        self.customRepoPathsLayout.addWidget(self.label_7, 0, 0, 1, 1)
        self.customRepoDirColorToolButton = QtGui.QToolButton(
            self.customRepoPathsGroupBox)
        self.customRepoDirColorToolButton.setMaximumSize(QtCore.QSize(20, 20))
        self.customRepoDirColorToolButton.setStyleSheet(
            "QToolButton {\n"
            "    border: 1px solid rgb(128, 128, 128);\n"
            "    border-radius: 4px;\n"
            "    background-color:  rgb(64, 64, 64);\n"
            "}\n"
            "QToolButton:pressed {\n"
            "    background-color: rgb(44, 44, 44);\n"
            "}")
        self.customRepoDirColorToolButton.setChecked(False)
        self.customRepoDirColorToolButton.setObjectName(
            "customRepoDirColorToolButton")
        self.customRepoPathsLayout.addWidget(self.customRepoDirColorToolButton,
                                             0, 1, 1, 1)
        self.customRepoDirNameLineEdit = QtGui.QLineEdit(
            self.customRepoPathsGroupBox)
        self.customRepoDirNameLineEdit.setObjectName(
            "customRepoDirNameLineEdit")
        self.customRepoPathsLayout.addWidget(self.customRepoDirNameLineEdit, 0,
                                             2, 1, 3)
        self.label_8 = QtGui.QLabel(self.customRepoPathsGroupBox)
        self.label_8.setObjectName("label_8")
        self.customRepoPathsLayout.addWidget(self.label_8, 1, 0, 1, 1)
        self.customRepoDirPathLineEdit = QtGui.QLineEdit(
            self.customRepoPathsGroupBox)
        self.customRepoDirPathLineEdit.setObjectName(
            "customRepoDirPathLineEdit")
        self.customRepoPathsLayout.addWidget(self.customRepoDirPathLineEdit, 1,
                                             1, 1, 4)
        self.customRepoComboBox = QtGui.QComboBox(self.customRepoPathsGroupBox)
        self.customRepoComboBox.setObjectName("customRepoComboBox")
        self.customRepoPathsLayout.addWidget(self.customRepoComboBox, 2, 0, 1,
                                             1)
        self.addCustomRepoToListPushButton = QtGui.QPushButton(
            self.customRepoPathsGroupBox)
        self.addCustomRepoToListPushButton.setObjectName(
            "addCustomRepoToListPushButton")
        self.customRepoPathsLayout.addWidget(
            self.addCustomRepoToListPushButton, 2, 1, 1, 2)
        self.editCustomRepoPushButton = QtGui.QPushButton(
            self.customRepoPathsGroupBox)
        self.editCustomRepoPushButton.setObjectName("editCustomRepoPushButton")
        self.customRepoPathsLayout.addWidget(self.editCustomRepoPushButton, 2,
                                             3, 1, 1)
        self.deleteCustomRepoPushButton = QtGui.QPushButton(
            self.customRepoPathsGroupBox)
        self.deleteCustomRepoPushButton.setObjectName(
            "deleteCustomRepoPushButton")
        self.customRepoPathsLayout.addWidget(self.deleteCustomRepoPushButton,
                                             2, 4, 1, 1)
        self.customRepoTreeWidget = QtGui.QTreeWidget(
            self.customRepoPathsGroupBox)
        self.customRepoTreeWidget.setStyleSheet("QTreeView::item {\n"
                                                "    padding: 2px;\n"
                                                "}")
        self.customRepoTreeWidget.setIndentation(0)
        self.customRepoTreeWidget.setRootIsDecorated(False)
        self.customRepoTreeWidget.setObjectName("customRepoTreeWidget")
        self.customRepoPathsLayout.addWidget(self.customRepoTreeWidget, 3, 0,
                                             1, 5)
        self.checkinPageWidgetLayout.addWidget(self.customRepoPathsGroupBox)

        self.retranslateUi(checkinPageWidget)
        QtCore.QObject.connect(self.sequencePaddingHorizontalSlider,
                               QtCore.SIGNAL("valueChanged(int)"),
                               self.sequencePaddingSpinBox.setValue)
        QtCore.QObject.connect(self.sequencePaddingSpinBox,
                               QtCore.SIGNAL("valueChanged(int)"),
                               self.sequencePaddingHorizontalSlider.setValue)
        QtCore.QMetaObject.connectSlotsByName(checkinPageWidget)
コード例 #6
0
    def setupUi(self, searchOptionsGroupBox):
        searchOptionsGroupBox.setObjectName("searchOptionsGroupBox")
        searchOptionsGroupBox.setMaximumSize(QtCore.QSize(16777215, 167))
        searchOptionsGroupBox.setFlat(True)
        self.verticalLayout = QtGui.QVBoxLayout(searchOptionsGroupBox)
        self.verticalLayout.setContentsMargins(4, 2, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.searchByGroupBox = QtGui.QGroupBox(searchOptionsGroupBox)
        self.searchByGroupBox.setFlat(True)
        self.searchByGroupBox.setObjectName("searchByGroupBox")
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.searchByGroupBox)
        self.horizontalLayout_2.setSpacing(6)
        self.horizontalLayout_2.setContentsMargins(-1, 0, 0, 0)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.searchNameRadioButton = QtGui.QRadioButton(self.searchByGroupBox)
        self.searchNameRadioButton.setChecked(True)
        self.searchNameRadioButton.setObjectName("searchNameRadioButton")
        self.horizontalLayout_2.addWidget(self.searchNameRadioButton)
        self.searchCodeRadioButton = QtGui.QRadioButton(self.searchByGroupBox)
        self.searchCodeRadioButton.setObjectName("searchCodeRadioButton")
        self.horizontalLayout_2.addWidget(self.searchCodeRadioButton)
        self.searchDescriptionRadioButton = QtGui.QRadioButton(self.searchByGroupBox)
        self.searchDescriptionRadioButton.setObjectName("searchDescriptionRadioButton")
        self.horizontalLayout_2.addWidget(self.searchDescriptionRadioButton)
        self.searchKeywordsRadioButton = QtGui.QRadioButton(self.searchByGroupBox)
        self.searchKeywordsRadioButton.setObjectName("searchKeywordsRadioButton")
        self.horizontalLayout_2.addWidget(self.searchKeywordsRadioButton)
        self.searchParentCodeRadioButton = QtGui.QRadioButton(self.searchByGroupBox)
        self.searchParentCodeRadioButton.setChecked(False)
        self.searchParentCodeRadioButton.setObjectName("searchParentCodeRadioButton")
        self.horizontalLayout_2.addWidget(self.searchParentCodeRadioButton)
        self.parentsComboBox = QtGui.QComboBox(self.searchByGroupBox)
        self.parentsComboBox.setEnabled(False)
        self.parentsComboBox.setInsertPolicy(QtGui.QComboBox.NoInsert)
        self.parentsComboBox.setObjectName("parentsComboBox")
        self.parentsComboBox.addItem("")
        self.horizontalLayout_2.addWidget(self.parentsComboBox)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.verticalLayout.addWidget(self.searchByGroupBox)
        self.sortByGroupBox = QtGui.QGroupBox(searchOptionsGroupBox)
        self.sortByGroupBox.setFlat(True)
        self.sortByGroupBox.setObjectName("sortByGroupBox")
        self.horizontalLayout = QtGui.QHBoxLayout(self.sortByGroupBox)
        self.horizontalLayout.setSpacing(6)
        self.horizontalLayout.setContentsMargins(-1, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.sortNameRadioButton = QtGui.QRadioButton(self.sortByGroupBox)
        self.sortNameRadioButton.setObjectName("sortNameRadioButton")
        self.horizontalLayout.addWidget(self.sortNameRadioButton)
        self.sortCodeRadioButton = QtGui.QRadioButton(self.sortByGroupBox)
        self.sortCodeRadioButton.setObjectName("sortCodeRadioButton")
        self.horizontalLayout.addWidget(self.sortCodeRadioButton)
        self.sortTimestampRadioButton = QtGui.QRadioButton(self.sortByGroupBox)
        self.sortTimestampRadioButton.setChecked(True)
        self.sortTimestampRadioButton.setObjectName("sortTimestampRadioButton")
        self.horizontalLayout.addWidget(self.sortTimestampRadioButton)
        self.sortNothingRadioButton = QtGui.QRadioButton(self.sortByGroupBox)
        self.sortNothingRadioButton.setObjectName("sortNothingRadioButton")
        self.horizontalLayout.addWidget(self.sortNothingRadioButton)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.verticalLayout.addWidget(self.sortByGroupBox)
        self.miscGroupBox = QtGui.QGroupBox(searchOptionsGroupBox)
        self.miscGroupBox.setFlat(True)
        self.miscGroupBox.setObjectName("miscGroupBox")
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.miscGroupBox)
        self.horizontalLayout_3.setSpacing(6)
        self.horizontalLayout_3.setContentsMargins(-1, 0, 0, 0)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.saveAsDefaultsPushButton = QtGui.QPushButton(self.miscGroupBox)
        self.saveAsDefaultsPushButton.setObjectName("saveAsDefaultsPushButton")
        self.horizontalLayout_3.addWidget(self.saveAsDefaultsPushButton)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem2)
        self.label = QtGui.QLabel(self.miscGroupBox)
        self.label.setObjectName("label")
        self.horizontalLayout_3.addWidget(self.label)
        self.displayLimitSpinBox = QtGui.QSpinBox(self.miscGroupBox)
        self.displayLimitSpinBox.setMinimum(5)
        self.displayLimitSpinBox.setMaximum(200)
        self.displayLimitSpinBox.setSingleStep(5)
        self.displayLimitSpinBox.setObjectName("displayLimitSpinBox")
        self.horizontalLayout_3.addWidget(self.displayLimitSpinBox)
        self.showAllProcessCheckBox = QtGui.QCheckBox(self.miscGroupBox)
        self.showAllProcessCheckBox.setChecked(True)
        self.showAllProcessCheckBox.setObjectName("showAllProcessCheckBox")
        self.horizontalLayout_3.addWidget(self.showAllProcessCheckBox)
        self.verticalLayout.addWidget(self.miscGroupBox)

        self.retranslateUi(searchOptionsGroupBox)
        QtCore.QObject.connect(self.searchParentCodeRadioButton, QtCore.SIGNAL("toggled(bool)"), self.parentsComboBox.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(searchOptionsGroupBox)
        searchOptionsGroupBox.setTabOrder(self.searchNameRadioButton, self.searchCodeRadioButton)
        searchOptionsGroupBox.setTabOrder(self.searchCodeRadioButton, self.searchDescriptionRadioButton)
        searchOptionsGroupBox.setTabOrder(self.searchDescriptionRadioButton, self.searchKeywordsRadioButton)
        searchOptionsGroupBox.setTabOrder(self.searchKeywordsRadioButton, self.sortNameRadioButton)
        searchOptionsGroupBox.setTabOrder(self.sortNameRadioButton, self.sortCodeRadioButton)
        searchOptionsGroupBox.setTabOrder(self.sortCodeRadioButton, self.sortTimestampRadioButton)
        searchOptionsGroupBox.setTabOrder(self.sortTimestampRadioButton, self.sortNothingRadioButton)
        searchOptionsGroupBox.setTabOrder(self.sortNothingRadioButton, self.showAllProcessCheckBox)
        searchOptionsGroupBox.setTabOrder(self.showAllProcessCheckBox, self.displayLimitSpinBox)
        searchOptionsGroupBox.setTabOrder(self.displayLimitSpinBox, self.saveAsDefaultsPushButton)