示例#1
0
    def setupUi(self, NewProjectDialog):
        NewProjectDialog.setObjectName("NewProjectDialog")
        NewProjectDialog.resize(411, 231)
        self.verticalLayout = QtGui.QVBoxLayout(NewProjectDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.helpText = QtGui.QLabel(NewProjectDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.helpText.sizePolicy().hasHeightForWidth())
        self.helpText.setSizePolicy(sizePolicy)
        self.helpText.setWordWrap(True)
        self.helpText.setObjectName("helpText")
        self.verticalLayout.addWidget(self.helpText)
        self.groupBox = QtGui.QGroupBox(NewProjectDialog)
        self.groupBox.setFlat(False)
        self.groupBox.setCheckable(False)
        self.groupBox.setObjectName("groupBox")
        self.formLayout = QtGui.QFormLayout(self.groupBox)
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formLayout.setObjectName("formLayout")
        self.projectFilePathLabel = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.projectFilePathLabel.sizePolicy().hasHeightForWidth())
        self.projectFilePathLabel.setSizePolicy(sizePolicy)
        self.projectFilePathLabel.setMinimumSize(QtCore.QSize(0, 25))
        self.projectFilePathLabel.setObjectName("projectFilePathLabel")
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.projectFilePathLabel)
        self.projectFilePath = FileLineEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.projectFilePath.sizePolicy().hasHeightForWidth())
        self.projectFilePath.setSizePolicy(sizePolicy)
        self.projectFilePath.setMinimumSize(QtCore.QSize(0, 25))
        self.projectFilePath.setObjectName("projectFilePath")
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.projectFilePath)
        self.createResourceDirs = QtGui.QCheckBox(self.groupBox)
        self.createResourceDirs.setEnabled(True)
        self.createResourceDirs.setAutoFillBackground(False)
        self.createResourceDirs.setChecked(True)
        self.createResourceDirs.setObjectName("createResourceDirs")
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.createResourceDirs)
        self.verticalLayout.addWidget(self.groupBox)
        self.buttonBox = QtGui.QDialogButtonBox(NewProjectDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(NewProjectDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), NewProjectDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), NewProjectDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(NewProjectDialog)
示例#2
0
    def setupUi(self, NewProjectDialog):
        NewProjectDialog.setObjectName("NewProjectDialog")
        NewProjectDialog.resize(411, 231)
        self.verticalLayout = QtGui.QVBoxLayout(NewProjectDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.helpText = QtGui.QLabel(NewProjectDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.helpText.sizePolicy().hasHeightForWidth())
        self.helpText.setSizePolicy(sizePolicy)
        self.helpText.setWordWrap(True)
        self.helpText.setObjectName("helpText")
        self.verticalLayout.addWidget(self.helpText)
        self.groupBox = QtGui.QGroupBox(NewProjectDialog)
        self.groupBox.setFlat(False)
        self.groupBox.setCheckable(False)
        self.groupBox.setObjectName("groupBox")
        self.formLayout = QtGui.QFormLayout(self.groupBox)
        self.formLayout.setFieldGrowthPolicy(
            QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formLayout.setObjectName("formLayout")
        self.projectFilePathLabel = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.projectFilePathLabel.sizePolicy().hasHeightForWidth())
        self.projectFilePathLabel.setSizePolicy(sizePolicy)
        self.projectFilePathLabel.setMinimumSize(QtCore.QSize(0, 25))
        self.projectFilePathLabel.setObjectName("projectFilePathLabel")
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole,
                                  self.projectFilePathLabel)
        self.projectFilePath = FileLineEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.projectFilePath.sizePolicy().hasHeightForWidth())
        self.projectFilePath.setSizePolicy(sizePolicy)
        self.projectFilePath.setMinimumSize(QtCore.QSize(0, 25))
        self.projectFilePath.setObjectName("projectFilePath")
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole,
                                  self.projectFilePath)
        self.createResourceDirs = QtGui.QCheckBox(self.groupBox)
        self.createResourceDirs.setEnabled(True)
        self.createResourceDirs.setAutoFillBackground(False)
        self.createResourceDirs.setChecked(True)
        self.createResourceDirs.setObjectName("createResourceDirs")
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole,
                                  self.createResourceDirs)
        self.verticalLayout.addWidget(self.groupBox)
        self.buttonBox = QtGui.QDialogButtonBox(NewProjectDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(NewProjectDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"),
                               NewProjectDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"),
                               NewProjectDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(NewProjectDialog)
示例#3
0
    def setupUi(self, ProjectSettingsDialog):
        ProjectSettingsDialog.setObjectName("ProjectSettingsDialog")
        ProjectSettingsDialog.resize(600, 600)
        self.verticalLayout_2 = QtGui.QVBoxLayout(ProjectSettingsDialog)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.scrollArea = QtGui.QScrollArea(ProjectSettingsDialog)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents_2 = QtGui.QWidget()
        self.scrollAreaWidgetContents_2.setGeometry(
            QtCore.QRect(0, 0, 562, 685))
        self.scrollAreaWidgetContents_2.setObjectName(
            "scrollAreaWidgetContents_2")
        self.verticalLayout = QtGui.QVBoxLayout(
            self.scrollAreaWidgetContents_2)
        self.verticalLayout.setObjectName("verticalLayout")
        self.basicSettings = QtGui.QGroupBox(self.scrollAreaWidgetContents_2)
        self.basicSettings.setObjectName("basicSettings")
        self.formLayout = QtGui.QFormLayout(self.basicSettings)
        self.formLayout.setFieldGrowthPolicy(
            QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName("formLayout")
        self.label_2 = QtGui.QLabel(self.basicSettings)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2)
        self.baseDirectory = FileLineEdit(self.basicSettings)
        self.baseDirectory.setObjectName("baseDirectory")
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole,
                                  self.baseDirectory)
        self.label_10 = QtGui.QLabel(self.basicSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_10.sizePolicy().hasHeightForWidth())
        self.label_10.setSizePolicy(sizePolicy)
        self.label_10.setWordWrap(True)
        self.label_10.setObjectName("label_10")
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole,
                                  self.label_10)
        self.label_11 = QtGui.QLabel(self.basicSettings)
        self.label_11.setObjectName("label_11")
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole,
                                  self.label_11)
        self.CEGUIVersion = QtGui.QComboBox(self.basicSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.CEGUIVersion.sizePolicy().hasHeightForWidth())
        self.CEGUIVersion.setSizePolicy(sizePolicy)
        self.CEGUIVersion.setEditable(True)
        self.CEGUIVersion.setObjectName("CEGUIVersion")
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole,
                                  self.CEGUIVersion)
        self.label_13 = QtGui.QLabel(self.basicSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_13.sizePolicy().hasHeightForWidth())
        self.label_13.setSizePolicy(sizePolicy)
        self.label_13.setWordWrap(True)
        self.label_13.setObjectName("label_13")
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole,
                                  self.label_13)
        self.label = QtGui.QLabel(self.basicSettings)
        self.label.setObjectName("label")
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label)
        self.CEGUIDefaultResolution = QtGui.QComboBox(self.basicSettings)
        self.CEGUIDefaultResolution.setEditable(True)
        self.CEGUIDefaultResolution.setObjectName("CEGUIDefaultResolution")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole,
                                  self.CEGUIDefaultResolution)
        self.label_15 = QtGui.QLabel(self.basicSettings)
        self.label_15.setWordWrap(True)
        self.label_15.setObjectName("label_15")
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole,
                                  self.label_15)
        self.verticalLayout.addWidget(self.basicSettings)
        self.resourcePathSettings = QtGui.QGroupBox(
            self.scrollAreaWidgetContents_2)
        self.resourcePathSettings.setObjectName("resourcePathSettings")
        self.formLayout_2 = QtGui.QFormLayout(self.resourcePathSettings)
        self.formLayout_2.setFieldGrowthPolicy(
            QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_2.setObjectName("formLayout_2")
        self.label_3 = QtGui.QLabel(self.resourcePathSettings)
        self.label_3.setObjectName("label_3")
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.LabelRole,
                                    self.label_3)
        self.rootDirectoryContainer = QtGui.QWidget(self.resourcePathSettings)
        self.rootDirectoryContainer.setObjectName("rootDirectoryContainer")
        self.horizontalLayout = QtGui.QHBoxLayout(self.rootDirectoryContainer)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.resourceDirectory = FileLineEdit(self.rootDirectoryContainer)
        self.resourceDirectory.setObjectName("resourceDirectory")
        self.horizontalLayout.addWidget(self.resourceDirectory)
        self.resourceDirectoryApplyButton = QtGui.QPushButton(
            self.rootDirectoryContainer)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.resourceDirectoryApplyButton.sizePolicy().hasHeightForWidth())
        self.resourceDirectoryApplyButton.setSizePolicy(sizePolicy)
        self.resourceDirectoryApplyButton.setObjectName(
            "resourceDirectoryApplyButton")
        self.horizontalLayout.addWidget(self.resourceDirectoryApplyButton)
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.FieldRole,
                                    self.rootDirectoryContainer)
        self.line_2 = QtGui.QFrame(self.resourcePathSettings)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.formLayout_2.setWidget(4, QtGui.QFormLayout.FieldRole,
                                    self.line_2)
        self.label_9 = QtGui.QLabel(self.resourcePathSettings)
        self.label_9.setWordWrap(True)
        self.label_9.setObjectName("label_9")
        self.formLayout_2.setWidget(5, QtGui.QFormLayout.FieldRole,
                                    self.label_9)
        self.label_4 = QtGui.QLabel(self.resourcePathSettings)
        self.label_4.setObjectName("label_4")
        self.formLayout_2.setWidget(6, QtGui.QFormLayout.LabelRole,
                                    self.label_4)
        self.imagesetsPath = FileLineEdit(self.resourcePathSettings)
        self.imagesetsPath.setObjectName("imagesetsPath")
        self.formLayout_2.setWidget(6, QtGui.QFormLayout.FieldRole,
                                    self.imagesetsPath)
        self.label_5 = QtGui.QLabel(self.resourcePathSettings)
        self.label_5.setObjectName("label_5")
        self.formLayout_2.setWidget(7, QtGui.QFormLayout.LabelRole,
                                    self.label_5)
        self.fontsPath = FileLineEdit(self.resourcePathSettings)
        self.fontsPath.setObjectName("fontsPath")
        self.formLayout_2.setWidget(7, QtGui.QFormLayout.FieldRole,
                                    self.fontsPath)
        self.label_7 = QtGui.QLabel(self.resourcePathSettings)
        self.label_7.setObjectName("label_7")
        self.formLayout_2.setWidget(8, QtGui.QFormLayout.LabelRole,
                                    self.label_7)
        self.looknfeelsPath = FileLineEdit(self.resourcePathSettings)
        self.looknfeelsPath.setObjectName("looknfeelsPath")
        self.formLayout_2.setWidget(8, QtGui.QFormLayout.FieldRole,
                                    self.looknfeelsPath)
        self.label_6 = QtGui.QLabel(self.resourcePathSettings)
        self.label_6.setObjectName("label_6")
        self.formLayout_2.setWidget(9, QtGui.QFormLayout.LabelRole,
                                    self.label_6)
        self.schemesPath = FileLineEdit(self.resourcePathSettings)
        self.schemesPath.setObjectName("schemesPath")
        self.formLayout_2.setWidget(9, QtGui.QFormLayout.FieldRole,
                                    self.schemesPath)
        self.label_8 = QtGui.QLabel(self.resourcePathSettings)
        self.label_8.setObjectName("label_8")
        self.formLayout_2.setWidget(10, QtGui.QFormLayout.LabelRole,
                                    self.label_8)
        self.layoutsPath = FileLineEdit(self.resourcePathSettings)
        self.layoutsPath.setObjectName("layoutsPath")
        self.formLayout_2.setWidget(10, QtGui.QFormLayout.FieldRole,
                                    self.layoutsPath)
        self.label_14 = QtGui.QLabel(self.resourcePathSettings)
        self.label_14.setObjectName("label_14")
        self.formLayout_2.setWidget(11, QtGui.QFormLayout.LabelRole,
                                    self.label_14)
        self.xmlSchemasPath = FileLineEdit(self.resourcePathSettings)
        self.xmlSchemasPath.setObjectName("xmlSchemasPath")
        self.formLayout_2.setWidget(11, QtGui.QFormLayout.FieldRole,
                                    self.xmlSchemasPath)
        self.line = QtGui.QFrame(self.resourcePathSettings)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.formLayout_2.setWidget(13, QtGui.QFormLayout.FieldRole, self.line)
        self.label_12 = QtGui.QLabel(self.resourcePathSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_12.sizePolicy().hasHeightForWidth())
        self.label_12.setSizePolicy(sizePolicy)
        self.label_12.setWordWrap(True)
        self.label_12.setObjectName("label_12")
        self.formLayout_2.setWidget(14, QtGui.QFormLayout.FieldRole,
                                    self.label_12)
        self.verticalLayout.addWidget(self.resourcePathSettings)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents_2)
        self.verticalLayout_2.addWidget(self.scrollArea)
        self.buttonBox = QtGui.QDialogButtonBox(ProjectSettingsDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setCenterButtons(False)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(ProjectSettingsDialog)
        self.CEGUIDefaultResolution.setCurrentIndex(2)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"),
                               ProjectSettingsDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"),
                               ProjectSettingsDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ProjectSettingsDialog)
示例#4
0
class Ui_ProjectSettingsDialog(object):
    def setupUi(self, ProjectSettingsDialog):
        ProjectSettingsDialog.setObjectName("ProjectSettingsDialog")
        ProjectSettingsDialog.resize(600, 600)
        self.verticalLayout_2 = QtGui.QVBoxLayout(ProjectSettingsDialog)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.scrollArea = QtGui.QScrollArea(ProjectSettingsDialog)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents_2 = QtGui.QWidget()
        self.scrollAreaWidgetContents_2.setGeometry(
            QtCore.QRect(0, 0, 562, 685))
        self.scrollAreaWidgetContents_2.setObjectName(
            "scrollAreaWidgetContents_2")
        self.verticalLayout = QtGui.QVBoxLayout(
            self.scrollAreaWidgetContents_2)
        self.verticalLayout.setObjectName("verticalLayout")
        self.basicSettings = QtGui.QGroupBox(self.scrollAreaWidgetContents_2)
        self.basicSettings.setObjectName("basicSettings")
        self.formLayout = QtGui.QFormLayout(self.basicSettings)
        self.formLayout.setFieldGrowthPolicy(
            QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName("formLayout")
        self.label_2 = QtGui.QLabel(self.basicSettings)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2)
        self.baseDirectory = FileLineEdit(self.basicSettings)
        self.baseDirectory.setObjectName("baseDirectory")
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole,
                                  self.baseDirectory)
        self.label_10 = QtGui.QLabel(self.basicSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_10.sizePolicy().hasHeightForWidth())
        self.label_10.setSizePolicy(sizePolicy)
        self.label_10.setWordWrap(True)
        self.label_10.setObjectName("label_10")
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole,
                                  self.label_10)
        self.label_11 = QtGui.QLabel(self.basicSettings)
        self.label_11.setObjectName("label_11")
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole,
                                  self.label_11)
        self.CEGUIVersion = QtGui.QComboBox(self.basicSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.CEGUIVersion.sizePolicy().hasHeightForWidth())
        self.CEGUIVersion.setSizePolicy(sizePolicy)
        self.CEGUIVersion.setEditable(True)
        self.CEGUIVersion.setObjectName("CEGUIVersion")
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole,
                                  self.CEGUIVersion)
        self.label_13 = QtGui.QLabel(self.basicSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_13.sizePolicy().hasHeightForWidth())
        self.label_13.setSizePolicy(sizePolicy)
        self.label_13.setWordWrap(True)
        self.label_13.setObjectName("label_13")
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole,
                                  self.label_13)
        self.label = QtGui.QLabel(self.basicSettings)
        self.label.setObjectName("label")
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label)
        self.CEGUIDefaultResolution = QtGui.QComboBox(self.basicSettings)
        self.CEGUIDefaultResolution.setEditable(True)
        self.CEGUIDefaultResolution.setObjectName("CEGUIDefaultResolution")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole,
                                  self.CEGUIDefaultResolution)
        self.label_15 = QtGui.QLabel(self.basicSettings)
        self.label_15.setWordWrap(True)
        self.label_15.setObjectName("label_15")
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole,
                                  self.label_15)
        self.verticalLayout.addWidget(self.basicSettings)
        self.resourcePathSettings = QtGui.QGroupBox(
            self.scrollAreaWidgetContents_2)
        self.resourcePathSettings.setObjectName("resourcePathSettings")
        self.formLayout_2 = QtGui.QFormLayout(self.resourcePathSettings)
        self.formLayout_2.setFieldGrowthPolicy(
            QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_2.setObjectName("formLayout_2")
        self.label_3 = QtGui.QLabel(self.resourcePathSettings)
        self.label_3.setObjectName("label_3")
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.LabelRole,
                                    self.label_3)
        self.rootDirectoryContainer = QtGui.QWidget(self.resourcePathSettings)
        self.rootDirectoryContainer.setObjectName("rootDirectoryContainer")
        self.horizontalLayout = QtGui.QHBoxLayout(self.rootDirectoryContainer)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.resourceDirectory = FileLineEdit(self.rootDirectoryContainer)
        self.resourceDirectory.setObjectName("resourceDirectory")
        self.horizontalLayout.addWidget(self.resourceDirectory)
        self.resourceDirectoryApplyButton = QtGui.QPushButton(
            self.rootDirectoryContainer)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.resourceDirectoryApplyButton.sizePolicy().hasHeightForWidth())
        self.resourceDirectoryApplyButton.setSizePolicy(sizePolicy)
        self.resourceDirectoryApplyButton.setObjectName(
            "resourceDirectoryApplyButton")
        self.horizontalLayout.addWidget(self.resourceDirectoryApplyButton)
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.FieldRole,
                                    self.rootDirectoryContainer)
        self.line_2 = QtGui.QFrame(self.resourcePathSettings)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.formLayout_2.setWidget(4, QtGui.QFormLayout.FieldRole,
                                    self.line_2)
        self.label_9 = QtGui.QLabel(self.resourcePathSettings)
        self.label_9.setWordWrap(True)
        self.label_9.setObjectName("label_9")
        self.formLayout_2.setWidget(5, QtGui.QFormLayout.FieldRole,
                                    self.label_9)
        self.label_4 = QtGui.QLabel(self.resourcePathSettings)
        self.label_4.setObjectName("label_4")
        self.formLayout_2.setWidget(6, QtGui.QFormLayout.LabelRole,
                                    self.label_4)
        self.imagesetsPath = FileLineEdit(self.resourcePathSettings)
        self.imagesetsPath.setObjectName("imagesetsPath")
        self.formLayout_2.setWidget(6, QtGui.QFormLayout.FieldRole,
                                    self.imagesetsPath)
        self.label_5 = QtGui.QLabel(self.resourcePathSettings)
        self.label_5.setObjectName("label_5")
        self.formLayout_2.setWidget(7, QtGui.QFormLayout.LabelRole,
                                    self.label_5)
        self.fontsPath = FileLineEdit(self.resourcePathSettings)
        self.fontsPath.setObjectName("fontsPath")
        self.formLayout_2.setWidget(7, QtGui.QFormLayout.FieldRole,
                                    self.fontsPath)
        self.label_7 = QtGui.QLabel(self.resourcePathSettings)
        self.label_7.setObjectName("label_7")
        self.formLayout_2.setWidget(8, QtGui.QFormLayout.LabelRole,
                                    self.label_7)
        self.looknfeelsPath = FileLineEdit(self.resourcePathSettings)
        self.looknfeelsPath.setObjectName("looknfeelsPath")
        self.formLayout_2.setWidget(8, QtGui.QFormLayout.FieldRole,
                                    self.looknfeelsPath)
        self.label_6 = QtGui.QLabel(self.resourcePathSettings)
        self.label_6.setObjectName("label_6")
        self.formLayout_2.setWidget(9, QtGui.QFormLayout.LabelRole,
                                    self.label_6)
        self.schemesPath = FileLineEdit(self.resourcePathSettings)
        self.schemesPath.setObjectName("schemesPath")
        self.formLayout_2.setWidget(9, QtGui.QFormLayout.FieldRole,
                                    self.schemesPath)
        self.label_8 = QtGui.QLabel(self.resourcePathSettings)
        self.label_8.setObjectName("label_8")
        self.formLayout_2.setWidget(10, QtGui.QFormLayout.LabelRole,
                                    self.label_8)
        self.layoutsPath = FileLineEdit(self.resourcePathSettings)
        self.layoutsPath.setObjectName("layoutsPath")
        self.formLayout_2.setWidget(10, QtGui.QFormLayout.FieldRole,
                                    self.layoutsPath)
        self.label_14 = QtGui.QLabel(self.resourcePathSettings)
        self.label_14.setObjectName("label_14")
        self.formLayout_2.setWidget(11, QtGui.QFormLayout.LabelRole,
                                    self.label_14)
        self.xmlSchemasPath = FileLineEdit(self.resourcePathSettings)
        self.xmlSchemasPath.setObjectName("xmlSchemasPath")
        self.formLayout_2.setWidget(11, QtGui.QFormLayout.FieldRole,
                                    self.xmlSchemasPath)
        self.line = QtGui.QFrame(self.resourcePathSettings)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.formLayout_2.setWidget(13, QtGui.QFormLayout.FieldRole, self.line)
        self.label_12 = QtGui.QLabel(self.resourcePathSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_12.sizePolicy().hasHeightForWidth())
        self.label_12.setSizePolicy(sizePolicy)
        self.label_12.setWordWrap(True)
        self.label_12.setObjectName("label_12")
        self.formLayout_2.setWidget(14, QtGui.QFormLayout.FieldRole,
                                    self.label_12)
        self.verticalLayout.addWidget(self.resourcePathSettings)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents_2)
        self.verticalLayout_2.addWidget(self.scrollArea)
        self.buttonBox = QtGui.QDialogButtonBox(ProjectSettingsDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setCenterButtons(False)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(ProjectSettingsDialog)
        self.CEGUIDefaultResolution.setCurrentIndex(2)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"),
                               ProjectSettingsDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"),
                               ProjectSettingsDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ProjectSettingsDialog)

    def retranslateUi(self, ProjectSettingsDialog):
        ProjectSettingsDialog.setWindowTitle(
            QtGui.QApplication.translate("ProjectSettingsDialog",
                                         "Project settings", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.basicSettings.setTitle(
            QtGui.QApplication.translate("ProjectSettingsDialog",
                                         "Basic settings", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate("ProjectSettingsDialog",
                                         "Base directory", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(
            QtGui.QApplication.translate(
                "ProjectSettingsDialog",
                "Even though base directory is shown as absolute path here, it\'s stored relative to the directory where the project file is. Be very careful when changing this, all paths might be rendered invalid when changing this!",
                None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(
            QtGui.QApplication.translate("ProjectSettingsDialog",
                                         "Target CEGUI version", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_13.setText(
            QtGui.QApplication.translate(
                "ProjectSettingsDialog",
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'Ubuntu\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Warning:</span> Target CEGUI version is what this editor will assume your assets are in when loading all the schemes found and when opening any files when this project is opened! Changing this in existing projects with potentially incompatible datafiles might be disastrous, you definitely want to migrate your project to a newer version instead in that case.</p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("ProjectSettingsDialog",
                                         "Default CEGUI resolution", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.CEGUIDefaultResolution.setItemText(
            0,
            QtGui.QApplication.translate("ProjectSettingsDialog", "800x600",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.CEGUIDefaultResolution.setItemText(
            1,
            QtGui.QApplication.translate("ProjectSettingsDialog", "1024x768",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.CEGUIDefaultResolution.setItemText(
            2,
            QtGui.QApplication.translate("ProjectSettingsDialog", "1280x720",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.CEGUIDefaultResolution.setItemText(
            3,
            QtGui.QApplication.translate("ProjectSettingsDialog", "1600x1200",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.CEGUIDefaultResolution.setItemText(
            4,
            QtGui.QApplication.translate("ProjectSettingsDialog", "1650x1050",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.CEGUIDefaultResolution.setItemText(
            5,
            QtGui.QApplication.translate("ProjectSettingsDialog", "1920x1080",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_15.setText(
            QtGui.QApplication.translate(
                "ProjectSettingsDialog",
                "This is the resolution that CEGUI embedded instances will be at when their resolution is at \'Project default\'.",
                None, QtGui.QApplication.UnicodeUTF8))
        self.resourcePathSettings.setTitle(
            QtGui.QApplication.translate("ProjectSettingsDialog",
                                         "CEGUI resource paths settings", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(
            QtGui.QApplication.translate("ProjectSettingsDialog",
                                         "Resource directory", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.rootDirectoryContainer.setToolTip(
            QtGui.QApplication.translate(
                "ProjectSettingsDialog",
                "Setting this automatically sets all the following paths according to CEGUI\'s usual scheme.",
                None, QtGui.QApplication.UnicodeUTF8))
        self.resourceDirectoryApplyButton.setText(
            QtGui.QApplication.translate("ProjectSettingsDialog", "Apply",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(
            QtGui.QApplication.translate(
                "ProjectSettingsDialog",
                "Use resource directory as a time saver only, it\'s not actually saved in the project file, it just sets the 5 paths according to CEGUI\'s standard scheme used in demos and stock datafiles.",
                None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(
            QtGui.QApplication.translate("ProjectSettingsDialog", "Imagesets",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(
            QtGui.QApplication.translate("ProjectSettingsDialog", "Fonts",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(
            QtGui.QApplication.translate("ProjectSettingsDialog", "LookNFeels",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(
            QtGui.QApplication.translate("ProjectSettingsDialog", "Schemes",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(
            QtGui.QApplication.translate("ProjectSettingsDialog", "Layouts",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_14.setText(
            QtGui.QApplication.translate("ProjectSettingsDialog",
                                         "XML Schemas", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(
            QtGui.QApplication.translate(
                "ProjectSettingsDialog",
                "Even though these paths are shown as absolute paths here, they are saved as relative paths (relative to the resource directory). This way your project may be shared with other developers, for example with a version control system.",
                None, QtGui.QApplication.UnicodeUTF8))
示例#5
0
    def setupUi(self, DockWidget):
        DockWidget.setObjectName("DockWidget")
        DockWidget.setEnabled(False)
        DockWidget.resize(337, 728)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DockWidget.sizePolicy().hasHeightForWidth())
        DockWidget.setSizePolicy(sizePolicy)
        DockWidget.setMinimumSize(QtCore.QSize(337, 525))
        DockWidget.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.dockWidgetContents = QtGui.QWidget()
        self.dockWidgetContents.setObjectName("dockWidgetContents")
        self.verticalLayout = QtGui.QVBoxLayout(self.dockWidgetContents)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setSizeConstraint(QtGui.QLayout.SetNoConstraint)
        self.verticalLayout.setContentsMargins(6, 0, 6, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.imagesetGroupBox = QtGui.QGroupBox(self.dockWidgetContents)
        self.imagesetGroupBox.setMinimumSize(QtCore.QSize(0, 172))
        self.imagesetGroupBox.setObjectName("imagesetGroupBox")
        self.gridLayout_2 = QtGui.QGridLayout(self.imagesetGroupBox)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.nativeVertRes = QtGui.QLineEdit(self.imagesetGroupBox)
        self.nativeVertRes.setObjectName("nativeVertRes")
        self.gridLayout_2.addWidget(self.nativeVertRes, 5, 2, 1, 1)
        self.nativeHorzRes = QtGui.QLineEdit(self.imagesetGroupBox)
        self.nativeHorzRes.setObjectName("nativeHorzRes")
        self.gridLayout_2.addWidget(self.nativeHorzRes, 5, 1, 1, 1)
        self.nativeResolutionLabel = QtGui.QLabel(self.imagesetGroupBox)
        self.nativeResolutionLabel.setObjectName("nativeResolutionLabel")
        self.gridLayout_2.addWidget(self.nativeResolutionLabel, 5, 0, 1, 1)
        self.autoScaled = QtGui.QComboBox(self.imagesetGroupBox)
        self.autoScaled.setObjectName("autoScaled")
        self.autoScaled.addItem("")
        self.autoScaled.addItem("")
        self.autoScaled.addItem("")
        self.autoScaled.addItem("")
        self.autoScaled.addItem("")
        self.autoScaled.addItem("")
        self.gridLayout_2.addWidget(self.autoScaled, 4, 1, 1, 2)
        self.name = QtGui.QLineEdit(self.imagesetGroupBox)
        self.name.setObjectName("name")
        self.gridLayout_2.addWidget(self.name, 0, 1, 1, 2)
        self.imageLoad = QtGui.QPushButton(self.imagesetGroupBox)
        self.imageLoad.setObjectName("imageLoad")
        self.gridLayout_2.addWidget(self.imageLoad, 2, 2, 1, 1)
        self.image = FileLineEdit(self.imagesetGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.image.sizePolicy().hasHeightForWidth())
        self.image.setSizePolicy(sizePolicy)
        self.image.setObjectName("image")
        self.gridLayout_2.addWidget(self.image, 1, 1, 1, 2)
        self.imageLabel = QtGui.QLabel(self.imagesetGroupBox)
        self.imageLabel.setObjectName("imageLabel")
        self.gridLayout_2.addWidget(self.imageLabel, 1, 0, 1, 1)
        self.nameLabel = QtGui.QLabel(self.imagesetGroupBox)
        self.nameLabel.setObjectName("nameLabel")
        self.gridLayout_2.addWidget(self.nameLabel, 0, 0, 1, 1)
        self.autoScaledLabel = QtGui.QLabel(self.imagesetGroupBox)
        self.autoScaledLabel.setObjectName("autoScaledLabel")
        self.gridLayout_2.addWidget(self.autoScaledLabel, 4, 0, 1, 1)
        self.line_2 = QtGui.QFrame(self.imagesetGroupBox)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridLayout_2.addWidget(self.line_2, 3, 0, 1, 3)
        self.verticalLayout.addWidget(self.imagesetGroupBox)
        self.imagesGroupBox = QtGui.QGroupBox(self.dockWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.imagesGroupBox.sizePolicy().hasHeightForWidth())
        self.imagesGroupBox.setSizePolicy(sizePolicy)
        self.imagesGroupBox.setMinimumSize(QtCore.QSize(0, 120))
        self.imagesGroupBox.setObjectName("imagesGroupBox")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.imagesGroupBox)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.widget = QtGui.QWidget(self.imagesGroupBox)
        self.widget.setObjectName("widget")
        self.horizontalLayout = QtGui.QHBoxLayout(self.widget)
        self.horizontalLayout.setSpacing(1)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.filterBox = QtGui.QLineEdit(self.widget)
        self.filterBox.setObjectName("filterBox")
        self.horizontalLayout.addWidget(self.filterBox)
        self.filterResetButton = QtGui.QPushButton(self.widget)
        self.filterResetButton.setText("")
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("icons/imageset_editing/filter_reset.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.filterResetButton.setIcon(icon)
        self.filterResetButton.setIconSize(QtCore.QSize(16, 16))
        self.filterResetButton.setAutoDefault(False)
        self.filterResetButton.setDefault(False)
        self.filterResetButton.setFlat(False)
        self.filterResetButton.setObjectName("filterResetButton")
        self.horizontalLayout.addWidget(self.filterResetButton)
        self.verticalLayout_2.addWidget(self.widget)
        self.list = QtGui.QListWidget(self.imagesGroupBox)
        self.list.setEditTriggers(QtGui.QAbstractItemView.DoubleClicked|QtGui.QAbstractItemView.EditKeyPressed|QtGui.QAbstractItemView.SelectedClicked)
        self.list.setAlternatingRowColors(False)
        self.list.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.list.setIconSize(QtCore.QSize(32, 32))
        self.list.setSelectionRectVisible(True)
        self.list.setObjectName("list")
        self.verticalLayout_2.addWidget(self.list)
        self.verticalLayout.addWidget(self.imagesGroupBox)
        self.propertiesGroupBox = QtGui.QGroupBox(self.dockWidgetContents)
        self.propertiesGroupBox.setObjectName("propertiesGroupBox")
        self.gridLayout = QtGui.QGridLayout(self.propertiesGroupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.yColumnLabel = QtGui.QLabel(self.propertiesGroupBox)
        self.yColumnLabel.setAlignment(QtCore.Qt.AlignCenter)
        self.yColumnLabel.setObjectName("yColumnLabel")
        self.gridLayout.addWidget(self.yColumnLabel, 0, 2, 1, 1)
        self.sizeLabel = QtGui.QLabel(self.propertiesGroupBox)
        self.sizeLabel.setObjectName("sizeLabel")
        self.gridLayout.addWidget(self.sizeLabel, 2, 0, 1, 1)
        self.positionY = QtGui.QLineEdit(self.propertiesGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.positionY.sizePolicy().hasHeightForWidth())
        self.positionY.setSizePolicy(sizePolicy)
        self.positionY.setObjectName("positionY")
        self.gridLayout.addWidget(self.positionY, 1, 2, 1, 1)
        self.positionLabel = QtGui.QLabel(self.propertiesGroupBox)
        self.positionLabel.setObjectName("positionLabel")
        self.gridLayout.addWidget(self.positionLabel, 1, 0, 1, 1)
        self.autoScaledPerImageLabel = QtGui.QLabel(self.propertiesGroupBox)
        self.autoScaledPerImageLabel.setObjectName("autoScaledPerImageLabel")
        self.gridLayout.addWidget(self.autoScaledPerImageLabel, 5, 0, 1, 1)
        self.height = QtGui.QLineEdit(self.propertiesGroupBox)
        self.height.setObjectName("height")
        self.gridLayout.addWidget(self.height, 2, 2, 1, 1)
        self.width = QtGui.QLineEdit(self.propertiesGroupBox)
        self.width.setObjectName("width")
        self.gridLayout.addWidget(self.width, 2, 1, 1, 1)
        self.offsetX = QtGui.QLineEdit(self.propertiesGroupBox)
        self.offsetX.setObjectName("offsetX")
        self.gridLayout.addWidget(self.offsetX, 3, 1, 1, 1)
        self.offsetY = QtGui.QLineEdit(self.propertiesGroupBox)
        self.offsetY.setObjectName("offsetY")
        self.gridLayout.addWidget(self.offsetY, 3, 2, 1, 1)
        self.offsetLabel = QtGui.QLabel(self.propertiesGroupBox)
        self.offsetLabel.setObjectName("offsetLabel")
        self.gridLayout.addWidget(self.offsetLabel, 3, 0, 1, 1)
        self.positionX = QtGui.QLineEdit(self.propertiesGroupBox)
        self.positionX.setObjectName("positionX")
        self.gridLayout.addWidget(self.positionX, 1, 1, 1, 1)
        self.xColumnLabel = QtGui.QLabel(self.propertiesGroupBox)
        self.xColumnLabel.setAlignment(QtCore.Qt.AlignCenter)
        self.xColumnLabel.setObjectName("xColumnLabel")
        self.gridLayout.addWidget(self.xColumnLabel, 0, 1, 1, 1)
        self.autoScaledPerImage = QtGui.QComboBox(self.propertiesGroupBox)
        self.autoScaledPerImage.setObjectName("autoScaledPerImage")
        self.autoScaledPerImage.addItem("")
        self.autoScaledPerImage.setItemText(0, "")
        self.autoScaledPerImage.addItem("")
        self.autoScaledPerImage.addItem("")
        self.autoScaledPerImage.addItem("")
        self.autoScaledPerImage.addItem("")
        self.autoScaledPerImage.addItem("")
        self.autoScaledPerImage.addItem("")
        self.gridLayout.addWidget(self.autoScaledPerImage, 5, 1, 1, 2)
        self.nativeResPerImageLabel = QtGui.QLabel(self.propertiesGroupBox)
        self.nativeResPerImageLabel.setObjectName("nativeResPerImageLabel")
        self.gridLayout.addWidget(self.nativeResPerImageLabel, 6, 0, 1, 1)
        self.nativeHorzResPerImage = QtGui.QLineEdit(self.propertiesGroupBox)
        self.nativeHorzResPerImage.setObjectName("nativeHorzResPerImage")
        self.gridLayout.addWidget(self.nativeHorzResPerImage, 6, 1, 1, 1)
        self.nativeVertResPerImage = QtGui.QLineEdit(self.propertiesGroupBox)
        self.nativeVertResPerImage.setObjectName("nativeVertResPerImage")
        self.gridLayout.addWidget(self.nativeVertResPerImage, 6, 2, 1, 1)
        self.line = QtGui.QFrame(self.propertiesGroupBox)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout.addWidget(self.line, 4, 0, 1, 3)
        self.verticalLayout.addWidget(self.propertiesGroupBox)
        DockWidget.setWidget(self.dockWidgetContents)
        self.nameLabel.setBuddy(self.name)

        self.retranslateUi(DockWidget)
        QtCore.QObject.connect(self.filterResetButton, QtCore.SIGNAL("clicked()"), self.filterBox.clear)
        QtCore.QMetaObject.connectSlotsByName(DockWidget)
示例#6
0
    def setupUi(self, DockWidget):
        DockWidget.setObjectName("DockWidget")
        DockWidget.setEnabled(False)
        DockWidget.resize(337, 728)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DockWidget.sizePolicy().hasHeightForWidth())
        DockWidget.setSizePolicy(sizePolicy)
        DockWidget.setMinimumSize(QtCore.QSize(337, 525))
        DockWidget.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.dockWidgetContents = QtGui.QWidget()
        self.dockWidgetContents.setObjectName("dockWidgetContents")
        self.verticalLayout = QtGui.QVBoxLayout(self.dockWidgetContents)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setSizeConstraint(QtGui.QLayout.SetNoConstraint)
        self.verticalLayout.setContentsMargins(6, 0, 6, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.imagesetGroupBox = QtGui.QGroupBox(self.dockWidgetContents)
        self.imagesetGroupBox.setMinimumSize(QtCore.QSize(0, 172))
        self.imagesetGroupBox.setObjectName("imagesetGroupBox")
        self.gridLayout_2 = QtGui.QGridLayout(self.imagesetGroupBox)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.nativeVertRes = QtGui.QLineEdit(self.imagesetGroupBox)
        self.nativeVertRes.setObjectName("nativeVertRes")
        self.gridLayout_2.addWidget(self.nativeVertRes, 5, 2, 1, 1)
        self.nativeHorzRes = QtGui.QLineEdit(self.imagesetGroupBox)
        self.nativeHorzRes.setObjectName("nativeHorzRes")
        self.gridLayout_2.addWidget(self.nativeHorzRes, 5, 1, 1, 1)
        self.nativeResolutionLabel = QtGui.QLabel(self.imagesetGroupBox)
        self.nativeResolutionLabel.setObjectName("nativeResolutionLabel")
        self.gridLayout_2.addWidget(self.nativeResolutionLabel, 5, 0, 1, 1)
        self.autoScaled = QtGui.QComboBox(self.imagesetGroupBox)
        self.autoScaled.setObjectName("autoScaled")
        self.autoScaled.addItem("")
        self.autoScaled.addItem("")
        self.autoScaled.addItem("")
        self.autoScaled.addItem("")
        self.autoScaled.addItem("")
        self.autoScaled.addItem("")
        self.gridLayout_2.addWidget(self.autoScaled, 4, 1, 1, 2)
        self.name = QtGui.QLineEdit(self.imagesetGroupBox)
        self.name.setObjectName("name")
        self.gridLayout_2.addWidget(self.name, 0, 1, 1, 2)
        self.imageLoad = QtGui.QPushButton(self.imagesetGroupBox)
        self.imageLoad.setObjectName("imageLoad")
        self.gridLayout_2.addWidget(self.imageLoad, 2, 2, 1, 1)
        self.image = FileLineEdit(self.imagesetGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.image.sizePolicy().hasHeightForWidth())
        self.image.setSizePolicy(sizePolicy)
        self.image.setObjectName("image")
        self.gridLayout_2.addWidget(self.image, 1, 1, 1, 2)
        self.imageLabel = QtGui.QLabel(self.imagesetGroupBox)
        self.imageLabel.setObjectName("imageLabel")
        self.gridLayout_2.addWidget(self.imageLabel, 1, 0, 1, 1)
        self.nameLabel = QtGui.QLabel(self.imagesetGroupBox)
        self.nameLabel.setObjectName("nameLabel")
        self.gridLayout_2.addWidget(self.nameLabel, 0, 0, 1, 1)
        self.autoScaledLabel = QtGui.QLabel(self.imagesetGroupBox)
        self.autoScaledLabel.setObjectName("autoScaledLabel")
        self.gridLayout_2.addWidget(self.autoScaledLabel, 4, 0, 1, 1)
        self.line_2 = QtGui.QFrame(self.imagesetGroupBox)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridLayout_2.addWidget(self.line_2, 3, 0, 1, 3)
        self.verticalLayout.addWidget(self.imagesetGroupBox)
        self.imagesGroupBox = QtGui.QGroupBox(self.dockWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.imagesGroupBox.sizePolicy().hasHeightForWidth())
        self.imagesGroupBox.setSizePolicy(sizePolicy)
        self.imagesGroupBox.setMinimumSize(QtCore.QSize(0, 120))
        self.imagesGroupBox.setObjectName("imagesGroupBox")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.imagesGroupBox)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.widget = QtGui.QWidget(self.imagesGroupBox)
        self.widget.setObjectName("widget")
        self.horizontalLayout = QtGui.QHBoxLayout(self.widget)
        self.horizontalLayout.setSpacing(1)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.filterBox = QtGui.QLineEdit(self.widget)
        self.filterBox.setObjectName("filterBox")
        self.horizontalLayout.addWidget(self.filterBox)
        self.filterResetButton = QtGui.QPushButton(self.widget)
        self.filterResetButton.setText("")
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap("icons/imageset_editing/filter_reset.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.filterResetButton.setIcon(icon)
        self.filterResetButton.setIconSize(QtCore.QSize(16, 16))
        self.filterResetButton.setAutoDefault(False)
        self.filterResetButton.setDefault(False)
        self.filterResetButton.setFlat(False)
        self.filterResetButton.setObjectName("filterResetButton")
        self.horizontalLayout.addWidget(self.filterResetButton)
        self.verticalLayout_2.addWidget(self.widget)
        self.list = QtGui.QListWidget(self.imagesGroupBox)
        self.list.setEditTriggers(QtGui.QAbstractItemView.DoubleClicked|QtGui.QAbstractItemView.EditKeyPressed|QtGui.QAbstractItemView.SelectedClicked)
        self.list.setAlternatingRowColors(False)
        self.list.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.list.setIconSize(QtCore.QSize(32, 32))
        self.list.setSelectionRectVisible(True)
        self.list.setObjectName("list")
        self.verticalLayout_2.addWidget(self.list)
        self.verticalLayout.addWidget(self.imagesGroupBox)
        self.propertiesGroupBox = QtGui.QGroupBox(self.dockWidgetContents)
        self.propertiesGroupBox.setObjectName("propertiesGroupBox")
        self.gridLayout = QtGui.QGridLayout(self.propertiesGroupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.yColumnLabel = QtGui.QLabel(self.propertiesGroupBox)
        self.yColumnLabel.setAlignment(QtCore.Qt.AlignCenter)
        self.yColumnLabel.setObjectName("yColumnLabel")
        self.gridLayout.addWidget(self.yColumnLabel, 0, 2, 1, 1)
        self.sizeLabel = QtGui.QLabel(self.propertiesGroupBox)
        self.sizeLabel.setObjectName("sizeLabel")
        self.gridLayout.addWidget(self.sizeLabel, 2, 0, 1, 1)
        self.positionY = QtGui.QLineEdit(self.propertiesGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.positionY.sizePolicy().hasHeightForWidth())
        self.positionY.setSizePolicy(sizePolicy)
        self.positionY.setObjectName("positionY")
        self.gridLayout.addWidget(self.positionY, 1, 2, 1, 1)
        self.positionLabel = QtGui.QLabel(self.propertiesGroupBox)
        self.positionLabel.setObjectName("positionLabel")
        self.gridLayout.addWidget(self.positionLabel, 1, 0, 1, 1)
        self.autoScaledPerImageLabel = QtGui.QLabel(self.propertiesGroupBox)
        self.autoScaledPerImageLabel.setObjectName("autoScaledPerImageLabel")
        self.gridLayout.addWidget(self.autoScaledPerImageLabel, 5, 0, 1, 1)
        self.height = QtGui.QLineEdit(self.propertiesGroupBox)
        self.height.setObjectName("height")
        self.gridLayout.addWidget(self.height, 2, 2, 1, 1)
        self.width = QtGui.QLineEdit(self.propertiesGroupBox)
        self.width.setObjectName("width")
        self.gridLayout.addWidget(self.width, 2, 1, 1, 1)
        self.offsetX = QtGui.QLineEdit(self.propertiesGroupBox)
        self.offsetX.setObjectName("offsetX")
        self.gridLayout.addWidget(self.offsetX, 3, 1, 1, 1)
        self.offsetY = QtGui.QLineEdit(self.propertiesGroupBox)
        self.offsetY.setObjectName("offsetY")
        self.gridLayout.addWidget(self.offsetY, 3, 2, 1, 1)
        self.offsetLabel = QtGui.QLabel(self.propertiesGroupBox)
        self.offsetLabel.setObjectName("offsetLabel")
        self.gridLayout.addWidget(self.offsetLabel, 3, 0, 1, 1)
        self.positionX = QtGui.QLineEdit(self.propertiesGroupBox)
        self.positionX.setObjectName("positionX")
        self.gridLayout.addWidget(self.positionX, 1, 1, 1, 1)
        self.xColumnLabel = QtGui.QLabel(self.propertiesGroupBox)
        self.xColumnLabel.setAlignment(QtCore.Qt.AlignCenter)
        self.xColumnLabel.setObjectName("xColumnLabel")
        self.gridLayout.addWidget(self.xColumnLabel, 0, 1, 1, 1)
        self.autoScaledPerImage = QtGui.QComboBox(self.propertiesGroupBox)
        self.autoScaledPerImage.setObjectName("autoScaledPerImage")
        self.autoScaledPerImage.addItem("")
        self.autoScaledPerImage.setItemText(0, "")
        self.autoScaledPerImage.addItem("")
        self.autoScaledPerImage.addItem("")
        self.autoScaledPerImage.addItem("")
        self.autoScaledPerImage.addItem("")
        self.autoScaledPerImage.addItem("")
        self.autoScaledPerImage.addItem("")
        self.gridLayout.addWidget(self.autoScaledPerImage, 5, 1, 1, 2)
        self.nativeResPerImageLabel = QtGui.QLabel(self.propertiesGroupBox)
        self.nativeResPerImageLabel.setObjectName("nativeResPerImageLabel")
        self.gridLayout.addWidget(self.nativeResPerImageLabel, 6, 0, 1, 1)
        self.nativeHorzResPerImage = QtGui.QLineEdit(self.propertiesGroupBox)
        self.nativeHorzResPerImage.setObjectName("nativeHorzResPerImage")
        self.gridLayout.addWidget(self.nativeHorzResPerImage, 6, 1, 1, 1)
        self.nativeVertResPerImage = QtGui.QLineEdit(self.propertiesGroupBox)
        self.nativeVertResPerImage.setObjectName("nativeVertResPerImage")
        self.gridLayout.addWidget(self.nativeVertResPerImage, 6, 2, 1, 1)
        self.line = QtGui.QFrame(self.propertiesGroupBox)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout.addWidget(self.line, 4, 0, 1, 3)
        self.verticalLayout.addWidget(self.propertiesGroupBox)
        DockWidget.setWidget(self.dockWidgetContents)
        self.nameLabel.setBuddy(self.name)

        self.retranslateUi(DockWidget)
        QtCore.QObject.connect(self.filterResetButton, QtCore.SIGNAL("clicked()"), self.filterBox.clear)
        QtCore.QMetaObject.connectSlotsByName(DockWidget)
示例#7
0
    def setupUi(self, ProjectSettingsDialog):
        ProjectSettingsDialog.setObjectName("ProjectSettingsDialog")
        ProjectSettingsDialog.resize(600, 600)
        self.verticalLayout_2 = QtGui.QVBoxLayout(ProjectSettingsDialog)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.scrollArea = QtGui.QScrollArea(ProjectSettingsDialog)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents_2 = QtGui.QWidget()
        self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 562, 685))
        self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
        self.verticalLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents_2)
        self.verticalLayout.setObjectName("verticalLayout")
        self.basicSettings = QtGui.QGroupBox(self.scrollAreaWidgetContents_2)
        self.basicSettings.setObjectName("basicSettings")
        self.formLayout = QtGui.QFormLayout(self.basicSettings)
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName("formLayout")
        self.label_2 = QtGui.QLabel(self.basicSettings)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2)
        self.baseDirectory = FileLineEdit(self.basicSettings)
        self.baseDirectory.setObjectName("baseDirectory")
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.baseDirectory)
        self.label_10 = QtGui.QLabel(self.basicSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_10.sizePolicy().hasHeightForWidth())
        self.label_10.setSizePolicy(sizePolicy)
        self.label_10.setWordWrap(True)
        self.label_10.setObjectName("label_10")
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.label_10)
        self.label_11 = QtGui.QLabel(self.basicSettings)
        self.label_11.setObjectName("label_11")
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_11)
        self.CEGUIVersion = QtGui.QComboBox(self.basicSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.CEGUIVersion.sizePolicy().hasHeightForWidth())
        self.CEGUIVersion.setSizePolicy(sizePolicy)
        self.CEGUIVersion.setEditable(True)
        self.CEGUIVersion.setObjectName("CEGUIVersion")
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.CEGUIVersion)
        self.label_13 = QtGui.QLabel(self.basicSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_13.sizePolicy().hasHeightForWidth())
        self.label_13.setSizePolicy(sizePolicy)
        self.label_13.setWordWrap(True)
        self.label_13.setObjectName("label_13")
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.label_13)
        self.label = QtGui.QLabel(self.basicSettings)
        self.label.setObjectName("label")
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label)
        self.CEGUIDefaultResolution = QtGui.QComboBox(self.basicSettings)
        self.CEGUIDefaultResolution.setEditable(True)
        self.CEGUIDefaultResolution.setObjectName("CEGUIDefaultResolution")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.CEGUIDefaultResolution)
        self.label_15 = QtGui.QLabel(self.basicSettings)
        self.label_15.setWordWrap(True)
        self.label_15.setObjectName("label_15")
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.label_15)
        self.verticalLayout.addWidget(self.basicSettings)
        self.resourcePathSettings = QtGui.QGroupBox(self.scrollAreaWidgetContents_2)
        self.resourcePathSettings.setObjectName("resourcePathSettings")
        self.formLayout_2 = QtGui.QFormLayout(self.resourcePathSettings)
        self.formLayout_2.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_2.setObjectName("formLayout_2")
        self.label_3 = QtGui.QLabel(self.resourcePathSettings)
        self.label_3.setObjectName("label_3")
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_3)
        self.rootDirectoryContainer = QtGui.QWidget(self.resourcePathSettings)
        self.rootDirectoryContainer.setObjectName("rootDirectoryContainer")
        self.horizontalLayout = QtGui.QHBoxLayout(self.rootDirectoryContainer)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.resourceDirectory = FileLineEdit(self.rootDirectoryContainer)
        self.resourceDirectory.setObjectName("resourceDirectory")
        self.horizontalLayout.addWidget(self.resourceDirectory)
        self.resourceDirectoryApplyButton = QtGui.QPushButton(self.rootDirectoryContainer)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.resourceDirectoryApplyButton.sizePolicy().hasHeightForWidth())
        self.resourceDirectoryApplyButton.setSizePolicy(sizePolicy)
        self.resourceDirectoryApplyButton.setObjectName("resourceDirectoryApplyButton")
        self.horizontalLayout.addWidget(self.resourceDirectoryApplyButton)
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.FieldRole, self.rootDirectoryContainer)
        self.line_2 = QtGui.QFrame(self.resourcePathSettings)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.formLayout_2.setWidget(4, QtGui.QFormLayout.FieldRole, self.line_2)
        self.label_9 = QtGui.QLabel(self.resourcePathSettings)
        self.label_9.setWordWrap(True)
        self.label_9.setObjectName("label_9")
        self.formLayout_2.setWidget(5, QtGui.QFormLayout.FieldRole, self.label_9)
        self.label_4 = QtGui.QLabel(self.resourcePathSettings)
        self.label_4.setObjectName("label_4")
        self.formLayout_2.setWidget(6, QtGui.QFormLayout.LabelRole, self.label_4)
        self.imagesetsPath = FileLineEdit(self.resourcePathSettings)
        self.imagesetsPath.setObjectName("imagesetsPath")
        self.formLayout_2.setWidget(6, QtGui.QFormLayout.FieldRole, self.imagesetsPath)
        self.label_5 = QtGui.QLabel(self.resourcePathSettings)
        self.label_5.setObjectName("label_5")
        self.formLayout_2.setWidget(7, QtGui.QFormLayout.LabelRole, self.label_5)
        self.fontsPath = FileLineEdit(self.resourcePathSettings)
        self.fontsPath.setObjectName("fontsPath")
        self.formLayout_2.setWidget(7, QtGui.QFormLayout.FieldRole, self.fontsPath)
        self.label_7 = QtGui.QLabel(self.resourcePathSettings)
        self.label_7.setObjectName("label_7")
        self.formLayout_2.setWidget(8, QtGui.QFormLayout.LabelRole, self.label_7)
        self.looknfeelsPath = FileLineEdit(self.resourcePathSettings)
        self.looknfeelsPath.setObjectName("looknfeelsPath")
        self.formLayout_2.setWidget(8, QtGui.QFormLayout.FieldRole, self.looknfeelsPath)
        self.label_6 = QtGui.QLabel(self.resourcePathSettings)
        self.label_6.setObjectName("label_6")
        self.formLayout_2.setWidget(9, QtGui.QFormLayout.LabelRole, self.label_6)
        self.schemesPath = FileLineEdit(self.resourcePathSettings)
        self.schemesPath.setObjectName("schemesPath")
        self.formLayout_2.setWidget(9, QtGui.QFormLayout.FieldRole, self.schemesPath)
        self.label_8 = QtGui.QLabel(self.resourcePathSettings)
        self.label_8.setObjectName("label_8")
        self.formLayout_2.setWidget(10, QtGui.QFormLayout.LabelRole, self.label_8)
        self.layoutsPath = FileLineEdit(self.resourcePathSettings)
        self.layoutsPath.setObjectName("layoutsPath")
        self.formLayout_2.setWidget(10, QtGui.QFormLayout.FieldRole, self.layoutsPath)
        self.label_14 = QtGui.QLabel(self.resourcePathSettings)
        self.label_14.setObjectName("label_14")
        self.formLayout_2.setWidget(11, QtGui.QFormLayout.LabelRole, self.label_14)
        self.xmlSchemasPath = FileLineEdit(self.resourcePathSettings)
        self.xmlSchemasPath.setObjectName("xmlSchemasPath")
        self.formLayout_2.setWidget(11, QtGui.QFormLayout.FieldRole, self.xmlSchemasPath)
        self.line = QtGui.QFrame(self.resourcePathSettings)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.formLayout_2.setWidget(13, QtGui.QFormLayout.FieldRole, self.line)
        self.label_12 = QtGui.QLabel(self.resourcePathSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_12.sizePolicy().hasHeightForWidth())
        self.label_12.setSizePolicy(sizePolicy)
        self.label_12.setWordWrap(True)
        self.label_12.setObjectName("label_12")
        self.formLayout_2.setWidget(14, QtGui.QFormLayout.FieldRole, self.label_12)
        self.verticalLayout.addWidget(self.resourcePathSettings)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents_2)
        self.verticalLayout_2.addWidget(self.scrollArea)
        self.buttonBox = QtGui.QDialogButtonBox(ProjectSettingsDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setCenterButtons(False)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(ProjectSettingsDialog)
        self.CEGUIDefaultResolution.setCurrentIndex(2)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), ProjectSettingsDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), ProjectSettingsDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ProjectSettingsDialog)
示例#8
0
class Ui_ProjectSettingsDialog(object):
    def setupUi(self, ProjectSettingsDialog):
        ProjectSettingsDialog.setObjectName("ProjectSettingsDialog")
        ProjectSettingsDialog.resize(600, 600)
        self.verticalLayout_2 = QtGui.QVBoxLayout(ProjectSettingsDialog)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.scrollArea = QtGui.QScrollArea(ProjectSettingsDialog)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents_2 = QtGui.QWidget()
        self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 562, 685))
        self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
        self.verticalLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents_2)
        self.verticalLayout.setObjectName("verticalLayout")
        self.basicSettings = QtGui.QGroupBox(self.scrollAreaWidgetContents_2)
        self.basicSettings.setObjectName("basicSettings")
        self.formLayout = QtGui.QFormLayout(self.basicSettings)
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName("formLayout")
        self.label_2 = QtGui.QLabel(self.basicSettings)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2)
        self.baseDirectory = FileLineEdit(self.basicSettings)
        self.baseDirectory.setObjectName("baseDirectory")
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.baseDirectory)
        self.label_10 = QtGui.QLabel(self.basicSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_10.sizePolicy().hasHeightForWidth())
        self.label_10.setSizePolicy(sizePolicy)
        self.label_10.setWordWrap(True)
        self.label_10.setObjectName("label_10")
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.label_10)
        self.label_11 = QtGui.QLabel(self.basicSettings)
        self.label_11.setObjectName("label_11")
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_11)
        self.CEGUIVersion = QtGui.QComboBox(self.basicSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.CEGUIVersion.sizePolicy().hasHeightForWidth())
        self.CEGUIVersion.setSizePolicy(sizePolicy)
        self.CEGUIVersion.setEditable(True)
        self.CEGUIVersion.setObjectName("CEGUIVersion")
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.CEGUIVersion)
        self.label_13 = QtGui.QLabel(self.basicSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_13.sizePolicy().hasHeightForWidth())
        self.label_13.setSizePolicy(sizePolicy)
        self.label_13.setWordWrap(True)
        self.label_13.setObjectName("label_13")
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.label_13)
        self.label = QtGui.QLabel(self.basicSettings)
        self.label.setObjectName("label")
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label)
        self.CEGUIDefaultResolution = QtGui.QComboBox(self.basicSettings)
        self.CEGUIDefaultResolution.setEditable(True)
        self.CEGUIDefaultResolution.setObjectName("CEGUIDefaultResolution")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.CEGUIDefaultResolution.addItem("")
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.CEGUIDefaultResolution)
        self.label_15 = QtGui.QLabel(self.basicSettings)
        self.label_15.setWordWrap(True)
        self.label_15.setObjectName("label_15")
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.label_15)
        self.verticalLayout.addWidget(self.basicSettings)
        self.resourcePathSettings = QtGui.QGroupBox(self.scrollAreaWidgetContents_2)
        self.resourcePathSettings.setObjectName("resourcePathSettings")
        self.formLayout_2 = QtGui.QFormLayout(self.resourcePathSettings)
        self.formLayout_2.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_2.setObjectName("formLayout_2")
        self.label_3 = QtGui.QLabel(self.resourcePathSettings)
        self.label_3.setObjectName("label_3")
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_3)
        self.rootDirectoryContainer = QtGui.QWidget(self.resourcePathSettings)
        self.rootDirectoryContainer.setObjectName("rootDirectoryContainer")
        self.horizontalLayout = QtGui.QHBoxLayout(self.rootDirectoryContainer)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.resourceDirectory = FileLineEdit(self.rootDirectoryContainer)
        self.resourceDirectory.setObjectName("resourceDirectory")
        self.horizontalLayout.addWidget(self.resourceDirectory)
        self.resourceDirectoryApplyButton = QtGui.QPushButton(self.rootDirectoryContainer)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.resourceDirectoryApplyButton.sizePolicy().hasHeightForWidth())
        self.resourceDirectoryApplyButton.setSizePolicy(sizePolicy)
        self.resourceDirectoryApplyButton.setObjectName("resourceDirectoryApplyButton")
        self.horizontalLayout.addWidget(self.resourceDirectoryApplyButton)
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.FieldRole, self.rootDirectoryContainer)
        self.line_2 = QtGui.QFrame(self.resourcePathSettings)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.formLayout_2.setWidget(4, QtGui.QFormLayout.FieldRole, self.line_2)
        self.label_9 = QtGui.QLabel(self.resourcePathSettings)
        self.label_9.setWordWrap(True)
        self.label_9.setObjectName("label_9")
        self.formLayout_2.setWidget(5, QtGui.QFormLayout.FieldRole, self.label_9)
        self.label_4 = QtGui.QLabel(self.resourcePathSettings)
        self.label_4.setObjectName("label_4")
        self.formLayout_2.setWidget(6, QtGui.QFormLayout.LabelRole, self.label_4)
        self.imagesetsPath = FileLineEdit(self.resourcePathSettings)
        self.imagesetsPath.setObjectName("imagesetsPath")
        self.formLayout_2.setWidget(6, QtGui.QFormLayout.FieldRole, self.imagesetsPath)
        self.label_5 = QtGui.QLabel(self.resourcePathSettings)
        self.label_5.setObjectName("label_5")
        self.formLayout_2.setWidget(7, QtGui.QFormLayout.LabelRole, self.label_5)
        self.fontsPath = FileLineEdit(self.resourcePathSettings)
        self.fontsPath.setObjectName("fontsPath")
        self.formLayout_2.setWidget(7, QtGui.QFormLayout.FieldRole, self.fontsPath)
        self.label_7 = QtGui.QLabel(self.resourcePathSettings)
        self.label_7.setObjectName("label_7")
        self.formLayout_2.setWidget(8, QtGui.QFormLayout.LabelRole, self.label_7)
        self.looknfeelsPath = FileLineEdit(self.resourcePathSettings)
        self.looknfeelsPath.setObjectName("looknfeelsPath")
        self.formLayout_2.setWidget(8, QtGui.QFormLayout.FieldRole, self.looknfeelsPath)
        self.label_6 = QtGui.QLabel(self.resourcePathSettings)
        self.label_6.setObjectName("label_6")
        self.formLayout_2.setWidget(9, QtGui.QFormLayout.LabelRole, self.label_6)
        self.schemesPath = FileLineEdit(self.resourcePathSettings)
        self.schemesPath.setObjectName("schemesPath")
        self.formLayout_2.setWidget(9, QtGui.QFormLayout.FieldRole, self.schemesPath)
        self.label_8 = QtGui.QLabel(self.resourcePathSettings)
        self.label_8.setObjectName("label_8")
        self.formLayout_2.setWidget(10, QtGui.QFormLayout.LabelRole, self.label_8)
        self.layoutsPath = FileLineEdit(self.resourcePathSettings)
        self.layoutsPath.setObjectName("layoutsPath")
        self.formLayout_2.setWidget(10, QtGui.QFormLayout.FieldRole, self.layoutsPath)
        self.label_14 = QtGui.QLabel(self.resourcePathSettings)
        self.label_14.setObjectName("label_14")
        self.formLayout_2.setWidget(11, QtGui.QFormLayout.LabelRole, self.label_14)
        self.xmlSchemasPath = FileLineEdit(self.resourcePathSettings)
        self.xmlSchemasPath.setObjectName("xmlSchemasPath")
        self.formLayout_2.setWidget(11, QtGui.QFormLayout.FieldRole, self.xmlSchemasPath)
        self.line = QtGui.QFrame(self.resourcePathSettings)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.formLayout_2.setWidget(13, QtGui.QFormLayout.FieldRole, self.line)
        self.label_12 = QtGui.QLabel(self.resourcePathSettings)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_12.sizePolicy().hasHeightForWidth())
        self.label_12.setSizePolicy(sizePolicy)
        self.label_12.setWordWrap(True)
        self.label_12.setObjectName("label_12")
        self.formLayout_2.setWidget(14, QtGui.QFormLayout.FieldRole, self.label_12)
        self.verticalLayout.addWidget(self.resourcePathSettings)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents_2)
        self.verticalLayout_2.addWidget(self.scrollArea)
        self.buttonBox = QtGui.QDialogButtonBox(ProjectSettingsDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setCenterButtons(False)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(ProjectSettingsDialog)
        self.CEGUIDefaultResolution.setCurrentIndex(2)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), ProjectSettingsDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), ProjectSettingsDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ProjectSettingsDialog)

    def retranslateUi(self, ProjectSettingsDialog):
        ProjectSettingsDialog.setWindowTitle(QtGui.QApplication.translate("ProjectSettingsDialog", "Project settings", None, QtGui.QApplication.UnicodeUTF8))
        self.basicSettings.setTitle(QtGui.QApplication.translate("ProjectSettingsDialog", "Basic settings", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("ProjectSettingsDialog", "Base directory", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("ProjectSettingsDialog", "Even though base directory is shown as absolute path here, it\'s stored relative to the directory where the project file is. Be very careful when changing this, all paths might be rendered invalid when changing this!", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(QtGui.QApplication.translate("ProjectSettingsDialog", "Target CEGUI version", None, QtGui.QApplication.UnicodeUTF8))
        self.label_13.setText(QtGui.QApplication.translate("ProjectSettingsDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Ubuntu\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Warning:</span> Target CEGUI version is what this editor will assume your assets are in when loading all the schemes found and when opening any files when this project is opened! Changing this in existing projects with potentially incompatible datafiles might be disastrous, you definitely want to migrate your project to a newer version instead in that case.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("ProjectSettingsDialog", "Default CEGUI resolution", None, QtGui.QApplication.UnicodeUTF8))
        self.CEGUIDefaultResolution.setItemText(0, QtGui.QApplication.translate("ProjectSettingsDialog", "800x600", None, QtGui.QApplication.UnicodeUTF8))
        self.CEGUIDefaultResolution.setItemText(1, QtGui.QApplication.translate("ProjectSettingsDialog", "1024x768", None, QtGui.QApplication.UnicodeUTF8))
        self.CEGUIDefaultResolution.setItemText(2, QtGui.QApplication.translate("ProjectSettingsDialog", "1280x720", None, QtGui.QApplication.UnicodeUTF8))
        self.CEGUIDefaultResolution.setItemText(3, QtGui.QApplication.translate("ProjectSettingsDialog", "1600x1200", None, QtGui.QApplication.UnicodeUTF8))
        self.CEGUIDefaultResolution.setItemText(4, QtGui.QApplication.translate("ProjectSettingsDialog", "1650x1050", None, QtGui.QApplication.UnicodeUTF8))
        self.CEGUIDefaultResolution.setItemText(5, QtGui.QApplication.translate("ProjectSettingsDialog", "1920x1080", None, QtGui.QApplication.UnicodeUTF8))
        self.label_15.setText(QtGui.QApplication.translate("ProjectSettingsDialog", "This is the resolution that CEGUI embedded instances will be at when their resolution is at \'Project default\'.", None, QtGui.QApplication.UnicodeUTF8))
        self.resourcePathSettings.setTitle(QtGui.QApplication.translate("ProjectSettingsDialog", "CEGUI resource paths settings", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("ProjectSettingsDialog", "Resource directory", None, QtGui.QApplication.UnicodeUTF8))
        self.rootDirectoryContainer.setToolTip(QtGui.QApplication.translate("ProjectSettingsDialog", "Setting this automatically sets all the following paths according to CEGUI\'s usual scheme.", None, QtGui.QApplication.UnicodeUTF8))
        self.resourceDirectoryApplyButton.setText(QtGui.QApplication.translate("ProjectSettingsDialog", "Apply", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("ProjectSettingsDialog", "Use resource directory as a time saver only, it\'s not actually saved in the project file, it just sets the 5 paths according to CEGUI\'s standard scheme used in demos and stock datafiles.", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("ProjectSettingsDialog", "Imagesets", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("ProjectSettingsDialog", "Fonts", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("ProjectSettingsDialog", "LookNFeels", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("ProjectSettingsDialog", "Schemes", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("ProjectSettingsDialog", "Layouts", None, QtGui.QApplication.UnicodeUTF8))
        self.label_14.setText(QtGui.QApplication.translate("ProjectSettingsDialog", "XML Schemas", None, QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(QtGui.QApplication.translate("ProjectSettingsDialog", "Even though these paths are shown as absolute paths here, they are saved as relative paths (relative to the resource directory). This way your project may be shared with other developers, for example with a version control system.", None, QtGui.QApplication.UnicodeUTF8))