def create_edits_widgets(self):

        self.context_edit = QtGui.QLineEdit()
        self.context_edit.setText(self.get_only_context())

        self.context_edit_label = QtGui.QLabel('Context:')

        self.explicit_file_name_edit = QtGui.QLineEdit()
        self.explicit_file_name_edit.setText(self.args_dict['explicit_filename'])
        self.explicit_file_name_label = QtGui.QLabel('Explicit File Name:')

        self.context_as_file_name_checkbox = QtGui.QCheckBox('Context as Explicit File Name')

        self.previews_layout = QtGui.QHBoxLayout()
        self.previews_layout.setContentsMargins(0, 0, 0, 0)
        self.previews_widget = QtGui.QWidget()
        self.previews_widget.setLayout(self.previews_layout)

        self.make_screenshot_button = QtGui.QToolButton()
        self.make_screenshot_button.setAutoRaise(True)
        self.make_screenshot_button.setIcon(gf.get_icon('camera'))

        self.choose_preview_button = QtGui.QToolButton()
        self.choose_preview_button.setAutoRaise(True)
        self.choose_preview_button.setIcon(gf.get_icon('folder-open'))

        self.edit_previews_button = QtGui.QToolButton()
        self.edit_previews_button.setAutoRaise(True)
        self.edit_previews_button.setIcon(gf.get_icon('edit'))

        self.clear_previews_button = QtGui.QToolButton()
        self.clear_previews_button.setAutoRaise(True)
        self.clear_previews_button.setIcon(gf.get_icon('trash'))

        self.create_drop_plate()

        self.previews_layout.addWidget(self.make_screenshot_button)
        self.previews_layout.addWidget(self.choose_preview_button)
        self.previews_layout.addWidget(self.drop_plate)
        self.previews_layout.addWidget(self.edit_previews_button)
        self.previews_layout.addWidget(self.clear_previews_button)

        self.repo_combo_box = QtGui.QComboBox()
        self.repo_label = QtGui.QLabel('Repository:')
        self.fill_repo_combo_box()

        self.main_layout.addWidget(self.context_edit, 9, 1, 1, 1)
        self.main_layout.addWidget(self.context_edit_label, 9, 0, 1, 1)
        self.main_layout.addWidget(self.explicit_file_name_edit, 10, 1, 1, 1)
        self.main_layout.addWidget(self.explicit_file_name_label, 10, 0, 1, 1)
        self.main_layout.addWidget(self.repo_combo_box, 11, 1, 1, 1)
        self.main_layout.addWidget(self.repo_label, 11, 0, 1, 1)
        self.main_layout.addWidget(self.context_as_file_name_checkbox, 12, 0, 1, 2)
        self.main_layout.addWidget(self.previews_widget, 0, 0, 1, 2)
    def setupUi(self, projectPageWidget):
        projectPageWidget.setObjectName("projectPageWidget")
        projectPageWidget.resize(546, 233)
        self.projectPageWidgetLayout = QtGui.QGridLayout(projectPageWidget)
        self.projectPageWidgetLayout.setContentsMargins(6, 6, 6, 6)
        self.projectPageWidgetLayout.setObjectName("projectPageWidgetLayout")
        self.projectsTreeWidget = QtGui.QTreeWidget(projectPageWidget)
        self.projectsTreeWidget.setStyleSheet("QTreeView::item {\n"
                                              "    padding: 2px;\n"
                                              "}")
        self.projectsTreeWidget.setVerticalScrollMode(
            QtGui.QAbstractItemView.ScrollPerPixel)
        self.projectsTreeWidget.setObjectName("projectsTreeWidget")
        self.projectsTreeWidget.header().setDefaultSectionSize(87)
        self.projectPageWidgetLayout.addWidget(self.projectsTreeWidget, 0, 0,
                                               1, 6)
        self.createProjectsLable = QtGui.QLabel(projectPageWidget)
        self.createProjectsLable.setObjectName("createProjectsLable")
        self.projectPageWidgetLayout.addWidget(self.createProjectsLable, 1, 0,
                                               1, 1)
        self.createProjectPushButton = QtGui.QPushButton(projectPageWidget)
        self.createProjectPushButton.setEnabled(False)
        self.createProjectPushButton.setObjectName("createProjectPushButton")
        self.projectPageWidgetLayout.addWidget(self.createProjectPushButton, 1,
                                               1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.projectPageWidgetLayout.addItem(spacerItem, 1, 2, 1, 1)
        self.colorSchemeHintLabel = QtGui.QLabel(projectPageWidget)
        self.colorSchemeHintLabel.setObjectName("colorSchemeHintLabel")
        self.projectPageWidgetLayout.addWidget(self.colorSchemeHintLabel, 1, 3,
                                               1, 1)
        self.currentProjectLabel = QtGui.QLabel(projectPageWidget)
        self.currentProjectLabel.setStyleSheet(
            "QLabel {background : rgb(165, 175, 25);}")
        self.currentProjectLabel.setTextFormat(QtCore.Qt.PlainText)
        self.currentProjectLabel.setObjectName("currentProjectLabel")
        self.projectPageWidgetLayout.addWidget(self.currentProjectLabel, 1, 4,
                                               1, 1)
        self.templateProjectsLabel = QtGui.QLabel(projectPageWidget)
        self.templateProjectsLabel.setStyleSheet(
            "QLabel {background :rgb(50, 150, 175)}")
        self.templateProjectsLabel.setTextFormat(QtCore.Qt.PlainText)
        self.templateProjectsLabel.setObjectName("templateProjectsLabel")
        self.projectPageWidgetLayout.addWidget(self.templateProjectsLabel, 1,
                                               5, 1, 1)

        self.retranslateUi(projectPageWidget)
        QtCore.QMetaObject.connectSlotsByName(projectPageWidget)
    def setupUi(self, fastControls):
        fastControls.setObjectName("fastControls")
        fastControls.resize(806, 30)
        self.horizontalLayout = QtGui.QHBoxLayout(fastControls)
        self.horizontalLayout.setContentsMargins(4, 4, 4, 6)
        self.horizontalLayout.setObjectName("horizontalLayout")
        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(2, 1)
        self.horizontalLayout.setStretch(4, 1)
        self.horizontalLayout.setStretch(8, 1)

        self.retranslateUi(fastControls)
        QtCore.QMetaObject.connectSlotsByName(fastControls)
    def setupUi(self, processItem):
        processItem.setObjectName("processItem")
        processItem.setWindowTitle("")
        self.versionlessLayout = QtGui.QGridLayout(processItem)
        self.versionlessLayout.setContentsMargins(0, 0, 0, 0)
        self.versionlessLayout.setSpacing(0)
        self.versionlessLayout.setObjectName("versionlessLayout")
        self.notesToolButton = QtGui.QToolButton(processItem)
        self.notesToolButton.setMinimumSize(QtCore.QSize(0, 20))
        self.notesToolButton.setMaximumSize(QtCore.QSize(16777215, 20))
        self.notesToolButton.setToolButtonStyle(
            QtCore.Qt.ToolButtonTextBesideIcon)
        self.notesToolButton.setAutoRaise(True)
        self.notesToolButton.setArrowType(QtCore.Qt.NoArrow)
        self.notesToolButton.setObjectName("notesToolButton")
        self.versionlessLayout.addWidget(self.notesToolButton, 0, 1, 1, 1)
        self.label = QtGui.QLabel(processItem)
        self.label.setMinimumSize(QtCore.QSize(0, 24))
        self.label.setMaximumSize(QtCore.QSize(16777215, 24))
        self.label.setStyleSheet("QLabel {\n" "    padding: 0px;\n" "}")
        self.label.setTextFormat(QtCore.Qt.PlainText)
        self.label.setObjectName("label")
        self.versionlessLayout.addWidget(self.label, 0, 0, 1, 1)
        self.versionlessLayout.setColumnStretch(0, 1)

        self.retranslateUi(processItem)
        QtCore.QMetaObject.connectSlotsByName(processItem)
    def create_loading_label(self):
        self.loading_label = QtGui.QLabel()
        self.loading_label.setText('Loading...')
        self.loading_label.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignVCenter)
        self.loading_label.setVisible(False)

        self.main_layout.addWidget(self.loading_label, 0, 0, 0, 0)
    def create_empty_queue_label(self):
        self.empty_label = QtGui.QLabel()
        self.empty_label.setText('Queue is empty...')
        self.empty_label.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignVCenter)
        self.empty_label.setMinimumWidth(450)

        self.commitEditorLayout.addWidget(self.empty_label, 0, 0)
Exemple #7
0
    def create_controls(self):

        self.clear_queue_push_button = QtGui.QPushButton('Clear Queue')
        self.clear_queue_push_button.setMinimumSize(QtCore.QSize(120, 0))
        self.clear_queue_push_button.setObjectName('clear_queue_push_button')
        self.clear_queue_push_button.setIcon(gf.get_icon('delete', icons_set='mdi'))

        self.files_count_label = QtGui.QLabel('Donwloads in Queue: ')
        self.files_count_label.setObjectName('files_count_label')

        self.files_num_label = QtGui.QLabel('')
        self.files_num_label.setObjectName("files_num_label")

        self.controls_layout.addWidget(self.files_count_label, 0, 0)
        self.controls_layout.addWidget(self.files_num_label, 0, 1)
        self.controls_layout.addWidget(self.clear_queue_push_button, 0, 2)
    def setupUi(self, matchingTemplateConfig):
        matchingTemplateConfig.setObjectName("matchingTemplateConfig")
        matchingTemplateConfig.resize(800, 450)
        matchingTemplateConfig.setSizeGripEnabled(True)
        self.gridLayout_2 = QtGui.QGridLayout(matchingTemplateConfig)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.matchingTamplateLabel = QtGui.QLabel(matchingTemplateConfig)
        self.matchingTamplateLabel.setObjectName("matchingTamplateLabel")
        self.gridLayout_2.addWidget(self.matchingTamplateLabel, 0, 0, 1, 1)
        self.editSelectedItemButton = QtGui.QToolButton(matchingTemplateConfig)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.editSelectedItemButton.sizePolicy().hasHeightForWidth())
        self.editSelectedItemButton.setSizePolicy(sizePolicy)
        self.editSelectedItemButton.setMinimumSize(QtCore.QSize(70, 0))
        self.editSelectedItemButton.setObjectName("editSelectedItemButton")
        self.gridLayout_2.addWidget(self.editSelectedItemButton, 0, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 0, 1, 1, 1)
        self.addNewItemButton = QtGui.QToolButton(matchingTemplateConfig)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.addNewItemButton.sizePolicy().hasHeightForWidth())
        self.addNewItemButton.setSizePolicy(sizePolicy)
        self.addNewItemButton.setMinimumSize(QtCore.QSize(70, 0))
        self.addNewItemButton.setObjectName("addNewItemButton")
        self.gridLayout_2.addWidget(self.addNewItemButton, 0, 3, 1, 1)
        self.templatesTreeWidget = QtGui.QTreeWidget(matchingTemplateConfig)
        self.templatesTreeWidget.setStyleSheet("QTreeView::item {\n"
"    padding: 2px;\n"
"}\n"
"\n"
"QTreeView::item:selected:active{\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(82, 133, 166, 255), stop:1 rgba(82, 133, 166, 255));\n"
"    border: 1px solid transparent;\n"
"}\n"
"QTreeView::item:selected:!active {\n"
"    background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(82, 133, 166, 255), stop:1 rgba(82, 133, 166, 255));\n"
"    border: 1px solid transparent;\n"
"}\n"
"")
        self.templatesTreeWidget.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.templatesTreeWidget.setAlternatingRowColors(True)
        self.templatesTreeWidget.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.templatesTreeWidget.setVerticalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.templatesTreeWidget.setRootIsDecorated(False)
        self.templatesTreeWidget.setItemsExpandable(True)
        self.templatesTreeWidget.setObjectName("templatesTreeWidget")
        self.templatesTreeWidget.header().setVisible(True)
        self.gridLayout_2.addWidget(self.templatesTreeWidget, 1, 0, 1, 4)
        self.configGridLayout = QtGui.QGridLayout()
        self.configGridLayout.setObjectName("configGridLayout")
        self.gridLayout_2.addLayout(self.configGridLayout, 2, 0, 1, 4)
        self.gridLayout_2.setRowStretch(1, 1)

        self.retranslateUi(matchingTemplateConfig)
        QtCore.QMetaObject.connectSlotsByName(matchingTemplateConfig)
    def create_no_notes_label(self):
        self.no_notes_label = QtGui.QLabel()
        self.no_notes_label.setMinimumSize(0, 0)
        self.no_notes_label.setText('Select Item to See Tasks...')
        self.no_notes_label.setAlignment(QtCore.Qt.AlignHCenter
                                         | QtCore.Qt.AlignVCenter)

        self.scroll_area_layout.addWidget(self.no_notes_label)
    def create_info_label(self):
        self.label_layout = QtGui.QVBoxLayout(self.menubar)
        self.label_layout.setContentsMargins(0, 0, 6, 0)

        self.info_label = QtGui.QLabel()
        self.info_label.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignVCenter)
        self.info_label.setText('')
        self.label_layout.addWidget(self.info_label)
Exemple #11
0
    def create_info_label(self):
        self.info_label = QtGui.QLabel()
        self.info_label.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignVCenter)
        self.info_label.setText('')
        self.loading_tool_button = QtGui.QToolButton()
        self.loading_tool_button.setStyleSheet('QToolButton {border: 0px;background: transparent;}')
        self.loading_tool_button.setIcon(gf.get_icon('loading', icons_set='mdi', scale_factor=1, spin=[self.loading_tool_button, 30, 45]))

        self.main_layout.addWidget(self.info_label)
        self.main_layout.addWidget(self.loading_tool_button)
Exemple #12
0
    def setupUi(self, updateDialog):
        updateDialog.setObjectName("updateDialog")
        updateDialog.resize(580, 400)
        updateDialog.setMinimumSize(QtCore.QSize(580, 400))
        updateDialog.setSizeGripEnabled(True)
        updateDialog.setModal(True)
        self.gridLayout = QtGui.QGridLayout(updateDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.versionLabel = QtGui.QLabel(updateDialog)
        self.versionLabel.setObjectName("versionLabel")
        self.gridLayout.addWidget(self.versionLabel, 0, 0, 1, 1)
        self.versionsTreeWidget = QtGui.QTreeWidget(updateDialog)
        self.versionsTreeWidget.setStyleSheet("QTreeView::item {\n"
                                              "    padding: 2px;\n"
                                              "}")
        self.versionsTreeWidget.setAlternatingRowColors(True)
        self.versionsTreeWidget.setVerticalScrollMode(
            QtGui.QAbstractItemView.ScrollPerPixel)
        self.versionsTreeWidget.setWordWrap(True)
        self.versionsTreeWidget.setHeaderHidden(False)
        self.versionsTreeWidget.setObjectName("versionsTreeWidget")
        self.versionsTreeWidget.header().setDefaultSectionSize(130)
        self.versionsTreeWidget.header().setMinimumSectionSize(130)
        self.gridLayout.addWidget(self.versionsTreeWidget, 1, 0, 1, 5)
        self.updateToLastPushButton = QtGui.QPushButton(updateDialog)
        self.updateToLastPushButton.setObjectName("updateToLastPushButton")
        self.gridLayout.addWidget(self.updateToLastPushButton, 2, 0, 1, 4)
        self.updateToSelectedPushButton = QtGui.QPushButton(updateDialog)
        self.updateToSelectedPushButton.setObjectName(
            "updateToSelectedPushButton")
        self.gridLayout.addWidget(self.updateToSelectedPushButton, 2, 4, 1, 1)
        self.currentVersionlabel = QtGui.QLabel(updateDialog)
        self.currentVersionlabel.setObjectName("currentVersionlabel")
        self.gridLayout.addWidget(self.currentVersionlabel, 0, 1, 1, 3)
        self.commitPushButton = QtGui.QPushButton(updateDialog)
        self.commitPushButton.setObjectName("commitPushButton")
        self.gridLayout.addWidget(self.commitPushButton, 0, 4, 1, 1)
        self.gridLayout.setColumnStretch(1, 1)

        self.retranslateUi(updateDialog)
        QtCore.QMetaObject.connectSlotsByName(updateDialog)
Exemple #13
0
    def setupUi(self, mayaScenePageWidget):
        mayaScenePageWidget.setObjectName("mayaScenePageWidget")
        self.mayaScenePageWidgetLayout = QtGui.QGridLayout(mayaScenePageWidget)
        self.mayaScenePageWidgetLayout.setContentsMargins(0, 0, 0, 0)
        self.mayaScenePageWidgetLayout.setObjectName(
            "mayaScenePageWidgetLayout")
        self.currentWorkdirLable = QtGui.QLabel(mayaScenePageWidget)
        self.currentWorkdirLable.setObjectName("currentWorkdirLable")
        self.mayaScenePageWidgetLayout.addWidget(self.currentWorkdirLable, 0,
                                                 0, 1, 1)
        self.currentWorkdirLineEdit = QtGui.QLineEdit(mayaScenePageWidget)
        self.currentWorkdirLineEdit.setReadOnly(True)
        self.currentWorkdirLineEdit.setObjectName("currentWorkdirLineEdit")
        self.mayaScenePageWidgetLayout.addWidget(self.currentWorkdirLineEdit,
                                                 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.mayaScenePageWidgetLayout.addItem(spacerItem, 4, 0, 1, 2)
        self.createMayaDirsCheckBox = QtGui.QCheckBox(mayaScenePageWidget)
        self.createMayaDirsCheckBox.setChecked(True)
        self.createMayaDirsCheckBox.setObjectName("createMayaDirsCheckBox")
        self.mayaScenePageWidgetLayout.addWidget(self.createMayaDirsCheckBox,
                                                 2, 0, 1, 1)
        self.createPlayblastCheckBox = QtGui.QCheckBox(mayaScenePageWidget)
        self.createPlayblastCheckBox.setChecked(True)
        self.createPlayblastCheckBox.setObjectName("createPlayblastCheckBox")
        self.mayaScenePageWidgetLayout.addWidget(self.createPlayblastCheckBox,
                                                 3, 0, 1, 1)
        self.mayaSaveFormatLabel = QtGui.QLabel(mayaScenePageWidget)
        self.mayaSaveFormatLabel.setObjectName("mayaSaveFormatLabel")
        self.mayaScenePageWidgetLayout.addWidget(self.mayaSaveFormatLabel, 1,
                                                 0, 1, 1)
        self.formatTypeComboBox = QtGui.QComboBox(mayaScenePageWidget)
        self.formatTypeComboBox.setObjectName("formatTypeComboBox")
        self.mayaScenePageWidgetLayout.addWidget(self.formatTypeComboBox, 1, 1,
                                                 1, 1)
        self.mayaScenePageWidgetLayout.setColumnMinimumWidth(1, 100)
        self.mayaScenePageWidgetLayout.setColumnStretch(1, 1)

        self.retranslateUi(mayaScenePageWidget)
        QtCore.QMetaObject.connectSlotsByName(mayaScenePageWidget)
Exemple #14
0
 def create_drop_plate(self):
     self.drop_plate = QtGui.QWidget()
     self.drop_plate.setMinimumWidth(200)
     self.drop_plate.setMinimumHeight(32)
     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 Images Here (0)')
     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 grey;border-radius: 4px;background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(0, 0, 0, 16), stop:1 rgba(0, 0, 0, 24));}')
    def setupUi(self, previewItem):
        previewItem.setObjectName("previewItem")
        previewItem.resize(382, 64)
        self.gridLayout = QtGui.QGridLayout(previewItem)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName("gridLayout")
        self.previewLabel = QtGui.QLabel(previewItem)
        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.gridLayout.addWidget(self.previewLabel, 0, 0, 1, 1)
        self.fileNameLabel = QtGui.QLabel(previewItem)
        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.gridLayout.addWidget(self.fileNameLabel, 0, 1, 1, 1)

        self.retranslateUi(previewItem)
        QtCore.QMetaObject.connectSlotsByName(previewItem)
    def create_repo_path_line_edit(self):
        self.repo_path_line_edit_layout = QtGui.QHBoxLayout()
        self.repo_path_line_edit_layout.addWidget(QtGui.QLabel('Relative Watch Path:'))

        self.repo_path_line_edit = QtGui.QLineEdit()
        self.repo_path_line_edit_layout.addWidget(self.repo_path_line_edit)
        if self.mode == 'create':
            paths = tc.get_dirs_with_naming(self.sobject_item.get_search_key(), process_list=['watch_folder'])
            self.repo_path_line_edit.setText(paths['versionless'][0])
        elif self.mode == 'edit':
            self.repo_path_line_edit.setText(self.sobject_item.get_watch_folder_path())

        self.main_layout.addLayout(self.repo_path_line_edit_layout, 0, 0, 1, 2)
    def create_ui(self):

        self.setWindowTitle('Making Screenshot')

        self.setWindowFlags(QtCore.Qt.FramelessWindowHint
                            | QtCore.Qt.WindowStaysOnTopHint)

        # if do not work on linux, try "apt install xcompmgr" and run it, or compiz
        self.setAttribute(QtCore.Qt.WA_TranslucentBackground)

        self.setWindowModality(QtCore.Qt.ApplicationModal)

        self.setGeometry(Qt4Gui.QCursor.pos().x() - 12,
                         Qt4Gui.QCursor.pos().y() - 12, 24, 24)

        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.setAlignment(QtCore.Qt.AlignHCenter
                                | QtCore.Qt.AlignVCenter)
        self.bg_wd.setPixmap(
            gf.get_icon('crosshairs', color=Qt4Gui.QColor(255, 255,
                                                          255)).pixmap(24, 24))
        self.bg_wd.setStyleSheet(
            'QLabel {padding: 0px;border: 0px dashed rgb(255,255,255); background-color: rgba(0,0,0,1);}'
        )
        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.move_under_mouse_timer = QtCore.QTimer()
        self.move_under_mouse_timer.setInterval(50)
        self.move_under_mouse_timer.timeout.connect(self.move_under_mouse)
        self.move_under_mouse_timer.start()

        self.create_take_screenshot_button()

        self.setIcon()
        self.setMouseTracking(True)

        self.controls_actions()
Exemple #18
0
    def setupUi(self, sobjectGroupBox):
        sobjectGroupBox.setObjectName("sobjectGroupBox")
        sobjectGroupBox.resize(150, 150)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            sobjectGroupBox.sizePolicy().hasHeightForWidth())
        sobjectGroupBox.setSizePolicy(sizePolicy)
        sobjectGroupBox.setMinimumSize(QtCore.QSize(150, 150))
        sobjectGroupBox.setFocusPolicy(QtCore.Qt.ClickFocus)
        sobjectGroupBox.setStyleSheet(
            "#sobjectGroupBox {\n"
            "    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgba(175, 175, 175, 75), stop: 1 rgba(0, 0, 0, 30));\n"
            "    border: 1px solid rgb(96, 96, 96);\n"
            "    border-radius: 1px;\n"
            "    padding: 0px 0px;\n"
            "    margin-top: 5ex;\n"
            "}\n"
            "\n"
            "#sobjectGroupBox::title {\n"
            "    subcontrol-origin: margin;\n"
            "    subcontrol-position: top center;\n"
            "    padding: 0 3px;\n"
            "    background-color: transparent;\n"
            "}")
        sobjectGroupBox.setAlignment(QtCore.Qt.AlignHCenter
                                     | QtCore.Qt.AlignTop)
        self.vboxlayout = QtGui.QVBoxLayout(sobjectGroupBox)
        self.vboxlayout.setSpacing(0)
        self.vboxlayout.setContentsMargins(0, 0, 0, 0)
        self.vboxlayout.setObjectName("vboxlayout")
        self.picLabel = QtGui.QLabel(sobjectGroupBox)
        self.picLabel.setTextFormat(QtCore.Qt.RichText)
        self.picLabel.setAlignment(QtCore.Qt.AlignCenter)
        self.picLabel.setObjectName("picLabel")
        self.vboxlayout.addWidget(self.picLabel)
        self.vboxlayout.setStretch(0, 1)

        self.retranslateUi(sobjectGroupBox)
        QtCore.QMetaObject.connectSlotsByName(sobjectGroupBox)
Exemple #19
0
    def create_options_toolbar(self):

        self.collapsable_options_toolbar = Ui_horizontalCollapsableWidget()
        buttons_layout = QtGui.QHBoxLayout()
        buttons_layout.setSpacing(9)
        buttons_layout.setContentsMargins(0, 0, 0, 0)
        self.collapsable_options_toolbar.set_direction('right')
        self.collapsable_options_toolbar.setLayout(buttons_layout)
        self.collapsable_options_toolbar.setCollapsed(True)

        self.auto_save_check_box = QtGui.QCheckBox('Autosave')
        self.auto_save_check_box.setChecked(False)

        self.definition_label = QtGui.QLabel('Definition: ')

        self.definition_combo_box = QtGui.QComboBox()

        buttons_layout.addWidget(self.definition_label)
        buttons_layout.addWidget(self.definition_combo_box)
        buttons_layout.addWidget(self.auto_save_check_box)

        self.main_layout.addWidget(self.collapsable_options_toolbar, 0, 1, 1,
                                   1)
 def create_label(self):
     self.label = QtGui.QLabel()
     self.main_layout.addWidget(self.label, 0, 0)
     self.label.setMinimumWidth(100)
     self.label.setAlignment(QtCore.Qt.AlignRight)
Exemple #21
0
 def create_no_notes_label(self):
     self.no_notes_label = QtGui.QLabel()
     self.no_notes_label.setText('No Notes...')
     self.no_notes_label.setAlignment(QtCore.Qt.AlignHCenter
                                      | QtCore.Qt.AlignVCenter)
    def setupUi(self, floatNotify):
        floatNotify.setObjectName("floatNotify")
        floatNotify.resize(250, 87)
        floatNotify.setMinimumSize(QtCore.QSize(250, 80))
        self.gridLayout_2 = QtGui.QGridLayout(floatNotify)
        self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_2.setSpacing(0)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName("gridLayout")
        self.viewToolButton = QtGui.QToolButton(floatNotify)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.viewToolButton.sizePolicy().hasHeightForWidth())
        self.viewToolButton.setSizePolicy(sizePolicy)
        self.viewToolButton.setAutoRaise(True)
        self.viewToolButton.setObjectName("viewToolButton")
        self.gridLayout.addWidget(self.viewToolButton, 0, 0, 3, 1)
        self.nextToolButton = QtGui.QToolButton(floatNotify)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.nextToolButton.sizePolicy().hasHeightForWidth())
        self.nextToolButton.setSizePolicy(sizePolicy)
        self.nextToolButton.setMaximumSize(QtCore.QSize(30, 20))
        self.nextToolButton.setAutoRaise(True)
        self.nextToolButton.setArrowType(QtCore.Qt.RightArrow)
        self.nextToolButton.setObjectName("nextToolButton")
        self.gridLayout.addWidget(self.nextToolButton, 0, 5, 1, 1)
        self.prevToolButton = QtGui.QToolButton(floatNotify)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.prevToolButton.sizePolicy().hasHeightForWidth())
        self.prevToolButton.setSizePolicy(sizePolicy)
        self.prevToolButton.setMaximumSize(QtCore.QSize(30, 20))
        self.prevToolButton.setAutoRaise(True)
        self.prevToolButton.setArrowType(QtCore.Qt.LeftArrow)
        self.prevToolButton.setObjectName("prevToolButton")
        self.gridLayout.addWidget(self.prevToolButton, 0, 4, 1, 1)
        self.skipToolButton = QtGui.QToolButton(floatNotify)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.skipToolButton.sizePolicy().hasHeightForWidth())
        self.skipToolButton.setSizePolicy(sizePolicy)
        self.skipToolButton.setAutoRaise(True)
        self.skipToolButton.setObjectName("skipToolButton")
        self.gridLayout.addWidget(self.skipToolButton, 0, 1, 3, 1)
        self.hideToolButton = QtGui.QToolButton(floatNotify)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.hideToolButton.sizePolicy().hasHeightForWidth())
        self.hideToolButton.setSizePolicy(sizePolicy)
        self.hideToolButton.setMaximumSize(QtCore.QSize(16777215, 20))
        self.hideToolButton.setAutoRaise(True)
        self.hideToolButton.setArrowType(QtCore.Qt.DownArrow)
        self.hideToolButton.setObjectName("hideToolButton")
        self.gridLayout.addWidget(self.hideToolButton, 2, 4, 1, 2)
        self.posLabel = QtGui.QLabel(floatNotify)
        self.posLabel.setMaximumSize(QtCore.QSize(16777215, 18))
        self.posLabel.setAccessibleDescription("")
        self.posLabel.setStyleSheet("QLabel {\n" "    padding: 4px;\n" "}")
        self.posLabel.setTextFormat(QtCore.Qt.PlainText)
        self.posLabel.setAlignment(QtCore.Qt.AlignCenter)
        self.posLabel.setObjectName("posLabel")
        self.gridLayout.addWidget(self.posLabel, 0, 2, 1, 1)
        self.dateLabel = QtGui.QLabel(floatNotify)
        self.dateLabel.setMaximumSize(QtCore.QSize(16777215, 18))
        self.dateLabel.setAccessibleDescription("")
        self.dateLabel.setStyleSheet("QLabel {\n" "    padding: 4px;\n" "}")
        self.dateLabel.setTextFormat(QtCore.Qt.PlainText)
        self.dateLabel.setAlignment(QtCore.Qt.AlignCenter)
        self.dateLabel.setObjectName("dateLabel")
        self.gridLayout.addWidget(self.dateLabel, 2, 2, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 2, 0, 1, 3)
        self.noteNameLabel = QtGui.QLabel(floatNotify)
        self.noteNameLabel.setMinimumSize(QtCore.QSize(0, 20))
        self.noteNameLabel.setMaximumSize(QtCore.QSize(16777215, 20))
        self.noteNameLabel.setStyleSheet(
            "QLabel {\n"
            "    background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(128, 128, 128, 0), stop:1 rgba(255, 255,255, 75));\n"
            "    border-bottom: 2px solid qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(255, 255, 255, 75), stop:1 rgba(255, 255,255, 0));\n"
            "    padding: 0px;\n"
            "}")
        self.noteNameLabel.setTextFormat(QtCore.Qt.PlainText)
        self.noteNameLabel.setObjectName("noteNameLabel")
        self.gridLayout_2.addWidget(self.noteNameLabel, 0, 0, 1, 2)
        self.notePathLabel = QtGui.QLabel(floatNotify)
        self.notePathLabel.setMinimumSize(QtCore.QSize(0, 20))
        self.notePathLabel.setMaximumSize(QtCore.QSize(16777215, 20))
        self.notePathLabel.setStyleSheet(
            "QLabel {\n"
            "    background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(255, 255, 255, 75), 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, 0), stop:1 rgba(255, 255,255, 75));\n"
            "    padding: 0px;\n"
            "}")
        self.notePathLabel.setTextFormat(QtCore.Qt.PlainText)
        self.notePathLabel.setObjectName("notePathLabel")
        self.gridLayout_2.addWidget(self.notePathLabel, 0, 2, 1, 1)
        self.authorLabel = QtGui.QLabel(floatNotify)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.authorLabel.sizePolicy().hasHeightForWidth())
        self.authorLabel.setSizePolicy(sizePolicy)
        self.authorLabel.setMinimumSize(QtCore.QSize(0, 25))
        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.gridLayout_2.addWidget(self.authorLabel, 1, 0, 1, 1)
        self.commentLabel = QtGui.QLabel(floatNotify)
        self.commentLabel.setMinimumSize(QtCore.QSize(0, 25))
        self.commentLabel.setStyleSheet(
            "QLabel {\n"
            "    background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(128, 128, 128, 0), stop:1 rgba(0, 0,0, 75));\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(255, 255,255, 75));\n"
            "}")
        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.gridLayout_2.addWidget(self.commentLabel, 1, 1, 1, 2)
        self.gridLayout_2.setRowStretch(1, 1)

        self.retranslateUi(floatNotify)
        QtCore.QMetaObject.connectSlotsByName(floatNotify)
Exemple #23
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)
Exemple #24
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)
    def create_process_label(self):

        self.process_label = QtGui.QLabel()
        self.process_label.setText(self.process)

        self.main_layout.addWidget(self.process_label, 0, 1)
Exemple #26
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: rgba(175, 175, 175, 16);\n"
            "    border: 0px;\n"
            "    border-radius: 3px;\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.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setSpacing(0)
        self.horizontalLayout_2.setContentsMargins(-1, -1, -1, 3)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        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"
                                         "}")
        self.fileNameLabel.setTextFormat(QtCore.Qt.PlainText)
        self.fileNameLabel.setObjectName("fileNameLabel")
        self.horizontalLayout_2.addWidget(self.fileNameLabel)
        self.syncWithRepoToolButton = QtGui.QToolButton(item)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.syncWithRepoToolButton.sizePolicy().hasHeightForWidth())
        self.syncWithRepoToolButton.setSizePolicy(sizePolicy)
        self.syncWithRepoToolButton.setAutoRaise(True)
        self.syncWithRepoToolButton.setObjectName("syncWithRepoToolButton")
        self.horizontalLayout_2.addWidget(self.syncWithRepoToolButton)
        self.watchFolderToolButton = QtGui.QToolButton(item)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.watchFolderToolButton.sizePolicy().hasHeightForWidth())
        self.watchFolderToolButton.setSizePolicy(sizePolicy)
        self.watchFolderToolButton.setText("")
        self.watchFolderToolButton.setCheckable(True)
        self.watchFolderToolButton.setAutoRaise(True)
        self.watchFolderToolButton.setObjectName("watchFolderToolButton")
        self.horizontalLayout_2.addWidget(self.watchFolderToolButton)
        self.horizontalLayout_2.setStretch(0, 1)
        self.gridLayout.addLayout(self.horizontalLayout_2, 0, 2, 1, 2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        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.ToolButtonTextBesideIcon)
        self.tasksToolButton.setAutoRaise(True)
        self.tasksToolButton.setObjectName("tasksToolButton")
        self.horizontalLayout.addWidget(self.tasksToolButton)
        self.notesToolButton = QtGui.QToolButton(item)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.notesToolButton.sizePolicy().hasHeightForWidth())
        self.notesToolButton.setSizePolicy(sizePolicy)
        self.notesToolButton.setText("")
        self.notesToolButton.setToolButtonStyle(
            QtCore.Qt.ToolButtonTextBesideIcon)
        self.notesToolButton.setAutoRaise(True)
        self.notesToolButton.setObjectName("notesToolButton")
        self.horizontalLayout.addWidget(self.notesToolButton)
        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.horizontalLayout.addWidget(self.relationsToolButton)
        self.gridLayout.addLayout(self.horizontalLayout, 1, 3, 2, 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, 2, 1, 1)
        self.infoHorizontalLayout = QtGui.QHBoxLayout()
        self.infoHorizontalLayout.setSpacing(0)
        self.infoHorizontalLayout.setObjectName("infoHorizontalLayout")
        self.gridLayout.addLayout(self.infoHorizontalLayout, 1, 2, 1, 1)
        self.gridLayout.setColumnStretch(2, 1)
        self.gridLayout.setRowStretch(2, 1)

        self.retranslateUi(item)
        QtCore.QMetaObject.connectSlotsByName(item)
    def setupUi(self, checkinOptionsPageWidget):
        checkinOptionsPageWidget.setObjectName("checkinOptionsPageWidget")
        self.checkinPageWidgetLayout = QtGui.QVBoxLayout(checkinOptionsPageWidget)
        self.checkinPageWidgetLayout.setContentsMargins(0, 0, 0, 0)
        self.checkinPageWidgetLayout.setObjectName("checkinPageWidgetLayout")
        self.checkinMiscOptionsGroupBox = QtGui.QGroupBox(checkinOptionsPageWidget)
        font = Qt4Gui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.checkinMiscOptionsGroupBox.setFont(font)
        self.checkinMiscOptionsGroupBox.setFlat(True)
        self.checkinMiscOptionsGroupBox.setObjectName("checkinMiscOptionsGroupBox")
        self.checkinMiscOptionsLayout = QtGui.QGridLayout(self.checkinMiscOptionsGroupBox)
        self.checkinMiscOptionsLayout.setContentsMargins(10, 24, -1, 0)
        self.checkinMiscOptionsLayout.setObjectName("checkinMiscOptionsLayout")
        self.versionsSeparateCheckinCheckBox = QtGui.QCheckBox(self.checkinMiscOptionsGroupBox)
        self.versionsSeparateCheckinCheckBox.setObjectName("versionsSeparateCheckinCheckBox")
        self.checkinMiscOptionsLayout.addWidget(self.versionsSeparateCheckinCheckBox, 4, 0, 1, 1)
        self.snapshotDescriptionLimitCheckBox = QtGui.QCheckBox(self.checkinMiscOptionsGroupBox)
        self.snapshotDescriptionLimitCheckBox.setChecked(True)
        self.snapshotDescriptionLimitCheckBox.setObjectName("snapshotDescriptionLimitCheckBox")
        self.checkinMiscOptionsLayout.addWidget(self.snapshotDescriptionLimitCheckBox, 6, 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, 6, 2, 1, 1)
        self.bottomVersionsRadioButton = QtGui.QRadioButton(self.checkinMiscOptionsGroupBox)
        self.bottomVersionsRadioButton.setObjectName("bottomVersionsRadioButton")
        self.checkinMiscOptionsLayout.addWidget(self.bottomVersionsRadioButton, 4, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.checkinMiscOptionsGroupBox)
        self.label_2.setObjectName("label_2")
        self.checkinMiscOptionsLayout.addWidget(self.label_2, 7, 0, 1, 1)
        self.displayLimitSpinBox = QtGui.QSpinBox(self.checkinMiscOptionsGroupBox)
        self.displayLimitSpinBox.setMinimum(20)
        self.displayLimitSpinBox.setMaximum(500)
        self.displayLimitSpinBox.setSingleStep(5)
        self.displayLimitSpinBox.setObjectName("displayLimitSpinBox")
        self.checkinMiscOptionsLayout.addWidget(self.displayLimitSpinBox, 7, 2, 1, 1)
        self.rightVersionsRadioButton = QtGui.QRadioButton(self.checkinMiscOptionsGroupBox)
        self.rightVersionsRadioButton.setChecked(True)
        self.rightVersionsRadioButton.setObjectName("rightVersionsRadioButton")
        self.checkinMiscOptionsLayout.addWidget(self.rightVersionsRadioButton, 4, 2, 1, 1)
        self.doubleClickSaveCheckBox = QtGui.QCheckBox(self.checkinMiscOptionsGroupBox)
        self.doubleClickSaveCheckBox.setObjectName("doubleClickSaveCheckBox")
        self.checkinMiscOptionsLayout.addWidget(self.doubleClickSaveCheckBox, 1, 0, 1, 3)
        self.doubleClickOpenCheckBox = QtGui.QCheckBox(self.checkinMiscOptionsGroupBox)
        self.doubleClickOpenCheckBox.setObjectName("doubleClickOpenCheckBox")
        self.checkinMiscOptionsLayout.addWidget(self.doubleClickOpenCheckBox, 2, 0, 1, 3)
        self.showAllProcessCheckBox = QtGui.QCheckBox(self.checkinMiscOptionsGroupBox)
        self.showAllProcessCheckBox.setObjectName("showAllProcessCheckBox")
        self.checkinMiscOptionsLayout.addWidget(self.showAllProcessCheckBox, 3, 0, 1, 3)
        self.getPreviewsThroughHttpCheckbox = QtGui.QCheckBox(self.checkinMiscOptionsGroupBox)
        self.getPreviewsThroughHttpCheckbox.setObjectName("getPreviewsThroughHttpCheckbox")
        self.checkinMiscOptionsLayout.addWidget(self.getPreviewsThroughHttpCheckbox, 0, 0, 1, 3)
        self.checkinMiscOptionsLayout.setColumnStretch(0, 1)
        self.checkinPageWidgetLayout.addWidget(self.checkinMiscOptionsGroupBox)
        self.snapshotsSavingOptionsGroupBox = QtGui.QGroupBox(checkinOptionsPageWidget)
        font = Qt4Gui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.snapshotsSavingOptionsGroupBox.setFont(font)
        self.snapshotsSavingOptionsGroupBox.setFlat(True)
        self.snapshotsSavingOptionsGroupBox.setObjectName("snapshotsSavingOptionsGroupBox")
        self.snapshotsSavingOptionsLayout = QtGui.QGridLayout(self.snapshotsSavingOptionsGroupBox)
        self.snapshotsSavingOptionsLayout.setContentsMargins(10, 24, -1, 0)
        self.snapshotsSavingOptionsLayout.setObjectName("snapshotsSavingOptionsLayout")
        self.repositoryComboBox = QtGui.QComboBox(self.snapshotsSavingOptionsGroupBox)
        self.repositoryComboBox.setObjectName("repositoryComboBox")
        self.snapshotsSavingOptionsLayout.addWidget(self.repositoryComboBox, 1, 1, 1, 3)
        self.updateVersionlessCheckBox = QtGui.QCheckBox(self.snapshotsSavingOptionsGroupBox)
        self.updateVersionlessCheckBox.setChecked(True)
        self.updateVersionlessCheckBox.setObjectName("updateVersionlessCheckBox")
        self.snapshotsSavingOptionsLayout.addWidget(self.updateVersionlessCheckBox, 4, 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, 11, 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, 10, 1, 1, 3)
        self.createPlayblastCheckBox = QtGui.QCheckBox(self.snapshotsSavingOptionsGroupBox)
        self.createPlayblastCheckBox.setChecked(True)
        self.createPlayblastCheckBox.setObjectName("createPlayblastCheckBox")
        self.snapshotsSavingOptionsLayout.addWidget(self.createPlayblastCheckBox, 7, 0, 1, 1)
        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, 8, 0, 1, 4)
        self.createMayaDirsCheckBox = QtGui.QCheckBox(self.snapshotsSavingOptionsGroupBox)
        self.createMayaDirsCheckBox.setObjectName("createMayaDirsCheckBox")
        self.snapshotsSavingOptionsLayout.addWidget(self.createMayaDirsCheckBox, 6, 0, 1, 1)
        self.generatePreviewsCheckBox = QtGui.QCheckBox(self.snapshotsSavingOptionsGroupBox)
        self.generatePreviewsCheckBox.setChecked(True)
        self.generatePreviewsCheckBox.setObjectName("generatePreviewsCheckBox")
        self.snapshotsSavingOptionsLayout.addWidget(self.generatePreviewsCheckBox, 5, 0, 1, 1)
        self.sequencePaddingCheckBox = QtGui.QCheckBox(self.snapshotsSavingOptionsGroupBox)
        self.sequencePaddingCheckBox.setObjectName("sequencePaddingCheckBox")
        self.snapshotsSavingOptionsLayout.addWidget(self.sequencePaddingCheckBox, 10, 0, 1, 1)
        self.checkinMethodLabel = QtGui.QLabel(self.snapshotsSavingOptionsGroupBox)
        self.checkinMethodLabel.setObjectName("checkinMethodLabel")
        self.snapshotsSavingOptionsLayout.addWidget(self.checkinMethodLabel, 2, 0, 1, 1)
        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.repositoryLabel = QtGui.QLabel(self.snapshotsSavingOptionsGroupBox)
        self.repositoryLabel.setObjectName("repositoryLabel")
        self.snapshotsSavingOptionsLayout.addWidget(self.repositoryLabel, 1, 0, 1, 1)
        self.sequqnceNamingTemplatelabel = QtGui.QLabel(self.snapshotsSavingOptionsGroupBox)
        self.sequqnceNamingTemplatelabel.setObjectName("sequqnceNamingTemplatelabel")
        self.snapshotsSavingOptionsLayout.addWidget(self.sequqnceNamingTemplatelabel, 11, 0, 1, 1)
        self.checkoutMethodLabel = QtGui.QLabel(self.snapshotsSavingOptionsGroupBox)
        self.checkoutMethodLabel.setObjectName("checkoutMethodLabel")
        self.snapshotsSavingOptionsLayout.addWidget(self.checkoutMethodLabel, 3, 0, 1, 1)
        self.checkoutMethodComboBox = QtGui.QComboBox(self.snapshotsSavingOptionsGroupBox)
        self.checkoutMethodComboBox.setObjectName("checkoutMethodComboBox")
        self.checkoutMethodComboBox.addItem("")
        self.checkoutMethodComboBox.addItem("")
        self.snapshotsSavingOptionsLayout.addWidget(self.checkoutMethodComboBox, 3, 1, 1, 3)
        self.checkinPageWidgetLayout.addWidget(self.snapshotsSavingOptionsGroupBox)
        self.dropPlateOptionsGroupBox = QtGui.QGroupBox(checkinOptionsPageWidget)
        font = Qt4Gui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.dropPlateOptionsGroupBox.setFont(font)
        self.dropPlateOptionsGroupBox.setFlat(True)
        self.dropPlateOptionsGroupBox.setObjectName("dropPlateOptionsGroupBox")
        self.dropPlateOptionsLayout = QtGui.QGridLayout(self.dropPlateOptionsGroupBox)
        self.dropPlateOptionsLayout.setContentsMargins(10, 24, -1, 0)
        self.dropPlateOptionsLayout.setObjectName("dropPlateOptionsLayout")
        self.horizontalSlider = QtGui.QSlider(self.dropPlateOptionsGroupBox)
        self.horizontalSlider.setMinimum(1)
        self.horizontalSlider.setMaximum(9)
        self.horizontalSlider.setProperty("value", 3)
        self.horizontalSlider.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalSlider.setObjectName("horizontalSlider")
        self.dropPlateOptionsLayout.addWidget(self.horizontalSlider, 5, 1, 1, 1)
        self.minFramesPaddingSpinBox = QtGui.QSpinBox(self.dropPlateOptionsGroupBox)
        self.minFramesPaddingSpinBox.setMinimum(1)
        self.minFramesPaddingSpinBox.setMaximum(9)
        self.minFramesPaddingSpinBox.setProperty("value", 3)
        self.minFramesPaddingSpinBox.setObjectName("minFramesPaddingSpinBox")
        self.dropPlateOptionsLayout.addWidget(self.minFramesPaddingSpinBox, 5, 2, 1, 1)
        self.label = QtGui.QLabel(self.dropPlateOptionsGroupBox)
        self.label.setObjectName("label")
        self.dropPlateOptionsLayout.addWidget(self.label, 5, 0, 1, 1)
        self.uncheckFromDropPlateCheckBox = QtGui.QCheckBox(self.dropPlateOptionsGroupBox)
        self.uncheckFromDropPlateCheckBox.setChecked(True)
        self.uncheckFromDropPlateCheckBox.setObjectName("uncheckFromDropPlateCheckBox")
        self.dropPlateOptionsLayout.addWidget(self.uncheckFromDropPlateCheckBox, 1, 0, 1, 1)
        self.clearDropPlateAfterCheckincheckBox = QtGui.QCheckBox(self.dropPlateOptionsGroupBox)
        self.clearDropPlateAfterCheckincheckBox.setChecked(True)
        self.clearDropPlateAfterCheckincheckBox.setObjectName("clearDropPlateAfterCheckincheckBox")
        self.dropPlateOptionsLayout.addWidget(self.clearDropPlateAfterCheckincheckBox, 2, 0, 1, 1)
        self.oneFrameSequenceDetectionCheckBox = QtGui.QCheckBox(self.dropPlateOptionsGroupBox)
        self.oneFrameSequenceDetectionCheckBox.setChecked(True)
        self.oneFrameSequenceDetectionCheckBox.setObjectName("oneFrameSequenceDetectionCheckBox")
        self.dropPlateOptionsLayout.addWidget(self.oneFrameSequenceDetectionCheckBox, 4, 1, 1, 2)
        self.oneUdimDetectionCheckBox = QtGui.QCheckBox(self.dropPlateOptionsGroupBox)
        self.oneUdimDetectionCheckBox.setChecked(True)
        self.oneUdimDetectionCheckBox.setObjectName("oneUdimDetectionCheckBox")
        self.dropPlateOptionsLayout.addWidget(self.oneUdimDetectionCheckBox, 4, 0, 1, 1)
        self.syckDropPlateCheckBox = QtGui.QCheckBox(self.dropPlateOptionsGroupBox)
        self.syckDropPlateCheckBox.setChecked(True)
        self.syckDropPlateCheckBox.setObjectName("syckDropPlateCheckBox")
        self.dropPlateOptionsLayout.addWidget(self.syckDropPlateCheckBox, 0, 0, 1, 1)
        self.checkinPageWidgetLayout.addWidget(self.dropPlateOptionsGroupBox)
        self.defaultRepoPathsGroupBox = QtGui.QGroupBox(checkinOptionsPageWidget)
        font = Qt4Gui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.defaultRepoPathsGroupBox.setFont(font)
        self.defaultRepoPathsGroupBox.setFlat(True)
        self.defaultRepoPathsGroupBox.setObjectName("defaultRepoPathsGroupBox")
        self.defaultRepoPathsLayout = QtGui.QGridLayout(self.defaultRepoPathsGroupBox)
        self.defaultRepoPathsLayout.setContentsMargins(10, 24, -1, 0)
        self.defaultRepoPathsLayout.setObjectName("defaultRepoPathsLayout")
        self.handoffCheckBox = QtGui.QCheckBox(self.defaultRepoPathsGroupBox)
        self.handoffCheckBox.setObjectName("handoffCheckBox")
        self.defaultRepoPathsLayout.addWidget(self.handoffCheckBox, 5, 0, 1, 1)
        self.clientRepoDirNameLineEdit = QtGui.QLineEdit(self.defaultRepoPathsGroupBox)
        self.clientRepoDirNameLineEdit.setObjectName("clientRepoDirNameLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.clientRepoDirNameLineEdit, 4, 2, 1, 1)
        self.sandboxDirPathLineEdit = QtGui.QLineEdit(self.defaultRepoPathsGroupBox)
        self.sandboxDirPathLineEdit.setObjectName("sandboxDirPathLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.sandboxDirPathLineEdit, 2, 3, 1, 1)
        self.sandboxDirNameLineEdit = QtGui.QLineEdit(self.defaultRepoPathsGroupBox)
        self.sandboxDirNameLineEdit.setObjectName("sandboxDirNameLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.sandboxDirNameLineEdit, 2, 2, 1, 1)
        self.localRepoDirNameLineEdit = QtGui.QLineEdit(self.defaultRepoPathsGroupBox)
        self.localRepoDirNameLineEdit.setObjectName("localRepoDirNameLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.localRepoDirNameLineEdit, 3, 2, 1, 1)
        self.clientRepoCheckBox = QtGui.QCheckBox(self.defaultRepoPathsGroupBox)
        self.clientRepoCheckBox.setObjectName("clientRepoCheckBox")
        self.defaultRepoPathsLayout.addWidget(self.clientRepoCheckBox, 4, 0, 1, 1)
        self.localRepoCheckBox = QtGui.QCheckBox(self.defaultRepoPathsGroupBox)
        self.localRepoCheckBox.setChecked(True)
        self.localRepoCheckBox.setObjectName("localRepoCheckBox")
        self.defaultRepoPathsLayout.addWidget(self.localRepoCheckBox, 3, 0, 1, 1)
        self.handoffDirPathLineEdit = QtGui.QLineEdit(self.defaultRepoPathsGroupBox)
        self.handoffDirPathLineEdit.setObjectName("handoffDirPathLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.handoffDirPathLineEdit, 5, 2, 1, 2)
        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, 1, 1, 1, 1)
        self.sandboxCheckBox = QtGui.QCheckBox(self.defaultRepoPathsGroupBox)
        self.sandboxCheckBox.setObjectName("sandboxCheckBox")
        self.defaultRepoPathsLayout.addWidget(self.sandboxCheckBox, 2, 0, 1, 1)
        self.localRepoDirPathLineEdit = QtGui.QLineEdit(self.defaultRepoPathsGroupBox)
        self.localRepoDirPathLineEdit.setObjectName("localRepoDirPathLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.localRepoDirPathLineEdit, 3, 3, 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, 2, 1, 1, 1)
        self.clientRepoDirPathLineEdit = QtGui.QLineEdit(self.defaultRepoPathsGroupBox)
        self.clientRepoDirPathLineEdit.setObjectName("clientRepoDirPathLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.clientRepoDirPathLineEdit, 4, 3, 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, 4, 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, 3, 1, 1, 1)
        self.assetBaseDirCheckBox = QtGui.QCheckBox(self.defaultRepoPathsGroupBox)
        self.assetBaseDirCheckBox.setChecked(True)
        self.assetBaseDirCheckBox.setObjectName("assetBaseDirCheckBox")
        self.defaultRepoPathsLayout.addWidget(self.assetBaseDirCheckBox, 0, 0, 2, 1)
        self.assetBaseDirNameLineEdit = QtGui.QLineEdit(self.defaultRepoPathsGroupBox)
        self.assetBaseDirNameLineEdit.setObjectName("assetBaseDirNameLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.assetBaseDirNameLineEdit, 0, 2, 2, 1)
        self.assetBaseDirPathLineEdit = QtGui.QLineEdit(self.defaultRepoPathsGroupBox)
        self.assetBaseDirPathLineEdit.setObjectName("assetBaseDirPathLineEdit")
        self.defaultRepoPathsLayout.addWidget(self.assetBaseDirPathLineEdit, 0, 3, 2, 1)
        self.defaultRepoPathsLayout.setColumnStretch(3, 1)
        self.checkinPageWidgetLayout.addWidget(self.defaultRepoPathsGroupBox)
        self.customRepoPathsGroupBox = QtGui.QGroupBox(checkinOptionsPageWidget)
        self.customRepoPathsGroupBox.setEnabled(True)
        font = Qt4Gui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.customRepoPathsGroupBox.setFont(font)
        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(10, 24, -1, 0)
        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(checkinOptionsPageWidget)
        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.QObject.connect(self.horizontalSlider, QtCore.SIGNAL("valueChanged(int)"), self.minFramesPaddingSpinBox.setValue)
        QtCore.QObject.connect(self.minFramesPaddingSpinBox, QtCore.SIGNAL("valueChanged(int)"), self.horizontalSlider.setValue)
        QtCore.QMetaObject.connectSlotsByName(checkinOptionsPageWidget)
    def setupUi(self, sobjectInfo):
        sobjectInfo.setObjectName("sobjectInfo")
        sobjectInfo.resize(800, 600)
        self.centralwidget = QtGui.QWidget(sobjectInfo)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName("gridLayout")
        self.commentLabel_3 = QtGui.QLabel(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.commentLabel_3.sizePolicy().hasHeightForWidth())
        self.commentLabel_3.setSizePolicy(sizePolicy)
        self.commentLabel_3.setMinimumSize(QtCore.QSize(0, 25))
        self.commentLabel_3.setMaximumSize(QtCore.QSize(16777215, 25))
        self.commentLabel_3.setTextFormat(QtCore.Qt.PlainText)
        self.commentLabel_3.setAlignment(QtCore.Qt.AlignLeading
                                         | QtCore.Qt.AlignLeft
                                         | QtCore.Qt.AlignTop)
        self.commentLabel_3.setWordWrap(True)
        self.commentLabel_3.setMargin(0)
        self.commentLabel_3.setIndent(11)
        self.commentLabel_3.setObjectName("commentLabel_3")
        self.gridLayout.addWidget(self.commentLabel_3, 1, 1, 1, 1)
        self.fileNameLabel = QtGui.QLabel(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.fileNameLabel.sizePolicy().hasHeightForWidth())
        self.fileNameLabel.setSizePolicy(sizePolicy)
        self.fileNameLabel.setMaximumSize(QtCore.QSize(16777215, 100))
        self.fileNameLabel.setStyleSheet(
            "QLabel {\n"
            "    background: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(128, 128, 128, 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.fileNameLabel.setTextFormat(QtCore.Qt.RichText)
        self.fileNameLabel.setAlignment(QtCore.Qt.AlignLeading
                                        | QtCore.Qt.AlignLeft
                                        | QtCore.Qt.AlignVCenter)
        self.fileNameLabel.setMargin(2)
        self.fileNameLabel.setIndent(15)
        self.fileNameLabel.setObjectName("fileNameLabel")
        self.gridLayout.addWidget(self.fileNameLabel, 0, 0, 1, 3)
        self.commentLabel_4 = QtGui.QLabel(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.commentLabel_4.sizePolicy().hasHeightForWidth())
        self.commentLabel_4.setSizePolicy(sizePolicy)
        self.commentLabel_4.setMinimumSize(QtCore.QSize(0, 25))
        self.commentLabel_4.setMaximumSize(QtCore.QSize(16777215, 25))
        self.commentLabel_4.setTextFormat(QtCore.Qt.PlainText)
        self.commentLabel_4.setAlignment(QtCore.Qt.AlignLeading
                                         | QtCore.Qt.AlignLeft
                                         | QtCore.Qt.AlignTop)
        self.commentLabel_4.setWordWrap(True)
        self.commentLabel_4.setMargin(0)
        self.commentLabel_4.setIndent(11)
        self.commentLabel_4.setObjectName("commentLabel_4")
        self.gridLayout.addWidget(self.commentLabel_4, 2, 1, 1, 1)
        self.commentLabel = QtGui.QLabel(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.commentLabel.sizePolicy().hasHeightForWidth())
        self.commentLabel.setSizePolicy(sizePolicy)
        self.commentLabel.setMinimumSize(QtCore.QSize(0, 25))
        self.commentLabel.setMaximumSize(QtCore.QSize(16777215, 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(0)
        self.commentLabel.setIndent(11)
        self.commentLabel.setObjectName("commentLabel")
        self.gridLayout.addWidget(self.commentLabel, 1, 2, 1, 1)
        self.keywordsLabel = QtGui.QLabel(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.keywordsLabel.sizePolicy().hasHeightForWidth())
        self.keywordsLabel.setSizePolicy(sizePolicy)
        self.keywordsLabel.setMinimumSize(QtCore.QSize(0, 25))
        self.keywordsLabel.setMaximumSize(QtCore.QSize(16777215, 25))
        self.keywordsLabel.setTextFormat(QtCore.Qt.PlainText)
        self.keywordsLabel.setAlignment(QtCore.Qt.AlignLeading
                                        | QtCore.Qt.AlignLeft
                                        | QtCore.Qt.AlignTop)
        self.keywordsLabel.setWordWrap(True)
        self.keywordsLabel.setMargin(0)
        self.keywordsLabel.setIndent(11)
        self.keywordsLabel.setObjectName("keywordsLabel")
        self.gridLayout.addWidget(self.keywordsLabel, 2, 2, 1, 1)
        self.commentLabel_5 = QtGui.QLabel(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.commentLabel_5.sizePolicy().hasHeightForWidth())
        self.commentLabel_5.setSizePolicy(sizePolicy)
        self.commentLabel_5.setMinimumSize(QtCore.QSize(0, 25))
        self.commentLabel_5.setTextFormat(QtCore.Qt.PlainText)
        self.commentLabel_5.setAlignment(QtCore.Qt.AlignCenter)
        self.commentLabel_5.setWordWrap(True)
        self.commentLabel_5.setMargin(2)
        self.commentLabel_5.setObjectName("commentLabel_5")
        self.gridLayout.addWidget(self.commentLabel_5, 0, 3, 1, 1)
        self.checkOutToolButton = QtGui.QToolButton(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.checkOutToolButton.sizePolicy().hasHeightForWidth())
        self.checkOutToolButton.setSizePolicy(sizePolicy)
        self.checkOutToolButton.setToolButtonStyle(
            QtCore.Qt.ToolButtonTextBesideIcon)
        self.checkOutToolButton.setAutoRaise(True)
        self.checkOutToolButton.setObjectName("checkOutToolButton")
        self.gridLayout.addWidget(self.checkOutToolButton, 1, 3, 1, 1)
        self.checkInToolButton = QtGui.QToolButton(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.checkInToolButton.sizePolicy().hasHeightForWidth())
        self.checkInToolButton.setSizePolicy(sizePolicy)
        self.checkInToolButton.setToolButtonStyle(
            QtCore.Qt.ToolButtonTextBesideIcon)
        self.checkInToolButton.setAutoRaise(True)
        self.checkInToolButton.setObjectName("checkInToolButton")
        self.gridLayout.addWidget(self.checkInToolButton, 2, 3, 1, 1)
        self.gridLayout.setColumnMinimumWidth(3, 150)
        self.gridLayout.setRowMinimumHeight(0, 100)
        self.gridLayout.setRowMinimumHeight(1, 25)
        self.gridLayout.setRowMinimumHeight(2, 25)
        self.gridLayout.setColumnStretch(2, 1)
        self.verticalLayout_2.addLayout(self.gridLayout)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setContentsMargins(9, 9, 9, 9)
        self.verticalLayout.setObjectName("verticalLayout")
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setObjectName("tabWidget")
        self.tasksTab = QtGui.QWidget()
        self.tasksTab.setObjectName("tasksTab")
        self.tasksLayout = QtGui.QVBoxLayout(self.tasksTab)
        self.tasksLayout.setSpacing(0)
        self.tasksLayout.setContentsMargins(0, 0, 0, 4)
        self.tasksLayout.setObjectName("tasksLayout")
        self.tabWidget.addTab(self.tasksTab, "")
        self.notesTab = QtGui.QWidget()
        self.notesTab.setObjectName("notesTab")
        self.notesLayout = QtGui.QVBoxLayout(self.notesTab)
        self.notesLayout.setSpacing(0)
        self.notesLayout.setContentsMargins(0, 0, 0, 4)
        self.notesLayout.setObjectName("notesLayout")
        self.tabWidget.addTab(self.notesTab, "")
        self.editTab = QtGui.QWidget()
        self.editTab.setObjectName("editTab")
        self.editLayout = QtGui.QVBoxLayout(self.editTab)
        self.editLayout.setSpacing(0)
        self.editLayout.setContentsMargins(0, 0, 0, 4)
        self.editLayout.setObjectName("editLayout")
        self.tabWidget.addTab(self.editTab, "")
        self.verticalLayout.addWidget(self.tabWidget)
        self.verticalLayout_2.addLayout(self.verticalLayout)
        sobjectInfo.setCentralWidget(self.centralwidget)
        self.statusbar = QtGui.QStatusBar(sobjectInfo)
        self.statusbar.setObjectName("statusbar")
        sobjectInfo.setStatusBar(self.statusbar)

        self.retranslateUi(sobjectInfo)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(sobjectInfo)
    def setupUi(self, commitQueue):
        commitQueue.setObjectName("commitQueue")
        commitQueue.resize(800, 640)
        self.centralwidget = QtGui.QWidget(commitQueue)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout.setContentsMargins(9, 9, 9, 0)
        self.gridLayout.setObjectName("gridLayout")
        self.splitter = QtGui.QSplitter(self.centralwidget)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName("splitter")
        self.verticalLayoutWidget_2 = QtGui.QWidget(self.splitter)
        self.verticalLayoutWidget_2.setObjectName("verticalLayoutWidget_2")
        self.verticalLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget_2)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label = QtGui.QLabel(self.verticalLayoutWidget_2)
        self.label.setObjectName("label")
        self.horizontalLayout_2.addWidget(self.label)
        self.filesCountLabel = QtGui.QLabel(self.verticalLayoutWidget_2)
        self.filesCountLabel.setObjectName("filesCountLabel")
        self.horizontalLayout_2.addWidget(self.filesCountLabel)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.clearQueuePushButton = QtGui.QPushButton(
            self.verticalLayoutWidget_2)
        self.clearQueuePushButton.setMinimumSize(QtCore.QSize(120, 0))
        self.clearQueuePushButton.setObjectName("clearQueuePushButton")
        self.horizontalLayout_2.addWidget(self.clearQueuePushButton)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.filesQueueTreeWidget = QtGui.QTreeWidget(
            self.verticalLayoutWidget_2)
        self.filesQueueTreeWidget.setMinimumSize(QtCore.QSize(300, 0))
        self.filesQueueTreeWidget.setRootIsDecorated(False)
        self.filesQueueTreeWidget.setHeaderHidden(True)
        self.filesQueueTreeWidget.setObjectName("filesQueueTreeWidget")
        self.verticalLayout.addWidget(self.filesQueueTreeWidget)
        self.verticalLayoutWidget_3 = QtGui.QWidget(self.splitter)
        self.verticalLayoutWidget_3.setObjectName("verticalLayoutWidget_3")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.verticalLayoutWidget_3)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.commitEditorLayout = QtGui.QVBoxLayout()
        self.commitEditorLayout.setObjectName("commitEditorLayout")
        self.verticalLayout_2.addLayout(self.commitEditorLayout)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.commitAllPushButton = QtGui.QPushButton(
            self.verticalLayoutWidget_3)
        self.commitAllPushButton.setMinimumSize(QtCore.QSize(120, 0))
        self.commitAllPushButton.setObjectName("commitAllPushButton")
        self.horizontalLayout.addWidget(self.commitAllPushButton)
        self.closePushButton = QtGui.QPushButton(self.verticalLayoutWidget_3)
        self.closePushButton.setMinimumSize(QtCore.QSize(120, 0))
        self.closePushButton.setObjectName("closePushButton")
        self.horizontalLayout.addWidget(self.closePushButton)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.verticalLayout_2.setStretch(0, 1)
        self.gridLayout.addWidget(self.splitter, 0, 0, 1, 1)
        commitQueue.setCentralWidget(self.centralwidget)
        self.statusbar = QtGui.QStatusBar(commitQueue)
        self.statusbar.setObjectName("statusbar")
        commitQueue.setStatusBar(self.statusbar)

        self.retranslateUi(commitQueue)
        QtCore.QMetaObject.connectSlotsByName(commitQueue)
 def create_parent_label(self):
     self.parent_label = QtGui.QLabel()