def setupUi(self, horizontalCollapsableWidget):
        horizontalCollapsableWidget.setObjectName(
            "horizontalCollapsableWidget")
        self.horizontalLayout = QtGui.QHBoxLayout(horizontalCollapsableWidget)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.widget = QtGui.QWidget(horizontalCollapsableWidget)
        self.widget.setObjectName("widget")
        self.horizontalLayout.addWidget(self.widget)
        self.collapseToolButton = QtGui.QToolButton(
            horizontalCollapsableWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.collapseToolButton.sizePolicy().hasHeightForWidth())
        self.collapseToolButton.setSizePolicy(sizePolicy)
        self.collapseToolButton.setMaximumSize(QtCore.QSize(12, 22))
        self.collapseToolButton.setAutoRaise(True)
        self.collapseToolButton.setObjectName("collapseToolButton")
        self.horizontalLayout.addWidget(self.collapseToolButton)
        self.horizontalLayout.setStretch(1, 1)

        self.retranslateUi(horizontalCollapsableWidget)
        QtCore.QMetaObject.connectSlotsByName(horizontalCollapsableWidget)
Exemplo n.º 2
0
    def setupUi(self, childrenItem):
        childrenItem.setObjectName("childrenItem")
        childrenItem.resize(52, 25)
        childrenItem.setWindowTitle("")
        childrenItem.setStyleSheet("QTreeView::item {border-width: 0px;    border-radius: 0px;padding: 0px;}\n"
"")
        self.horizontalLayout = QtGui.QHBoxLayout(childrenItem)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.childrenToolButton = QtGui.QToolButton(childrenItem)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.childrenToolButton.sizePolicy().hasHeightForWidth())
        self.childrenToolButton.setSizePolicy(sizePolicy)
        self.childrenToolButton.setMinimumSize(QtCore.QSize(0, 24))
        self.childrenToolButton.setMaximumSize(QtCore.QSize(16777215, 24))
        self.childrenToolButton.setCheckable(True)
        self.childrenToolButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextBesideIcon)
        self.childrenToolButton.setObjectName("childrenToolButton")
        self.horizontalLayout.addWidget(self.childrenToolButton)
        self.addNewSObjectToolButton = QtGui.QToolButton(childrenItem)
        self.addNewSObjectToolButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextBesideIcon)
        self.addNewSObjectToolButton.setAutoRaise(True)
        self.addNewSObjectToolButton.setObjectName("addNewSObjectToolButton")
        self.horizontalLayout.addWidget(self.addNewSObjectToolButton)

        self.retranslateUi(childrenItem)
        QtCore.QMetaObject.connectSlotsByName(childrenItem)
Exemplo n.º 3
0
    def setupUi(self, globalPageWidget):
        globalPageWidget.setObjectName("globalPageWidget")
        self.verticalLayout = QtGui.QVBoxLayout(globalPageWidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.cacheProcessTabsCheckBox = QtGui.QCheckBox(globalPageWidget)
        self.cacheProcessTabsCheckBox.setObjectName("cacheProcessTabsCheckBox")
        self.verticalLayout.addWidget(self.cacheProcessTabsCheckBox)
        self.flushTabsCachePushButton = QtGui.QPushButton(globalPageWidget)
        self.flushTabsCachePushButton.setObjectName("flushTabsCachePushButton")
        self.verticalLayout.addWidget(self.flushTabsCachePushButton)
        self.configPathGroupBox = QtGui.QGroupBox(globalPageWidget)
        self.configPathGroupBox.setFlat(True)
        self.configPathGroupBox.setObjectName("configPathGroupBox")
        self.horizontalLayout = QtGui.QHBoxLayout(self.configPathGroupBox)
        self.horizontalLayout.setContentsMargins(0, -1, 0, -1)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.configPathLineEdit = QtGui.QLineEdit(self.configPathGroupBox)
        self.configPathLineEdit.setObjectName("configPathLineEdit")
        self.horizontalLayout.addWidget(self.configPathLineEdit)
        self.changeConfigPathToolButton = QtGui.QToolButton(
            self.configPathGroupBox)
        self.changeConfigPathToolButton.setObjectName(
            "changeConfigPathToolButton")
        self.horizontalLayout.addWidget(self.changeConfigPathToolButton)
        self.verticalLayout.addWidget(self.configPathGroupBox)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)

        self.retranslateUi(globalPageWidget)
        QtCore.QMetaObject.connectSlotsByName(globalPageWidget)
Exemplo n.º 4
0
    def __init__(self, parent=None):
        super(self.__class__, self).__init__(parent=parent)
        self.setWindowTitle('Making Screenshot')

        self.setWindowFlags(QtCore.Qt.FramelessWindowHint
                            | QtCore.Qt.WindowStaysOnTopHint)
        self.setAttribute(QtCore.Qt.WA_TranslucentBackground)
        # self.setWindowOpacity(0.5)

        self.setWindowModality(QtCore.Qt.ApplicationModal)

        # self.setSizeGripEnabled(True)

        mouse_pos = Qt4Gui.QCursor.pos()
        self.setGeometry(mouse_pos.x() - 16, mouse_pos.y() - 16, 32, 32)

        # self.resize(150, 150)
        # self.move()

        self.label_lay = QtGui.QVBoxLayout()
        self.setLayout(self.label_lay)
        self.screenshot_pixmap = None

        self.label_lay.setContentsMargins(0, 0, 0, 0)
        self.label_lay.setSpacing(0)

        self.bg_wd = QtGui.QLabel()
        self.bg_wd.setStyleSheet(
            'QLabel {padding: 0px;border: 2px dashed grey; background-color: rgba(0,0,0,25);}'
        )
        self.label_lay.addWidget(self.bg_wd)
        self.bg_wd.setMouseTracking(True)

        self.button_lay = QtGui.QHBoxLayout(self.bg_wd)
        self.button_lay.setContentsMargins(0, 0, 0, 0)
        self.button_lay.setSpacing(0)

        self.pb = QtGui.QToolButton()
        self.pb.setText('Take Screenshot')
        self.pb.setAutoRaise(True)
        # self.button_lay.addWidget(self.pb)

        self.pb.clicked.connect(self.ru)

        self.__dragging = False
        self.__resizing = False
        self.__offset_pos = None

        self.single_click_timer = QtCore.QTimer()
        self.single_click_timer.setInterval(1000)
        self.single_click_timer.timeout.connect(self.ts)

        self.create_ui()
Exemplo n.º 5
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)
 def create_drop_plate(self):
     self.drop_plate = QtGui.QWidget()
     self.drop_plate.setMinimumWidth(200)
     self.drop_plate.setMinimumHeight(50)
     self.drop_plate_layout = QtGui.QHBoxLayout()
     self.drop_plate_layout.setSpacing(0)
     self.drop_plate_layout.setContentsMargins(0, 0, 0, 0)
     self.drop_plate.setLayout(self.drop_plate_layout)
     self.drop_plate_label = QtGui.QLabel('DROP HERE')
     self.drop_plate_label.setAlignment(QtCore.Qt.AlignCenter)
     self.drop_plate_layout.addWidget(self.drop_plate_label)
     self.drop_plate_label.setStyleSheet(
         'QLabel{border: 1px solid gray;border-radius: 4px;background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(0, 0, 0, 32), stop:1 rgba(0, 0, 0, 0));}'
     )
Exemplo n.º 7
0
    def setupUi(self, fastControls):
        fastControls.setObjectName("fastControls")
        self.horizontalLayout = QtGui.QHBoxLayout(fastControls)
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.formatTypeComboBox = QtGui.QComboBox(fastControls)
        self.formatTypeComboBox.setObjectName("formatTypeComboBox")
        self.horizontalLayout.addWidget(self.formatTypeComboBox)
        self.checkinTypeLabel = QtGui.QLabel(fastControls)
        self.checkinTypeLabel.setTextFormat(QtCore.Qt.PlainText)
        self.checkinTypeLabel.setObjectName("checkinTypeLabel")
        self.horizontalLayout.addWidget(self.checkinTypeLabel)
        self.checkinTypeComboBox = QtGui.QComboBox(fastControls)
        self.checkinTypeComboBox.setObjectName("checkinTypeComboBox")
        self.checkinTypeComboBox.addItem("")
        self.checkinTypeComboBox.addItem("")
        self.checkinTypeComboBox.addItem("")
        self.checkinTypeComboBox.addItem("")
        self.checkinTypeComboBox.addItem("")
        self.horizontalLayout.addWidget(self.checkinTypeComboBox)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.explicitFilenameLabel = QtGui.QLabel(fastControls)
        self.explicitFilenameLabel.setObjectName("explicitFilenameLabel")
        self.horizontalLayout.addWidget(self.explicitFilenameLabel)
        self.explicitFilenameLineEdit = QtGui.QLineEdit(fastControls)
        self.explicitFilenameLineEdit.setObjectName("explicitFilenameLineEdit")
        self.horizontalLayout.addWidget(self.explicitFilenameLineEdit)
        self.processLabel = QtGui.QLabel(fastControls)
        self.processLabel.setObjectName("processLabel")
        self.horizontalLayout.addWidget(self.processLabel)
        self.processComboBox = QtGui.QComboBox(fastControls)
        self.processComboBox.setObjectName("processComboBox")
        self.horizontalLayout.addWidget(self.processComboBox)
        self.contextLabel = QtGui.QLabel(fastControls)
        self.contextLabel.setTextFormat(QtCore.Qt.PlainText)
        self.contextLabel.setObjectName("contextLabel")
        self.horizontalLayout.addWidget(self.contextLabel)
        self.contextComboBox = QtGui.QComboBox(fastControls)
        self.contextComboBox.setEditable(True)
        self.contextComboBox.setInsertPolicy(QtGui.QComboBox.NoInsert)
        self.contextComboBox.setObjectName("contextComboBox")
        self.horizontalLayout.addWidget(self.contextComboBox)
        self.horizontalLayout.setStretch(3, 1)
        self.horizontalLayout.setStretch(5, 1)
        self.horizontalLayout.setStretch(9, 1)

        self.retranslateUi(fastControls)
        QtCore.QMetaObject.connectSlotsByName(fastControls)
Exemplo n.º 8
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)
Exemplo n.º 9
0
    def setupUi(self, sObjTabs):
        sObjTabs.setObjectName("sObjTabs")
        sObjTabs.resize(131, 192)
        self.horizontalLayout = QtGui.QHBoxLayout(sObjTabs)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.sTypesTreeWidget = QtGui.QTreeWidget(sObjTabs)
        self.sTypesTreeWidget.setMaximumSize(QtCore.QSize(0, 16777215))
        self.sTypesTreeWidget.setStyleSheet("QTreeView::item {\n"
                                            "    padding: 2px;\n"
                                            "}")
        self.sTypesTreeWidget.setHorizontalScrollBarPolicy(
            QtCore.Qt.ScrollBarAlwaysOff)
        self.sTypesTreeWidget.setEditTriggers(
            QtGui.QAbstractItemView.NoEditTriggers)
        self.sTypesTreeWidget.setProperty("showDropIndicator", False)
        self.sTypesTreeWidget.setVerticalScrollMode(
            QtGui.QAbstractItemView.ScrollPerPixel)
        self.sTypesTreeWidget.setRootIsDecorated(False)
        self.sTypesTreeWidget.setAnimated(True)
        self.sTypesTreeWidget.setHeaderHidden(True)
        self.sTypesTreeWidget.setObjectName("sTypesTreeWidget")
        self.sTypesTreeWidget.headerItem().setText(0, "1")
        self.horizontalLayout.addWidget(self.sTypesTreeWidget)
        self.sObjTabWidget = QtGui.QTabWidget(sObjTabs)
        self.sObjTabWidget.setStyleSheet("QTabWidget::pane {\n"
                                         "    border: 0px;\n"
                                         "}\n"
                                         "QTabWidget::tab-bar {\n"
                                         "    alignment: left;\n"
                                         "}")
        self.sObjTabWidget.setMovable(True)
        self.sObjTabWidget.setObjectName("sObjTabWidget")
        self.horizontalLayout.addWidget(self.sObjTabWidget)
        self.horizontalLayout.setStretch(1, 1)

        self.retranslateUi(sObjTabs)
        QtCore.QMetaObject.connectSlotsByName(sObjTabs)
Exemplo n.º 10
0
    def setupUi(self, openOptions):
        openOptions.setObjectName("openOptions")
        openOptions.setWindowModality(QtCore.Qt.ApplicationModal)
        openOptions.resize(400, 100)
        openOptions.setMinimumSize(QtCore.QSize(400, 0))
        openOptions.setMaximumSize(QtCore.QSize(16777215, 200))
        self.gridLayout = QtGui.QGridLayout(openOptions)
        self.gridLayout.setObjectName("gridLayout")
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 1, 0, 1, 1)
        self.optionsOpenPushButton = QtGui.QPushButton(openOptions)
        self.optionsOpenPushButton.setObjectName("optionsOpenPushButton")
        self.gridLayout.addWidget(self.optionsOpenPushButton, 1, 1, 1, 1)
        self.openPushButton = QtGui.QPushButton(openOptions)
        self.openPushButton.setObjectName("openPushButton")
        self.gridLayout.addWidget(self.openPushButton, 1, 2, 1, 1)
        self.groupBox = QtGui.QGroupBox(openOptions)
        self.groupBox.setFlat(True)
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout = QtGui.QHBoxLayout(self.groupBox)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.setWorkdirCheckBox = QtGui.QCheckBox(self.groupBox)
        self.setWorkdirCheckBox.setChecked(True)
        self.setWorkdirCheckBox.setObjectName("setWorkdirCheckBox")
        self.horizontalLayout.addWidget(self.setWorkdirCheckBox)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.savePushButton = QtGui.QPushButton(self.groupBox)
        self.savePushButton.setObjectName("savePushButton")
        self.horizontalLayout.addWidget(self.savePushButton)
        self.gridLayout.addWidget(self.groupBox, 0, 0, 1, 3)

        self.retranslateUi(openOptions)
        QtCore.QMetaObject.connectSlotsByName(openOptions)
Exemplo n.º 11
0
    def setupUi(self, tasks):
        tasks.setObjectName("tasks")
        tasks.resize(705, 420)
        self.verticalLayout = QtGui.QVBoxLayout(tasks)
        self.verticalLayout.setContentsMargins(-1, -1, -1, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.splitter = QtGui.QSplitter(tasks)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName("splitter")
        self.gridLayoutWidget = QtGui.QWidget(self.splitter)
        self.gridLayoutWidget.setObjectName("gridLayoutWidget")
        self.gridLayout_2 = QtGui.QGridLayout(self.gridLayoutWidget)
        self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.contextLabel = QtGui.QLabel(self.gridLayoutWidget)
        self.contextLabel.setMinimumSize(QtCore.QSize(50, 0))
        self.contextLabel.setObjectName("contextLabel")
        self.gridLayout_2.addWidget(self.contextLabel, 2, 0, 1, 1)
        self.contextLineEdit = QtGui.QLineEdit(self.gridLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.contextLineEdit.sizePolicy().hasHeightForWidth())
        self.contextLineEdit.setSizePolicy(sizePolicy)
        self.contextLineEdit.setObjectName("contextLineEdit")
        self.gridLayout_2.addWidget(self.contextLineEdit, 2, 1, 1, 1)
        self.processTreeWidget = QtGui.QTreeWidget(self.gridLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.processTreeWidget.sizePolicy().hasHeightForWidth())
        self.processTreeWidget.setSizePolicy(sizePolicy)
        self.processTreeWidget.setMinimumSize(QtCore.QSize(350, 0))
        self.processTreeWidget.setEditTriggers(
            QtGui.QAbstractItemView.AllEditTriggers)
        self.processTreeWidget.setVerticalScrollMode(
            QtGui.QAbstractItemView.ScrollPerPixel)
        self.processTreeWidget.setAllColumnsShowFocus(True)
        self.processTreeWidget.setColumnCount(1)
        self.processTreeWidget.setObjectName("processTreeWidget")
        self.processTreeWidget.headerItem().setText(0, "Process:")
        self.processTreeWidget.header().setVisible(False)
        self.gridLayout_2.addWidget(self.processTreeWidget, 1, 0, 1, 2)
        self.taskInfoGroupBox = QtGui.QGroupBox(self.splitter)
        self.taskInfoGroupBox.setBaseSize(QtCore.QSize(500, 0))
        self.taskInfoGroupBox.setFlat(True)
        self.taskInfoGroupBox.setObjectName("taskInfoGroupBox")
        self.gridLayout = QtGui.QGridLayout(self.taskInfoGroupBox)
        self.gridLayout.setContentsMargins(4, 6, 4, 4)
        self.gridLayout.setObjectName("gridLayout")
        self.groupBox = QtGui.QGroupBox(self.taskInfoGroupBox)
        self.groupBox.setFlat(True)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.editorLayout = QtGui.QHBoxLayout()
        self.editorLayout.setSpacing(0)
        self.editorLayout.setContentsMargins(-1, 0, -1, -1)
        self.editorLayout.setObjectName("editorLayout")
        self.verticalLayout_2.addLayout(self.editorLayout)
        self.descriptionTextEdit = QtGui.QTextEdit(self.groupBox)
        self.descriptionTextEdit.setObjectName("descriptionTextEdit")
        self.verticalLayout_2.addWidget(self.descriptionTextEdit)
        self.gridLayout.addWidget(self.groupBox, 9, 0, 1, 3)
        self.label_3 = QtGui.QLabel(self.taskInfoGroupBox)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.label = QtGui.QLabel(self.taskInfoGroupBox)
        self.label.setMaximumSize(QtCore.QSize(100, 16777215))
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.assignedToComboBox = QtGui.QComboBox(self.taskInfoGroupBox)
        self.assignedToComboBox.setEditable(True)
        self.assignedToComboBox.setInsertPolicy(QtGui.QComboBox.NoInsert)
        self.assignedToComboBox.setObjectName("assignedToComboBox")
        self.gridLayout.addWidget(self.assignedToComboBox, 0, 1, 1, 2)
        self.label_5 = QtGui.QLabel(self.taskInfoGroupBox)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 4, 0, 1, 1)
        self.priorityComboBox = QtGui.QComboBox(self.taskInfoGroupBox)
        self.priorityComboBox.setEditable(True)
        self.priorityComboBox.setInsertPolicy(QtGui.QComboBox.NoInsert)
        self.priorityComboBox.setObjectName("priorityComboBox")
        self.gridLayout.addWidget(self.priorityComboBox, 2, 1, 1, 2)
        self.label_2 = QtGui.QLabel(self.taskInfoGroupBox)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.statusComboBox = QtGui.QComboBox(self.taskInfoGroupBox)
        self.statusComboBox.setEditable(True)
        self.statusComboBox.setInsertPolicy(QtGui.QComboBox.NoInsert)
        self.statusComboBox.setObjectName("statusComboBox")
        self.gridLayout.addWidget(self.statusComboBox, 3, 1, 1, 2)
        self.startedDateTimeEdit = QtGui.QDateTimeEdit(self.taskInfoGroupBox)
        self.startedDateTimeEdit.setCalendarPopup(True)
        self.startedDateTimeEdit.setObjectName("startedDateTimeEdit")
        self.gridLayout.addWidget(self.startedDateTimeEdit, 4, 1, 1, 2)
        self.superviserComboBox = QtGui.QComboBox(self.taskInfoGroupBox)
        self.superviserComboBox.setEditable(True)
        self.superviserComboBox.setInsertPolicy(QtGui.QComboBox.NoInsert)
        self.superviserComboBox.setObjectName("superviserComboBox")
        self.gridLayout.addWidget(self.superviserComboBox, 1, 1, 1, 2)
        self.endDateTimeEdit = QtGui.QDateTimeEdit(self.taskInfoGroupBox)
        self.endDateTimeEdit.setCalendarPopup(True)
        self.endDateTimeEdit.setObjectName("endDateTimeEdit")
        self.gridLayout.addWidget(self.endDateTimeEdit, 5, 1, 1, 2)
        self.label_6 = QtGui.QLabel(self.taskInfoGroupBox)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 5, 0, 1, 1)
        self.label_4 = QtGui.QLabel(self.taskInfoGroupBox)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1)
        self.saveChangesButton = QtGui.QPushButton(self.taskInfoGroupBox)
        self.saveChangesButton.setMaximumSize(QtCore.QSize(200, 16777215))
        self.saveChangesButton.setObjectName("saveChangesButton")
        self.gridLayout.addWidget(self.saveChangesButton, 10, 2, 1, 1)
        self.label_7 = QtGui.QLabel(self.taskInfoGroupBox)
        self.label_7.setObjectName("label_7")
        self.gridLayout.addWidget(self.label_7, 6, 0, 1, 1)
        self.showNotesButton = QtGui.QToolButton(self.taskInfoGroupBox)
        self.showNotesButton.setToolButtonStyle(
            QtCore.Qt.ToolButtonTextBesideIcon)
        self.showNotesButton.setAutoRaise(True)
        self.showNotesButton.setArrowType(QtCore.Qt.RightArrow)
        self.showNotesButton.setObjectName("showNotesButton")
        self.gridLayout.addWidget(self.showNotesButton, 10, 0, 1, 1)
        self.subsParentStatusLabel = QtGui.QLabel(self.taskInfoGroupBox)
        self.subsParentStatusLabel.setObjectName("subsParentStatusLabel")
        self.gridLayout.addWidget(self.subsParentStatusLabel, 6, 1, 1, 1)
        self.subsParentPushButton = QtGui.QPushButton(self.taskInfoGroupBox)
        self.subsParentPushButton.setObjectName("subsParentPushButton")
        self.gridLayout.addWidget(self.subsParentPushButton, 6, 2, 1, 1)
        self.subsTaskPushButton = QtGui.QPushButton(self.taskInfoGroupBox)
        self.subsTaskPushButton.setObjectName("subsTaskPushButton")
        self.gridLayout.addWidget(self.subsTaskPushButton, 7, 2, 1, 1)
        self.subsTaskStatusLabel = QtGui.QLabel(self.taskInfoGroupBox)
        self.subsTaskStatusLabel.setObjectName("subsTaskStatusLabel")
        self.gridLayout.addWidget(self.subsTaskStatusLabel, 7, 1, 1, 1)
        self.subsUsersPushButton = QtGui.QPushButton(self.taskInfoGroupBox)
        self.subsUsersPushButton.setObjectName("subsUsersPushButton")
        self.gridLayout.addWidget(self.subsUsersPushButton, 8, 2, 1, 1)
        self.verticalLayout.addWidget(self.splitter)
        self.skeyLineEdit = QtGui.QLineEdit(tasks)
        self.skeyLineEdit.setObjectName("skeyLineEdit")
        self.verticalLayout.addWidget(self.skeyLineEdit)

        self.retranslateUi(tasks)
        QtCore.QMetaObject.connectSlotsByName(tasks)
        tasks.setTabOrder(self.assignedToComboBox, self.superviserComboBox)
        tasks.setTabOrder(self.superviserComboBox, self.priorityComboBox)
        tasks.setTabOrder(self.priorityComboBox, self.statusComboBox)
        tasks.setTabOrder(self.statusComboBox, self.startedDateTimeEdit)
        tasks.setTabOrder(self.startedDateTimeEdit, self.endDateTimeEdit)
        tasks.setTabOrder(self.endDateTimeEdit, self.descriptionTextEdit)
        tasks.setTabOrder(self.descriptionTextEdit, self.saveChangesButton)
        tasks.setTabOrder(self.saveChangesButton, self.subsParentPushButton)
        tasks.setTabOrder(self.subsParentPushButton, self.showNotesButton)
        tasks.setTabOrder(self.showNotesButton, self.skeyLineEdit)
Exemplo n.º 12
0
    def setupUi(self, incom):
        incom.setObjectName("incom")
        incom.resize(154, 156)
        self.horizontalLayout = QtGui.QHBoxLayout(incom)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.groupBox = QtGui.QGroupBox(incom)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setStyleSheet(
            "QGroupBox {\n"
            "    background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(255, 255, 255, 0), stop:1 rgba(104, 104, 190, 40));\n"
            "    border: 2px solid gray;\n"
            "    border-radius: 2px;\n"
            "}")
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_3.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_3.setSpacing(0)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.dateLabel = QtGui.QLabel(self.groupBox)
        self.dateLabel.setMinimumSize(QtCore.QSize(0, 18))
        font = Qt4Gui.QFont()
        font.setPointSize(10)
        self.dateLabel.setFont(font)
        self.dateLabel.setToolTip("")
        self.dateLabel.setStyleSheet(
            "QLabel {\n"
            "    background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(255, 255, 255, 0), stop:1 rgba(128, 128, 150, 175));\n"
            "    border-bottom: 2px solid qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(255, 255, 255, 0), stop:1 rgba(128, 128, 128, 175));\n"
            "    padding: 0px;\n"
            "}")
        self.dateLabel.setTextFormat(QtCore.Qt.PlainText)
        self.dateLabel.setAlignment(QtCore.Qt.AlignRight
                                    | QtCore.Qt.AlignTrailing
                                    | QtCore.Qt.AlignVCenter)
        self.dateLabel.setMargin(2)
        self.dateLabel.setObjectName("dateLabel")
        self.gridLayout_3.addWidget(self.dateLabel, 0, 1, 1, 1)
        self.authorFullLabel = QtGui.QLabel(self.groupBox)
        self.authorFullLabel.setMinimumSize(QtCore.QSize(0, 50))
        font = Qt4Gui.QFont()
        font.setPointSize(9)
        self.authorFullLabel.setFont(font)
        self.authorFullLabel.setAccessibleDescription("")
        self.authorFullLabel.setStyleSheet("QLabel {\n"
                                           "    padding: 4px;\n"
                                           "}")
        self.authorFullLabel.setTextFormat(QtCore.Qt.PlainText)
        self.authorFullLabel.setAlignment(QtCore.Qt.AlignBottom
                                          | QtCore.Qt.AlignLeading
                                          | QtCore.Qt.AlignLeft)
        self.authorFullLabel.setObjectName("authorFullLabel")
        self.gridLayout_3.addWidget(self.authorFullLabel, 2, 0, 1, 1)
        self.commentLabel = QtGui.QLabel(self.groupBox)
        self.commentLabel.setText("")
        self.commentLabel.setTextFormat(QtCore.Qt.RichText)
        self.commentLabel.setScaledContents(True)
        self.commentLabel.setAlignment(QtCore.Qt.AlignLeading
                                       | QtCore.Qt.AlignLeft
                                       | QtCore.Qt.AlignTop)
        self.commentLabel.setWordWrap(True)
        self.commentLabel.setOpenExternalLinks(True)
        self.commentLabel.setTextInteractionFlags(
            QtCore.Qt.LinksAccessibleByMouse
            | QtCore.Qt.TextSelectableByKeyboard
            | QtCore.Qt.TextSelectableByMouse)
        self.commentLabel.setObjectName("commentLabel")
        self.gridLayout_3.addWidget(self.commentLabel, 1, 1, 2, 1)
        self.authorPicLabel = QtGui.QLabel(self.groupBox)
        self.authorPicLabel.setMinimumSize(QtCore.QSize(120, 80))
        self.authorPicLabel.setMaximumSize(QtCore.QSize(120, 120))
        self.authorPicLabel.setTextFormat(QtCore.Qt.RichText)
        self.authorPicLabel.setAlignment(QtCore.Qt.AlignHCenter
                                         | QtCore.Qt.AlignTop)
        self.authorPicLabel.setMargin(2)
        self.authorPicLabel.setObjectName("authorPicLabel")
        self.gridLayout_3.addWidget(self.authorPicLabel, 1, 0, 1, 1)
        self.authorLabel = QtGui.QLabel(self.groupBox)
        self.authorLabel.setMinimumSize(QtCore.QSize(0, 18))
        font = Qt4Gui.QFont()
        font.setPointSize(10)
        font.setWeight(75)
        font.setItalic(False)
        font.setBold(True)
        self.authorLabel.setFont(font)
        self.authorLabel.setStyleSheet(
            "QLabel {\n"
            "    background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(128, 128, 150, 175), stop:1 rgba(64, 64,64, 0));\n"
            "    border-bottom: 2px solid qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(64, 64, 64, 175), stop:1 rgba(255, 255,255, 0));\n"
            "    padding: 0px;\n"
            "}")
        self.authorLabel.setTextFormat(QtCore.Qt.PlainText)
        self.authorLabel.setObjectName("authorLabel")
        self.gridLayout_3.addWidget(self.authorLabel, 0, 0, 1, 1)
        self.gridLayout_3.setColumnStretch(1, 1)
        self.gridLayout_3.setRowStretch(2, 1)
        self.horizontalLayout.addWidget(self.groupBox)
        spacerItem = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)

        self.retranslateUi(incom)
        QtCore.QMetaObject.connectSlotsByName(incom)
Exemplo n.º 13
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)
Exemplo n.º 14
0
    def setupUi(self, snapshotItem):
        snapshotItem.setObjectName("snapshotItem")
        self.gridLayout = QtGui.QGridLayout(snapshotItem)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName("gridLayout")
        self.previewVerticalLayout = QtGui.QVBoxLayout()
        self.previewVerticalLayout.setSpacing(0)
        self.previewVerticalLayout.setContentsMargins(4, 4, 4, 4)
        self.previewVerticalLayout.setObjectName("previewVerticalLayout")
        self.previewLabel = QtGui.QLabel(snapshotItem)
        self.previewLabel.setMinimumSize(QtCore.QSize(64, 64))
        self.previewLabel.setMaximumSize(QtCore.QSize(64, 64))
        self.previewLabel.setStyleSheet(
            "QLabel {\n"
            "    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgba(175, 175, 175, 16), stop: 1 rgba(0, 0, 0, 0));\n"
            "    border: 0px;\n"
            "    border-radius: 4px;\n"
            "    padding: 0px 0px;\n"
            "}")
        self.previewLabel.setTextFormat(QtCore.Qt.RichText)
        self.previewLabel.setAlignment(QtCore.Qt.AlignCenter)
        self.previewLabel.setObjectName("previewLabel")
        self.previewVerticalLayout.addWidget(self.previewLabel)
        spacerItem = QtGui.QSpacerItem(0, 0, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Ignored)
        self.previewVerticalLayout.addItem(spacerItem)
        self.previewVerticalLayout.setStretch(1, 1)
        self.gridLayout.addLayout(self.previewVerticalLayout, 0, 1, 3, 1)
        self.nameVerticalLayout = QtGui.QHBoxLayout()
        self.nameVerticalLayout.setSpacing(0)
        self.nameVerticalLayout.setContentsMargins(-1, -1, -1, 3)
        self.nameVerticalLayout.setObjectName("nameVerticalLayout")
        self.fileNameLabel = QtGui.QLabel(snapshotItem)
        self.fileNameLabel.setMinimumSize(QtCore.QSize(0, 20))
        self.fileNameLabel.setMaximumSize(QtCore.QSize(16777215, 20))
        font = Qt4Gui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.fileNameLabel.setFont(font)
        self.fileNameLabel.setStyleSheet(
            "QLabel {\n"
            "    background-color: transparent;\n"
            "    border-bottom: 2px solid qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(128, 128, 128, 64), stop:1 rgba(128, 128,128, 0));\n"
            "}")
        self.fileNameLabel.setTextFormat(QtCore.Qt.PlainText)
        self.fileNameLabel.setWordWrap(True)
        self.fileNameLabel.setObjectName("fileNameLabel")
        self.nameVerticalLayout.addWidget(self.fileNameLabel)
        self.sizeLabel = QtGui.QLabel(snapshotItem)
        self.sizeLabel.setMinimumSize(QtCore.QSize(0, 20))
        self.sizeLabel.setMaximumSize(QtCore.QSize(16777215, 20))
        self.sizeLabel.setToolTip("")
        self.sizeLabel.setStyleSheet(
            "QLabel {\n"
            "    background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(255, 255, 255, 0), stop:1 rgba(64, 64, 64, 175));\n"
            "}")
        self.sizeLabel.setTextFormat(QtCore.Qt.PlainText)
        self.sizeLabel.setAlignment(QtCore.Qt.AlignRight
                                    | QtCore.Qt.AlignTrailing
                                    | QtCore.Qt.AlignVCenter)
        self.sizeLabel.setMargin(2)
        self.sizeLabel.setObjectName("sizeLabel")
        self.nameVerticalLayout.addWidget(self.sizeLabel)
        self.nameVerticalLayout.setStretch(0, 1)
        self.gridLayout.addLayout(self.nameVerticalLayout, 0, 2, 1, 2)
        self.infoHorizontalLayout = QtGui.QHBoxLayout()
        self.infoHorizontalLayout.setSpacing(0)
        self.infoHorizontalLayout.setObjectName("infoHorizontalLayout")
        self.gridLayout.addLayout(self.infoHorizontalLayout, 1, 2, 1, 1)
        self.descriptionLorizontalLayout = QtGui.QHBoxLayout()
        self.descriptionLorizontalLayout.setSpacing(0)
        self.descriptionLorizontalLayout.setObjectName(
            "descriptionLorizontalLayout")
        self.authorLabel = QtGui.QLabel(snapshotItem)
        self.authorLabel.setMinimumSize(QtCore.QSize(0, 25))
        font = Qt4Gui.QFont()
        font.setItalic(True)
        self.authorLabel.setFont(font)
        self.authorLabel.setStyleSheet("color:grey;")
        self.authorLabel.setTextFormat(QtCore.Qt.PlainText)
        self.authorLabel.setAlignment(QtCore.Qt.AlignLeading
                                      | QtCore.Qt.AlignLeft
                                      | QtCore.Qt.AlignTop)
        self.authorLabel.setMargin(2)
        self.authorLabel.setObjectName("authorLabel")
        self.descriptionLorizontalLayout.addWidget(self.authorLabel)
        self.commentLabel = QtGui.QLabel(snapshotItem)
        self.commentLabel.setMinimumSize(QtCore.QSize(0, 25))
        self.commentLabel.setTextFormat(QtCore.Qt.PlainText)
        self.commentLabel.setAlignment(QtCore.Qt.AlignLeading
                                       | QtCore.Qt.AlignLeft
                                       | QtCore.Qt.AlignTop)
        self.commentLabel.setWordWrap(True)
        self.commentLabel.setMargin(2)
        self.commentLabel.setObjectName("commentLabel")
        self.descriptionLorizontalLayout.addWidget(self.commentLabel)
        self.descriptionLorizontalLayout.setStretch(1, 1)
        self.gridLayout.addLayout(self.descriptionLorizontalLayout, 2, 2, 1, 2)
        self.checkBoxHorizontalLayout = QtGui.QHBoxLayout()
        self.checkBoxHorizontalLayout.setSpacing(0)
        self.checkBoxHorizontalLayout.setObjectName("checkBoxHorizontalLayout")
        spacerItem1 = QtGui.QSpacerItem(0, 0, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.checkBoxHorizontalLayout.addItem(spacerItem1)
        self.selectedCheckBox = QtGui.QCheckBox(snapshotItem)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.selectedCheckBox.sizePolicy().hasHeightForWidth())
        self.selectedCheckBox.setSizePolicy(sizePolicy)
        self.selectedCheckBox.setMinimumSize(QtCore.QSize(30, 0))
        self.selectedCheckBox.setObjectName("selectedCheckBox")
        self.checkBoxHorizontalLayout.addWidget(self.selectedCheckBox)
        self.gridLayout.addLayout(self.checkBoxHorizontalLayout, 1, 3, 1, 1)
        self.itemColorLine = QtGui.QFrame(snapshotItem)
        self.itemColorLine.setMaximumSize(QtCore.QSize(4, 16777215))
        self.itemColorLine.setStyleSheet(
            "QFrame { border: 0px; background-color: green;}\n"
            "")
        self.itemColorLine.setFrameShadow(QtGui.QFrame.Plain)
        self.itemColorLine.setLineWidth(4)
        self.itemColorLine.setFrameShape(QtGui.QFrame.VLine)
        self.itemColorLine.setFrameShadow(QtGui.QFrame.Sunken)
        self.itemColorLine.setObjectName("itemColorLine")
        self.gridLayout.addWidget(self.itemColorLine, 0, 0, 3, 1)
        self.gridLayout.setRowStretch(2, 1)

        self.retranslateUi(snapshotItem)
        QtCore.QMetaObject.connectSlotsByName(snapshotItem)
Exemplo n.º 15
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)
Exemplo n.º 16
0
    def setupUi(self, dropPlate):
        dropPlate.setObjectName("dropPlate")
        self.dropPlateGridLayout = QtGui.QGridLayout(dropPlate)
        self.dropPlateGridLayout.setContentsMargins(0, 0, 0, 0)
        self.dropPlateGridLayout.setSpacing(4)
        self.dropPlateGridLayout.setObjectName("dropPlateGridLayout")
        self.fromDropListCheckBox = QtGui.QCheckBox(dropPlate)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.fromDropListCheckBox.sizePolicy().hasHeightForWidth())
        self.fromDropListCheckBox.setSizePolicy(sizePolicy)
        self.fromDropListCheckBox.setObjectName("fromDropListCheckBox")
        self.dropPlateGridLayout.addWidget(self.fromDropListCheckBox, 2, 0, 1, 1)
        self.groupCheckinCheckBox = QtGui.QCheckBox(dropPlate)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupCheckinCheckBox.sizePolicy().hasHeightForWidth())
        self.groupCheckinCheckBox.setSizePolicy(sizePolicy)
        self.groupCheckinCheckBox.setObjectName("groupCheckinCheckBox")
        self.dropPlateGridLayout.addWidget(self.groupCheckinCheckBox, 2, 1, 1, 1)
        self.keepFileNameCheckBox = QtGui.QCheckBox(dropPlate)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.keepFileNameCheckBox.sizePolicy().hasHeightForWidth())
        self.keepFileNameCheckBox.setSizePolicy(sizePolicy)
        self.keepFileNameCheckBox.setObjectName("keepFileNameCheckBox")
        self.dropPlateGridLayout.addWidget(self.keepFileNameCheckBox, 2, 2, 1, 1)
        self.includeSubfoldersCheckBox = QtGui.QCheckBox(dropPlate)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.includeSubfoldersCheckBox.sizePolicy().hasHeightForWidth())
        self.includeSubfoldersCheckBox.setSizePolicy(sizePolicy)
        self.includeSubfoldersCheckBox.setObjectName("includeSubfoldersCheckBox")
        self.dropPlateGridLayout.addWidget(self.includeSubfoldersCheckBox, 2, 3, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.dropPlateGridLayout.addItem(spacerItem, 2, 7, 1, 1)
        self.clearPushButton = QtGui.QToolButton(dropPlate)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.clearPushButton.sizePolicy().hasHeightForWidth())
        self.clearPushButton.setSizePolicy(sizePolicy)
        self.clearPushButton.setMinimumSize(QtCore.QSize(24, 24))
        self.clearPushButton.setMaximumSize(QtCore.QSize(24, 24))
        self.clearPushButton.setToolButtonStyle(QtCore.Qt.ToolButtonIconOnly)
        self.clearPushButton.setAutoRaise(True)
        self.clearPushButton.setObjectName("clearPushButton")
        self.dropPlateGridLayout.addWidget(self.clearPushButton, 2, 9, 1, 1)
        self.dropTreeWidget = QtGui.QTreeWidget(dropPlate)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dropTreeWidget.sizePolicy().hasHeightForWidth())
        self.dropTreeWidget.setSizePolicy(sizePolicy)
        self.dropTreeWidget.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.dropTreeWidget.setEditTriggers(QtGui.QAbstractItemView.AllEditTriggers)
        self.dropTreeWidget.setTabKeyNavigation(True)
        self.dropTreeWidget.setAlternatingRowColors(True)
        self.dropTreeWidget.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.dropTreeWidget.setTextElideMode(QtCore.Qt.ElideMiddle)
        self.dropTreeWidget.setVerticalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.dropTreeWidget.setIndentation(20)
        self.dropTreeWidget.setRootIsDecorated(True)
        self.dropTreeWidget.setUniformRowHeights(True)
        self.dropTreeWidget.setItemsExpandable(True)
        self.dropTreeWidget.setAllColumnsShowFocus(True)
        self.dropTreeWidget.setWordWrap(True)
        self.dropTreeWidget.setHeaderHidden(False)
        self.dropTreeWidget.setObjectName("dropTreeWidget")
        self.dropTreeWidget.header().setCascadingSectionResizes(True)
        self.dropPlateGridLayout.addWidget(self.dropTreeWidget, 0, 0, 1, 10)
        self.configPushButton = QtGui.QToolButton(dropPlate)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.configPushButton.sizePolicy().hasHeightForWidth())
        self.configPushButton.setSizePolicy(sizePolicy)
        self.configPushButton.setMinimumSize(QtCore.QSize(24, 24))
        self.configPushButton.setMaximumSize(QtCore.QSize(24, 24))
        self.configPushButton.setToolButtonStyle(QtCore.Qt.ToolButtonIconOnly)
        self.configPushButton.setAutoRaise(True)
        self.configPushButton.setObjectName("configPushButton")
        self.dropPlateGridLayout.addWidget(self.configPushButton, 2, 8, 1, 1)
        self.enableFilterCheckBox = QtGui.QCheckBox(dropPlate)
        self.enableFilterCheckBox.setChecked(False)
        self.enableFilterCheckBox.setObjectName("enableFilterCheckBox")
        self.dropPlateGridLayout.addWidget(self.enableFilterCheckBox, 2, 4, 1, 1)
        self.filterLineEdit = QtGui.QLineEdit(dropPlate)
        self.filterLineEdit.setEnabled(False)
        self.filterLineEdit.setObjectName("filterLineEdit")
        self.dropPlateGridLayout.addWidget(self.filterLineEdit, 2, 6, 1, 1)
        self.filterComboBox = QtGui.QComboBox(dropPlate)
        self.filterComboBox.setEnabled(False)
        self.filterComboBox.setObjectName("filterComboBox")
        self.filterComboBox.addItem("")
        self.filterComboBox.addItem("")
        self.dropPlateGridLayout.addWidget(self.filterComboBox, 2, 5, 1, 1)
        self.progressBarLayout = QtGui.QHBoxLayout()
        self.progressBarLayout.setSpacing(0)
        self.progressBarLayout.setObjectName("progressBarLayout")
        self.dropPlateGridLayout.addLayout(self.progressBarLayout, 1, 0, 1, 10)

        self.retranslateUi(dropPlate)
        QtCore.QObject.connect(self.enableFilterCheckBox, QtCore.SIGNAL("toggled(bool)"), self.filterComboBox.setEnabled)
        QtCore.QObject.connect(self.enableFilterCheckBox, QtCore.SIGNAL("toggled(bool)"), self.filterLineEdit.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(dropPlate)
Exemplo n.º 17
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)
Exemplo n.º 18
0
    def setupUi(self, item):
        item.setObjectName("item")
        self.gridLayout = QtGui.QGridLayout(item)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName("gridLayout")
        self.itemColorLine = QtGui.QFrame(item)
        self.itemColorLine.setMaximumSize(QtCore.QSize(4, 16777215))
        self.itemColorLine.setStyleSheet(
            "QFrame { border: 0px; background-color: black;}")
        self.itemColorLine.setFrameShadow(QtGui.QFrame.Plain)
        self.itemColorLine.setLineWidth(4)
        self.itemColorLine.setFrameShape(QtGui.QFrame.VLine)
        self.itemColorLine.setFrameShadow(QtGui.QFrame.Sunken)
        self.itemColorLine.setObjectName("itemColorLine")
        self.gridLayout.addWidget(self.itemColorLine, 0, 0, 3, 1)
        self.previewVerticalLayout = QtGui.QVBoxLayout()
        self.previewVerticalLayout.setSpacing(0)
        self.previewVerticalLayout.setContentsMargins(4, 4, 4, 4)
        self.previewVerticalLayout.setObjectName("previewVerticalLayout")
        self.previewLabel = QtGui.QLabel(item)
        self.previewLabel.setMinimumSize(QtCore.QSize(64, 64))
        self.previewLabel.setMaximumSize(QtCore.QSize(64, 64))
        self.previewLabel.setStyleSheet(
            "QLabel {\n"
            "    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgba(175, 175, 175, 16), stop: 1 rgba(0, 0, 0, 0));\n"
            "    border: 0px;\n"
            "    border-radius: 4px;\n"
            "    padding: 0px 0px;\n"
            "}")
        self.previewLabel.setTextFormat(QtCore.Qt.RichText)
        self.previewLabel.setAlignment(QtCore.Qt.AlignCenter)
        self.previewLabel.setObjectName("previewLabel")
        self.previewVerticalLayout.addWidget(self.previewLabel)
        spacerItem = QtGui.QSpacerItem(0, 0, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Ignored)
        self.previewVerticalLayout.addItem(spacerItem)
        self.previewVerticalLayout.setStretch(1, 1)
        self.gridLayout.addLayout(self.previewVerticalLayout, 0, 1, 3, 1)
        self.toolsVerticalLayout = QtGui.QVBoxLayout()
        self.toolsVerticalLayout.setSpacing(6)
        self.toolsVerticalLayout.setContentsMargins(3, 4, 6, -1)
        self.toolsVerticalLayout.setObjectName("toolsVerticalLayout")
        self.tasksToolButton = QtGui.QToolButton(item)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tasksToolButton.sizePolicy().hasHeightForWidth())
        self.tasksToolButton.setSizePolicy(sizePolicy)
        self.tasksToolButton.setToolButtonStyle(QtCore.Qt.ToolButtonIconOnly)
        self.tasksToolButton.setAutoRaise(True)
        self.tasksToolButton.setArrowType(QtCore.Qt.NoArrow)
        self.tasksToolButton.setObjectName("tasksToolButton")
        self.toolsVerticalLayout.addWidget(self.tasksToolButton)
        self.relationsToolButton = QtGui.QToolButton(item)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.relationsToolButton.sizePolicy().hasHeightForWidth())
        self.relationsToolButton.setSizePolicy(sizePolicy)
        self.relationsToolButton.setPopupMode(
            QtGui.QToolButton.MenuButtonPopup)
        self.relationsToolButton.setToolButtonStyle(
            QtCore.Qt.ToolButtonTextBesideIcon)
        self.relationsToolButton.setAutoRaise(True)
        self.relationsToolButton.setArrowType(QtCore.Qt.NoArrow)
        self.relationsToolButton.setObjectName("relationsToolButton")
        self.toolsVerticalLayout.addWidget(self.relationsToolButton)
        spacerItem1 = QtGui.QSpacerItem(0, 0, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Ignored)
        self.toolsVerticalLayout.addItem(spacerItem1)
        self.toolsVerticalLayout.setStretch(2, 1)
        self.gridLayout.addLayout(self.toolsVerticalLayout, 0, 2, 3, 1)
        self.nameVerticalLayout = QtGui.QVBoxLayout()
        self.nameVerticalLayout.setSpacing(0)
        self.nameVerticalLayout.setContentsMargins(-1, -1, -1, 3)
        self.nameVerticalLayout.setObjectName("nameVerticalLayout")
        self.fileNameLabel = QtGui.QLabel(item)
        self.fileNameLabel.setMinimumSize(QtCore.QSize(0, 20))
        self.fileNameLabel.setMaximumSize(QtCore.QSize(16777215, 24))
        font = Qt4Gui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.fileNameLabel.setFont(font)
        self.fileNameLabel.setStyleSheet(
            "QLabel {\n"
            "    background-color: transparent;\n"
            "    border-bottom: 2px solid qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(128, 128, 128, 64), stop:1 rgba(128, 128,128, 0));\n"
            "}")
        self.fileNameLabel.setTextFormat(QtCore.Qt.PlainText)
        self.fileNameLabel.setObjectName("fileNameLabel")
        self.nameVerticalLayout.addWidget(self.fileNameLabel)
        self.gridLayout.addLayout(self.nameVerticalLayout, 0, 3, 1, 2)
        self.checkBoxHorizontalLayout = QtGui.QHBoxLayout()
        self.checkBoxHorizontalLayout.setSpacing(0)
        self.checkBoxHorizontalLayout.setObjectName("checkBoxHorizontalLayout")
        spacerItem2 = QtGui.QSpacerItem(0, 0, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.checkBoxHorizontalLayout.addItem(spacerItem2)
        self.selectedCheckBox = QtGui.QCheckBox(item)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.selectedCheckBox.sizePolicy().hasHeightForWidth())
        self.selectedCheckBox.setSizePolicy(sizePolicy)
        self.selectedCheckBox.setMinimumSize(QtCore.QSize(30, 0))
        self.selectedCheckBox.setObjectName("selectedCheckBox")
        self.checkBoxHorizontalLayout.addWidget(self.selectedCheckBox)
        self.gridLayout.addLayout(self.checkBoxHorizontalLayout, 1, 4, 1, 1)
        self.descriptionLerticalLayout = QtGui.QVBoxLayout()
        self.descriptionLerticalLayout.setSpacing(0)
        self.descriptionLerticalLayout.setObjectName(
            "descriptionLerticalLayout")
        self.commentLabel = QtGui.QLabel(item)
        self.commentLabel.setMinimumSize(QtCore.QSize(0, 25))
        self.commentLabel.setTextFormat(QtCore.Qt.PlainText)
        self.commentLabel.setAlignment(QtCore.Qt.AlignLeading
                                       | QtCore.Qt.AlignLeft
                                       | QtCore.Qt.AlignTop)
        self.commentLabel.setWordWrap(True)
        self.commentLabel.setMargin(2)
        self.commentLabel.setObjectName("commentLabel")
        self.descriptionLerticalLayout.addWidget(self.commentLabel)
        self.gridLayout.addLayout(self.descriptionLerticalLayout, 2, 3, 1, 2)
        self.infoHorizontalLayout = QtGui.QHBoxLayout()
        self.infoHorizontalLayout.setSpacing(0)
        self.infoHorizontalLayout.setObjectName("infoHorizontalLayout")
        self.gridLayout.addLayout(self.infoHorizontalLayout, 1, 3, 1, 1)
        self.gridLayout.setRowStretch(2, 1)

        self.retranslateUi(item)
        QtCore.QMetaObject.connectSlotsByName(item)
Exemplo n.º 19
0
    def setupUi(self, richedit):
        richedit.setObjectName("richedit")
        richedit.resize(506, 22)
        self.horizontalLayout = QtGui.QHBoxLayout(richedit)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.boldButton = QtGui.QToolButton(richedit)
        self.boldButton.setToolTip("Set selected Text Bold")
        self.boldButton.setStatusTip("Set selected Text Bold")
        icon = Qt4Gui.QIcon()
        icon.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/text_bold.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.boldButton.setIcon(icon)
        self.boldButton.setCheckable(True)
        self.boldButton.setAutoRaise(True)
        self.boldButton.setObjectName("boldButton")
        self.horizontalLayout.addWidget(self.boldButton)
        self.italicButton = QtGui.QToolButton(richedit)
        icon1 = Qt4Gui.QIcon()
        icon1.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/text_italic.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.italicButton.setIcon(icon1)
        self.italicButton.setCheckable(True)
        self.italicButton.setAutoRaise(True)
        self.italicButton.setObjectName("italicButton")
        self.horizontalLayout.addWidget(self.italicButton)
        self.underlinedButton = QtGui.QToolButton(richedit)
        icon2 = Qt4Gui.QIcon()
        icon2.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/text_underline.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.underlinedButton.setIcon(icon2)
        self.underlinedButton.setCheckable(True)
        self.underlinedButton.setAutoRaise(True)
        self.underlinedButton.setObjectName("underlinedButton")
        self.horizontalLayout.addWidget(self.underlinedButton)
        self.strikedButton = QtGui.QToolButton(richedit)
        self.strikedButton.setText("")
        icon3 = Qt4Gui.QIcon()
        icon3.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/text_strikethrough.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.strikedButton.setIcon(icon3)
        self.strikedButton.setCheckable(True)
        self.strikedButton.setAutoRaise(True)
        self.strikedButton.setObjectName("strikedButton")
        self.horizontalLayout.addWidget(self.strikedButton)
        self.leftButton = QtGui.QToolButton(richedit)
        self.leftButton.setText("")
        icon4 = Qt4Gui.QIcon()
        icon4.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/text_align_left.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.leftButton.setIcon(icon4)
        self.leftButton.setCheckable(True)
        self.leftButton.setAutoRaise(True)
        self.leftButton.setObjectName("leftButton")
        self.horizontalLayout.addWidget(self.leftButton)
        self.centerButton = QtGui.QToolButton(richedit)
        self.centerButton.setText("")
        icon5 = Qt4Gui.QIcon()
        icon5.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/text_align_center.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.centerButton.setIcon(icon5)
        self.centerButton.setCheckable(True)
        self.centerButton.setAutoRaise(True)
        self.centerButton.setObjectName("centerButton")
        self.horizontalLayout.addWidget(self.centerButton)
        self.rightButton = QtGui.QToolButton(richedit)
        self.rightButton.setText("")
        icon6 = Qt4Gui.QIcon()
        icon6.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/text_align_right.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.rightButton.setIcon(icon6)
        self.rightButton.setCheckable(True)
        self.rightButton.setAutoRaise(True)
        self.rightButton.setObjectName("rightButton")
        self.horizontalLayout.addWidget(self.rightButton)
        self.justButton = QtGui.QToolButton(richedit)
        self.justButton.setText("")
        icon7 = Qt4Gui.QIcon()
        icon7.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/text_align_justify.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.justButton.setIcon(icon7)
        self.justButton.setCheckable(True)
        self.justButton.setAutoRaise(True)
        self.justButton.setObjectName("justButton")
        self.horizontalLayout.addWidget(self.justButton)
        self.numbersListButton = QtGui.QToolButton(richedit)
        self.numbersListButton.setText("")
        icon8 = Qt4Gui.QIcon()
        icon8.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/text_list_numbers.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.numbersListButton.setIcon(icon8)
        self.numbersListButton.setAutoRaise(True)
        self.numbersListButton.setObjectName("numbersListButton")
        self.horizontalLayout.addWidget(self.numbersListButton)
        self.bulletsListButton = QtGui.QToolButton(richedit)
        self.bulletsListButton.setText("")
        icon9 = Qt4Gui.QIcon()
        icon9.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/text_list_bullets.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.bulletsListButton.setIcon(icon9)
        self.bulletsListButton.setAutoRaise(True)
        self.bulletsListButton.setObjectName("bulletsListButton")
        self.horizontalLayout.addWidget(self.bulletsListButton)
        self.downTextButton = QtGui.QToolButton(richedit)
        self.downTextButton.setText("")
        icon10 = Qt4Gui.QIcon()
        icon10.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/text_subscript.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.downTextButton.setIcon(icon10)
        self.downTextButton.setAutoRaise(True)
        self.downTextButton.setObjectName("downTextButton")
        self.horizontalLayout.addWidget(self.downTextButton)
        self.upTextButton = QtGui.QToolButton(richedit)
        self.upTextButton.setText("")
        icon11 = Qt4Gui.QIcon()
        icon11.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/text_superscript.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.upTextButton.setIcon(icon11)
        self.upTextButton.setAutoRaise(True)
        self.upTextButton.setObjectName("upTextButton")
        self.horizontalLayout.addWidget(self.upTextButton)
        self.capsButton = QtGui.QToolButton(richedit)
        self.capsButton.setText("")
        icon12 = Qt4Gui.QIcon()
        icon12.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/text_allcaps.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.capsButton.setIcon(icon12)
        self.capsButton.setAutoRaise(True)
        self.capsButton.setObjectName("capsButton")
        self.horizontalLayout.addWidget(self.capsButton)
        self.smallCapsButton = QtGui.QToolButton(richedit)
        self.smallCapsButton.setText("")
        icon13 = Qt4Gui.QIcon()
        icon13.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/text_smallcaps.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.smallCapsButton.setIcon(icon13)
        self.smallCapsButton.setAutoRaise(True)
        self.smallCapsButton.setObjectName("smallCapsButton")
        self.horizontalLayout.addWidget(self.smallCapsButton)
        self.fontcolorButton = QtGui.QToolButton(richedit)
        self.fontcolorButton.setText("")
        icon14 = Qt4Gui.QIcon()
        icon14.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/color_wheel.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.fontcolorButton.setIcon(icon14)
        self.fontcolorButton.setAutoRaise(True)
        self.fontcolorButton.setObjectName("fontcolorButton")
        self.horizontalLayout.addWidget(self.fontcolorButton)
        self.fontButton = QtGui.QToolButton(richedit)
        self.fontButton.setText("")
        icon15 = Qt4Gui.QIcon()
        icon15.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/font.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.fontButton.setIcon(icon15)
        self.fontButton.setAutoRaise(True)
        self.fontButton.setObjectName("fontButton")
        self.horizontalLayout.addWidget(self.fontButton)
        self.linkButton = QtGui.QToolButton(richedit)
        self.linkButton.setText("")
        icon16 = Qt4Gui.QIcon()
        icon16.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/link_add.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.linkButton.setIcon(icon16)
        self.linkButton.setAutoRaise(True)
        self.linkButton.setObjectName("linkButton")
        self.horizontalLayout.addWidget(self.linkButton)
        self.pictureButton = QtGui.QToolButton(richedit)
        self.pictureButton.setText("")
        icon17 = Qt4Gui.QIcon()
        icon17.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/picture_add.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.pictureButton.setIcon(icon17)
        self.pictureButton.setAutoRaise(True)
        self.pictureButton.setObjectName("pictureButton")
        self.horizontalLayout.addWidget(self.pictureButton)
        self.folderButton = QtGui.QToolButton(richedit)
        self.folderButton.setText("")
        icon18 = Qt4Gui.QIcon()
        icon18.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/folder_add.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.folderButton.setIcon(icon18)
        self.folderButton.setAutoRaise(True)
        self.folderButton.setObjectName("folderButton")
        self.horizontalLayout.addWidget(self.folderButton)
        self.cutButton = QtGui.QToolButton(richedit)
        self.cutButton.setText("")
        icon19 = Qt4Gui.QIcon()
        icon19.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/cut_red.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.cutButton.setIcon(icon19)
        self.cutButton.setAutoRaise(True)
        self.cutButton.setObjectName("cutButton")
        self.horizontalLayout.addWidget(self.cutButton)
        self.copyButton = QtGui.QToolButton(richedit)
        self.copyButton.setText("")
        icon20 = Qt4Gui.QIcon()
        icon20.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/page_white_copy.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.copyButton.setIcon(icon20)
        self.copyButton.setAutoRaise(True)
        self.copyButton.setObjectName("copyButton")
        self.horizontalLayout.addWidget(self.copyButton)
        self.pasteButton = QtGui.QToolButton(richedit)
        self.pasteButton.setText("")
        icon21 = Qt4Gui.QIcon()
        icon21.addPixmap(Qt4Gui.QPixmap(":/ui_richedit/gliph/richedit/page_white_paste.png"), Qt4Gui.QIcon.Normal, Qt4Gui.QIcon.Off)
        self.pasteButton.setIcon(icon21)
        self.pasteButton.setAutoRaise(True)
        self.pasteButton.setObjectName("pasteButton")
        self.horizontalLayout.addWidget(self.pasteButton)
        spacerItem = QtGui.QSpacerItem(0, 8, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.horizontalLayout.setStretch(22, 1)

        self.retranslateUi(richedit)
        QtCore.QMetaObject.connectSlotsByName(richedit)
        richedit.setTabOrder(self.boldButton, self.italicButton)
        richedit.setTabOrder(self.italicButton, self.underlinedButton)
        richedit.setTabOrder(self.underlinedButton, self.strikedButton)
        richedit.setTabOrder(self.strikedButton, self.leftButton)
        richedit.setTabOrder(self.leftButton, self.centerButton)
        richedit.setTabOrder(self.centerButton, self.rightButton)
        richedit.setTabOrder(self.rightButton, self.justButton)
        richedit.setTabOrder(self.justButton, self.numbersListButton)
        richedit.setTabOrder(self.numbersListButton, self.fontcolorButton)
        richedit.setTabOrder(self.fontcolorButton, self.pictureButton)
        richedit.setTabOrder(self.pictureButton, self.linkButton)
        richedit.setTabOrder(self.linkButton, self.folderButton)
        richedit.setTabOrder(self.folderButton, self.copyButton)
        richedit.setTabOrder(self.copyButton, self.cutButton)
Exemplo n.º 20
0
    def setupUi(self, myTasks):
        myTasks.setObjectName("myTasks")
        myTasks.resize(561, 220)
        self.verticalLayout_3 = QtGui.QVBoxLayout(myTasks)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.splitter = QtGui.QSplitter(myTasks)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName("splitter")
        self.verticalLayoutWidget = QtGui.QWidget(self.splitter)
        self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.treeWidget_2 = QtGui.QTreeWidget(self.verticalLayoutWidget)
        self.treeWidget_2.setObjectName("treeWidget_2")
        item_0 = QtGui.QTreeWidgetItem(self.treeWidget_2)
        item_0 = QtGui.QTreeWidgetItem(self.treeWidget_2)
        item_1 = QtGui.QTreeWidgetItem(item_0)
        item_1 = QtGui.QTreeWidgetItem(item_0)
        item_0 = QtGui.QTreeWidgetItem(self.treeWidget_2)
        item_1 = QtGui.QTreeWidgetItem(item_0)
        self.verticalLayout.addWidget(self.treeWidget_2)
        self.comboBox_2 = QtGui.QComboBox(self.verticalLayoutWidget)
        self.comboBox_2.setEditable(True)
        self.comboBox_2.setInsertPolicy(QtGui.QComboBox.NoInsert)
        self.comboBox_2.setObjectName("comboBox_2")
        self.comboBox_2.addItem("")
        self.comboBox_2.addItem("")
        self.verticalLayout.addWidget(self.comboBox_2)
        self.verticalLayoutWidget_2 = QtGui.QWidget(self.splitter)
        self.verticalLayoutWidget_2.setObjectName("verticalLayoutWidget_2")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.verticalLayoutWidget_2)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.tabWidget = QtGui.QTabWidget(self.verticalLayoutWidget_2)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.West)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtGui.QWidget()
        self.tab.setObjectName("tab")
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.tab)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.treeWidget_5 = QtGui.QTreeWidget(self.tab)
        self.treeWidget_5.setVerticalScrollMode(
            QtGui.QAbstractItemView.ScrollPerPixel)
        self.treeWidget_5.setObjectName("treeWidget_5")
        item_0 = QtGui.QTreeWidgetItem(self.treeWidget_5)
        self.treeWidget_5.header().setDefaultSectionSize(80)
        self.horizontalLayout_3.addWidget(self.treeWidget_5)
        self.tabWidget.addTab(self.tab, "")
        self.tab_4 = QtGui.QWidget()
        self.tab_4.setObjectName("tab_4")
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.tab_4)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.treeWidget_7 = QtGui.QTreeWidget(self.tab_4)
        self.treeWidget_7.setVerticalScrollMode(
            QtGui.QAbstractItemView.ScrollPerPixel)
        self.treeWidget_7.setObjectName("treeWidget_7")
        item_0 = QtGui.QTreeWidgetItem(self.treeWidget_7)
        self.treeWidget_7.header().setDefaultSectionSize(80)
        self.horizontalLayout_4.addWidget(self.treeWidget_7)
        self.tabWidget.addTab(self.tab_4, "")
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.tab_2)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.treeWidget_8 = QtGui.QTreeWidget(self.tab_2)
        self.treeWidget_8.setVerticalScrollMode(
            QtGui.QAbstractItemView.ScrollPerPixel)
        self.treeWidget_8.setObjectName("treeWidget_8")
        item_0 = QtGui.QTreeWidgetItem(self.treeWidget_8)
        self.treeWidget_8.header().setDefaultSectionSize(80)
        self.horizontalLayout_2.addWidget(self.treeWidget_8)
        self.tabWidget.addTab(self.tab_2, "")
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName("tab_3")
        self.horizontalLayout = QtGui.QHBoxLayout(self.tab_3)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.treeWidget_9 = QtGui.QTreeWidget(self.tab_3)
        self.treeWidget_9.setVerticalScrollMode(
            QtGui.QAbstractItemView.ScrollPerPixel)
        self.treeWidget_9.setObjectName("treeWidget_9")
        item_0 = QtGui.QTreeWidgetItem(self.treeWidget_9)
        self.treeWidget_9.header().setDefaultSectionSize(80)
        self.horizontalLayout.addWidget(self.treeWidget_9)
        self.tabWidget.addTab(self.tab_3, "")
        self.verticalLayout_2.addWidget(self.tabWidget)
        self.verticalLayout_3.addWidget(self.splitter)

        self.retranslateUi(myTasks)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(myTasks)