Exemplo n.º 1
0
class Ui_GdalToolsWidget(object):
    def setupUi(self, GdalToolsWidget):
        GdalToolsWidget.setObjectName(_fromUtf8("GdalToolsWidget"))
        GdalToolsWidget.resize(335, 429)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(GdalToolsWidget.sizePolicy().hasHeightForWidth())
        GdalToolsWidget.setSizePolicy(sizePolicy)
        self.verticalLayout_2 = QtGui.QVBoxLayout(GdalToolsWidget)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.batchCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.batchCheck.setObjectName(_fromUtf8("batchCheck"))
        self.verticalLayout_2.addWidget(self.batchCheck)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_3 = QtGui.QLabel(GdalToolsWidget)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
        self.label_2 = QtGui.QLabel(GdalToolsWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.formatLabel = QtGui.QLabel(GdalToolsWidget)
        self.formatLabel.setObjectName(_fromUtf8("formatLabel"))
        self.gridLayout.addWidget(self.formatLabel, 2, 0, 1, 1)
        self.formatCombo = QtGui.QComboBox(GdalToolsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.formatCombo.sizePolicy().hasHeightForWidth())
        self.formatCombo.setSizePolicy(sizePolicy)
        self.formatCombo.setObjectName(_fromUtf8("formatCombo"))
        self.gridLayout.addWidget(self.formatCombo, 2, 1, 1, 1)
        self.targetSRSCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.targetSRSCheck.setObjectName(_fromUtf8("targetSRSCheck"))
        self.gridLayout.addWidget(self.targetSRSCheck, 3, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.targetSRSEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.targetSRSEdit.setMinimumSize(QtCore.QSize(100, 0))
        self.targetSRSEdit.setObjectName(_fromUtf8("targetSRSEdit"))
        self.horizontalLayout.addWidget(self.targetSRSEdit)
        self.selectTargetSRSButton = QtGui.QPushButton(GdalToolsWidget)
        self.selectTargetSRSButton.setObjectName(_fromUtf8("selectTargetSRSButton"))
        self.horizontalLayout.addWidget(self.selectTargetSRSButton)
        self.gridLayout.addLayout(self.horizontalLayout, 3, 1, 1, 1)
        self.outsizeCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.outsizeCheck.setMaximumSize(QtCore.QSize(100, 16777215))
        self.outsizeCheck.setObjectName(_fromUtf8("outsizeCheck"))
        self.gridLayout.addWidget(self.outsizeCheck, 4, 0, 1, 1)
        self.outsizeSpin = QtGui.QSpinBox(GdalToolsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.outsizeSpin.sizePolicy().hasHeightForWidth())
        self.outsizeSpin.setSizePolicy(sizePolicy)
        self.outsizeSpin.setMinimum(1)
        self.outsizeSpin.setMaximum(1000)
        self.outsizeSpin.setObjectName(_fromUtf8("outsizeSpin"))
        self.gridLayout.addWidget(self.outsizeSpin, 4, 1, 1, 1)
        self.nodataCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.nodataCheck.setObjectName(_fromUtf8("nodataCheck"))
        self.gridLayout.addWidget(self.nodataCheck, 5, 0, 1, 1)
        self.expandCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.expandCheck.setObjectName(_fromUtf8("expandCheck"))
        self.gridLayout.addWidget(self.expandCheck, 6, 0, 1, 1)
        self.expandCombo = QtGui.QComboBox(GdalToolsWidget)
        self.expandCombo.setObjectName(_fromUtf8("expandCombo"))
        self.expandCombo.addItem(_fromUtf8(""))
        self.expandCombo.addItem(_fromUtf8(""))
        self.expandCombo.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.expandCombo, 6, 1, 1, 1)
        self.srcwinCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.srcwinCheck.setObjectName(_fromUtf8("srcwinCheck"))
        self.gridLayout.addWidget(self.srcwinCheck, 7, 0, 1, 1)
        self.srcwinEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.srcwinEdit.setObjectName(_fromUtf8("srcwinEdit"))
        self.gridLayout.addWidget(self.srcwinEdit, 7, 1, 1, 1)
        self.prjwinCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.prjwinCheck.setObjectName(_fromUtf8("prjwinCheck"))
        self.gridLayout.addWidget(self.prjwinCheck, 8, 0, 1, 1)
        self.prjwinEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.prjwinEdit.setObjectName(_fromUtf8("prjwinEdit"))
        self.gridLayout.addWidget(self.prjwinEdit, 8, 1, 1, 1)
        self.sdsCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.sdsCheck.setObjectName(_fromUtf8("sdsCheck"))
        self.gridLayout.addWidget(self.sdsCheck, 9, 0, 1, 1)
        self.nodataSpin = QtGui.QSpinBox(GdalToolsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.nodataSpin.sizePolicy().hasHeightForWidth())
        self.nodataSpin.setSizePolicy(sizePolicy)
        self.nodataSpin.setMinimum(-999999999)
        self.nodataSpin.setMaximum(999999999)
        self.nodataSpin.setObjectName(_fromUtf8("nodataSpin"))
        self.gridLayout.addWidget(self.nodataSpin, 5, 1, 1, 1)
        self.inSelector = GdalToolsInOutSelector(GdalToolsWidget)
        self.inSelector.setObjectName(_fromUtf8("inSelector"))
        self.gridLayout.addWidget(self.inSelector, 0, 1, 1, 1)
        self.outSelector = GdalToolsInOutSelector(GdalToolsWidget)
        self.outSelector.setObjectName(_fromUtf8("outSelector"))
        self.gridLayout.addWidget(self.outSelector, 1, 1, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout)
        self.creationOptionsGroupBox = QgsCollapsibleGroupBox(GdalToolsWidget)
        self.creationOptionsGroupBox.setProperty("collapsed", False)
        self.creationOptionsGroupBox.setProperty("saveCollapsedState", True)
        self.creationOptionsGroupBox.setCheckable(True)
        self.creationOptionsGroupBox.setChecked(False)
        self.creationOptionsGroupBox.setObjectName(_fromUtf8("creationOptionsGroupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.creationOptionsGroupBox)
        self.verticalLayout.setContentsMargins(9, -1, -1, 9)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.creationOptionsWidget = QgsRasterFormatSaveOptionsWidget(self.creationOptionsGroupBox)
        self.creationOptionsWidget.setObjectName(_fromUtf8("creationOptionsWidget"))
        self.verticalLayout.addWidget(self.creationOptionsWidget)
        self.verticalLayout_2.addWidget(self.creationOptionsGroupBox)
        self.progressBar = QtGui.QProgressBar(GdalToolsWidget)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.verticalLayout_2.addWidget(self.progressBar)
        self.label_3.setBuddy(self.inSelector)
        self.label_2.setBuddy(self.outSelector)

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

    def retranslateUi(self, GdalToolsWidget):
        GdalToolsWidget.setWindowTitle(_translate("GdalToolsWidget", "Translate (Convert format)", None))
        self.batchCheck.setText(_translate("GdalToolsWidget", "Batch mode (for processing whole directory)", None))
        self.label_3.setText(_translate("GdalToolsWidget", "&Input Layer", None))
        self.label_2.setText(_translate("GdalToolsWidget", "&Output file", None))
        self.formatLabel.setText(_translate("GdalToolsWidget", "Output format", None))
        self.targetSRSCheck.setText(_translate("GdalToolsWidget", "&Target SRS", None))
        self.selectTargetSRSButton.setText(_translate("GdalToolsWidget", "Select...", None))
        self.outsizeCheck.setToolTip(_translate("GdalToolsWidget", "Percentage to resize image. This will change pixel size/image resolution accordingly: 25% will create an image with pixels 4x larger.", None))
        self.outsizeCheck.setText(_translate("GdalToolsWidget", "Outsize", None))
        self.outsizeSpin.setToolTip(_translate("GdalToolsWidget", "Percentage to resize image. This will change pixel size/image resolution accordingly: 25% will create an image with pixels 4x larger.", None))
        self.outsizeSpin.setSuffix(_translate("GdalToolsWidget", "%", None))
        self.nodataCheck.setToolTip(_translate("GdalToolsWidget", "Assign a specified nodata value to output bands.", None))
        self.nodataCheck.setText(_translate("GdalToolsWidget", "No data", None))
        self.expandCheck.setToolTip(_translate("GdalToolsWidget", "To expose a dataset with 1 band with a color table as a dataset with 3 (RGB) or 4 (RGBA) bands. \n"
"Useful for output drivers such as JPEG, JPEG2000, MrSID, ECW that don\'t support color indexed datasets. \n"
"The \'gray\' value (from GDAL 1.7.0) enables to expand a dataset with a color table that only contains gray levels to a gray indexed dataset.", None))
        self.expandCheck.setText(_translate("GdalToolsWidget", "Expand", None))
        self.expandCombo.setToolTip(_translate("GdalToolsWidget", "To expose a dataset with 1 band with a color table as a dataset with 3 (RGB) or 4 (RGBA) bands. \n"
"Useful for output drivers such as JPEG, JPEG2000, MrSID, ECW that don\'t support color indexed datasets. \n"
"The \'gray\' value (from GDAL 1.7.0) enables to expand a dataset with a color table that only contains gray levels to a gray indexed dataset.", None))
        self.expandCombo.setItemText(0, _translate("GdalToolsWidget", "Gray", None))
        self.expandCombo.setItemText(1, _translate("GdalToolsWidget", "RGB", None))
        self.expandCombo.setItemText(2, _translate("GdalToolsWidget", "RGBA", None))
        self.srcwinCheck.setToolTip(_translate("GdalToolsWidget", "Selects a subwindow from the source image for copying based on pixel/line location. (Enter Xoff Yoff Xsize Ysize)", None))
        self.srcwinCheck.setText(_translate("GdalToolsWidget", "Srcwin", None))
        self.srcwinEdit.setToolTip(_translate("GdalToolsWidget", "Selects a subwindow from the source image for copying based on pixel/line location. (Enter Xoff Yoff Xsize Ysize)", None))
        self.prjwinCheck.setToolTip(_translate("GdalToolsWidget", "Selects a subwindow from the source image for copying (like -srcwin) but with the corners given in georeferenced coordinates. (Enter ulx uly lrx lry)", None))
        self.prjwinCheck.setText(_translate("GdalToolsWidget", "Prjwin", None))
        self.prjwinEdit.setToolTip(_translate("GdalToolsWidget", "Selects a subwindow from the source image for copying (like -srcwin) but with the corners given in georeferenced coordinates. (Enter ulx uly lrx lry)", None))
        self.sdsCheck.setToolTip(_translate("GdalToolsWidget", "Copy all subdatasets of this file to individual output files. Use with formats like HDF or OGDI that have subdatasets.", None))
        self.sdsCheck.setText(_translate("GdalToolsWidget", "Sds", None))
        self.nodataSpin.setToolTip(_translate("GdalToolsWidget", "Assign a specified nodata value to output bands.", None))
        self.creationOptionsGroupBox.setTitle(_translate("GdalToolsWidget", "&Creation Options", None))
class Ui_PrintFragmentDialogBase(object):
    def setupUi(self, PrintFragmentDialogBase):
        PrintFragmentDialogBase.setObjectName("PrintFragmentDialogBase")
        PrintFragmentDialogBase.resize(395, 614)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(PrintFragmentDialogBase.sizePolicy().hasHeightForWidth())
        PrintFragmentDialogBase.setSizePolicy(sizePolicy)
        PrintFragmentDialogBase.setMinimumSize(QtCore.QSize(0, 0))
        PrintFragmentDialogBase.setMaximumSize(QtCore.QSize(5000, 5000))
        PrintFragmentDialogBase.setSizeGripEnabled(False)
        PrintFragmentDialogBase.setModal(False)
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(PrintFragmentDialogBase)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.radio_shablonPrint = QtWidgets.QRadioButton(PrintFragmentDialogBase)
        self.radio_shablonPrint.setObjectName("radio_shablonPrint")
        self.verticalLayout_6.addWidget(self.radio_shablonPrint)
        self.groupBox_ShablonPrint = QtWidgets.QGroupBox(PrintFragmentDialogBase)
        self.groupBox_ShablonPrint.setTitle("")
        self.groupBox_ShablonPrint.setCheckable(False)
        self.groupBox_ShablonPrint.setChecked(False)
        self.groupBox_ShablonPrint.setObjectName("groupBox_ShablonPrint")
        self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.groupBox_ShablonPrint)
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.comboBox_3 = QtWidgets.QComboBox(self.groupBox_ShablonPrint)
        self.comboBox_3.setMaxVisibleItems(30)
        self.comboBox_3.setObjectName("comboBox_3")
        self.verticalLayout_10.addWidget(self.comboBox_3)
        self.verticalLayout_6.addWidget(self.groupBox_ShablonPrint)
        self.line_3 = QtWidgets.QFrame(PrintFragmentDialogBase)
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.verticalLayout_6.addWidget(self.line_3)
        self.radio_userPrint = QtWidgets.QRadioButton(PrintFragmentDialogBase)
        self.radio_userPrint.setObjectName("radio_userPrint")
        self.verticalLayout_6.addWidget(self.radio_userPrint)
        self.groupBox_userPrint = QgsCollapsibleGroupBox(PrintFragmentDialogBase)
        self.groupBox_userPrint.setTitle("")
        self.groupBox_userPrint.setCheckable(False)
        self.groupBox_userPrint.setChecked(False)
        self.groupBox_userPrint.setObjectName("groupBox_userPrint")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox_userPrint)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox_Headers = QgsCollapsibleGroupBox(self.groupBox_userPrint)
        self.groupBox_Headers.setCheckable(True)
        self.groupBox_Headers.setChecked(False)
        self.groupBox_Headers.setCollapsed(False)
        self.groupBox_Headers.setObjectName("groupBox_Headers")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupBox_Headers)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setHorizontalSpacing(6)
        self.formLayout.setVerticalSpacing(1)
        self.formLayout.setObjectName("formLayout")
        self.label_12 = QtWidgets.QLabel(self.groupBox_Headers)
        self.label_12.setObjectName("label_12")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_12)
        self.comboBox = QtWidgets.QComboBox(self.groupBox_Headers)
        self.comboBox.setMaxVisibleItems(20)
        self.comboBox.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToMinimumContentsLength)
        self.comboBox.setObjectName("comboBox")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.comboBox)
        self.label_11 = QtWidgets.QLabel(self.groupBox_Headers)
        self.label_11.setObjectName("label_11")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_11)
        self.lineEdit_4 = QtWidgets.QLineEdit(self.groupBox_Headers)
        self.lineEdit_4.setObjectName("lineEdit_4")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.lineEdit_4)
        self.label_4 = QtWidgets.QLabel(self.groupBox_Headers)
        self.label_4.setObjectName("label_4")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_4)
        self.lineEdit_5 = QtWidgets.QLineEdit(self.groupBox_Headers)
        self.lineEdit_5.setObjectName("lineEdit_5")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.lineEdit_5)
        self.verticalLayout_7.addLayout(self.formLayout)
        self.verticalLayout.addWidget(self.groupBox_Headers)
        self.groupBox = QtWidgets.QGroupBox(self.groupBox_userPrint)
        self.groupBox.setFlat(False)
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout_4.setContentsMargins(-1, -1, -1, 4)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.comboBox_2 = QtWidgets.QComboBox(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_2.sizePolicy().hasHeightForWidth())
        self.comboBox_2.setSizePolicy(sizePolicy)
        self.comboBox_2.setObjectName("comboBox_2")
        self.horizontalLayout_2.addWidget(self.comboBox_2)
        self.lineEdit_2 = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_2.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_2.sizePolicy().hasHeightForWidth())
        self.lineEdit_2.setSizePolicy(sizePolicy)
        self.lineEdit_2.setMaximumSize(QtCore.QSize(70, 16777215))
        self.lineEdit_2.setObjectName("lineEdit_2")
        self.horizontalLayout_2.addWidget(self.lineEdit_2)
        self.label_3 = QtWidgets.QLabel(self.groupBox)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_2.addWidget(self.label_3)
        self.lineEdit_3 = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_3.setEnabled(False)
        self.lineEdit_3.setMaximumSize(QtCore.QSize(70, 16777215))
        self.lineEdit_3.setObjectName("lineEdit_3")
        self.horizontalLayout_2.addWidget(self.lineEdit_3)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.spinBox_scale = QtWidgets.QSpinBox(self.groupBox)
        self.spinBox_scale.setMinimumSize(QtCore.QSize(0, 0))
        self.spinBox_scale.setMaximum(1000000)
        self.spinBox_scale.setSingleStep(100)
        self.spinBox_scale.setProperty("value", 2000)
        self.spinBox_scale.setObjectName("spinBox_scale")
        self.horizontalLayout_3.addWidget(self.spinBox_scale)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
        self.checkBox_Frame = QtWidgets.QCheckBox(self.groupBox)
        self.checkBox_Frame.setChecked(False)
        self.checkBox_Frame.setObjectName("checkBox_Frame")
        self.verticalLayout_3.addWidget(self.checkBox_Frame)
        self.horizontalLayout_4.addLayout(self.verticalLayout_3)
        self.groupBox_2 = QtWidgets.QGroupBox(self.groupBox)
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.radioButton = QtWidgets.QRadioButton(self.groupBox_2)
        self.radioButton.setChecked(True)
        self.radioButton.setObjectName("radioButton")
        self.verticalLayout_2.addWidget(self.radioButton)
        self.radioButton_2 = QtWidgets.QRadioButton(self.groupBox_2)
        self.radioButton_2.setObjectName("radioButton_2")
        self.verticalLayout_2.addWidget(self.radioButton_2)
        self.horizontalLayout_4.addWidget(self.groupBox_2)
        self.verticalLayout.addWidget(self.groupBox)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.groupBox_6 = QtWidgets.QGroupBox(self.groupBox_userPrint)
        self.groupBox_6.setFlat(False)
        self.groupBox_6.setObjectName("groupBox_6")
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.groupBox_6)
        self.horizontalLayout_9.setContentsMargins(-1, 1, -1, 7)
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label_6 = QtWidgets.QLabel(self.groupBox_6)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 0, 0, 1, 1)
        self.spinBox_Top = QtWidgets.QSpinBox(self.groupBox_6)
        self.spinBox_Top.setMaximum(500)
        self.spinBox_Top.setProperty("value", 10)
        self.spinBox_Top.setObjectName("spinBox_Top")
        self.gridLayout.addWidget(self.spinBox_Top, 0, 1, 1, 1)
        self.label_9 = QtWidgets.QLabel(self.groupBox_6)
        self.label_9.setObjectName("label_9")
        self.gridLayout.addWidget(self.label_9, 0, 2, 1, 1)
        self.spinBox_Right = QtWidgets.QSpinBox(self.groupBox_6)
        self.spinBox_Right.setMaximum(500)
        self.spinBox_Right.setProperty("value", 10)
        self.spinBox_Right.setObjectName("spinBox_Right")
        self.gridLayout.addWidget(self.spinBox_Right, 0, 3, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.groupBox_6)
        self.label_7.setObjectName("label_7")
        self.gridLayout.addWidget(self.label_7, 1, 0, 1, 1)
        self.spinBox_Left = QtWidgets.QSpinBox(self.groupBox_6)
        self.spinBox_Left.setMaximum(500)
        self.spinBox_Left.setProperty("value", 10)
        self.spinBox_Left.setObjectName("spinBox_Left")
        self.gridLayout.addWidget(self.spinBox_Left, 1, 1, 1, 1)
        self.label_10 = QtWidgets.QLabel(self.groupBox_6)
        self.label_10.setObjectName("label_10")
        self.gridLayout.addWidget(self.label_10, 1, 2, 1, 1)
        self.spinBox_Bottom = QtWidgets.QSpinBox(self.groupBox_6)
        self.spinBox_Bottom.setMaximum(500)
        self.spinBox_Bottom.setProperty("value", 10)
        self.spinBox_Bottom.setObjectName("spinBox_Bottom")
        self.gridLayout.addWidget(self.spinBox_Bottom, 1, 3, 1, 1)
        self.horizontalLayout_9.addLayout(self.gridLayout)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_9.addItem(spacerItem1)
        self.horizontalLayout.addWidget(self.groupBox_6)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.groupBox_Legend = QgsCollapsibleGroupBox(self.groupBox_userPrint)
        self.groupBox_Legend.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_Legend.setStyleSheet("QgsCollapsibleGroupBoxBasic::title, QgsCollapsibleGroupBox::title {  subcontrol-origin: margin;  subcontrol-position: top left;  margin-left: 20px;  margin-right: 5px;  left: 0px;  top: 2px;}")
        self.groupBox_Legend.setCheckable(True)
        self.groupBox_Legend.setChecked(False)
        self.groupBox_Legend.setCollapsed(False)
        self.groupBox_Legend.setSaveCheckedState(False)
        self.groupBox_Legend.setObjectName("groupBox_Legend")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.groupBox_Legend)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout()
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.radioButton_legenduser = QtWidgets.QRadioButton(self.groupBox_Legend)
        self.radioButton_legenduser.setChecked(True)
        self.radioButton_legenduser.setObjectName("radioButton_legenduser")
        self.verticalLayout_5.addWidget(self.radioButton_legenduser)
        self.frame_user = QtWidgets.QFrame(self.groupBox_Legend)
        self.frame_user.setFrameShape(QtWidgets.QFrame.StyledPanel)
        self.frame_user.setFrameShadow(QtWidgets.QFrame.Raised)
        self.frame_user.setObjectName("frame_user")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.frame_user)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.line_2 = QtWidgets.QFrame(self.frame_user)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.verticalLayout_4.addWidget(self.line_2)
        self.formLayout_3 = QtWidgets.QFormLayout()
        self.formLayout_3.setObjectName("formLayout_3")
        self.checkBox_Layer_Header = QtWidgets.QCheckBox(self.frame_user)
        self.checkBox_Layer_Header.setObjectName("checkBox_Layer_Header")
        self.formLayout_3.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.checkBox_Layer_Header)
        self.spinBox = QtWidgets.QSpinBox(self.frame_user)
        self.spinBox.setMaximum(200)
        self.spinBox.setProperty("value", 70)
        self.spinBox.setObjectName("spinBox")
        self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.spinBox)
        self.label_5 = QtWidgets.QLabel(self.frame_user)
        self.label_5.setObjectName("label_5")
        self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_5)
        self.verticalLayout_4.addLayout(self.formLayout_3)
        self.verticalLayout_5.addWidget(self.frame_user)
        self.horizontalLayout_5.addLayout(self.verticalLayout_5)
        self.line = QtWidgets.QFrame(self.groupBox_Legend)
        self.line.setFrameShape(QtWidgets.QFrame.VLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.horizontalLayout_5.addWidget(self.line)
        self.verticalLayout_8 = QtWidgets.QVBoxLayout()
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.radioButton_legendauto = QtWidgets.QRadioButton(self.groupBox_Legend)
        self.radioButton_legendauto.setChecked(False)
        self.radioButton_legendauto.setObjectName("radioButton_legendauto")
        self.verticalLayout_8.addWidget(self.radioButton_legendauto)
        spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_8.addItem(spacerItem2)
        self.horizontalLayout_5.addLayout(self.verticalLayout_8)
        spacerItem3 = QtWidgets.QSpacerItem(87, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem3)
        self.verticalLayout.addWidget(self.groupBox_Legend)
        self.verticalLayout_6.addWidget(self.groupBox_userPrint)
        spacerItem4 = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_6.addItem(spacerItem4)
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/plugins/_PrintTools/comp_print/icons/about.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem5)
        self.button_box = QtWidgets.QDialogButtonBox(PrintFragmentDialogBase)
        self.button_box.setOrientation(QtCore.Qt.Horizontal)
        self.button_box.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.button_box.setObjectName("button_box")
        self.horizontalLayout_8.addWidget(self.button_box)
        self.verticalLayout_6.addLayout(self.horizontalLayout_8)
        font = QtGui.QFont()
        font.setFamily("MS Shell Dlg 2")
        font.setPointSize(7)
        font.setItalic(True)

        self.retranslateUi(PrintFragmentDialogBase)
        self.button_box.accepted.connect(PrintFragmentDialogBase.accept)
        self.button_box.rejected.connect(PrintFragmentDialogBase.reject)
        self.radioButton_legenduser.toggled['bool'].connect(self.frame_user.setEnabled)
        self.radio_userPrint.toggled['bool'].connect(self.groupBox_userPrint.setEnabled)
        self.radio_shablonPrint.toggled['bool'].connect(self.groupBox_ShablonPrint.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(PrintFragmentDialogBase)
        PrintFragmentDialogBase.setTabOrder(self.groupBox_ShablonPrint, self.comboBox_3)
        PrintFragmentDialogBase.setTabOrder(self.comboBox_3, self.comboBox)
        PrintFragmentDialogBase.setTabOrder(self.comboBox, self.comboBox_2)
        PrintFragmentDialogBase.setTabOrder(self.comboBox_2, self.lineEdit_2)
        PrintFragmentDialogBase.setTabOrder(self.lineEdit_2, self.lineEdit_3)
        PrintFragmentDialogBase.setTabOrder(self.lineEdit_3, self.radioButton)
        PrintFragmentDialogBase.setTabOrder(self.radioButton, self.radioButton_2)
        PrintFragmentDialogBase.setTabOrder(self.radioButton_2, self.spinBox)

    def retranslateUi(self, PrintFragmentDialogBase):
        _translate = QtCore.QCoreApplication.translate
        PrintFragmentDialogBase.setWindowTitle(_translate("PrintFragmentDialogBase", "Печать фрагмента карты"))
        self.radio_shablonPrint.setText(_translate("PrintFragmentDialogBase", "Печать из шаблона"))
        self.radio_userPrint.setText(_translate("PrintFragmentDialogBase", "Ручные настройки печати"))
        self.groupBox_Headers.setTitle(_translate("PrintFragmentDialogBase", "Заголовки"))
        self.label_12.setText(_translate("PrintFragmentDialogBase", "Шаблон"))
        self.comboBox.setToolTip(_translate("PrintFragmentDialogBase", "Предустановленные заголовки при необходимости"))
        self.label_11.setText(_translate("PrintFragmentDialogBase", "Заголовок"))
        self.lineEdit_4.setToolTip(_translate("PrintFragmentDialogBase", "Текст заголовка при необходимости"))
        self.label_4.setText(_translate("PrintFragmentDialogBase", "Подзаголовок"))
        self.lineEdit_5.setToolTip(_translate("PrintFragmentDialogBase", "Текст подзаголовка при необходимости"))
        self.groupBox.setTitle(_translate("PrintFragmentDialogBase", "Формат листа"))
        self.comboBox_2.setToolTip(_translate("PrintFragmentDialogBase", "Размер листа бумаги"))
        self.label_3.setText(_translate("PrintFragmentDialogBase", "х"))
        self.spinBox_scale.setPrefix(_translate("PrintFragmentDialogBase", "Масштаб: "))
        self.checkBox_Frame.setToolTip(_translate("PrintFragmentDialogBase", "Отдельная рамка в виде прозрачного прямоугольника вместо встроенной рамки карты. Позволяет в макете наносить маску под рамкой."))
        self.checkBox_Frame.setText(_translate("PrintFragmentDialogBase", "Отдельная рамка"))
        self.groupBox_2.setTitle(_translate("PrintFragmentDialogBase", "Ориентация бумаги"))
        self.radioButton.setText(_translate("PrintFragmentDialogBase", "Вертикальная"))
        self.radioButton_2.setText(_translate("PrintFragmentDialogBase", "Горизонтальная"))
        self.groupBox_6.setTitle(_translate("PrintFragmentDialogBase", "Поля"))
        self.label_6.setText(_translate("PrintFragmentDialogBase", "Верхнее"))
        self.label_9.setText(_translate("PrintFragmentDialogBase", "Правое"))
        self.label_7.setText(_translate("PrintFragmentDialogBase", "Левое"))
        self.label_10.setText(_translate("PrintFragmentDialogBase", "Нижнее"))
        self.groupBox_Legend.setTitle(_translate("PrintFragmentDialogBase", "Легенда"))
        self.radioButton_legenduser.setToolTip(_translate("PrintFragmentDialogBase", "Легенда, разбитая на отдельные элементы по слоям."))
        self.radioButton_legenduser.setText(_translate("PrintFragmentDialogBase", "Пользовательская"))
        self.checkBox_Layer_Header.setText(_translate("PrintFragmentDialogBase", "Подгруппы"))
        self.spinBox.setToolTip(_translate("PrintFragmentDialogBase", "Размер места, отведенного под легенду, внизу листа."))
        self.label_5.setText(_translate("PrintFragmentDialogBase", "Размер легенды (мм)"))
        self.radioButton_legendauto.setToolTip(_translate("PrintFragmentDialogBase", "Встроенная легенда как один элемент макета."))
        self.radioButton_legendauto.setText(_translate("PrintFragmentDialogBase", "QGIS"))
Exemplo n.º 3
0
class Ui_STDMWizard(object):
    def setupUi(self, STDMWizard):
        STDMWizard.setObjectName(_fromUtf8("STDMWizard"))
        STDMWizard.setWindowModality(QtCore.Qt.WindowModal)
        STDMWizard.resize(840, 638)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            STDMWizard.sizePolicy().hasHeightForWidth())
        STDMWizard.setSizePolicy(sizePolicy)
        STDMWizard.setMinimumSize(QtCore.QSize(720, 100))
        STDMWizard.setBaseSize(QtCore.QSize(0, 460))
        icon = QtGui.QIcon()
        icon.addPixmap(
            QtGui.QPixmap(
                _fromUtf8(
                    ":/plugins/stdm/images/icons/flts_database_designer.png")),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        STDMWizard.setWindowIcon(icon)
        STDMWizard.setModal(True)
        STDMWizard.setWizardStyle(QtGui.QWizard.ModernStyle)
        STDMWizard.setOptions(QtGui.QWizard.HaveCustomButton1
                              | QtGui.QWizard.HelpButtonOnRight)
        self.wpLicense = QtGui.QWizardPage()
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.wpLicense.setFont(font)
        self.wpLicense.setObjectName(_fromUtf8("wpLicense"))
        self.gridLayout_2 = QtGui.QGridLayout(self.wpLicense)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.groupBox_16 = QtGui.QGroupBox(self.wpLicense)
        self.groupBox_16.setObjectName(_fromUtf8("groupBox_16"))
        self.gridLayout_20 = QtGui.QGridLayout(self.groupBox_16)
        self.gridLayout_20.setObjectName(_fromUtf8("gridLayout_20"))
        self.rbAccpt = QtGui.QRadioButton(self.groupBox_16)
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.rbAccpt.setFont(font)
        self.rbAccpt.setChecked(False)
        self.rbAccpt.setObjectName(_fromUtf8("rbAccpt"))
        self.gridLayout_20.addWidget(self.rbAccpt, 2, 0, 1, 1)
        self.rbReject = QtGui.QRadioButton(self.groupBox_16)
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.rbReject.setFont(font)
        self.rbReject.setCheckable(True)
        self.rbReject.setChecked(False)
        self.rbReject.setObjectName(_fromUtf8("rbReject"))
        self.gridLayout_20.addWidget(self.rbReject, 2, 1, 1, 1)
        self.txtLicense = QtGui.QTextEdit(self.groupBox_16)
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.txtLicense.setFont(font)
        self.txtLicense.setFrameShape(QtGui.QFrame.NoFrame)
        self.txtLicense.setFrameShadow(QtGui.QFrame.Raised)
        self.txtLicense.setObjectName(_fromUtf8("txtLicense"))
        self.gridLayout_20.addWidget(self.txtLicense, 1, 0, 1, 2)
        self.gridLayout_2.addWidget(self.groupBox_16, 0, 0, 1, 1)
        STDMWizard.addPage(self.wpLicense)
        self.wpPathSetting = QtGui.QWizardPage()
        self.wpPathSetting.setObjectName(_fromUtf8("wpPathSetting"))
        self.formLayout_2 = QtGui.QFormLayout(self.wpPathSetting)
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setSizeConstraint(QtGui.QLayout.SetNoConstraint)
        self.gridLayout.setContentsMargins(-1, 20, -1, -1)
        self.gridLayout.setVerticalSpacing(100)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.btnTemplates = QtGui.QPushButton(self.wpPathSetting)
        self.btnTemplates.setMinimumSize(QtCore.QSize(0, 30))
        icon1 = QtGui.QIcon()
        icon1.addPixmap(
            QtGui.QPixmap(
                _fromUtf8(
                    ":/plugins/stdm/images/icons/flts_scheme_docs_dir.png")),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnTemplates.setIcon(icon1)
        self.btnTemplates.setObjectName(_fromUtf8("btnTemplates"))
        self.gridLayout.addWidget(self.btnTemplates, 2, 2, 1, 1)
        self.btnDocOutput = QtGui.QPushButton(self.wpPathSetting)
        self.btnDocOutput.setMinimumSize(QtCore.QSize(0, 30))
        self.btnDocOutput.setIcon(icon1)
        self.btnDocOutput.setObjectName(_fromUtf8("btnDocOutput"))
        self.gridLayout.addWidget(self.btnDocOutput, 1, 2, 1, 1)
        self.edtTemplatePath = QtGui.QLineEdit(self.wpPathSetting)
        self.edtTemplatePath.setMinimumSize(QtCore.QSize(0, 30))
        self.edtTemplatePath.setReadOnly(True)
        self.edtTemplatePath.setObjectName(_fromUtf8("edtTemplatePath"))
        self.gridLayout.addWidget(self.edtTemplatePath, 2, 1, 1, 1)
        self.label_37 = QtGui.QLabel(self.wpPathSetting)
        self.label_37.setMinimumSize(QtCore.QSize(0, 0))
        self.label_37.setObjectName(_fromUtf8("label_37"))
        self.gridLayout.addWidget(self.label_37, 0, 0, 1, 1)
        self.label_4 = QtGui.QLabel(self.wpPathSetting)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1)
        self.label_31 = QtGui.QLabel(self.wpPathSetting)
        self.label_31.setObjectName(_fromUtf8("label_31"))
        self.gridLayout.addWidget(self.label_31, 1, 0, 1, 1)
        self.edtOutputPath = QtGui.QLineEdit(self.wpPathSetting)
        self.edtOutputPath.setMinimumSize(QtCore.QSize(0, 30))
        self.edtOutputPath.setReadOnly(True)
        self.edtOutputPath.setObjectName(_fromUtf8("edtOutputPath"))
        self.gridLayout.addWidget(self.edtOutputPath, 1, 1, 1, 1)
        self.btnDocPath = QtGui.QPushButton(self.wpPathSetting)
        self.btnDocPath.setMinimumSize(QtCore.QSize(0, 30))
        self.btnDocPath.setIcon(icon1)
        self.btnDocPath.setObjectName(_fromUtf8("btnDocPath"))
        self.gridLayout.addWidget(self.btnDocPath, 0, 2, 1, 1)
        self.edtDocPath = QtGui.QLineEdit(self.wpPathSetting)
        self.edtDocPath.setMinimumSize(QtCore.QSize(0, 30))
        self.edtDocPath.setToolTip(_fromUtf8(""))
        self.edtDocPath.setText(_fromUtf8(""))
        self.edtDocPath.setReadOnly(True)
        self.edtDocPath.setObjectName(_fromUtf8("edtDocPath"))
        self.gridLayout.addWidget(self.edtDocPath, 0, 1, 1, 1)
        self.formLayout_2.setLayout(0, QtGui.QFormLayout.SpanningRole,
                                    self.gridLayout)
        STDMWizard.addPage(self.wpPathSetting)
        self.wpProfile = QtGui.QWizardPage()
        self.wpProfile.setObjectName(_fromUtf8("wpProfile"))
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.wpProfile)
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.groupBox_17 = QtGui.QGroupBox(self.wpProfile)
        self.groupBox_17.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_17.setMaximumSize(QtCore.QSize(13900, 300))
        self.groupBox_17.setObjectName(_fromUtf8("groupBox_17"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBox_17)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.gridLayout_6 = QtGui.QGridLayout()
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.btnCopy = QtGui.QPushButton(self.groupBox_17)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnCopy.sizePolicy().hasHeightForWidth())
        self.btnCopy.setSizePolicy(sizePolicy)
        self.btnCopy.setMinimumSize(QtCore.QSize(0, 30))
        self.btnCopy.setMaximumSize(QtCore.QSize(150, 16777215))
        icon2 = QtGui.QIcon()
        icon2.addPixmap(
            QtGui.QPixmap(
                _fromUtf8(":/plugins/stdm/images/icons/composer_table.png")),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnCopy.setIcon(icon2)
        self.btnCopy.setObjectName(_fromUtf8("btnCopy"))
        self.gridLayout_6.addWidget(self.btnCopy, 0, 3, 1, 1)
        self.btnPDelete = QtGui.QPushButton(self.groupBox_17)
        self.btnPDelete.setMinimumSize(QtCore.QSize(0, 30))
        self.btnPDelete.setMaximumSize(QtCore.QSize(150, 16777215))
        icon3 = QtGui.QIcon()
        icon3.addPixmap(
            QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/remove.png")),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnPDelete.setIcon(icon3)
        self.btnPDelete.setObjectName(_fromUtf8("btnPDelete"))
        self.gridLayout_6.addWidget(self.btnPDelete, 0, 4, 1, 1)
        self.cboProfile = QtGui.QComboBox(self.groupBox_17)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cboProfile.sizePolicy().hasHeightForWidth())
        self.cboProfile.setSizePolicy(sizePolicy)
        self.cboProfile.setMinimumSize(QtCore.QSize(10, 30))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.cboProfile.setFont(font)
        self.cboProfile.setObjectName(_fromUtf8("cboProfile"))
        self.gridLayout_6.addWidget(self.cboProfile, 0, 1, 1, 1)
        self.label = QtGui.QLabel(self.groupBox_17)
        self.label.setMinimumSize(QtCore.QSize(50, 0))
        self.label.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(False)
        font.setWeight(50)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_6.addWidget(self.label, 0, 0, 1, 1)
        self.btnNewP = QtGui.QPushButton(self.groupBox_17)
        self.btnNewP.setMinimumSize(QtCore.QSize(0, 30))
        self.btnNewP.setMaximumSize(QtCore.QSize(150, 16777215))
        icon4 = QtGui.QIcon()
        icon4.addPixmap(
            QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/add.png")),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnNewP.setIcon(icon4)
        self.btnNewP.setObjectName(_fromUtf8("btnNewP"))
        self.gridLayout_6.addWidget(self.btnNewP, 0, 2, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox_17)
        self.label_3.setMargin(0)
        self.label_3.setIndent(-1)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_6.addWidget(self.label_3, 1, 0, 1, 1)
        self.edtDesc = QtGui.QLineEdit(self.groupBox_17)
        self.edtDesc.setObjectName(_fromUtf8("edtDesc"))
        self.gridLayout_6.addWidget(self.edtDesc, 1, 1, 1, 4)
        self.verticalLayout_4.addLayout(self.gridLayout_6)
        self.widget = QtGui.QWidget(self.groupBox_17)
        self.widget.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.verticalLayout_4.addWidget(self.widget)
        self.verticalLayout_7.addWidget(self.groupBox_17)
        self.groupBox_18 = QtGui.QGroupBox(self.wpProfile)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox_18.sizePolicy().hasHeightForWidth())
        self.groupBox_18.setSizePolicy(sizePolicy)
        self.groupBox_18.setMinimumSize(QtCore.QSize(0, 300))
        self.groupBox_18.setMaximumSize(QtCore.QSize(169999, 169999))
        self.groupBox_18.setStyleSheet(
            _fromUtf8("font: 75 9pt \"Myriad Web Pro\";"))
        self.groupBox_18.setObjectName(_fromUtf8("groupBox_18"))
        self.formLayout_3 = QtGui.QFormLayout(self.groupBox_18)
        self.formLayout_3.setFieldGrowthPolicy(
            QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_3.setObjectName(_fromUtf8("formLayout_3"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.btnNewEntity = QtGui.QPushButton(self.groupBox_18)
        self.btnNewEntity.setMinimumSize(QtCore.QSize(30, 25))
        self.btnNewEntity.setMaximumSize(QtCore.QSize(30, 25))
        self.btnNewEntity.setBaseSize(QtCore.QSize(30, 25))
        self.btnNewEntity.setText(_fromUtf8(""))
        self.btnNewEntity.setIcon(icon4)
        self.btnNewEntity.setObjectName(_fromUtf8("btnNewEntity"))
        self.horizontalLayout.addWidget(self.btnNewEntity)
        self.btnEditEntity = QtGui.QPushButton(self.groupBox_18)
        self.btnEditEntity.setMinimumSize(QtCore.QSize(30, 25))
        self.btnEditEntity.setMaximumSize(QtCore.QSize(30, 25))
        self.btnEditEntity.setText(_fromUtf8(""))
        icon5 = QtGui.QIcon()
        icon5.addPixmap(
            QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/edit.png")),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnEditEntity.setIcon(icon5)
        self.btnEditEntity.setObjectName(_fromUtf8("btnEditEntity"))
        self.horizontalLayout.addWidget(self.btnEditEntity)
        self.btnDeleteEntity = QtGui.QPushButton(self.groupBox_18)
        self.btnDeleteEntity.setMinimumSize(QtCore.QSize(30, 25))
        self.btnDeleteEntity.setMaximumSize(QtCore.QSize(30, 25))
        self.btnDeleteEntity.setText(_fromUtf8(""))
        icon6 = QtGui.QIcon()
        icon6.addPixmap(
            QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/delete.png")),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnDeleteEntity.setIcon(icon6)
        self.btnDeleteEntity.setObjectName(_fromUtf8("btnDeleteEntity"))
        self.horizontalLayout.addWidget(self.btnDeleteEntity)
        self.formLayout_3.setLayout(0, QtGui.QFormLayout.LabelRole,
                                    self.horizontalLayout)
        self.pftableView = QtGui.QTableView(self.groupBox_18)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(
            self.pftableView.sizePolicy().hasHeightForWidth())
        self.pftableView.setSizePolicy(sizePolicy)
        self.pftableView.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.pftableView.setSelectionMode(
            QtGui.QAbstractItemView.SingleSelection)
        self.pftableView.setSelectionBehavior(
            QtGui.QAbstractItemView.SelectRows)
        self.pftableView.setObjectName(_fromUtf8("pftableView"))
        self.pftableView.horizontalHeader().setStretchLastSection(True)
        self.formLayout_3.setWidget(1, QtGui.QFormLayout.SpanningRole,
                                    self.pftableView)
        self.verticalLayout_7.addWidget(self.groupBox_18)
        STDMWizard.addPage(self.wpProfile)
        self.wpEntityCustom = QtGui.QWizardPage()
        self.wpEntityCustom.setObjectName(_fromUtf8("wpEntityCustom"))
        self.verticalLayout_9 = QtGui.QVBoxLayout(self.wpEntityCustom)
        self.verticalLayout_9.setObjectName(_fromUtf8("verticalLayout_9"))
        self.splitter_3 = QtGui.QSplitter(self.wpEntityCustom)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.splitter_3.sizePolicy().hasHeightForWidth())
        self.splitter_3.setSizePolicy(sizePolicy)
        self.splitter_3.setOrientation(QtCore.Qt.Vertical)
        self.splitter_3.setObjectName(_fromUtf8("splitter_3"))
        self.splitter = QtGui.QSplitter(self.splitter_3)
        self.splitter.setMinimumSize(QtCore.QSize(100, 100))
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.groupBox = QtGui.QGroupBox(self.splitter)
        self.groupBox.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout_8 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_8.setSpacing(5)
        self.verticalLayout_8.setMargin(5)
        self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8"))
        self.lvEntities = QtGui.QListView(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(
            self.lvEntities.sizePolicy().hasHeightForWidth())
        self.lvEntities.setSizePolicy(sizePolicy)
        self.lvEntities.setMinimumSize(QtCore.QSize(0, 0))
        self.lvEntities.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lvEntities.setSelectionBehavior(
            QtGui.QAbstractItemView.SelectRows)
        self.lvEntities.setObjectName(_fromUtf8("lvEntities"))
        self.verticalLayout_8.addWidget(self.lvEntities)
        self.groupBox_2 = QtGui.QGroupBox(self.splitter)
        self.groupBox_2.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout.setMargin(5)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.btnAddColumn = QtGui.QPushButton(self.groupBox_2)
        self.btnAddColumn.setMinimumSize(QtCore.QSize(30, 25))
        self.btnAddColumn.setMaximumSize(QtCore.QSize(30, 25))
        self.btnAddColumn.setText(_fromUtf8(""))
        self.btnAddColumn.setIcon(icon4)
        self.btnAddColumn.setIconSize(QtCore.QSize(20, 20))
        self.btnAddColumn.setObjectName(_fromUtf8("btnAddColumn"))
        self.horizontalLayout_2.addWidget(self.btnAddColumn)
        self.btnEditColumn = QtGui.QPushButton(self.groupBox_2)
        self.btnEditColumn.setMinimumSize(QtCore.QSize(30, 25))
        self.btnEditColumn.setMaximumSize(QtCore.QSize(30, 25))
        self.btnEditColumn.setText(_fromUtf8(""))
        self.btnEditColumn.setIcon(icon5)
        self.btnEditColumn.setIconSize(QtCore.QSize(20, 20))
        self.btnEditColumn.setObjectName(_fromUtf8("btnEditColumn"))
        self.horizontalLayout_2.addWidget(self.btnEditColumn)
        self.btnDeleteColumn = QtGui.QPushButton(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnDeleteColumn.sizePolicy().hasHeightForWidth())
        self.btnDeleteColumn.setSizePolicy(sizePolicy)
        self.btnDeleteColumn.setMinimumSize(QtCore.QSize(30, 25))
        self.btnDeleteColumn.setMaximumSize(QtCore.QSize(30, 25))
        self.btnDeleteColumn.setText(_fromUtf8(""))
        self.btnDeleteColumn.setIcon(icon6)
        self.btnDeleteColumn.setObjectName(_fromUtf8("btnDeleteColumn"))
        self.horizontalLayout_2.addWidget(self.btnDeleteColumn)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.tbvColumns = QtGui.QTableView(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(
            self.tbvColumns.sizePolicy().hasHeightForWidth())
        self.tbvColumns.setSizePolicy(sizePolicy)
        self.tbvColumns.setMinimumSize(QtCore.QSize(0, 0))
        self.tbvColumns.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.tbvColumns.setFrameShape(QtGui.QFrame.StyledPanel)
        self.tbvColumns.setFrameShadow(QtGui.QFrame.Sunken)
        self.tbvColumns.setSelectionMode(
            QtGui.QAbstractItemView.SingleSelection)
        self.tbvColumns.setSelectionBehavior(
            QtGui.QAbstractItemView.SelectRows)
        self.tbvColumns.setObjectName(_fromUtf8("tbvColumns"))
        self.tbvColumns.horizontalHeader().setDefaultSectionSize(130)
        self.tbvColumns.horizontalHeader().setStretchLastSection(True)
        self.tbvColumns.verticalHeader().setDefaultSectionSize(30)
        self.verticalLayout.addWidget(self.tbvColumns)
        self.splitter_2 = QtGui.QSplitter(self.splitter_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.splitter_2.sizePolicy().hasHeightForWidth())
        self.splitter_2.setSizePolicy(sizePolicy)
        self.splitter_2.setMinimumSize(QtCore.QSize(100, 100))
        self.splitter_2.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.splitter_2.setBaseSize(QtCore.QSize(0, 230))
        self.splitter_2.setOrientation(QtCore.Qt.Horizontal)
        self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
        self.groupBox_5 = QtGui.QGroupBox(self.splitter_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox_5.sizePolicy().hasHeightForWidth())
        self.groupBox_5.setSizePolicy(sizePolicy)
        self.groupBox_5.setMinimumSize(QtCore.QSize(100, 20))
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox_5)
        self.verticalLayout_3.setSpacing(7)
        self.verticalLayout_3.setMargin(5)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setSpacing(6)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.btnAddLookup = QtGui.QPushButton(self.groupBox_5)
        self.btnAddLookup.setMinimumSize(QtCore.QSize(30, 25))
        self.btnAddLookup.setMaximumSize(QtCore.QSize(30, 25))
        self.btnAddLookup.setText(_fromUtf8(""))
        self.btnAddLookup.setIcon(icon4)
        self.btnAddLookup.setObjectName(_fromUtf8("btnAddLookup"))
        self.horizontalLayout_4.addWidget(self.btnAddLookup)
        self.btnEditLookup = QtGui.QPushButton(self.groupBox_5)
        self.btnEditLookup.setMinimumSize(QtCore.QSize(30, 25))
        self.btnEditLookup.setMaximumSize(QtCore.QSize(30, 25))
        self.btnEditLookup.setText(_fromUtf8(""))
        self.btnEditLookup.setIcon(icon5)
        self.btnEditLookup.setObjectName(_fromUtf8("btnEditLookup"))
        self.horizontalLayout_4.addWidget(self.btnEditLookup)
        self.btnDeleteLookup = QtGui.QPushButton(self.groupBox_5)
        self.btnDeleteLookup.setMinimumSize(QtCore.QSize(30, 25))
        self.btnDeleteLookup.setMaximumSize(QtCore.QSize(30, 25))
        self.btnDeleteLookup.setText(_fromUtf8(""))
        self.btnDeleteLookup.setIcon(icon6)
        self.btnDeleteLookup.setObjectName(_fromUtf8("btnDeleteLookup"))
        self.horizontalLayout_4.addWidget(self.btnDeleteLookup)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem1)
        self.verticalLayout_3.addLayout(self.horizontalLayout_4)
        self.lvLookups = QtGui.QListView(self.groupBox_5)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(
            self.lvLookups.sizePolicy().hasHeightForWidth())
        self.lvLookups.setSizePolicy(sizePolicy)
        self.lvLookups.setMinimumSize(QtCore.QSize(0, 0))
        self.lvLookups.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lvLookups.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.lvLookups.setObjectName(_fromUtf8("lvLookups"))
        self.verticalLayout_3.addWidget(self.lvLookups)
        self.groupBox_6 = QtGui.QGroupBox(self.splitter_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox_6.sizePolicy().hasHeightForWidth())
        self.groupBox_6.setSizePolicy(sizePolicy)
        self.groupBox_6.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_6.setObjectName(_fromUtf8("groupBox_6"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_6)
        self.verticalLayout_2.setMargin(5)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.btnAddLkupValue = QtGui.QPushButton(self.groupBox_6)
        self.btnAddLkupValue.setMinimumSize(QtCore.QSize(30, 25))
        self.btnAddLkupValue.setMaximumSize(QtCore.QSize(30, 25))
        self.btnAddLkupValue.setText(_fromUtf8(""))
        self.btnAddLkupValue.setIcon(icon4)
        self.btnAddLkupValue.setObjectName(_fromUtf8("btnAddLkupValue"))
        self.horizontalLayout_5.addWidget(self.btnAddLkupValue)
        self.btnEditLkupValue = QtGui.QPushButton(self.groupBox_6)
        self.btnEditLkupValue.setMinimumSize(QtCore.QSize(30, 25))
        self.btnEditLkupValue.setMaximumSize(QtCore.QSize(30, 25))
        self.btnEditLkupValue.setText(_fromUtf8(""))
        self.btnEditLkupValue.setIcon(icon5)
        self.btnEditLkupValue.setObjectName(_fromUtf8("btnEditLkupValue"))
        self.horizontalLayout_5.addWidget(self.btnEditLkupValue)
        self.btnDeleteLkupValue = QtGui.QPushButton(self.groupBox_6)
        self.btnDeleteLkupValue.setMinimumSize(QtCore.QSize(30, 25))
        self.btnDeleteLkupValue.setMaximumSize(QtCore.QSize(30, 25))
        self.btnDeleteLkupValue.setText(_fromUtf8(""))
        self.btnDeleteLkupValue.setIcon(icon6)
        self.btnDeleteLkupValue.setObjectName(_fromUtf8("btnDeleteLkupValue"))
        self.horizontalLayout_5.addWidget(self.btnDeleteLkupValue)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem2)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        self.lvLookupValues = QtGui.QListView(self.groupBox_6)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(
            self.lvLookupValues.sizePolicy().hasHeightForWidth())
        self.lvLookupValues.setSizePolicy(sizePolicy)
        self.lvLookupValues.setMinimumSize(QtCore.QSize(0, 0))
        self.lvLookupValues.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lvLookupValues.setSelectionBehavior(
            QtGui.QAbstractItemView.SelectRows)
        self.lvLookupValues.setObjectName(_fromUtf8("lvLookupValues"))
        self.verticalLayout_2.addWidget(self.lvLookupValues)
        self.verticalLayout_9.addWidget(self.splitter_3)
        STDMWizard.addPage(self.wpEntityCustom)
        self.wpSTR = QtGui.QWizardPage()
        self.wpSTR.setObjectName(_fromUtf8("wpSTR"))
        self.gridLayout_3 = QtGui.QGridLayout(self.wpSTR)
        self.gridLayout_3.setContentsMargins(2, 4, 2, 4)
        self.gridLayout_3.setHorizontalSpacing(6)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.dg_tenure = ProfileTenureDiagram(self.wpSTR)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.dg_tenure.sizePolicy().hasHeightForWidth())
        self.dg_tenure.setSizePolicy(sizePolicy)
        self.dg_tenure.setMinimumSize(QtCore.QSize(100, 320))
        self.dg_tenure.setObjectName(_fromUtf8("dg_tenure"))
        self.gridLayout_3.addWidget(self.dg_tenure, 1, 1, 1, 1)
        self.scrollArea = QtGui.QScrollArea(self.wpSTR)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.scrollArea.sizePolicy().hasHeightForWidth())
        self.scrollArea.setSizePolicy(sizePolicy)
        self.scrollArea.setMinimumSize(QtCore.QSize(50, 0))
        self.scrollArea.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents_2 = QtGui.QWidget()
        self.scrollAreaWidgetContents_2.setGeometry(
            QtCore.QRect(0, 0, 224, 624))
        self.scrollAreaWidgetContents_2.setObjectName(
            _fromUtf8("scrollAreaWidgetContents_2"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(
            self.scrollAreaWidgetContents_2)
        self.verticalLayout_5.setSpacing(5)
        self.verticalLayout_5.setContentsMargins(3, 0, 2, 1)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.label_5 = QtGui.QLabel(self.scrollAreaWidgetContents_2)
        self.label_5.setMinimumSize(QtCore.QSize(0, 0))
        self.label_5.setMaximumSize(QtCore.QSize(300, 16777215))
        self.label_5.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
                                  | QtCore.Qt.AlignVCenter)
        self.label_5.setWordWrap(True)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.verticalLayout_5.addWidget(self.label_5)
        self.lst_parties = STRPartyListView(self.scrollAreaWidgetContents_2)
        self.lst_parties.setMaximumSize(QtCore.QSize(16777215, 120))
        self.lst_parties.setObjectName(_fromUtf8("lst_parties"))
        self.verticalLayout_5.addWidget(self.lst_parties)
        self.cbMultiParty = QtGui.QCheckBox(self.scrollAreaWidgetContents_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cbMultiParty.sizePolicy().hasHeightForWidth())
        self.cbMultiParty.setSizePolicy(sizePolicy)
        self.cbMultiParty.setObjectName(_fromUtf8("cbMultiParty"))
        self.verticalLayout_5.addWidget(self.cbMultiParty)
        self.label_6 = QtGui.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_6.sizePolicy().hasHeightForWidth())
        self.label_6.setSizePolicy(sizePolicy)
        self.label_6.setMinimumSize(QtCore.QSize(0, 0))
        self.label_6.setMaximumSize(QtCore.QSize(300, 16777215))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.verticalLayout_5.addWidget(self.label_6)
        self.lst_spatial_units = STRSpatialUnitListView(
            self.scrollAreaWidgetContents_2)
        self.lst_spatial_units.setMaximumSize(QtCore.QSize(16777215, 120))
        self.lst_spatial_units.setObjectName(_fromUtf8("lst_spatial_units"))
        self.verticalLayout_5.addWidget(self.lst_spatial_units)
        self.btn_sp_units_tenure = QtGui.QPushButton(
            self.scrollAreaWidgetContents_2)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(
            QtGui.QPixmap(
                _fromUtf8(":/plugins/stdm/images/icons/social_tenure.png")),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btn_sp_units_tenure.setIcon(icon7)
        self.btn_sp_units_tenure.setObjectName(
            _fromUtf8("btn_sp_units_tenure"))
        self.verticalLayout_5.addWidget(self.btn_sp_units_tenure)
        self.label_7 = QtGui.QLabel(self.scrollAreaWidgetContents_2)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.verticalLayout_5.addWidget(self.label_7)
        self.gb_start_dates = QgsCollapsibleGroupBox(
            self.scrollAreaWidgetContents_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.gb_start_dates.sizePolicy().hasHeightForWidth())
        self.gb_start_dates.setSizePolicy(sizePolicy)
        self.gb_start_dates.setCheckable(True)
        self.gb_start_dates.setChecked(False)
        self.gb_start_dates.setObjectName(_fromUtf8("gb_start_dates"))
        self.gridLayout_4 = QtGui.QGridLayout(self.gb_start_dates)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.label_8 = QtGui.QLabel(self.gb_start_dates)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout_4.addWidget(self.label_8, 0, 0, 1, 1)
        self.dt_start_minimum = QtGui.QDateEdit(self.gb_start_dates)
        self.dt_start_minimum.setCalendarPopup(True)
        self.dt_start_minimum.setObjectName(_fromUtf8("dt_start_minimum"))
        self.gridLayout_4.addWidget(self.dt_start_minimum, 0, 1, 1, 1)
        self.label_9 = QtGui.QLabel(self.gb_start_dates)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout_4.addWidget(self.label_9, 1, 0, 1, 1)
        self.dt_start_maximum = QtGui.QDateEdit(self.gb_start_dates)
        self.dt_start_maximum.setCalendarPopup(True)
        self.dt_start_maximum.setObjectName(_fromUtf8("dt_start_maximum"))
        self.gridLayout_4.addWidget(self.dt_start_maximum, 1, 1, 1, 1)
        self.verticalLayout_5.addWidget(self.gb_start_dates)
        self.gb_end_dates = QgsCollapsibleGroupBox(
            self.scrollAreaWidgetContents_2)
        self.gb_end_dates.setCheckable(True)
        self.gb_end_dates.setChecked(False)
        self.gb_end_dates.setObjectName(_fromUtf8("gb_end_dates"))
        self.gridLayout_5 = QtGui.QGridLayout(self.gb_end_dates)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.label_10 = QtGui.QLabel(self.gb_end_dates)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.gridLayout_5.addWidget(self.label_10, 0, 0, 1, 1)
        self.dt_end_minimum = QtGui.QDateEdit(self.gb_end_dates)
        self.dt_end_minimum.setCalendarPopup(True)
        self.dt_end_minimum.setObjectName(_fromUtf8("dt_end_minimum"))
        self.gridLayout_5.addWidget(self.dt_end_minimum, 0, 1, 1, 1)
        self.label_11 = QtGui.QLabel(self.gb_end_dates)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.gridLayout_5.addWidget(self.label_11, 1, 0, 1, 1)
        self.dt_end_maximum = QtGui.QDateEdit(self.gb_end_dates)
        self.dt_end_maximum.setCalendarPopup(True)
        self.dt_end_maximum.setObjectName(_fromUtf8("dt_end_maximum"))
        self.gridLayout_5.addWidget(self.dt_end_maximum, 1, 1, 1, 1)
        self.verticalLayout_5.addWidget(self.gb_end_dates)
        self.label_12 = QtGui.QLabel(self.scrollAreaWidgetContents_2)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.verticalLayout_5.addWidget(self.label_12)
        self.btn_custom_attrs = QtGui.QPushButton(
            self.scrollAreaWidgetContents_2)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(
            QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/column.png")),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btn_custom_attrs.setIcon(icon8)
        self.btn_custom_attrs.setObjectName(_fromUtf8("btn_custom_attrs"))
        self.verticalLayout_5.addWidget(self.btn_custom_attrs)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem3)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents_2)
        self.gridLayout_3.addWidget(self.scrollArea, 1, 0, 1, 1)
        self.vl_notification_str = QtGui.QVBoxLayout()
        self.vl_notification_str.setObjectName(
            _fromUtf8("vl_notification_str"))
        self.gridLayout_3.addLayout(self.vl_notification_str, 0, 0, 1, 2)
        STDMWizard.addPage(self.wpSTR)
        self.wpSaveProfile = QtGui.QWizardPage()
        self.wpSaveProfile.setObjectName(_fromUtf8("wpSaveProfile"))
        self.formLayout_10 = QtGui.QFormLayout(self.wpSaveProfile)
        self.formLayout_10.setObjectName(_fromUtf8("formLayout_10"))
        self.label_2 = QtGui.QLabel(self.wpSaveProfile)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout_10.setWidget(0, QtGui.QFormLayout.LabelRole,
                                     self.label_2)
        self.txtHtml = QtGui.QTextEdit(self.wpSaveProfile)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(
            self.txtHtml.sizePolicy().hasHeightForWidth())
        self.txtHtml.setSizePolicy(sizePolicy)
        self.txtHtml.setReadOnly(True)
        self.txtHtml.setObjectName(_fromUtf8("txtHtml"))
        self.formLayout_10.setWidget(1, QtGui.QFormLayout.SpanningRole,
                                     self.txtHtml)
        STDMWizard.addPage(self.wpSaveProfile)

        self.retranslateUi(STDMWizard)
        QtCore.QMetaObject.connectSlotsByName(STDMWizard)
        STDMWizard.setTabOrder(self.rbAccpt, self.cboProfile)
        STDMWizard.setTabOrder(self.cboProfile, self.rbReject)
        STDMWizard.setTabOrder(self.rbReject, self.btnPDelete)
        STDMWizard.setTabOrder(self.btnPDelete, self.btnNewP)
        STDMWizard.setTabOrder(self.btnNewP, self.pftableView)
        STDMWizard.setTabOrder(self.pftableView, self.btnNewEntity)
        STDMWizard.setTabOrder(self.btnNewEntity, self.btnEditEntity)
        STDMWizard.setTabOrder(self.btnEditEntity, self.btnDeleteEntity)
        STDMWizard.setTabOrder(self.btnDeleteEntity, self.btnDeleteColumn)
        STDMWizard.setTabOrder(self.btnDeleteColumn, self.btnEditColumn)
        STDMWizard.setTabOrder(self.btnEditColumn, self.btnAddColumn)
        STDMWizard.setTabOrder(self.btnAddColumn, self.tbvColumns)
        STDMWizard.setTabOrder(self.tbvColumns, self.lvLookups)
        STDMWizard.setTabOrder(self.lvLookups, self.btnEditLookup)
        STDMWizard.setTabOrder(self.btnEditLookup, self.lvLookupValues)
        STDMWizard.setTabOrder(self.lvLookupValues, self.btnEditLkupValue)
        STDMWizard.setTabOrder(self.btnEditLkupValue, self.txtLicense)

    def retranslateUi(self, STDMWizard):
        STDMWizard.setWindowTitle(
            _translate("STDMWizard", "Configuration Wizard", None))
        self.wpLicense.setTitle(
            _translate("STDMWizard", "End User License Agreement", None))
        self.wpLicense.setSubTitle(
            _translate("STDMWizard", "Read carefully before you proceed",
                       None))
        self.groupBox_16.setTitle(
            _translate("STDMWizard", "Terms and Conditions", None))
        self.rbAccpt.setText(_translate("STDMWizard", "I Agree", None))
        self.rbReject.setText(_translate("STDMWizard", "Decline", None))
        self.wpPathSetting.setTitle(
            _translate("STDMWizard", "Directory Settings", None))
        self.wpPathSetting.setSubTitle(
            _translate("STDMWizard",
                       "Specify configuration and documents directory path",
                       None))
        self.btnTemplates.setText(_translate("STDMWizard", "Change", None))
        self.btnDocOutput.setText(_translate("STDMWizard", "Change", None))
        self.edtTemplatePath.setPlaceholderText(
            _translate("STDMWizard", "Specify path to save document templates",
                       None))
        self.label_37.setText(
            _translate(
                "STDMWizard",
                "<html><head/><body><p>Supporting documents path</p></body></html>",
                None))
        self.label_4.setText(
            _translate("STDMWizard", "Documents template path", None))
        self.label_31.setText(
            _translate("STDMWizard", "Documents output path", None))
        self.edtOutputPath.setPlaceholderText(
            _translate("STDMWizard",
                       "Specify path to save generated documents", None))
        self.btnDocPath.setText(_translate("STDMWizard", "Change", None))
        self.edtDocPath.setPlaceholderText(
            _translate("STDMWizard",
                       "Specify path to save entity supporting documents",
                       None))
        self.wpProfile.setTitle(_translate("STDMWizard", "Profile", None))
        self.wpProfile.setSubTitle(
            _translate(
                "STDMWizard",
                "Manage profile and related entities.  A profile represents a collection of logically related entities, some of which represent the party and spatial unit. Examples of profiles include individual, household, neighbourhood or even city-wide profiles.   ",
                None))
        self.groupBox_17.setTitle(_translate("STDMWizard", "Profile", None))
        self.btnCopy.setText(_translate("STDMWizard", "Copy profile", None))
        self.btnPDelete.setText(
            _translate("STDMWizard", "Delete profile", None))
        self.label.setText(_translate("STDMWizard", "Name", None))
        self.btnNewP.setText(_translate("STDMWizard", "New profile", None))
        self.label_3.setText(_translate("STDMWizard", "Description", None))
        self.groupBox_18.setTitle(
            _translate("STDMWizard", "Profile entities ", None))
        self.wpEntityCustom.setTitle(
            _translate("STDMWizard", "Entity Customization", None))
        self.wpEntityCustom.setSubTitle(
            _translate(
                "STDMWizard",
                "Add or edit entity columns, lookups and lookup values", None))
        self.groupBox.setTitle(_translate("STDMWizard", "Entities", None))
        self.groupBox_2.setTitle(_translate("STDMWizard", "Columns", None))
        self.groupBox_5.setTitle(_translate("STDMWizard", "Lookups", None))
        self.groupBox_6.setTitle(_translate("STDMWizard", "Values", None))
        self.wpSTR.setTitle(
            _translate("STDMWizard", "Define Social Tenure Entities", None))
        self.wpSTR.setSubTitle(
            _translate(
                "STDMWizard",
                "Set entities to participate in the profile\'s social tenure relationship",
                None))
        self.label_5.setText(
            _translate("STDMWizard", "1. Select the party entities", None))
        self.cbMultiParty.setText(
            _translate(
                "STDMWizard", "Allow multiple parties to be \n"
                "linked to a single spatial unit", None))
        self.label_6.setText(
            _translate("STDMWizard", "2. Select the spatial unit entities",
                       None))
        self.btn_sp_units_tenure.setText(
            _translate("STDMWizard", "Spatial Unit Tenure Types...", None))
        self.label_7.setText(
            _translate("STDMWizard", "3. Specify validity ranges (optional)",
                       None))
        self.gb_start_dates.setTitle(
            _translate("STDMWizard", "\'Start\' date range", None))
        self.label_8.setText(_translate("STDMWizard", "Minimum", None))
        self.label_9.setText(_translate("STDMWizard", "Maximum", None))
        self.gb_end_dates.setTitle(
            _translate("STDMWizard", "\'End\' date range", None))
        self.label_10.setText(_translate("STDMWizard", "Minimum", None))
        self.label_11.setText(_translate("STDMWizard", "Maximum", None))
        self.label_12.setText(
            _translate("STDMWizard",
                       "4. Specify custom tenure attributes (optional)", None))
        self.btn_custom_attrs.setText(
            _translate("STDMWizard", "Custom Attributes...", None))
        self.wpSaveProfile.setTitle(
            _translate("STDMWizard", "Save configuration", None))
        self.wpSaveProfile.setSubTitle(
            _translate(
                "STDMWizard",
                "Click finish to save changes in your configuration to the database.  ",
                None))
        self.label_2.setText(
            _translate("STDMWizard",
                       "Save status will be displayed in the window below.",
                       None))
Exemplo n.º 4
0
class Ui_GdalToolsWidget(object):
    def setupUi(self, GdalToolsWidget):
        GdalToolsWidget.setObjectName(_fromUtf8("GdalToolsWidget"))
        GdalToolsWidget.resize(335, 429)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            GdalToolsWidget.sizePolicy().hasHeightForWidth())
        GdalToolsWidget.setSizePolicy(sizePolicy)
        self.verticalLayout_2 = QtGui.QVBoxLayout(GdalToolsWidget)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.batchCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.batchCheck.setObjectName(_fromUtf8("batchCheck"))
        self.verticalLayout_2.addWidget(self.batchCheck)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_3 = QtGui.QLabel(GdalToolsWidget)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
        self.label_2 = QtGui.QLabel(GdalToolsWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.formatLabel = QtGui.QLabel(GdalToolsWidget)
        self.formatLabel.setObjectName(_fromUtf8("formatLabel"))
        self.gridLayout.addWidget(self.formatLabel, 2, 0, 1, 1)
        self.formatCombo = QtGui.QComboBox(GdalToolsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.formatCombo.sizePolicy().hasHeightForWidth())
        self.formatCombo.setSizePolicy(sizePolicy)
        self.formatCombo.setObjectName(_fromUtf8("formatCombo"))
        self.gridLayout.addWidget(self.formatCombo, 2, 1, 1, 1)
        self.targetSRSCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.targetSRSCheck.setObjectName(_fromUtf8("targetSRSCheck"))
        self.gridLayout.addWidget(self.targetSRSCheck, 3, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.targetSRSEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.targetSRSEdit.setMinimumSize(QtCore.QSize(100, 0))
        self.targetSRSEdit.setObjectName(_fromUtf8("targetSRSEdit"))
        self.horizontalLayout.addWidget(self.targetSRSEdit)
        self.selectTargetSRSButton = QtGui.QPushButton(GdalToolsWidget)
        self.selectTargetSRSButton.setObjectName(
            _fromUtf8("selectTargetSRSButton"))
        self.horizontalLayout.addWidget(self.selectTargetSRSButton)
        self.gridLayout.addLayout(self.horizontalLayout, 3, 1, 1, 1)
        self.outsizeCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.outsizeCheck.setMaximumSize(QtCore.QSize(100, 16777215))
        self.outsizeCheck.setObjectName(_fromUtf8("outsizeCheck"))
        self.gridLayout.addWidget(self.outsizeCheck, 4, 0, 1, 1)
        self.outsizeSpin = QtGui.QSpinBox(GdalToolsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.outsizeSpin.sizePolicy().hasHeightForWidth())
        self.outsizeSpin.setSizePolicy(sizePolicy)
        self.outsizeSpin.setMinimum(1)
        self.outsizeSpin.setMaximum(1000)
        self.outsizeSpin.setObjectName(_fromUtf8("outsizeSpin"))
        self.gridLayout.addWidget(self.outsizeSpin, 4, 1, 1, 1)
        self.nodataCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.nodataCheck.setObjectName(_fromUtf8("nodataCheck"))
        self.gridLayout.addWidget(self.nodataCheck, 5, 0, 1, 1)
        self.expandCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.expandCheck.setObjectName(_fromUtf8("expandCheck"))
        self.gridLayout.addWidget(self.expandCheck, 6, 0, 1, 1)
        self.expandCombo = QtGui.QComboBox(GdalToolsWidget)
        self.expandCombo.setObjectName(_fromUtf8("expandCombo"))
        self.expandCombo.addItem(_fromUtf8(""))
        self.expandCombo.addItem(_fromUtf8(""))
        self.expandCombo.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.expandCombo, 6, 1, 1, 1)
        self.srcwinCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.srcwinCheck.setObjectName(_fromUtf8("srcwinCheck"))
        self.gridLayout.addWidget(self.srcwinCheck, 7, 0, 1, 1)
        self.srcwinEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.srcwinEdit.setObjectName(_fromUtf8("srcwinEdit"))
        self.gridLayout.addWidget(self.srcwinEdit, 7, 1, 1, 1)
        self.prjwinCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.prjwinCheck.setObjectName(_fromUtf8("prjwinCheck"))
        self.gridLayout.addWidget(self.prjwinCheck, 8, 0, 1, 1)
        self.prjwinEdit = QtGui.QLineEdit(GdalToolsWidget)
        self.prjwinEdit.setObjectName(_fromUtf8("prjwinEdit"))
        self.gridLayout.addWidget(self.prjwinEdit, 8, 1, 1, 1)
        self.sdsCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.sdsCheck.setObjectName(_fromUtf8("sdsCheck"))
        self.gridLayout.addWidget(self.sdsCheck, 9, 0, 1, 1)
        self.nodataSpin = QtGui.QSpinBox(GdalToolsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.nodataSpin.sizePolicy().hasHeightForWidth())
        self.nodataSpin.setSizePolicy(sizePolicy)
        self.nodataSpin.setMinimum(-999999999)
        self.nodataSpin.setMaximum(999999999)
        self.nodataSpin.setObjectName(_fromUtf8("nodataSpin"))
        self.gridLayout.addWidget(self.nodataSpin, 5, 1, 1, 1)
        self.inSelector = GdalToolsInOutSelector(GdalToolsWidget)
        self.inSelector.setObjectName(_fromUtf8("inSelector"))
        self.gridLayout.addWidget(self.inSelector, 0, 1, 1, 1)
        self.outSelector = GdalToolsInOutSelector(GdalToolsWidget)
        self.outSelector.setObjectName(_fromUtf8("outSelector"))
        self.gridLayout.addWidget(self.outSelector, 1, 1, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout)
        self.creationOptionsGroupBox = QgsCollapsibleGroupBox(GdalToolsWidget)
        self.creationOptionsGroupBox.setProperty("collapsed", False)
        self.creationOptionsGroupBox.setProperty("saveCollapsedState", True)
        self.creationOptionsGroupBox.setCheckable(True)
        self.creationOptionsGroupBox.setChecked(False)
        self.creationOptionsGroupBox.setObjectName(
            _fromUtf8("creationOptionsGroupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.creationOptionsGroupBox)
        self.verticalLayout.setContentsMargins(9, -1, -1, 9)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.creationOptionsWidget = QgsRasterFormatSaveOptionsWidget(
            self.creationOptionsGroupBox)
        self.creationOptionsWidget.setObjectName(
            _fromUtf8("creationOptionsWidget"))
        self.verticalLayout.addWidget(self.creationOptionsWidget)
        self.verticalLayout_2.addWidget(self.creationOptionsGroupBox)
        self.progressBar = QtGui.QProgressBar(GdalToolsWidget)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.verticalLayout_2.addWidget(self.progressBar)
        self.label_3.setBuddy(self.inSelector)
        self.label_2.setBuddy(self.outSelector)

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

    def retranslateUi(self, GdalToolsWidget):
        GdalToolsWidget.setWindowTitle(
            _translate("GdalToolsWidget", "Translate (Convert format)", None))
        self.batchCheck.setText(
            _translate("GdalToolsWidget",
                       "Batch mode (for processing whole directory)", None))
        self.label_3.setText(
            _translate("GdalToolsWidget", "&Input Layer", None))
        self.label_2.setText(
            _translate("GdalToolsWidget", "&Output file", None))
        self.formatLabel.setText(
            _translate("GdalToolsWidget", "Output format", None))
        self.targetSRSCheck.setText(
            _translate("GdalToolsWidget", "&Target SRS", None))
        self.selectTargetSRSButton.setText(
            _translate("GdalToolsWidget", "Select...", None))
        self.outsizeCheck.setToolTip(
            _translate(
                "GdalToolsWidget",
                "Percentage to resize image. This will change pixel size/image resolution accordingly: 25% will create an image with pixels 4x larger.",
                None))
        self.outsizeCheck.setText(
            _translate("GdalToolsWidget", "Outsize", None))
        self.outsizeSpin.setToolTip(
            _translate(
                "GdalToolsWidget",
                "Percentage to resize image. This will change pixel size/image resolution accordingly: 25% will create an image with pixels 4x larger.",
                None))
        self.outsizeSpin.setSuffix(_translate("GdalToolsWidget", "%", None))
        self.nodataCheck.setToolTip(
            _translate("GdalToolsWidget",
                       "Assign a specified nodata value to output bands.",
                       None))
        self.nodataCheck.setText(_translate("GdalToolsWidget", "No data",
                                            None))
        self.expandCheck.setToolTip(
            _translate(
                "GdalToolsWidget",
                "To expose a dataset with 1 band with a color table as a dataset with 3 (RGB) or 4 (RGBA) bands. \n"
                "Useful for output drivers such as JPEG, JPEG2000, MrSID, ECW that don\'t support color indexed datasets. \n"
                "The \'gray\' value (from GDAL 1.7.0) enables to expand a dataset with a color table that only contains gray levels to a gray indexed dataset.",
                None))
        self.expandCheck.setText(_translate("GdalToolsWidget", "Expand", None))
        self.expandCombo.setToolTip(
            _translate(
                "GdalToolsWidget",
                "To expose a dataset with 1 band with a color table as a dataset with 3 (RGB) or 4 (RGBA) bands. \n"
                "Useful for output drivers such as JPEG, JPEG2000, MrSID, ECW that don\'t support color indexed datasets. \n"
                "The \'gray\' value (from GDAL 1.7.0) enables to expand a dataset with a color table that only contains gray levels to a gray indexed dataset.",
                None))
        self.expandCombo.setItemText(
            0, _translate("GdalToolsWidget", "Gray", None))
        self.expandCombo.setItemText(
            1, _translate("GdalToolsWidget", "RGB", None))
        self.expandCombo.setItemText(
            2, _translate("GdalToolsWidget", "RGBA", None))
        self.srcwinCheck.setToolTip(
            _translate(
                "GdalToolsWidget",
                "Selects a subwindow from the source image for copying based on pixel/line location. (Enter Xoff Yoff Xsize Ysize)",
                None))
        self.srcwinCheck.setText(_translate("GdalToolsWidget", "Srcwin", None))
        self.srcwinEdit.setToolTip(
            _translate(
                "GdalToolsWidget",
                "Selects a subwindow from the source image for copying based on pixel/line location. (Enter Xoff Yoff Xsize Ysize)",
                None))
        self.prjwinCheck.setToolTip(
            _translate(
                "GdalToolsWidget",
                "Selects a subwindow from the source image for copying (like -srcwin) but with the corners given in georeferenced coordinates. (Enter ulx uly lrx lry)",
                None))
        self.prjwinCheck.setText(_translate("GdalToolsWidget", "Prjwin", None))
        self.prjwinEdit.setToolTip(
            _translate(
                "GdalToolsWidget",
                "Selects a subwindow from the source image for copying (like -srcwin) but with the corners given in georeferenced coordinates. (Enter ulx uly lrx lry)",
                None))
        self.sdsCheck.setToolTip(
            _translate(
                "GdalToolsWidget",
                "Copy all subdatasets of this file to individual output files. Use with formats like HDF or OGDI that have subdatasets.",
                None))
        self.sdsCheck.setText(_translate("GdalToolsWidget", "Sds", None))
        self.nodataSpin.setToolTip(
            _translate("GdalToolsWidget",
                       "Assign a specified nodata value to output bands.",
                       None))
        self.creationOptionsGroupBox.setTitle(
            _translate("GdalToolsWidget", "&Creation Options", None))
Exemplo n.º 5
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(887, 519)
        self.gridLayout_10 = QtGui.QGridLayout(Dialog)
        self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10"))
        self.tabWidget = QtGui.QTabWidget(Dialog)
        self.tabWidget.setEnabled(True)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabInputs = QtGui.QWidget()
        self.tabInputs.setObjectName(_fromUtf8("tabInputs"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.tabInputs)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.splitter = QtGui.QSplitter(self.tabInputs)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.lstLayers = QtGui.QListWidget(self.splitter)
        self.lstLayers.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.lstLayers.setAlternatingRowColors(True)
        self.lstLayers.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.lstLayers.setObjectName(_fromUtf8("lstLayers"))
        self.widget = QtGui.QWidget(self.splitter)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.widget)
        self.verticalLayout_3.setMargin(0)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.btnSetInitialRaster = QtGui.QPushButton(self.widget)
        self.btnSetInitialRaster.setObjectName(_fromUtf8("btnSetInitialRaster"))
        self.gridLayout_2.addWidget(self.btnSetInitialRaster, 0, 0, 1, 1)
        self.leInitRasterName = QtGui.QLineEdit(self.widget)
        self.leInitRasterName.setObjectName(_fromUtf8("leInitRasterName"))
        self.gridLayout_2.addWidget(self.leInitRasterName, 0, 1, 1, 1)
        self.btnSetFinalRaster = QtGui.QPushButton(self.widget)
        self.btnSetFinalRaster.setObjectName(_fromUtf8("btnSetFinalRaster"))
        self.gridLayout_2.addWidget(self.btnSetFinalRaster, 1, 0, 1, 1)
        self.leInitYear = QtGui.QLineEdit(self.widget)
        self.leInitYear.setObjectName(_fromUtf8("leInitYear"))
        self.gridLayout_2.addWidget(self.leInitYear, 0, 2, 1, 1)
        self.leFinalRasterName = QtGui.QLineEdit(self.widget)
        self.leFinalRasterName.setObjectName(_fromUtf8("leFinalRasterName"))
        self.gridLayout_2.addWidget(self.leFinalRasterName, 1, 1, 1, 1)
        self.leFinalYear = QtGui.QLineEdit(self.widget)
        self.leFinalYear.setObjectName(_fromUtf8("leFinalYear"))
        self.gridLayout_2.addWidget(self.leFinalYear, 1, 2, 1, 1)
        self.lstFactors = QtGui.QListWidget(self.widget)
        self.lstFactors.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.lstFactors.setAlternatingRowColors(True)
        self.lstFactors.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.lstFactors.setObjectName(_fromUtf8("lstFactors"))
        self.gridLayout_2.addWidget(self.lstFactors, 4, 1, 5, 2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 2, 1, 1, 1)
        self.btnRemoveAllFactors = QtGui.QPushButton(self.widget)
        self.btnRemoveAllFactors.setObjectName(_fromUtf8("btnRemoveAllFactors"))
        self.gridLayout_2.addWidget(self.btnRemoveAllFactors, 8, 0, 1, 1)
        self.btnRemoveFactor = QtGui.QPushButton(self.widget)
        self.btnRemoveFactor.setObjectName(_fromUtf8("btnRemoveFactor"))
        self.gridLayout_2.addWidget(self.btnRemoveFactor, 7, 0, 1, 1)
        self.btnAddFactor = QtGui.QPushButton(self.widget)
        self.btnAddFactor.setObjectName(_fromUtf8("btnAddFactor"))
        self.gridLayout_2.addWidget(self.btnAddFactor, 6, 0, 1, 1)
        self.label = QtGui.QLabel(self.widget)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_2.addWidget(self.label, 3, 1, 1, 1)
        self.verticalLayout_3.addLayout(self.gridLayout_2)
        self.btnCheckGeometry = QtGui.QPushButton(self.widget)
        self.btnCheckGeometry.setObjectName(_fromUtf8("btnCheckGeometry"))
        self.verticalLayout_3.addWidget(self.btnCheckGeometry)
        self.verticalLayout_2.addWidget(self.splitter)
        self.tabWidget.addTab(self.tabInputs, _fromUtf8(""))
        self.tabCorrelationChecking = QtGui.QWidget()
        self.tabCorrelationChecking.setObjectName(_fromUtf8("tabCorrelationChecking"))
        self.gridLayout_7 = QtGui.QGridLayout(self.tabCorrelationChecking)
        self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
        self.gridLayout_6 = QtGui.QGridLayout()
        self.gridLayout_6.setMargin(9)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.label_9 = QtGui.QLabel(self.tabCorrelationChecking)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout_6.addWidget(self.label_9, 3, 0, 1, 1)
        self.cmbSecondRaster = QtGui.QComboBox(self.tabCorrelationChecking)
        self.cmbSecondRaster.setObjectName(_fromUtf8("cmbSecondRaster"))
        self.gridLayout_6.addWidget(self.cmbSecondRaster, 1, 1, 1, 1)
        self.cmbCorrCheckMethod = QtGui.QComboBox(self.tabCorrelationChecking)
        self.cmbCorrCheckMethod.setObjectName(_fromUtf8("cmbCorrCheckMethod"))
        self.gridLayout_6.addWidget(self.cmbCorrCheckMethod, 3, 1, 1, 1)
        self.cmbFirstRaster = QtGui.QComboBox(self.tabCorrelationChecking)
        self.cmbFirstRaster.setObjectName(_fromUtf8("cmbFirstRaster"))
        self.gridLayout_6.addWidget(self.cmbFirstRaster, 0, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.tabCorrelationChecking)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout_6.addWidget(self.label_7, 0, 0, 1, 1)
        self.label_8 = QtGui.QLabel(self.tabCorrelationChecking)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout_6.addWidget(self.label_8, 1, 0, 1, 1)
        self.label_10 = QtGui.QLabel(self.tabCorrelationChecking)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.gridLayout_6.addWidget(self.label_10, 4, 0, 1, 1)
        self.tblCorrelation = QtGui.QTableWidget(self.tabCorrelationChecking)
        self.tblCorrelation.setObjectName(_fromUtf8("tblCorrelation"))
        self.tblCorrelation.setColumnCount(0)
        self.tblCorrelation.setRowCount(0)
        self.gridLayout_6.addWidget(self.tblCorrelation, 4, 1, 1, 1)
        self.btnStartCorrChecking = QtGui.QPushButton(self.tabCorrelationChecking)
        self.btnStartCorrChecking.setObjectName(_fromUtf8("btnStartCorrChecking"))
        self.gridLayout_6.addWidget(self.btnStartCorrChecking, 5, 1, 1, 1)
        self.chkAllCorr = QtGui.QCheckBox(self.tabCorrelationChecking)
        self.chkAllCorr.setObjectName(_fromUtf8("chkAllCorr"))
        self.gridLayout_6.addWidget(self.chkAllCorr, 2, 1, 1, 1)
        self.gridLayout_7.addLayout(self.gridLayout_6, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabCorrelationChecking, _fromUtf8(""))
        self.tabAreaChanges = QtGui.QWidget()
        self.tabAreaChanges.setObjectName(_fromUtf8("tabAreaChanges"))
        self.gridLayout = QtGui.QGridLayout(self.tabAreaChanges)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_2 = QtGui.QLabel(self.tabAreaChanges)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.label_3 = QtGui.QLabel(self.tabAreaChanges)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)
        self.btnUpdateStatistics = QtGui.QPushButton(self.tabAreaChanges)
        self.btnUpdateStatistics.setObjectName(_fromUtf8("btnUpdateStatistics"))
        self.gridLayout.addWidget(self.btnUpdateStatistics, 5, 0, 1, 1)
        self.btnCreateChangeMap = QtGui.QPushButton(self.tabAreaChanges)
        self.btnCreateChangeMap.setObjectName(_fromUtf8("btnCreateChangeMap"))
        self.gridLayout.addWidget(self.btnCreateChangeMap, 5, 1, 1, 1)
        self.tblStatistics = MolusceTableWidget(self.tabAreaChanges)
        self.tblStatistics.setObjectName(_fromUtf8("tblStatistics"))
        self.tblStatistics.setColumnCount(0)
        self.tblStatistics.setRowCount(0)
        self.gridLayout.addWidget(self.tblStatistics, 2, 0, 1, 2)
        self.tblTransMatrix = MolusceTableWidget(self.tabAreaChanges)
        self.tblTransMatrix.setObjectName(_fromUtf8("tblTransMatrix"))
        self.tblTransMatrix.setColumnCount(0)
        self.tblTransMatrix.setRowCount(0)
        self.gridLayout.addWidget(self.tblTransMatrix, 4, 0, 1, 2)
        self.cmbUnits = QtGui.QComboBox(self.tabAreaChanges)
        self.cmbUnits.setObjectName(_fromUtf8("cmbUnits"))
        self.gridLayout.addWidget(self.cmbUnits, 0, 1, 1, 1)
        self.cmbUnitsMatrix = QtGui.QComboBox(self.tabAreaChanges)
        self.cmbUnitsMatrix.setObjectName(_fromUtf8("cmbUnitsMatrix"))
        self.gridLayout.addWidget(self.cmbUnitsMatrix, 3, 1, 1, 1)
        self.tabWidget.addTab(self.tabAreaChanges, _fromUtf8(""))
        self.tabModel = QtGui.QWidget()
        self.tabModel.setObjectName(_fromUtf8("tabModel"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabModel)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.label_4 = QtGui.QLabel(self.tabModel)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_3.addWidget(self.label_4, 2, 0, 1, 1)
        self.grpSampling = QgsCollapsibleGroupBox(self.tabModel)
        self.grpSampling.setCheckable(False)
        self.grpSampling.setChecked(False)
        self.grpSampling.setProperty("collapsed", True)
        self.grpSampling.setProperty("saveCollapsedState", True)
        self.grpSampling.setProperty("saveCheckedState", False)
        self.grpSampling.setObjectName(_fromUtf8("grpSampling"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.grpSampling)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_5 = QtGui.QLabel(self.grpSampling)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.horizontalLayout.addWidget(self.label_5)
        self.cmbSamplingMode = QtGui.QComboBox(self.grpSampling)
        self.cmbSamplingMode.setObjectName(_fromUtf8("cmbSamplingMode"))
        self.horizontalLayout.addWidget(self.cmbSamplingMode)
        self.label_6 = QtGui.QLabel(self.grpSampling)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.horizontalLayout.addWidget(self.label_6)
        self.spnSamplesCount = QtGui.QSpinBox(self.grpSampling)
        self.spnSamplesCount.setMaximum(100000000)
        self.spnSamplesCount.setProperty("value", 1000)
        self.spnSamplesCount.setObjectName(_fromUtf8("spnSamplesCount"))
        self.horizontalLayout.addWidget(self.spnSamplesCount)
        self.btnSelectSamples = QtGui.QPushButton(self.grpSampling)
        self.btnSelectSamples.setObjectName(_fromUtf8("btnSelectSamples"))
        self.horizontalLayout.addWidget(self.btnSelectSamples)
        self.chkLoadSamples = QtGui.QCheckBox(self.grpSampling)
        self.chkLoadSamples.setObjectName(_fromUtf8("chkLoadSamples"))
        self.horizontalLayout.addWidget(self.chkLoadSamples)
        self.gridLayout_3.addWidget(self.grpSampling, 0, 0, 1, 3)
        self.cmbSimulationMethod = QtGui.QComboBox(self.tabModel)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbSimulationMethod.sizePolicy().hasHeightForWidth())
        self.cmbSimulationMethod.setSizePolicy(sizePolicy)
        self.cmbSimulationMethod.setObjectName(_fromUtf8("cmbSimulationMethod"))
        self.gridLayout_3.addWidget(self.cmbSimulationMethod, 2, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem1, 2, 2, 1, 1)
        self.widgetStackMethods = QtGui.QStackedWidget(self.tabModel)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widgetStackMethods.sizePolicy().hasHeightForWidth())
        self.widgetStackMethods.setSizePolicy(sizePolicy)
        self.widgetStackMethods.setFrameShape(QtGui.QFrame.NoFrame)
        self.widgetStackMethods.setFrameShadow(QtGui.QFrame.Sunken)
        self.widgetStackMethods.setObjectName(_fromUtf8("widgetStackMethods"))
        self.gridLayout_3.addWidget(self.widgetStackMethods, 3, 0, 1, 3)
        self.tabWidget.addTab(self.tabModel, _fromUtf8(""))
        self.tabSimulation = QtGui.QWidget()
        self.tabSimulation.setObjectName(_fromUtf8("tabSimulation"))
        self.gridLayout_5 = QtGui.QGridLayout(self.tabSimulation)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.btnSelectRiskFunction = QtGui.QPushButton(self.tabSimulation)
        self.btnSelectRiskFunction.setEnabled(False)
        self.btnSelectRiskFunction.setObjectName(_fromUtf8("btnSelectRiskFunction"))
        self.gridLayout_4.addWidget(self.btnSelectRiskFunction, 1, 2, 1, 1)
        self.chkRiskFunction = QtGui.QCheckBox(self.tabSimulation)
        self.chkRiskFunction.setObjectName(_fromUtf8("chkRiskFunction"))
        self.gridLayout_4.addWidget(self.chkRiskFunction, 1, 0, 1, 1)
        self.leRiskFunctionPath = QtGui.QLineEdit(self.tabSimulation)
        self.leRiskFunctionPath.setEnabled(False)
        self.leRiskFunctionPath.setObjectName(_fromUtf8("leRiskFunctionPath"))
        self.gridLayout_4.addWidget(self.leRiskFunctionPath, 1, 1, 1, 1)
        self.chkMonteCarlo = QtGui.QCheckBox(self.tabSimulation)
        self.chkMonteCarlo.setChecked(False)
        self.chkMonteCarlo.setObjectName(_fromUtf8("chkMonteCarlo"))
        self.gridLayout_4.addWidget(self.chkMonteCarlo, 2, 0, 1, 1)
        self.leMonteCarloPath = QtGui.QLineEdit(self.tabSimulation)
        self.leMonteCarloPath.setEnabled(False)
        self.leMonteCarloPath.setObjectName(_fromUtf8("leMonteCarloPath"))
        self.gridLayout_4.addWidget(self.leMonteCarloPath, 2, 1, 1, 1)
        self.btnSelectMonteCarlo = QtGui.QPushButton(self.tabSimulation)
        self.btnSelectMonteCarlo.setEnabled(False)
        self.btnSelectMonteCarlo.setObjectName(_fromUtf8("btnSelectMonteCarlo"))
        self.gridLayout_4.addWidget(self.btnSelectMonteCarlo, 2, 2, 1, 1)
        self.lblIterations = QtGui.QLabel(self.tabSimulation)
        self.lblIterations.setEnabled(False)
        self.lblIterations.setObjectName(_fromUtf8("lblIterations"))
        self.gridLayout_4.addWidget(self.lblIterations, 3, 1, 1, 1)
        self.spnIterations = QtGui.QSpinBox(self.tabSimulation)
        self.spnIterations.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spnIterations.sizePolicy().hasHeightForWidth())
        self.spnIterations.setSizePolicy(sizePolicy)
        self.spnIterations.setMinimum(1)
        self.spnIterations.setMaximum(100)
        self.spnIterations.setProperty("value", 1)
        self.spnIterations.setObjectName(_fromUtf8("spnIterations"))
        self.gridLayout_4.addWidget(self.spnIterations, 3, 2, 1, 1)
        self.chkTransitionPotentials = QtGui.QCheckBox(self.tabSimulation)
        self.chkTransitionPotentials.setChecked(False)
        self.chkTransitionPotentials.setObjectName(_fromUtf8("chkTransitionPotentials"))
        self.gridLayout_4.addWidget(self.chkTransitionPotentials, 0, 0, 1, 1)
        self.leTransitionPotentialPrefix = QtGui.QLineEdit(self.tabSimulation)
        self.leTransitionPotentialPrefix.setEnabled(False)
        self.leTransitionPotentialPrefix.setObjectName(_fromUtf8("leTransitionPotentialPrefix"))
        self.gridLayout_4.addWidget(self.leTransitionPotentialPrefix, 0, 1, 1, 1)
        self.btnSelectTransitionPrefix = QtGui.QPushButton(self.tabSimulation)
        self.btnSelectTransitionPrefix.setEnabled(False)
        self.btnSelectTransitionPrefix.setObjectName(_fromUtf8("btnSelectTransitionPrefix"))
        self.gridLayout_4.addWidget(self.btnSelectTransitionPrefix, 0, 2, 1, 1)
        self.gridLayout_5.addLayout(self.gridLayout_4, 0, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(20, 94, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_5.addItem(spacerItem2, 1, 0, 1, 1)
        self.btnStartSimulation = QtGui.QPushButton(self.tabSimulation)
        self.btnStartSimulation.setObjectName(_fromUtf8("btnStartSimulation"))
        self.gridLayout_5.addWidget(self.btnStartSimulation, 2, 1, 1, 1)
        self.tabWidget.addTab(self.tabSimulation, _fromUtf8(""))
        self.tabValidation = QtGui.QWidget()
        self.tabValidation.setObjectName(_fromUtf8("tabValidation"))
        self.gridLayout_11 = QtGui.QGridLayout(self.tabValidation)
        self.gridLayout_11.setObjectName(_fromUtf8("gridLayout_11"))
        self.layoutValPlot = QtGui.QVBoxLayout()
        self.layoutValPlot.setObjectName(_fromUtf8("layoutValPlot"))
        self.gridLayout_11.addLayout(self.layoutValPlot, 1, 0, 1, 2)
        self.gridLayout_9 = QtGui.QGridLayout()
        self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9"))
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_9.addItem(spacerItem3, 1, 3, 1, 1)
        self.leKappaOveral = QtGui.QLineEdit(self.tabValidation)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.leKappaOveral.sizePolicy().hasHeightForWidth())
        self.leKappaOveral.setSizePolicy(sizePolicy)
        self.leKappaOveral.setReadOnly(True)
        self.leKappaOveral.setObjectName(_fromUtf8("leKappaOveral"))
        self.gridLayout_9.addWidget(self.leKappaOveral, 2, 5, 1, 1)
        self.btnSelectRiskValidation = QtGui.QPushButton(self.tabValidation)
        self.btnSelectRiskValidation.setEnabled(False)
        self.btnSelectRiskValidation.setObjectName(_fromUtf8("btnSelectRiskValidation"))
        self.gridLayout_9.addWidget(self.btnSelectRiskValidation, 3, 2, 1, 1)
        self.chkRiskValidation = QtGui.QCheckBox(self.tabValidation)
        self.chkRiskValidation.setObjectName(_fromUtf8("chkRiskValidation"))
        self.gridLayout_9.addWidget(self.chkRiskValidation, 3, 0, 1, 1)
        self.label_12 = QtGui.QLabel(self.tabValidation)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.gridLayout_9.addWidget(self.label_12, 2, 0, 1, 1)
        self.btnSelectSimulatedMap = QtGui.QPushButton(self.tabValidation)
        self.btnSelectSimulatedMap.setObjectName(_fromUtf8("btnSelectSimulatedMap"))
        self.gridLayout_9.addWidget(self.btnSelectSimulatedMap, 2, 2, 1, 1)
        self.label_11 = QtGui.QLabel(self.tabValidation)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.gridLayout_9.addWidget(self.label_11, 1, 0, 1, 1)
        self.leReferenceMapPath = QtGui.QLineEdit(self.tabValidation)
        self.leReferenceMapPath.setObjectName(_fromUtf8("leReferenceMapPath"))
        self.gridLayout_9.addWidget(self.leReferenceMapPath, 1, 1, 1, 1)
        self.btnSelectReferenceMap = QtGui.QPushButton(self.tabValidation)
        self.btnSelectReferenceMap.setObjectName(_fromUtf8("btnSelectReferenceMap"))
        self.gridLayout_9.addWidget(self.btnSelectReferenceMap, 1, 2, 1, 1)
        self.leSimulatedMapPath = QtGui.QLineEdit(self.tabValidation)
        self.leSimulatedMapPath.setObjectName(_fromUtf8("leSimulatedMapPath"))
        self.gridLayout_9.addWidget(self.leSimulatedMapPath, 2, 1, 1, 1)
        self.spnValIterCount = QtGui.QSpinBox(self.tabValidation)
        self.spnValIterCount.setMinimum(1)
        self.spnValIterCount.setMaximum(20)
        self.spnValIterCount.setProperty("value", 5)
        self.spnValIterCount.setObjectName(_fromUtf8("spnValIterCount"))
        self.gridLayout_9.addWidget(self.spnValIterCount, 4, 2, 1, 1)
        self.label_13 = QtGui.QLabel(self.tabValidation)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.gridLayout_9.addWidget(self.label_13, 4, 1, 1, 1)
        self.chkCheckPersistentClasses = QtGui.QCheckBox(self.tabValidation)
        self.chkCheckPersistentClasses.setChecked(True)
        self.chkCheckPersistentClasses.setObjectName(_fromUtf8("chkCheckPersistentClasses"))
        self.gridLayout_9.addWidget(self.chkCheckPersistentClasses, 3, 1, 1, 1)
        self.leKappaHisto = QtGui.QLineEdit(self.tabValidation)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.leKappaHisto.sizePolicy().hasHeightForWidth())
        self.leKappaHisto.setSizePolicy(sizePolicy)
        self.leKappaHisto.setObjectName(_fromUtf8("leKappaHisto"))
        self.gridLayout_9.addWidget(self.leKappaHisto, 3, 5, 1, 1)
        self.label_21 = QtGui.QLabel(self.tabValidation)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_21.sizePolicy().hasHeightForWidth())
        self.label_21.setSizePolicy(sizePolicy)
        self.label_21.setObjectName(_fromUtf8("label_21"))
        self.gridLayout_9.addWidget(self.label_21, 1, 4, 1, 1)
        self.leKappaCorrectness = QtGui.QLineEdit(self.tabValidation)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.leKappaCorrectness.sizePolicy().hasHeightForWidth())
        self.leKappaCorrectness.setSizePolicy(sizePolicy)
        self.leKappaCorrectness.setReadOnly(True)
        self.leKappaCorrectness.setObjectName(_fromUtf8("leKappaCorrectness"))
        self.gridLayout_9.addWidget(self.leKappaCorrectness, 1, 5, 1, 1)
        self.label_20 = QtGui.QLabel(self.tabValidation)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_20.sizePolicy().hasHeightForWidth())
        self.label_20.setSizePolicy(sizePolicy)
        self.label_20.setObjectName(_fromUtf8("label_20"))
        self.gridLayout_9.addWidget(self.label_20, 2, 4, 1, 1)
        self.leKappaLoc = QtGui.QLineEdit(self.tabValidation)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.leKappaLoc.sizePolicy().hasHeightForWidth())
        self.leKappaLoc.setSizePolicy(sizePolicy)
        self.leKappaLoc.setReadOnly(True)
        self.leKappaLoc.setObjectName(_fromUtf8("leKappaLoc"))
        self.gridLayout_9.addWidget(self.leKappaLoc, 4, 5, 1, 1)
        self.label_22 = QtGui.QLabel(self.tabValidation)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_22.sizePolicy().hasHeightForWidth())
        self.label_22.setSizePolicy(sizePolicy)
        self.label_22.setObjectName(_fromUtf8("label_22"))
        self.gridLayout_9.addWidget(self.label_22, 3, 4, 1, 1)
        self.label_23 = QtGui.QLabel(self.tabValidation)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_23.sizePolicy().hasHeightForWidth())
        self.label_23.setSizePolicy(sizePolicy)
        self.label_23.setObjectName(_fromUtf8("label_23"))
        self.gridLayout_9.addWidget(self.label_23, 4, 4, 1, 1)
        self.btnKappaCalc = QtGui.QPushButton(self.tabValidation)
        self.btnKappaCalc.setObjectName(_fromUtf8("btnKappaCalc"))
        self.gridLayout_9.addWidget(self.btnKappaCalc, 5, 5, 1, 1)
        self.btnStartValidation = QtGui.QPushButton(self.tabValidation)
        self.btnStartValidation.setObjectName(_fromUtf8("btnStartValidation"))
        self.gridLayout_9.addWidget(self.btnStartValidation, 5, 1, 1, 1)
        self.gridLayout_9.setColumnStretch(1, 2)
        self.gridLayout_9.setColumnStretch(3, 1)
        self.gridLayout_11.addLayout(self.gridLayout_9, 0, 0, 1, 2)
        self.tabWidget.addTab(self.tabValidation, _fromUtf8(""))
        self.tabMessages = QtGui.QWidget()
        self.tabMessages.setObjectName(_fromUtf8("tabMessages"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.tabMessages)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.txtMessages = QtGui.QTextEdit(self.tabMessages)
        self.txtMessages.setUndoRedoEnabled(False)
        self.txtMessages.setReadOnly(True)
        self.txtMessages.setObjectName(_fromUtf8("txtMessages"))
        self.verticalLayout_4.addWidget(self.txtMessages)
        self.tabWidget.addTab(self.tabMessages, _fromUtf8(""))
        self.gridLayout_10.addWidget(self.tabWidget, 0, 0, 1, 2)
        self.progressBar = QtGui.QProgressBar(Dialog)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.gridLayout_10.addWidget(self.progressBar, 1, 0, 1, 1)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(4)
        self.widgetStackMethods.setCurrentIndex(-1)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "SCIENDO - MOLUSCE", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSetInitialRaster.setText(QtGui.QApplication.translate("Dialog", "Initial >>", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSetFinalRaster.setText(QtGui.QApplication.translate("Dialog", "Final >>", None, QtGui.QApplication.UnicodeUTF8))
        self.btnRemoveAllFactors.setText(QtGui.QApplication.translate("Dialog", "<< Remove all", None, QtGui.QApplication.UnicodeUTF8))
        self.btnRemoveFactor.setText(QtGui.QApplication.translate("Dialog", "<< Remove", None, QtGui.QApplication.UnicodeUTF8))
        self.btnAddFactor.setText(QtGui.QApplication.translate("Dialog", "Add >>", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Dialog", "Spatial variables", None, QtGui.QApplication.UnicodeUTF8))
        self.btnCheckGeometry.setText(QtGui.QApplication.translate("Dialog", "Check geometry", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabInputs), QtGui.QApplication.translate("Dialog", "Inputs", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("Dialog", "Method", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("Dialog", "First Raster", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("Dialog", "Second Raster", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("Dialog", "Result", None, QtGui.QApplication.UnicodeUTF8))
        self.btnStartCorrChecking.setText(QtGui.QApplication.translate("Dialog", "Check", None, QtGui.QApplication.UnicodeUTF8))
        self.chkAllCorr.setText(QtGui.QApplication.translate("Dialog", "Check all rasters", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCorrelationChecking), QtGui.QApplication.translate("Dialog", "Evaluating correlation", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Dialog", "Class statistics", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("Dialog", "Transition matrix", None, QtGui.QApplication.UnicodeUTF8))
        self.btnUpdateStatistics.setText(QtGui.QApplication.translate("Dialog", "Update tables", None, QtGui.QApplication.UnicodeUTF8))
        self.btnCreateChangeMap.setText(QtGui.QApplication.translate("Dialog", "Create changes map", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabAreaChanges), QtGui.QApplication.translate("Dialog", "Area Changes", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("Dialog", "Method", None, QtGui.QApplication.UnicodeUTF8))
        self.grpSampling.setTitle(QtGui.QApplication.translate("Dialog", "Define Samples", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("Dialog", "Mode", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("Dialog", "Number of samples", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSelectSamples.setText(QtGui.QApplication.translate("Dialog", "Save Samples...", None, QtGui.QApplication.UnicodeUTF8))
        self.chkLoadSamples.setText(QtGui.QApplication.translate("Dialog", "Add to canvas", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabModel), QtGui.QApplication.translate("Dialog", "Transition Potential Modelling", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSelectRiskFunction.setText(QtGui.QApplication.translate("Dialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8))
        self.chkRiskFunction.setText(QtGui.QApplication.translate("Dialog", "Certancy function", None, QtGui.QApplication.UnicodeUTF8))
        self.chkMonteCarlo.setText(QtGui.QApplication.translate("Dialog", "Simulation result", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSelectMonteCarlo.setText(QtGui.QApplication.translate("Dialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8))
        self.lblIterations.setText(QtGui.QApplication.translate("Dialog", "Number of simulation iterations", None, QtGui.QApplication.UnicodeUTF8))
        self.chkTransitionPotentials.setText(QtGui.QApplication.translate("Dialog", "Prefix of transition potential maps", None, QtGui.QApplication.UnicodeUTF8))
        self.leTransitionPotentialPrefix.setText(QtGui.QApplication.translate("Dialog", "potential_", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSelectTransitionPrefix.setText(QtGui.QApplication.translate("Dialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8))
        self.btnStartSimulation.setText(QtGui.QApplication.translate("Dialog", "Start", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabSimulation), QtGui.QApplication.translate("Dialog", "Cellular Automata Simulation", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSelectRiskValidation.setText(QtGui.QApplication.translate("Dialog", "Create...", None, QtGui.QApplication.UnicodeUTF8))
        self.chkRiskValidation.setText(QtGui.QApplication.translate("Dialog", "Validation Map", None, QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(QtGui.QApplication.translate("Dialog", "Simulated Map", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSelectSimulatedMap.setText(QtGui.QApplication.translate("Dialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(QtGui.QApplication.translate("Dialog", "Reference Map", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSelectReferenceMap.setText(QtGui.QApplication.translate("Dialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8))
        self.label_13.setText(QtGui.QApplication.translate("Dialog", "Number of validation iterations", None, QtGui.QApplication.UnicodeUTF8))
        self.chkCheckPersistentClasses.setText(QtGui.QApplication.translate("Dialog", "Check persistent classes", None, QtGui.QApplication.UnicodeUTF8))
        self.label_21.setText(QtGui.QApplication.translate("Dialog", "% of Correctness", None, QtGui.QApplication.UnicodeUTF8))
        self.label_20.setText(QtGui.QApplication.translate("Dialog", "Kappa (overal)", None, QtGui.QApplication.UnicodeUTF8))
        self.label_22.setText(QtGui.QApplication.translate("Dialog", "Kappa (histo)", None, QtGui.QApplication.UnicodeUTF8))
        self.label_23.setText(QtGui.QApplication.translate("Dialog", "Kappa (loc)", None, QtGui.QApplication.UnicodeUTF8))
        self.btnKappaCalc.setText(QtGui.QApplication.translate("Dialog", "Calculate kappa", None, QtGui.QApplication.UnicodeUTF8))
        self.btnStartValidation.setText(QtGui.QApplication.translate("Dialog", "Start validation", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabValidation), QtGui.QApplication.translate("Dialog", "Validation", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMessages), QtGui.QApplication.translate("Dialog", "Messages", None, QtGui.QApplication.UnicodeUTF8))
Exemplo n.º 6
0
class Ui_STDMWizard(object):
    def setupUi(self, STDMWizard):
        STDMWizard.setObjectName(_fromUtf8("STDMWizard"))
        STDMWizard.setWindowModality(QtCore.Qt.WindowModal)
        STDMWizard.resize(840, 638)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(STDMWizard.sizePolicy().hasHeightForWidth())
        STDMWizard.setSizePolicy(sizePolicy)
        STDMWizard.setMinimumSize(QtCore.QSize(720, 100))
        STDMWizard.setBaseSize(QtCore.QSize(0, 460))
        STDMWizard.setModal(True)
        STDMWizard.setWizardStyle(QtGui.QWizard.ModernStyle)
        STDMWizard.setOptions(QtGui.QWizard.HaveCustomButton1|QtGui.QWizard.HelpButtonOnRight)
        self.wpLicense = QtGui.QWizardPage()
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.wpLicense.setFont(font)
        self.wpLicense.setObjectName(_fromUtf8("wpLicense"))
        self.gridLayout_2 = QtGui.QGridLayout(self.wpLicense)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.groupBox_16 = QtGui.QGroupBox(self.wpLicense)
        self.groupBox_16.setObjectName(_fromUtf8("groupBox_16"))
        self.gridLayout_20 = QtGui.QGridLayout(self.groupBox_16)
        self.gridLayout_20.setObjectName(_fromUtf8("gridLayout_20"))
        self.rbAccpt = QtGui.QRadioButton(self.groupBox_16)
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.rbAccpt.setFont(font)
        self.rbAccpt.setChecked(False)
        self.rbAccpt.setObjectName(_fromUtf8("rbAccpt"))
        self.gridLayout_20.addWidget(self.rbAccpt, 2, 0, 1, 1)
        self.rbReject = QtGui.QRadioButton(self.groupBox_16)
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(True)
        font.setWeight(75)
        self.rbReject.setFont(font)
        self.rbReject.setCheckable(True)
        self.rbReject.setChecked(False)
        self.rbReject.setObjectName(_fromUtf8("rbReject"))
        self.gridLayout_20.addWidget(self.rbReject, 2, 1, 1, 1)
        self.txtLicense = QtGui.QTextEdit(self.groupBox_16)
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setWeight(75)
        self.txtLicense.setFont(font)
        self.txtLicense.setFrameShape(QtGui.QFrame.NoFrame)
        self.txtLicense.setFrameShadow(QtGui.QFrame.Raised)
        self.txtLicense.setObjectName(_fromUtf8("txtLicense"))
        self.gridLayout_20.addWidget(self.txtLicense, 1, 0, 1, 2)
        self.gridLayout_2.addWidget(self.groupBox_16, 0, 0, 1, 1)
        STDMWizard.addPage(self.wpLicense)
        self.wpPathSetting = QtGui.QWizardPage()
        self.wpPathSetting.setObjectName(_fromUtf8("wpPathSetting"))
        self.formLayout_2 = QtGui.QFormLayout(self.wpPathSetting)
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setSizeConstraint(QtGui.QLayout.SetNoConstraint)
        self.gridLayout.setContentsMargins(-1, 20, -1, -1)
        self.gridLayout.setVerticalSpacing(100)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.btnTemplates = QtGui.QPushButton(self.wpPathSetting)
        self.btnTemplates.setMinimumSize(QtCore.QSize(0, 30))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/open_file.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnTemplates.setIcon(icon)
        self.btnTemplates.setObjectName(_fromUtf8("btnTemplates"))
        self.gridLayout.addWidget(self.btnTemplates, 2, 2, 1, 1)
        self.btnDocOutput = QtGui.QPushButton(self.wpPathSetting)
        self.btnDocOutput.setMinimumSize(QtCore.QSize(0, 30))
        self.btnDocOutput.setIcon(icon)
        self.btnDocOutput.setObjectName(_fromUtf8("btnDocOutput"))
        self.gridLayout.addWidget(self.btnDocOutput, 1, 2, 1, 1)
        self.edtTemplatePath = QtGui.QLineEdit(self.wpPathSetting)
        self.edtTemplatePath.setMinimumSize(QtCore.QSize(0, 30))
        self.edtTemplatePath.setReadOnly(True)
        self.edtTemplatePath.setObjectName(_fromUtf8("edtTemplatePath"))
        self.gridLayout.addWidget(self.edtTemplatePath, 2, 1, 1, 1)
        self.label_37 = QtGui.QLabel(self.wpPathSetting)
        self.label_37.setMinimumSize(QtCore.QSize(0, 0))
        self.label_37.setObjectName(_fromUtf8("label_37"))
        self.gridLayout.addWidget(self.label_37, 0, 0, 1, 1)
        self.label_4 = QtGui.QLabel(self.wpPathSetting)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1)
        self.label_31 = QtGui.QLabel(self.wpPathSetting)
        self.label_31.setObjectName(_fromUtf8("label_31"))
        self.gridLayout.addWidget(self.label_31, 1, 0, 1, 1)
        self.edtOutputPath = QtGui.QLineEdit(self.wpPathSetting)
        self.edtOutputPath.setMinimumSize(QtCore.QSize(0, 30))
        self.edtOutputPath.setReadOnly(True)
        self.edtOutputPath.setObjectName(_fromUtf8("edtOutputPath"))
        self.gridLayout.addWidget(self.edtOutputPath, 1, 1, 1, 1)
        self.btnDocPath = QtGui.QPushButton(self.wpPathSetting)
        self.btnDocPath.setMinimumSize(QtCore.QSize(0, 30))
        self.btnDocPath.setIcon(icon)
        self.btnDocPath.setObjectName(_fromUtf8("btnDocPath"))
        self.gridLayout.addWidget(self.btnDocPath, 0, 2, 1, 1)
        self.edtDocPath = QtGui.QLineEdit(self.wpPathSetting)
        self.edtDocPath.setMinimumSize(QtCore.QSize(0, 30))
        self.edtDocPath.setToolTip(_fromUtf8(""))
        self.edtDocPath.setText(_fromUtf8(""))
        self.edtDocPath.setReadOnly(True)
        self.edtDocPath.setObjectName(_fromUtf8("edtDocPath"))
        self.gridLayout.addWidget(self.edtDocPath, 0, 1, 1, 1)
        self.formLayout_2.setLayout(0, QtGui.QFormLayout.SpanningRole, self.gridLayout)
        STDMWizard.addPage(self.wpPathSetting)
        self.wpProfile = QtGui.QWizardPage()
        self.wpProfile.setObjectName(_fromUtf8("wpProfile"))
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.wpProfile)
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.groupBox_17 = QtGui.QGroupBox(self.wpProfile)
        self.groupBox_17.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_17.setMaximumSize(QtCore.QSize(13900, 300))
        self.groupBox_17.setObjectName(_fromUtf8("groupBox_17"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBox_17)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.gridLayout_6 = QtGui.QGridLayout()
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.btnCopy = QtGui.QPushButton(self.groupBox_17)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnCopy.sizePolicy().hasHeightForWidth())
        self.btnCopy.setSizePolicy(sizePolicy)
        self.btnCopy.setMinimumSize(QtCore.QSize(0, 30))
        self.btnCopy.setMaximumSize(QtCore.QSize(150, 16777215))
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/composer_table.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnCopy.setIcon(icon1)
        self.btnCopy.setObjectName(_fromUtf8("btnCopy"))
        self.gridLayout_6.addWidget(self.btnCopy, 0, 3, 1, 1)
        self.btnPDelete = QtGui.QPushButton(self.groupBox_17)
        self.btnPDelete.setMinimumSize(QtCore.QSize(0, 30))
        self.btnPDelete.setMaximumSize(QtCore.QSize(150, 16777215))
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/remove.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnPDelete.setIcon(icon2)
        self.btnPDelete.setObjectName(_fromUtf8("btnPDelete"))
        self.gridLayout_6.addWidget(self.btnPDelete, 0, 4, 1, 1)
        self.cboProfile = QtGui.QComboBox(self.groupBox_17)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cboProfile.sizePolicy().hasHeightForWidth())
        self.cboProfile.setSizePolicy(sizePolicy)
        self.cboProfile.setMinimumSize(QtCore.QSize(10, 30))
        font = QtGui.QFont()
        font.setPointSize(9)
        self.cboProfile.setFont(font)
        self.cboProfile.setObjectName(_fromUtf8("cboProfile"))
        self.gridLayout_6.addWidget(self.cboProfile, 0, 1, 1, 1)
        self.label = QtGui.QLabel(self.groupBox_17)
        self.label.setMinimumSize(QtCore.QSize(50, 0))
        self.label.setMaximumSize(QtCore.QSize(16777215, 16777215))
        font = QtGui.QFont()
        font.setPointSize(9)
        font.setBold(False)
        font.setWeight(50)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_6.addWidget(self.label, 0, 0, 1, 1)
        self.btnNewP = QtGui.QPushButton(self.groupBox_17)
        self.btnNewP.setMinimumSize(QtCore.QSize(0, 30))
        self.btnNewP.setMaximumSize(QtCore.QSize(150, 16777215))
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/add.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnNewP.setIcon(icon3)
        self.btnNewP.setObjectName(_fromUtf8("btnNewP"))
        self.gridLayout_6.addWidget(self.btnNewP, 0, 2, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox_17)
        self.label_3.setMargin(0)
        self.label_3.setIndent(-1)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_6.addWidget(self.label_3, 1, 0, 1, 1)
        self.edtDesc = QtGui.QLineEdit(self.groupBox_17)
        self.edtDesc.setObjectName(_fromUtf8("edtDesc"))
        self.gridLayout_6.addWidget(self.edtDesc, 1, 1, 1, 4)
        self.verticalLayout_4.addLayout(self.gridLayout_6)
        self.widget = QtGui.QWidget(self.groupBox_17)
        self.widget.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.verticalLayout_4.addWidget(self.widget)
        self.verticalLayout_7.addWidget(self.groupBox_17)
        self.groupBox_18 = QtGui.QGroupBox(self.wpProfile)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_18.sizePolicy().hasHeightForWidth())
        self.groupBox_18.setSizePolicy(sizePolicy)
        self.groupBox_18.setMinimumSize(QtCore.QSize(0, 300))
        self.groupBox_18.setMaximumSize(QtCore.QSize(169999, 169999))
        self.groupBox_18.setStyleSheet(_fromUtf8("font: 75 9pt \"Myriad Web Pro\";"))
        self.groupBox_18.setObjectName(_fromUtf8("groupBox_18"))
        self.formLayout_3 = QtGui.QFormLayout(self.groupBox_18)
        self.formLayout_3.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_3.setObjectName(_fromUtf8("formLayout_3"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.btnNewEntity = QtGui.QPushButton(self.groupBox_18)
        self.btnNewEntity.setMinimumSize(QtCore.QSize(30, 25))
        self.btnNewEntity.setMaximumSize(QtCore.QSize(30, 25))
        self.btnNewEntity.setBaseSize(QtCore.QSize(30, 25))
        self.btnNewEntity.setText(_fromUtf8(""))
        self.btnNewEntity.setIcon(icon3)
        self.btnNewEntity.setObjectName(_fromUtf8("btnNewEntity"))
        self.horizontalLayout.addWidget(self.btnNewEntity)
        self.btnEditEntity = QtGui.QPushButton(self.groupBox_18)
        self.btnEditEntity.setMinimumSize(QtCore.QSize(30, 25))
        self.btnEditEntity.setMaximumSize(QtCore.QSize(30, 25))
        self.btnEditEntity.setText(_fromUtf8(""))
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/edit.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnEditEntity.setIcon(icon4)
        self.btnEditEntity.setObjectName(_fromUtf8("btnEditEntity"))
        self.horizontalLayout.addWidget(self.btnEditEntity)
        self.btnDeleteEntity = QtGui.QPushButton(self.groupBox_18)
        self.btnDeleteEntity.setMinimumSize(QtCore.QSize(30, 25))
        self.btnDeleteEntity.setMaximumSize(QtCore.QSize(30, 25))
        self.btnDeleteEntity.setText(_fromUtf8(""))
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/delete.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnDeleteEntity.setIcon(icon5)
        self.btnDeleteEntity.setObjectName(_fromUtf8("btnDeleteEntity"))
        self.horizontalLayout.addWidget(self.btnDeleteEntity)
        self.formLayout_3.setLayout(0, QtGui.QFormLayout.LabelRole, self.horizontalLayout)
        self.pftableView = QtGui.QTableView(self.groupBox_18)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.pftableView.sizePolicy().hasHeightForWidth())
        self.pftableView.setSizePolicy(sizePolicy)
        self.pftableView.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.pftableView.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.pftableView.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.pftableView.setObjectName(_fromUtf8("pftableView"))
        self.pftableView.horizontalHeader().setStretchLastSection(True)
        self.formLayout_3.setWidget(1, QtGui.QFormLayout.SpanningRole, self.pftableView)
        self.verticalLayout_7.addWidget(self.groupBox_18)
        STDMWizard.addPage(self.wpProfile)
        self.wpEntityCustom = QtGui.QWizardPage()
        self.wpEntityCustom.setObjectName(_fromUtf8("wpEntityCustom"))
        self.verticalLayout_9 = QtGui.QVBoxLayout(self.wpEntityCustom)
        self.verticalLayout_9.setObjectName(_fromUtf8("verticalLayout_9"))
        self.splitter_3 = QtGui.QSplitter(self.wpEntityCustom)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.splitter_3.sizePolicy().hasHeightForWidth())
        self.splitter_3.setSizePolicy(sizePolicy)
        self.splitter_3.setOrientation(QtCore.Qt.Vertical)
        self.splitter_3.setObjectName(_fromUtf8("splitter_3"))
        self.splitter = QtGui.QSplitter(self.splitter_3)
        self.splitter.setMinimumSize(QtCore.QSize(100, 100))
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.groupBox = QtGui.QGroupBox(self.splitter)
        self.groupBox.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout_8 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_8.setSpacing(5)
        self.verticalLayout_8.setMargin(5)
        self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8"))
        self.lvEntities = QtGui.QListView(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.lvEntities.sizePolicy().hasHeightForWidth())
        self.lvEntities.setSizePolicy(sizePolicy)
        self.lvEntities.setMinimumSize(QtCore.QSize(0, 0))
        self.lvEntities.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lvEntities.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.lvEntities.setObjectName(_fromUtf8("lvEntities"))
        self.verticalLayout_8.addWidget(self.lvEntities)
        self.groupBox_2 = QtGui.QGroupBox(self.splitter)
        self.groupBox_2.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout.setMargin(5)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.btnAddColumn = QtGui.QPushButton(self.groupBox_2)
        self.btnAddColumn.setMinimumSize(QtCore.QSize(30, 25))
        self.btnAddColumn.setMaximumSize(QtCore.QSize(30, 25))
        self.btnAddColumn.setText(_fromUtf8(""))
        self.btnAddColumn.setIcon(icon3)
        self.btnAddColumn.setIconSize(QtCore.QSize(20, 20))
        self.btnAddColumn.setObjectName(_fromUtf8("btnAddColumn"))
        self.horizontalLayout_2.addWidget(self.btnAddColumn)
        self.btnEditColumn = QtGui.QPushButton(self.groupBox_2)
        self.btnEditColumn.setMinimumSize(QtCore.QSize(30, 25))
        self.btnEditColumn.setMaximumSize(QtCore.QSize(30, 25))
        self.btnEditColumn.setText(_fromUtf8(""))
        self.btnEditColumn.setIcon(icon4)
        self.btnEditColumn.setIconSize(QtCore.QSize(20, 20))
        self.btnEditColumn.setObjectName(_fromUtf8("btnEditColumn"))
        self.horizontalLayout_2.addWidget(self.btnEditColumn)
        self.btnDeleteColumn = QtGui.QPushButton(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnDeleteColumn.sizePolicy().hasHeightForWidth())
        self.btnDeleteColumn.setSizePolicy(sizePolicy)
        self.btnDeleteColumn.setMinimumSize(QtCore.QSize(30, 25))
        self.btnDeleteColumn.setMaximumSize(QtCore.QSize(30, 25))
        self.btnDeleteColumn.setText(_fromUtf8(""))
        self.btnDeleteColumn.setIcon(icon5)
        self.btnDeleteColumn.setObjectName(_fromUtf8("btnDeleteColumn"))
        self.horizontalLayout_2.addWidget(self.btnDeleteColumn)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.tbvColumns = QtGui.QTableView(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.tbvColumns.sizePolicy().hasHeightForWidth())
        self.tbvColumns.setSizePolicy(sizePolicy)
        self.tbvColumns.setMinimumSize(QtCore.QSize(0, 0))
        self.tbvColumns.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.tbvColumns.setFrameShape(QtGui.QFrame.StyledPanel)
        self.tbvColumns.setFrameShadow(QtGui.QFrame.Sunken)
        self.tbvColumns.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.tbvColumns.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.tbvColumns.setObjectName(_fromUtf8("tbvColumns"))
        self.tbvColumns.horizontalHeader().setDefaultSectionSize(130)
        self.tbvColumns.horizontalHeader().setStretchLastSection(True)
        self.tbvColumns.verticalHeader().setDefaultSectionSize(30)
        self.verticalLayout.addWidget(self.tbvColumns)
        self.splitter_2 = QtGui.QSplitter(self.splitter_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.splitter_2.sizePolicy().hasHeightForWidth())
        self.splitter_2.setSizePolicy(sizePolicy)
        self.splitter_2.setMinimumSize(QtCore.QSize(100, 100))
        self.splitter_2.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.splitter_2.setBaseSize(QtCore.QSize(0, 230))
        self.splitter_2.setOrientation(QtCore.Qt.Horizontal)
        self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
        self.groupBox_5 = QtGui.QGroupBox(self.splitter_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_5.sizePolicy().hasHeightForWidth())
        self.groupBox_5.setSizePolicy(sizePolicy)
        self.groupBox_5.setMinimumSize(QtCore.QSize(100, 20))
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox_5)
        self.verticalLayout_3.setSpacing(7)
        self.verticalLayout_3.setMargin(5)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setSpacing(6)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.btnAddLookup = QtGui.QPushButton(self.groupBox_5)
        self.btnAddLookup.setMinimumSize(QtCore.QSize(30, 25))
        self.btnAddLookup.setMaximumSize(QtCore.QSize(30, 25))
        self.btnAddLookup.setText(_fromUtf8(""))
        self.btnAddLookup.setIcon(icon3)
        self.btnAddLookup.setObjectName(_fromUtf8("btnAddLookup"))
        self.horizontalLayout_4.addWidget(self.btnAddLookup)
        self.btnEditLookup = QtGui.QPushButton(self.groupBox_5)
        self.btnEditLookup.setMinimumSize(QtCore.QSize(30, 25))
        self.btnEditLookup.setMaximumSize(QtCore.QSize(30, 25))
        self.btnEditLookup.setText(_fromUtf8(""))
        self.btnEditLookup.setIcon(icon4)
        self.btnEditLookup.setObjectName(_fromUtf8("btnEditLookup"))
        self.horizontalLayout_4.addWidget(self.btnEditLookup)
        self.btnDeleteLookup = QtGui.QPushButton(self.groupBox_5)
        self.btnDeleteLookup.setMinimumSize(QtCore.QSize(30, 25))
        self.btnDeleteLookup.setMaximumSize(QtCore.QSize(30, 25))
        self.btnDeleteLookup.setText(_fromUtf8(""))
        self.btnDeleteLookup.setIcon(icon5)
        self.btnDeleteLookup.setObjectName(_fromUtf8("btnDeleteLookup"))
        self.horizontalLayout_4.addWidget(self.btnDeleteLookup)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem1)
        self.verticalLayout_3.addLayout(self.horizontalLayout_4)
        self.lvLookups = QtGui.QListView(self.groupBox_5)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.lvLookups.sizePolicy().hasHeightForWidth())
        self.lvLookups.setSizePolicy(sizePolicy)
        self.lvLookups.setMinimumSize(QtCore.QSize(0, 0))
        self.lvLookups.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lvLookups.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.lvLookups.setObjectName(_fromUtf8("lvLookups"))
        self.verticalLayout_3.addWidget(self.lvLookups)
        self.groupBox_6 = QtGui.QGroupBox(self.splitter_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_6.sizePolicy().hasHeightForWidth())
        self.groupBox_6.setSizePolicy(sizePolicy)
        self.groupBox_6.setMinimumSize(QtCore.QSize(0, 0))
        self.groupBox_6.setObjectName(_fromUtf8("groupBox_6"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_6)
        self.verticalLayout_2.setMargin(5)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.btnAddLkupValue = QtGui.QPushButton(self.groupBox_6)
        self.btnAddLkupValue.setMinimumSize(QtCore.QSize(30, 25))
        self.btnAddLkupValue.setMaximumSize(QtCore.QSize(30, 25))
        self.btnAddLkupValue.setText(_fromUtf8(""))
        self.btnAddLkupValue.setIcon(icon3)
        self.btnAddLkupValue.setObjectName(_fromUtf8("btnAddLkupValue"))
        self.horizontalLayout_5.addWidget(self.btnAddLkupValue)
        self.btnEditLkupValue = QtGui.QPushButton(self.groupBox_6)
        self.btnEditLkupValue.setMinimumSize(QtCore.QSize(30, 25))
        self.btnEditLkupValue.setMaximumSize(QtCore.QSize(30, 25))
        self.btnEditLkupValue.setText(_fromUtf8(""))
        self.btnEditLkupValue.setIcon(icon4)
        self.btnEditLkupValue.setObjectName(_fromUtf8("btnEditLkupValue"))
        self.horizontalLayout_5.addWidget(self.btnEditLkupValue)
        self.btnDeleteLkupValue = QtGui.QPushButton(self.groupBox_6)
        self.btnDeleteLkupValue.setMinimumSize(QtCore.QSize(30, 25))
        self.btnDeleteLkupValue.setMaximumSize(QtCore.QSize(30, 25))
        self.btnDeleteLkupValue.setText(_fromUtf8(""))
        self.btnDeleteLkupValue.setIcon(icon5)
        self.btnDeleteLkupValue.setObjectName(_fromUtf8("btnDeleteLkupValue"))
        self.horizontalLayout_5.addWidget(self.btnDeleteLkupValue)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem2)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        self.lvLookupValues = QtGui.QListView(self.groupBox_6)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.lvLookupValues.sizePolicy().hasHeightForWidth())
        self.lvLookupValues.setSizePolicy(sizePolicy)
        self.lvLookupValues.setMinimumSize(QtCore.QSize(0, 0))
        self.lvLookupValues.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.lvLookupValues.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.lvLookupValues.setObjectName(_fromUtf8("lvLookupValues"))
        self.verticalLayout_2.addWidget(self.lvLookupValues)
        self.verticalLayout_9.addWidget(self.splitter_3)
        STDMWizard.addPage(self.wpEntityCustom)
        self.wpSTR = QtGui.QWizardPage()
        self.wpSTR.setObjectName(_fromUtf8("wpSTR"))
        self.gridLayout_3 = QtGui.QGridLayout(self.wpSTR)
        self.gridLayout_3.setContentsMargins(2, 4, 2, 4)
        self.gridLayout_3.setHorizontalSpacing(6)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.dg_tenure = ProfileTenureDiagram(self.wpSTR)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dg_tenure.sizePolicy().hasHeightForWidth())
        self.dg_tenure.setSizePolicy(sizePolicy)
        self.dg_tenure.setMinimumSize(QtCore.QSize(100, 320))
        self.dg_tenure.setObjectName(_fromUtf8("dg_tenure"))
        self.gridLayout_3.addWidget(self.dg_tenure, 1, 1, 1, 1)
        self.scrollArea = QtGui.QScrollArea(self.wpSTR)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
        self.scrollArea.setSizePolicy(sizePolicy)
        self.scrollArea.setMinimumSize(QtCore.QSize(50, 0))
        self.scrollArea.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents_2 = QtGui.QWidget()
        self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 244, 624))
        self.scrollAreaWidgetContents_2.setObjectName(_fromUtf8("scrollAreaWidgetContents_2"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents_2)
        self.verticalLayout_5.setSpacing(5)
        self.verticalLayout_5.setContentsMargins(3, 0, 2, 1)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.label_5 = QtGui.QLabel(self.scrollAreaWidgetContents_2)
        self.label_5.setMinimumSize(QtCore.QSize(0, 0))
        self.label_5.setMaximumSize(QtCore.QSize(300, 16777215))
        self.label_5.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_5.setWordWrap(True)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.verticalLayout_5.addWidget(self.label_5)
        self.lst_parties = STRPartyListView(self.scrollAreaWidgetContents_2)
        self.lst_parties.setMaximumSize(QtCore.QSize(16777215, 120))
        self.lst_parties.setObjectName(_fromUtf8("lst_parties"))
        self.verticalLayout_5.addWidget(self.lst_parties)
        self.cbMultiParty = QtGui.QCheckBox(self.scrollAreaWidgetContents_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cbMultiParty.sizePolicy().hasHeightForWidth())
        self.cbMultiParty.setSizePolicy(sizePolicy)
        self.cbMultiParty.setObjectName(_fromUtf8("cbMultiParty"))
        self.verticalLayout_5.addWidget(self.cbMultiParty)
        self.label_6 = QtGui.QLabel(self.scrollAreaWidgetContents_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
        self.label_6.setSizePolicy(sizePolicy)
        self.label_6.setMinimumSize(QtCore.QSize(0, 0))
        self.label_6.setMaximumSize(QtCore.QSize(300, 16777215))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.verticalLayout_5.addWidget(self.label_6)
        self.lst_spatial_units = STRSpatialUnitListView(self.scrollAreaWidgetContents_2)
        self.lst_spatial_units.setMaximumSize(QtCore.QSize(16777215, 120))
        self.lst_spatial_units.setObjectName(_fromUtf8("lst_spatial_units"))
        self.verticalLayout_5.addWidget(self.lst_spatial_units)
        self.btn_sp_units_tenure = QtGui.QPushButton(self.scrollAreaWidgetContents_2)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/social_tenure.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btn_sp_units_tenure.setIcon(icon6)
        self.btn_sp_units_tenure.setObjectName(_fromUtf8("btn_sp_units_tenure"))
        self.verticalLayout_5.addWidget(self.btn_sp_units_tenure)
        self.label_7 = QtGui.QLabel(self.scrollAreaWidgetContents_2)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.verticalLayout_5.addWidget(self.label_7)
        self.gb_start_dates = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.gb_start_dates.sizePolicy().hasHeightForWidth())
        self.gb_start_dates.setSizePolicy(sizePolicy)
        self.gb_start_dates.setCheckable(True)
        self.gb_start_dates.setChecked(False)
        self.gb_start_dates.setObjectName(_fromUtf8("gb_start_dates"))
        self.gridLayout_4 = QtGui.QGridLayout(self.gb_start_dates)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.label_8 = QtGui.QLabel(self.gb_start_dates)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout_4.addWidget(self.label_8, 0, 0, 1, 1)
        self.dt_start_minimum = QtGui.QDateEdit(self.gb_start_dates)
        self.dt_start_minimum.setCalendarPopup(True)
        self.dt_start_minimum.setObjectName(_fromUtf8("dt_start_minimum"))
        self.gridLayout_4.addWidget(self.dt_start_minimum, 0, 1, 1, 1)
        self.label_9 = QtGui.QLabel(self.gb_start_dates)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout_4.addWidget(self.label_9, 1, 0, 1, 1)
        self.dt_start_maximum = QtGui.QDateEdit(self.gb_start_dates)
        self.dt_start_maximum.setCalendarPopup(True)
        self.dt_start_maximum.setObjectName(_fromUtf8("dt_start_maximum"))
        self.gridLayout_4.addWidget(self.dt_start_maximum, 1, 1, 1, 1)
        self.verticalLayout_5.addWidget(self.gb_start_dates)
        self.gb_end_dates = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents_2)
        self.gb_end_dates.setCheckable(True)
        self.gb_end_dates.setChecked(False)
        self.gb_end_dates.setObjectName(_fromUtf8("gb_end_dates"))
        self.gridLayout_5 = QtGui.QGridLayout(self.gb_end_dates)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.label_10 = QtGui.QLabel(self.gb_end_dates)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.gridLayout_5.addWidget(self.label_10, 0, 0, 1, 1)
        self.dt_end_minimum = QtGui.QDateEdit(self.gb_end_dates)
        self.dt_end_minimum.setCalendarPopup(True)
        self.dt_end_minimum.setObjectName(_fromUtf8("dt_end_minimum"))
        self.gridLayout_5.addWidget(self.dt_end_minimum, 0, 1, 1, 1)
        self.label_11 = QtGui.QLabel(self.gb_end_dates)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.gridLayout_5.addWidget(self.label_11, 1, 0, 1, 1)
        self.dt_end_maximum = QtGui.QDateEdit(self.gb_end_dates)
        self.dt_end_maximum.setCalendarPopup(True)
        self.dt_end_maximum.setObjectName(_fromUtf8("dt_end_maximum"))
        self.gridLayout_5.addWidget(self.dt_end_maximum, 1, 1, 1, 1)
        self.verticalLayout_5.addWidget(self.gb_end_dates)
        self.label_12 = QtGui.QLabel(self.scrollAreaWidgetContents_2)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.verticalLayout_5.addWidget(self.label_12)
        self.btn_custom_attrs = QtGui.QPushButton(self.scrollAreaWidgetContents_2)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/column.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btn_custom_attrs.setIcon(icon7)
        self.btn_custom_attrs.setObjectName(_fromUtf8("btn_custom_attrs"))
        self.verticalLayout_5.addWidget(self.btn_custom_attrs)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem3)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents_2)
        self.gridLayout_3.addWidget(self.scrollArea, 1, 0, 1, 1)
        self.vl_notification_str = QtGui.QVBoxLayout()
        self.vl_notification_str.setObjectName(_fromUtf8("vl_notification_str"))
        self.gridLayout_3.addLayout(self.vl_notification_str, 0, 0, 1, 2)
        STDMWizard.addPage(self.wpSTR)
        self.wpSaveProfile = QtGui.QWizardPage()
        self.wpSaveProfile.setObjectName(_fromUtf8("wpSaveProfile"))
        self.formLayout_10 = QtGui.QFormLayout(self.wpSaveProfile)
        self.formLayout_10.setObjectName(_fromUtf8("formLayout_10"))
        self.label_2 = QtGui.QLabel(self.wpSaveProfile)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout_10.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2)
        self.txtHtml = QtGui.QTextEdit(self.wpSaveProfile)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.txtHtml.sizePolicy().hasHeightForWidth())
        self.txtHtml.setSizePolicy(sizePolicy)
        self.txtHtml.setReadOnly(True)
        self.txtHtml.setObjectName(_fromUtf8("txtHtml"))
        self.formLayout_10.setWidget(1, QtGui.QFormLayout.SpanningRole, self.txtHtml)
        STDMWizard.addPage(self.wpSaveProfile)

        self.retranslateUi(STDMWizard)
        QtCore.QMetaObject.connectSlotsByName(STDMWizard)
        STDMWizard.setTabOrder(self.rbAccpt, self.cboProfile)
        STDMWizard.setTabOrder(self.cboProfile, self.rbReject)
        STDMWizard.setTabOrder(self.rbReject, self.btnPDelete)
        STDMWizard.setTabOrder(self.btnPDelete, self.btnNewP)
        STDMWizard.setTabOrder(self.btnNewP, self.pftableView)
        STDMWizard.setTabOrder(self.pftableView, self.btnNewEntity)
        STDMWizard.setTabOrder(self.btnNewEntity, self.btnEditEntity)
        STDMWizard.setTabOrder(self.btnEditEntity, self.btnDeleteEntity)
        STDMWizard.setTabOrder(self.btnDeleteEntity, self.btnDeleteColumn)
        STDMWizard.setTabOrder(self.btnDeleteColumn, self.btnEditColumn)
        STDMWizard.setTabOrder(self.btnEditColumn, self.btnAddColumn)
        STDMWizard.setTabOrder(self.btnAddColumn, self.tbvColumns)
        STDMWizard.setTabOrder(self.tbvColumns, self.lvLookups)
        STDMWizard.setTabOrder(self.lvLookups, self.btnEditLookup)
        STDMWizard.setTabOrder(self.btnEditLookup, self.lvLookupValues)
        STDMWizard.setTabOrder(self.lvLookupValues, self.btnEditLkupValue)
        STDMWizard.setTabOrder(self.btnEditLkupValue, self.txtLicense)

    def retranslateUi(self, STDMWizard):
        STDMWizard.setWindowTitle(QtGui.QApplication.translate("STDMWizard", "Configuration Wizard", None, QtGui.QApplication.UnicodeUTF8))
        self.wpLicense.setTitle(QtGui.QApplication.translate("STDMWizard", "End User License Agreement", None, QtGui.QApplication.UnicodeUTF8))
        self.wpLicense.setSubTitle(QtGui.QApplication.translate("STDMWizard", "Read carefully before you proceed", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_16.setTitle(QtGui.QApplication.translate("STDMWizard", "Terms and Conditions", None, QtGui.QApplication.UnicodeUTF8))
        self.rbAccpt.setText(QtGui.QApplication.translate("STDMWizard", "I Agree", None, QtGui.QApplication.UnicodeUTF8))
        self.rbReject.setText(QtGui.QApplication.translate("STDMWizard", "Decline", None, QtGui.QApplication.UnicodeUTF8))
        self.wpPathSetting.setTitle(QtGui.QApplication.translate("STDMWizard", "Directory Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.wpPathSetting.setSubTitle(QtGui.QApplication.translate("STDMWizard", "Specify configuration and documents directory path", None, QtGui.QApplication.UnicodeUTF8))
        self.btnTemplates.setText(QtGui.QApplication.translate("STDMWizard", "Change", None, QtGui.QApplication.UnicodeUTF8))
        self.btnDocOutput.setText(QtGui.QApplication.translate("STDMWizard", "Change", None, QtGui.QApplication.UnicodeUTF8))
        self.edtTemplatePath.setPlaceholderText(QtGui.QApplication.translate("STDMWizard", "Specify path to save document templates", None, QtGui.QApplication.UnicodeUTF8))
        self.label_37.setText(QtGui.QApplication.translate("STDMWizard", "<html><head/><body><p>Supporting documents path</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("STDMWizard", "Documents template path", None, QtGui.QApplication.UnicodeUTF8))
        self.label_31.setText(QtGui.QApplication.translate("STDMWizard", "Documents output path", None, QtGui.QApplication.UnicodeUTF8))
        self.edtOutputPath.setPlaceholderText(QtGui.QApplication.translate("STDMWizard", "Specify path to save generated documents", None, QtGui.QApplication.UnicodeUTF8))
        self.btnDocPath.setText(QtGui.QApplication.translate("STDMWizard", "Change", None, QtGui.QApplication.UnicodeUTF8))
        self.edtDocPath.setPlaceholderText(QtGui.QApplication.translate("STDMWizard", "Specify path to save entity supporting documents", None, QtGui.QApplication.UnicodeUTF8))
        self.wpProfile.setTitle(QtGui.QApplication.translate("STDMWizard", "Profile", None, QtGui.QApplication.UnicodeUTF8))
        self.wpProfile.setSubTitle(QtGui.QApplication.translate("STDMWizard", "Manage profile and related entities.  A profile represents a collection of logically related entities, some of which represent the party and spatial unit. Examples of profiles include individual, household, neighbourhood or even city-wide profiles.   ", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_17.setTitle(QtGui.QApplication.translate("STDMWizard", "Profile", None, QtGui.QApplication.UnicodeUTF8))
        self.btnCopy.setText(QtGui.QApplication.translate("STDMWizard", "Copy profile", None, QtGui.QApplication.UnicodeUTF8))
        self.btnPDelete.setText(QtGui.QApplication.translate("STDMWizard", "Delete profile", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("STDMWizard", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.btnNewP.setText(QtGui.QApplication.translate("STDMWizard", "New profile", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("STDMWizard", "Description", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_18.setTitle(QtGui.QApplication.translate("STDMWizard", "Profile entities ", None, QtGui.QApplication.UnicodeUTF8))
        self.wpEntityCustom.setTitle(QtGui.QApplication.translate("STDMWizard", "Entity Customization", None, QtGui.QApplication.UnicodeUTF8))
        self.wpEntityCustom.setSubTitle(QtGui.QApplication.translate("STDMWizard", "Add or edit entity columns, lookups and lookup values", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("STDMWizard", "Entities", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("STDMWizard", "Columns", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_5.setTitle(QtGui.QApplication.translate("STDMWizard", "Lookups", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_6.setTitle(QtGui.QApplication.translate("STDMWizard", "Values", None, QtGui.QApplication.UnicodeUTF8))
        self.wpSTR.setTitle(QtGui.QApplication.translate("STDMWizard", "Define Social Tenure Entities", None, QtGui.QApplication.UnicodeUTF8))
        self.wpSTR.setSubTitle(QtGui.QApplication.translate("STDMWizard", "Set entities to participate in the profile\'s social tenure relationship", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("STDMWizard", "1. Select the party entities", None, QtGui.QApplication.UnicodeUTF8))
        self.cbMultiParty.setText(QtGui.QApplication.translate("STDMWizard", "Allow multiple parties to be \n"
"linked to a single spatial unit", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("STDMWizard", "2. Select the spatial unit entities", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_sp_units_tenure.setText(QtGui.QApplication.translate("STDMWizard", "Spatial Unit Tenure Types...", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("STDMWizard", "3. Specify validity ranges (optional)", None, QtGui.QApplication.UnicodeUTF8))
        self.gb_start_dates.setTitle(QtGui.QApplication.translate("STDMWizard", "\'Start\' date range", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("STDMWizard", "Minimum", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("STDMWizard", "Maximum", None, QtGui.QApplication.UnicodeUTF8))
        self.gb_end_dates.setTitle(QtGui.QApplication.translate("STDMWizard", "\'End\' date range", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("STDMWizard", "Minimum", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(QtGui.QApplication.translate("STDMWizard", "Maximum", None, QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(QtGui.QApplication.translate("STDMWizard", "4. Specify custom tenure attributes (optional)", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_custom_attrs.setText(QtGui.QApplication.translate("STDMWizard", "Custom Attributes...", None, QtGui.QApplication.UnicodeUTF8))
        self.wpSaveProfile.setTitle(QtGui.QApplication.translate("STDMWizard", "Save configuration", None, QtGui.QApplication.UnicodeUTF8))
        self.wpSaveProfile.setSubTitle(QtGui.QApplication.translate("STDMWizard", "Click finish to save changes in your configuration to the database.  ", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("STDMWizard", "Save status will be displayed in the window below.", None, QtGui.QApplication.UnicodeUTF8))
Exemplo n.º 7
0
class Ui_Composite_Index(object):
    def setupUi(self, Composite_Index):
        Composite_Index.setObjectName(_fromUtf8("Composite_Index"))
        Composite_Index.resize(814, 754)
        self.verticalLayout = QtGui.QVBoxLayout(Composite_Index)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(
            QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label = QtGui.QLabel(Composite_Index)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label)
        self.cbx_aggregation_layer = QgsMapLayerComboBox(Composite_Index)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cbx_aggregation_layer.sizePolicy().hasHeightForWidth())
        self.cbx_aggregation_layer.setSizePolicy(sizePolicy)
        self.cbx_aggregation_layer.setObjectName(
            _fromUtf8("cbx_aggregation_layer"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole,
                                  self.cbx_aggregation_layer)
        self.label_4 = QtGui.QLabel(Composite_Index)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4)
        self.cbx_indicator_field = QgsFieldComboBox(Composite_Index)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cbx_indicator_field.sizePolicy().hasHeightForWidth())
        self.cbx_indicator_field.setSizePolicy(sizePolicy)
        self.cbx_indicator_field.setObjectName(
            _fromUtf8("cbx_indicator_field"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole,
                                  self.cbx_indicator_field)
        self.label_3 = QtGui.QLabel(Composite_Index)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(11, QtGui.QFormLayout.LabelRole,
                                  self.label_3)
        self.label_8 = QtGui.QLabel(Composite_Index)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.formLayout.setWidget(12, QtGui.QFormLayout.LabelRole,
                                  self.label_8)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.le_output_filepath = QtGui.QLineEdit(Composite_Index)
        self.le_output_filepath.setObjectName(_fromUtf8("le_output_filepath"))
        self.horizontalLayout_6.addWidget(self.le_output_filepath)
        self.button_browse = QtGui.QPushButton(Composite_Index)
        self.button_browse.setObjectName(_fromUtf8("button_browse"))
        self.horizontalLayout_6.addWidget(self.button_browse)
        self.formLayout.setLayout(12, QtGui.QFormLayout.FieldRole,
                                  self.horizontalLayout_6)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.formLayout.setLayout(13, QtGui.QFormLayout.FieldRole,
                                  self.horizontalLayout)
        self.radioButton_vector_positive = QtGui.QRadioButton(Composite_Index)
        self.radioButton_vector_positive.setChecked(True)
        self.radioButton_vector_positive.setObjectName(
            _fromUtf8("radioButton_vector_positive"))
        self.buttonGroup_2 = QtGui.QButtonGroup(Composite_Index)
        self.buttonGroup_2.setObjectName(_fromUtf8("buttonGroup_2"))
        self.buttonGroup_2.addButton(self.radioButton_vector_positive)
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole,
                                  self.radioButton_vector_positive)
        self.radioButton_vector_negative = QtGui.QRadioButton(Composite_Index)
        self.radioButton_vector_negative.setObjectName(
            _fromUtf8("radioButton_vector_negative"))
        self.buttonGroup_2.addButton(self.radioButton_vector_negative)
        self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole,
                                  self.radioButton_vector_negative)
        self.le_new_column = QtGui.QLineEdit(Composite_Index)
        self.le_new_column.setMaxLength(10)
        self.le_new_column.setObjectName(_fromUtf8("le_new_column"))
        self.formLayout.setWidget(11, QtGui.QFormLayout.FieldRole,
                                  self.le_new_column)
        self.cbx_list_indicators = QtGui.QListWidget(Composite_Index)
        self.cbx_list_indicators.setObjectName(
            _fromUtf8("cbx_list_indicators"))
        self.formLayout.setWidget(10, QtGui.QFormLayout.FieldRole,
                                  self.cbx_list_indicators)
        self.command_link_button = QtGui.QCommandLinkButton(Composite_Index)
        self.command_link_button.setObjectName(
            _fromUtf8("command_link_button"))
        self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole,
                                  self.command_link_button)
        self.label_2 = QtGui.QLabel(Composite_Index)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(9, QtGui.QFormLayout.FieldRole, self.label_2)
        self.verticalLayout.addLayout(self.formLayout)
        self.symbology = QgsCollapsibleGroupBox(Composite_Index)
        self.symbology.setCheckable(True)
        self.symbology.setProperty("collapsed", False)
        self.symbology.setObjectName(_fromUtf8("symbology"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.symbology)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.label_9 = QtGui.QLabel(self.symbology)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.horizontalLayout_3.addWidget(self.label_9)
        self.color_low_value = QgsColorButton(self.symbology)
        self.color_low_value.setProperty("color", QtGui.QColor(50, 164, 46))
        self.color_low_value.setObjectName(_fromUtf8("color_low_value"))
        self.horizontalLayout_3.addWidget(self.color_low_value)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.label_10 = QtGui.QLabel(self.symbology)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.horizontalLayout_3.addWidget(self.label_10)
        self.color_high_value = QgsColorButton(self.symbology)
        self.color_high_value.setProperty("color", QtGui.QColor(202, 33, 36))
        self.color_high_value.setObjectName(_fromUtf8("color_high_value"))
        self.horizontalLayout_3.addWidget(self.color_high_value)
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.label_11 = QtGui.QLabel(self.symbology)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.horizontalLayout_4.addWidget(self.label_11)
        self.spinBox_classes = QtGui.QSpinBox(self.symbology)
        self.spinBox_classes.setMinimum(1)
        self.spinBox_classes.setProperty("value", 5)
        self.spinBox_classes.setObjectName(_fromUtf8("spinBox_classes"))
        self.horizontalLayout_4.addWidget(self.spinBox_classes)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem1)
        self.label_12 = QtGui.QLabel(self.symbology)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.horizontalLayout_4.addWidget(self.label_12)
        self.cbx_mode = QtGui.QComboBox(self.symbology)
        self.cbx_mode.setObjectName(_fromUtf8("cbx_mode"))
        self.horizontalLayout_4.addWidget(self.cbx_mode)
        self.verticalLayout_3.addLayout(self.horizontalLayout_4)
        self.verticalLayout.addWidget(self.symbology)
        self.button_box_ok = QtGui.QDialogButtonBox(Composite_Index)
        self.button_box_ok.setOrientation(QtCore.Qt.Horizontal)
        self.button_box_ok.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                              | QtGui.QDialogButtonBox.Ok)
        self.button_box_ok.setObjectName(_fromUtf8("button_box_ok"))
        self.verticalLayout.addWidget(self.button_box_ok)

        self.retranslateUi(Composite_Index)
        QtCore.QObject.connect(
            self.cbx_aggregation_layer,
            QtCore.SIGNAL(_fromUtf8("layerChanged(QgsMapLayer*)")),
            self.cbx_indicator_field.setLayer)
        QtCore.QMetaObject.connectSlotsByName(Composite_Index)

    def retranslateUi(self, Composite_Index):
        Composite_Index.setWindowTitle(
            _translate("Composite_Index", "Incidence", None))
        self.label.setText(_translate("Composite_Index", "Layer", None))
        self.label_4.setText(
            _translate("Composite_Index", "Indicator field", None))
        self.label_3.setText(
            _translate("Composite_Index", "Composite Index", None))
        self.label_8.setText(_translate("Composite_Index", "Output", None))
        self.le_output_filepath.setPlaceholderText(
            _translate("Composite_Index", "Save to temporary file", None))
        self.button_browse.setText(
            _translate("Composite_Index", "Browse", None))
        self.radioButton_vector_positive.setText(
            _translate(
                "Composite_Index",
                "Higher the value of the indicator better the conditions for the population",
                None))
        self.radioButton_vector_negative.setText(
            _translate(
                "Composite_Index",
                "Higher the value of the indicator worse the conditions for the population",
                None))
        self.le_new_column.setPlaceholderText(
            _translate("Composite_Index", "UHN", None))
        self.command_link_button.setText(
            _translate("Composite_Index", "Add to Index", None))
        self.label_2.setText(
            _translate(
                "Composite_Index",
                "For removing and Indicator Click Twice in the one you want to remove",
                None))
        self.symbology.setTitle(
            _translate("Composite_Index", "Add a symbology", None))
        self.label_9.setText(
            _translate("Composite_Index", "Low Priority", None))
        self.label_10.setText(
            _translate("Composite_Index", "High Priority", None))
        self.label_11.setText(_translate("Composite_Index", "Classes", None))
        self.label_12.setText(_translate("Composite_Index", "Mode", None))
Exemplo n.º 8
0
class Ui_GdalToolsWidget(object):
    def setupUi(self, GdalToolsWidget):
        GdalToolsWidget.setObjectName(_fromUtf8("GdalToolsWidget"))
        GdalToolsWidget.resize(478, 404)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(GdalToolsWidget.sizePolicy().hasHeightForWidth())
        GdalToolsWidget.setSizePolicy(sizePolicy)
        self.verticalLayout_2 = QtGui.QVBoxLayout(GdalToolsWidget)
        self.verticalLayout_2.setContentsMargins(5, -1, -1, -1)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(GdalToolsWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.label_2 = QtGui.QLabel(GdalToolsWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.bandCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.bandCheck.setObjectName(_fromUtf8("bandCheck"))
        self.gridLayout.addWidget(self.bandCheck, 2, 0, 1, 1)
        self.bandSpin = QtGui.QSpinBox(GdalToolsWidget)
        self.bandSpin.setMinimum(1)
        self.bandSpin.setObjectName(_fromUtf8("bandSpin"))
        self.gridLayout.addWidget(self.bandSpin, 2, 1, 1, 1)
        self.computeEdgesCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.computeEdgesCheck.setObjectName(_fromUtf8("computeEdgesCheck"))
        self.gridLayout.addWidget(self.computeEdgesCheck, 3, 0, 1, 2)
        self.algorithmCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.algorithmCheck.setObjectName(_fromUtf8("algorithmCheck"))
        self.gridLayout.addWidget(self.algorithmCheck, 4, 0, 1, 2)
        self.inSelector = GdalToolsInOutSelector(GdalToolsWidget)
        self.inSelector.setObjectName(_fromUtf8("inSelector"))
        self.gridLayout.addWidget(self.inSelector, 0, 1, 1, 1)
        self.outSelector = GdalToolsInOutSelector(GdalToolsWidget)
        self.outSelector.setObjectName(_fromUtf8("outSelector"))
        self.gridLayout.addWidget(self.outSelector, 1, 1, 1, 1)
        self.label_3 = QtGui.QLabel(GdalToolsWidget)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 5, 0, 1, 1)
        self.modeCombo = QtGui.QComboBox(GdalToolsWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.modeCombo.sizePolicy().hasHeightForWidth())
        self.modeCombo.setSizePolicy(sizePolicy)
        self.modeCombo.setObjectName(_fromUtf8("modeCombo"))
        self.modeCombo.addItem(_fromUtf8(""))
        self.modeCombo.addItem(_fromUtf8(""))
        self.modeCombo.addItem(_fromUtf8(""))
        self.modeCombo.addItem(_fromUtf8(""))
        self.modeCombo.addItem(_fromUtf8(""))
        self.modeCombo.addItem(_fromUtf8(""))
        self.modeCombo.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.modeCombo, 5, 1, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout)
        self.groupBox = QtGui.QGroupBox(GdalToolsWidget)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setMargin(0)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.stackedWidget = QtGui.QStackedWidget(self.groupBox)
        self.stackedWidget.setObjectName(_fromUtf8("stackedWidget"))
        self.page = QtGui.QWidget()
        self.page.setObjectName(_fromUtf8("page"))
        self.gridLayout_3 = QtGui.QGridLayout(self.page)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.label_4 = QtGui.QLabel(self.page)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_3.addWidget(self.label_4, 0, 0, 1, 1)
        self.hillshadeZFactorSpin = QtGui.QDoubleSpinBox(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.hillshadeZFactorSpin.sizePolicy().hasHeightForWidth())
        self.hillshadeZFactorSpin.setSizePolicy(sizePolicy)
        self.hillshadeZFactorSpin.setDecimals(2)
        self.hillshadeZFactorSpin.setMaximum(100000000.0)
        self.hillshadeZFactorSpin.setObjectName(_fromUtf8("hillshadeZFactorSpin"))
        self.gridLayout_3.addWidget(self.hillshadeZFactorSpin, 0, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.page)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_3.addWidget(self.label_5, 1, 0, 1, 1)
        self.hillshadeScaleSpin = QtGui.QDoubleSpinBox(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.hillshadeScaleSpin.sizePolicy().hasHeightForWidth())
        self.hillshadeScaleSpin.setSizePolicy(sizePolicy)
        self.hillshadeScaleSpin.setDecimals(2)
        self.hillshadeScaleSpin.setMaximum(999999.0)
        self.hillshadeScaleSpin.setObjectName(_fromUtf8("hillshadeScaleSpin"))
        self.gridLayout_3.addWidget(self.hillshadeScaleSpin, 1, 1, 1, 1)
        self.label_6 = QtGui.QLabel(self.page)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_3.addWidget(self.label_6, 2, 0, 1, 1)
        self.hillshadeAzimuthSpin = QtGui.QDoubleSpinBox(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.hillshadeAzimuthSpin.sizePolicy().hasHeightForWidth())
        self.hillshadeAzimuthSpin.setSizePolicy(sizePolicy)
        self.hillshadeAzimuthSpin.setDecimals(1)
        self.hillshadeAzimuthSpin.setMaximum(359.0)
        self.hillshadeAzimuthSpin.setObjectName(_fromUtf8("hillshadeAzimuthSpin"))
        self.gridLayout_3.addWidget(self.hillshadeAzimuthSpin, 2, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.page)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout_3.addWidget(self.label_7, 3, 0, 1, 1)
        self.hillshadeAltitudeSpin = QtGui.QDoubleSpinBox(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.hillshadeAltitudeSpin.sizePolicy().hasHeightForWidth())
        self.hillshadeAltitudeSpin.setSizePolicy(sizePolicy)
        self.hillshadeAltitudeSpin.setDecimals(1)
        self.hillshadeAltitudeSpin.setMaximum(359.0)
        self.hillshadeAltitudeSpin.setObjectName(_fromUtf8("hillshadeAltitudeSpin"))
        self.gridLayout_3.addWidget(self.hillshadeAltitudeSpin, 3, 1, 1, 1)
        self.stackedWidget.addWidget(self.page)
        self.page_2 = QtGui.QWidget()
        self.page_2.setObjectName(_fromUtf8("page_2"))
        self.gridLayout_2 = QtGui.QGridLayout(self.page_2)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.slopePercentCheck = QtGui.QCheckBox(self.page_2)
        self.slopePercentCheck.setObjectName(_fromUtf8("slopePercentCheck"))
        self.gridLayout_2.addWidget(self.slopePercentCheck, 0, 0, 1, 2)
        self.label_8 = QtGui.QLabel(self.page_2)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout_2.addWidget(self.label_8, 1, 0, 1, 1)
        self.slopeScaleSpin = QtGui.QDoubleSpinBox(self.page_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.slopeScaleSpin.sizePolicy().hasHeightForWidth())
        self.slopeScaleSpin.setSizePolicy(sizePolicy)
        self.slopeScaleSpin.setDecimals(2)
        self.slopeScaleSpin.setMaximum(999999.0)
        self.slopeScaleSpin.setObjectName(_fromUtf8("slopeScaleSpin"))
        self.gridLayout_2.addWidget(self.slopeScaleSpin, 1, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 2, 0, 1, 1)
        self.stackedWidget.addWidget(self.page_2)
        self.page_3 = QtGui.QWidget()
        self.page_3.setObjectName(_fromUtf8("page_3"))
        self.gridLayout_4 = QtGui.QGridLayout(self.page_3)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.aspectTrigonometricCheck = QtGui.QCheckBox(self.page_3)
        self.aspectTrigonometricCheck.setObjectName(_fromUtf8("aspectTrigonometricCheck"))
        self.gridLayout_4.addWidget(self.aspectTrigonometricCheck, 0, 0, 1, 1)
        self.aspectZeroForFlatCheck = QtGui.QCheckBox(self.page_3)
        self.aspectZeroForFlatCheck.setObjectName(_fromUtf8("aspectZeroForFlatCheck"))
        self.gridLayout_4.addWidget(self.aspectZeroForFlatCheck, 1, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem1, 2, 0, 1, 1)
        self.stackedWidget.addWidget(self.page_3)
        self.page_4 = QtGui.QWidget()
        self.page_4.setObjectName(_fromUtf8("page_4"))
        self.gridLayout_5 = QtGui.QGridLayout(self.page_4)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.label_9 = QtGui.QLabel(self.page_4)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout_5.addWidget(self.label_9, 0, 0, 1, 1)
        self.colorMatchGroupBox = QtGui.QGroupBox(self.page_4)
        self.colorMatchGroupBox.setCheckable(True)
        self.colorMatchGroupBox.setChecked(False)
        self.colorMatchGroupBox.setObjectName(_fromUtf8("colorMatchGroupBox"))
        self.gridLayout_6 = QtGui.QGridLayout(self.colorMatchGroupBox)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.colorExactRadio = QtGui.QRadioButton(self.colorMatchGroupBox)
        self.colorExactRadio.setCheckable(True)
        self.colorExactRadio.setChecked(True)
        self.colorExactRadio.setObjectName(_fromUtf8("colorExactRadio"))
        self.gridLayout_6.addWidget(self.colorExactRadio, 0, 0, 1, 1)
        self.colorNearestRadio = QtGui.QRadioButton(self.colorMatchGroupBox)
        self.colorNearestRadio.setObjectName(_fromUtf8("colorNearestRadio"))
        self.gridLayout_6.addWidget(self.colorNearestRadio, 1, 0, 1, 1)
        self.gridLayout_5.addWidget(self.colorMatchGroupBox, 1, 0, 1, 2)
        self.colorAlphaCheck = QtGui.QCheckBox(self.page_4)
        self.colorAlphaCheck.setObjectName(_fromUtf8("colorAlphaCheck"))
        self.gridLayout_5.addWidget(self.colorAlphaCheck, 2, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_5.addItem(spacerItem2, 3, 0, 1, 1)
        self.configSelector = GdalToolsInOutSelector(self.page_4)
        self.configSelector.setObjectName(_fromUtf8("configSelector"))
        self.gridLayout_5.addWidget(self.configSelector, 0, 1, 1, 1)
        self.stackedWidget.addWidget(self.page_4)
        self.page_5 = QtGui.QWidget()
        self.page_5.setObjectName(_fromUtf8("page_5"))
        self.stackedWidget.addWidget(self.page_5)
        self.page_6 = QtGui.QWidget()
        self.page_6.setObjectName(_fromUtf8("page_6"))
        self.stackedWidget.addWidget(self.page_6)
        self.page_7 = QtGui.QWidget()
        self.page_7.setObjectName(_fromUtf8("page_7"))
        self.stackedWidget.addWidget(self.page_7)
        self.verticalLayout_3.addWidget(self.stackedWidget)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.creationOptionsGroupBox = QgsCollapsibleGroupBox(GdalToolsWidget)
        self.creationOptionsGroupBox.setProperty("collapsed", False)
        self.creationOptionsGroupBox.setProperty("saveCollapsedState", True)
        self.creationOptionsGroupBox.setEnabled(True)
        self.creationOptionsGroupBox.setCheckable(True)
        self.creationOptionsGroupBox.setChecked(False)
        self.creationOptionsGroupBox.setObjectName(_fromUtf8("creationOptionsGroupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.creationOptionsGroupBox)
        self.verticalLayout.setContentsMargins(9, -1, -1, -1)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.creationOptionsWidget = QgsRasterFormatSaveOptionsWidget(self.creationOptionsGroupBox)
        self.creationOptionsWidget.setObjectName(_fromUtf8("creationOptionsWidget"))
        self.verticalLayout.addWidget(self.creationOptionsWidget)
        self.verticalLayout_2.addWidget(self.creationOptionsGroupBox)
        self.label.setBuddy(self.inSelector)
        self.label_2.setBuddy(self.outSelector)
        self.label_3.setBuddy(self.modeCombo)

        self.retranslateUi(GdalToolsWidget)
        self.modeCombo.setCurrentIndex(0)
        self.stackedWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.modeCombo, QtCore.SIGNAL(_fromUtf8("currentIndexChanged(int)")), self.stackedWidget.setCurrentIndex)
        QtCore.QMetaObject.connectSlotsByName(GdalToolsWidget)

    def retranslateUi(self, GdalToolsWidget):
        GdalToolsWidget.setWindowTitle(_translate("GdalToolsWidget", "DEM (Terrain models)", None))
        self.label.setText(_translate("GdalToolsWidget", "&Input file (DEM raster)", None))
        self.label_2.setText(_translate("GdalToolsWidget", "&Output file", None))
        self.bandCheck.setText(_translate("GdalToolsWidget", "&Band", None))
        self.computeEdgesCheck.setText(_translate("GdalToolsWidget", "Compute &edges", None))
        self.algorithmCheck.setText(_translate("GdalToolsWidget", "Use Zevenbergen&&Thorne formula (instead of the Horn\'s one)", None))
        self.label_3.setText(_translate("GdalToolsWidget", "&Mode", None))
        self.modeCombo.setItemText(0, _translate("GdalToolsWidget", "Hillshade", None))
        self.modeCombo.setItemText(1, _translate("GdalToolsWidget", "Slope", None))
        self.modeCombo.setItemText(2, _translate("GdalToolsWidget", "Aspect", None))
        self.modeCombo.setItemText(3, _translate("GdalToolsWidget", "Color relief", None))
        self.modeCombo.setItemText(4, _translate("GdalToolsWidget", "TRI (Terrain Ruggedness Index)", None))
        self.modeCombo.setItemText(5, _translate("GdalToolsWidget", "TPI (Topographic Position Index)", None))
        self.modeCombo.setItemText(6, _translate("GdalToolsWidget", "Roughness", None))
        self.groupBox.setTitle(_translate("GdalToolsWidget", "Mode Options", None))
        self.label_4.setText(_translate("GdalToolsWidget", "Z factor (vertical exaggeration)", None))
        self.label_5.setText(_translate("GdalToolsWidget", "Scale (ratio of vert. units to horiz.)", None))
        self.label_6.setText(_translate("GdalToolsWidget", "Azimuth of the light", None))
        self.label_7.setText(_translate("GdalToolsWidget", "Altitude of the light", None))
        self.slopePercentCheck.setText(_translate("GdalToolsWidget", "Slope expressed as percent (instead of as degrees)", None))
        self.label_8.setText(_translate("GdalToolsWidget", "Scale (ratio of vert. units to horiz.)", None))
        self.aspectTrigonometricCheck.setText(_translate("GdalToolsWidget", "Return trigonometric angle (instead of azimuth)", None))
        self.aspectZeroForFlatCheck.setText(_translate("GdalToolsWidget", "Return 0 for flat (instead of -9999)", None))
        self.label_9.setText(_translate("GdalToolsWidget", "Color configuration file", None))
        self.colorMatchGroupBox.setTitle(_translate("GdalToolsWidget", "Matching mode", None))
        self.colorExactRadio.setText(_translate("GdalToolsWidget", "Exact color (otherwise \"0,0,0,0\" RGBA)", None))
        self.colorNearestRadio.setText(_translate("GdalToolsWidget", "Nearest color", None))
        self.colorAlphaCheck.setText(_translate("GdalToolsWidget", "Add alpha channel", None))
        self.creationOptionsGroupBox.setTitle(_translate("GdalToolsWidget", "&Creation Options", None))
Exemplo n.º 9
0
class Ui_GdalToolsWidget(object):
    def setupUi(self, GdalToolsWidget):
        GdalToolsWidget.setObjectName(_fromUtf8("GdalToolsWidget"))
        GdalToolsWidget.resize(371, 284)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(GdalToolsWidget.sizePolicy().hasHeightForWidth())
        GdalToolsWidget.setSizePolicy(sizePolicy)
        self.verticalLayout = QtGui.QVBoxLayout(GdalToolsWidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(GdalToolsWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.label_2 = QtGui.QLabel(GdalToolsWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 3, 0, 1, 1)
        self.noDataCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.noDataCheck.setObjectName(_fromUtf8("noDataCheck"))
        self.gridLayout.addWidget(self.noDataCheck, 4, 0, 1, 1)
        self.noDataSpin = QtGui.QSpinBox(GdalToolsWidget)
        self.noDataSpin.setMinimum(-100000)
        self.noDataSpin.setMaximum(65000)
        self.noDataSpin.setObjectName(_fromUtf8("noDataSpin"))
        self.gridLayout.addWidget(self.noDataSpin, 4, 1, 1, 1)
        self.inSelector = GdalToolsInOutSelector(GdalToolsWidget)
        self.inSelector.setObjectName(_fromUtf8("inSelector"))
        self.gridLayout.addWidget(self.inSelector, 1, 1, 1, 1)
        self.outSelector = GdalToolsInOutSelector(GdalToolsWidget)
        self.outSelector.setObjectName(_fromUtf8("outSelector"))
        self.gridLayout.addWidget(self.outSelector, 3, 1, 1, 1)
        self.inputDirCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.inputDirCheck.setObjectName(_fromUtf8("inputDirCheck"))
        self.gridLayout.addWidget(self.inputDirCheck, 0, 0, 1, 2)
        self.recurseCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.recurseCheck.setObjectName(_fromUtf8("recurseCheck"))
        self.gridLayout.addWidget(self.recurseCheck, 2, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.separateCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.separateCheck.setObjectName(_fromUtf8("separateCheck"))
        self.verticalLayout.addWidget(self.separateCheck)
        self.intersectCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.intersectCheck.setEnabled(False)
        self.intersectCheck.setObjectName(_fromUtf8("intersectCheck"))
        self.verticalLayout.addWidget(self.intersectCheck)
        self.pctCheck = QtGui.QCheckBox(GdalToolsWidget)
        self.pctCheck.setObjectName(_fromUtf8("pctCheck"))
        self.verticalLayout.addWidget(self.pctCheck)
        self.creationOptionsGroupBox = QgsCollapsibleGroupBox(GdalToolsWidget)
        self.creationOptionsGroupBox.setCheckable(True)
        self.creationOptionsGroupBox.setChecked(False)
        self.creationOptionsGroupBox.setProperty("collapsed", False)
        self.creationOptionsGroupBox.setProperty("saveCollapsedState", True)
        self.creationOptionsGroupBox.setObjectName(_fromUtf8("creationOptionsGroupBox"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.creationOptionsGroupBox)
        self.verticalLayout_2.setMargin(9)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.creationOptionsWidget = QgsRasterFormatSaveOptionsWidget(self.creationOptionsGroupBox)
        self.creationOptionsWidget.setObjectName(_fromUtf8("creationOptionsWidget"))
        self.verticalLayout_2.addWidget(self.creationOptionsWidget)
        self.verticalLayout.addWidget(self.creationOptionsGroupBox)
        self.label.setBuddy(self.inSelector)
        self.label_2.setBuddy(self.outSelector)

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

    def retranslateUi(self, GdalToolsWidget):
        GdalToolsWidget.setWindowTitle(_translate("GdalToolsWidget", "Merge", None))
        self.label.setText(_translate("GdalToolsWidget", "&Input files", None))
        self.label_2.setText(_translate("GdalToolsWidget", "&Output file", None))
        self.noDataCheck.setText(_translate("GdalToolsWidget", "&No data value", None))
        self.inputDirCheck.setText(_translate("GdalToolsWidget", "Choose input directory instead of files", None))
        self.recurseCheck.setText(_translate("GdalToolsWidget", "Recurse subdirectories", None))
        self.separateCheck.setText(_translate("GdalToolsWidget", "Layer stack", None))
        self.intersectCheck.setText(_translate("GdalToolsWidget", "Use intersected extent", None))
        self.pctCheck.setText(_translate("GdalToolsWidget", "Grab pseudocolor table from the first image", None))
        self.creationOptionsGroupBox.setTitle(_translate("GdalToolsWidget", "&Creation Options", None))
Exemplo n.º 10
0
class Ui_MetadataDetails(object):
    def setupUi(self, MetadataDetails):
        MetadataDetails.setObjectName(_fromUtf8("MetadataDetails"))
        MetadataDetails.resize(1031, 718)
        self.gridLayout_6 = QtGui.QGridLayout(MetadataDetails)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.lbl_title = QtGui.QLabel(MetadataDetails)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.lbl_title.setFont(font)
        self.lbl_title.setTextFormat(QtCore.Qt.AutoText)
        self.lbl_title.setAlignment(QtCore.Qt.AlignCenter)
        self.lbl_title.setWordWrap(True)
        self.lbl_title.setObjectName(_fromUtf8("lbl_title"))
        self.gridLayout_6.addWidget(self.lbl_title, 0, 0, 1, 2)
        self.grp_ident = QtGui.QGroupBox(MetadataDetails)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grp_ident.sizePolicy().hasHeightForWidth())
        self.grp_ident.setSizePolicy(sizePolicy)
        self.grp_ident.setMinimumSize(QtCore.QSize(0, 0))
        self.grp_ident.setMaximumSize(QtCore.QSize(16777215, 141))
        self.grp_ident.setObjectName(_fromUtf8("grp_ident"))
        self.gridLayout_3 = QtGui.QGridLayout(self.grp_ident)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lbl_owner = QtGui.QLabel(self.grp_ident)
        self.lbl_owner.setMinimumSize(QtCore.QSize(16, 16))
        self.lbl_owner.setMaximumSize(QtCore.QSize(20, 20))
        self.lbl_owner.setText(_fromUtf8(""))
        self.lbl_owner.setPixmap(
            QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/users.svg")))
        self.lbl_owner.setScaledContents(True)
        self.lbl_owner.setObjectName(_fromUtf8("lbl_owner"))
        self.horizontalLayout.addWidget(self.lbl_owner)
        self.val_owner = QtGui.QTextEdit(self.grp_ident)
        self.val_owner.setMaximumSize(QtCore.QSize(16777215, 23))
        self.val_owner.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.val_owner.setHorizontalScrollBarPolicy(
            QtCore.Qt.ScrollBarAlwaysOff)
        self.val_owner.setReadOnly(True)
        self.val_owner.setObjectName(_fromUtf8("val_owner"))
        self.horizontalLayout.addWidget(self.val_owner)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.lbl_keywords = QtGui.QLabel(self.grp_ident)
        self.lbl_keywords.setMinimumSize(QtCore.QSize(16, 16))
        self.lbl_keywords.setMaximumSize(QtCore.QSize(16, 16))
        self.lbl_keywords.setText(_fromUtf8(""))
        self.lbl_keywords.setPixmap(
            QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/tag.svg")))
        self.lbl_keywords.setScaledContents(True)
        self.lbl_keywords.setWordWrap(False)
        self.lbl_keywords.setObjectName(_fromUtf8("lbl_keywords"))
        self.horizontalLayout_2.addWidget(self.lbl_keywords)
        self.val_keywords = QtGui.QTextEdit(self.grp_ident)
        self.val_keywords.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.val_keywords.setReadOnly(True)
        self.val_keywords.setObjectName(_fromUtf8("val_keywords"))
        self.horizontalLayout_2.addWidget(self.val_keywords)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.lbl_inspire_themes = QtGui.QLabel(self.grp_ident)
        self.lbl_inspire_themes.setMinimumSize(QtCore.QSize(16, 16))
        self.lbl_inspire_themes.setMaximumSize(QtCore.QSize(16, 16))
        self.lbl_inspire_themes.setText(_fromUtf8(""))
        self.lbl_inspire_themes.setPixmap(
            QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/leaf.svg")))
        self.lbl_inspire_themes.setScaledContents(True)
        self.lbl_inspire_themes.setObjectName(_fromUtf8("lbl_inspire_themes"))
        self.horizontalLayout_3.addWidget(self.lbl_inspire_themes)
        self.val_inspire_themes = QtGui.QTextEdit(self.grp_ident)
        self.val_inspire_themes.setMaximumSize(QtCore.QSize(
            16777215, 16777215))
        self.val_inspire_themes.setReadOnly(True)
        self.val_inspire_themes.setObjectName(_fromUtf8("val_inspire_themes"))
        self.horizontalLayout_3.addWidget(self.val_inspire_themes)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_4.addLayout(self.verticalLayout)
        self.val_abstract = QtGui.QTextEdit(self.grp_ident)
        self.val_abstract.setHorizontalScrollBarPolicy(
            QtCore.Qt.ScrollBarAlwaysOff)
        self.val_abstract.setReadOnly(True)
        self.val_abstract.setObjectName(_fromUtf8("val_abstract"))
        self.horizontalLayout_4.addWidget(self.val_abstract)
        self.gridLayout_3.addLayout(self.horizontalLayout_4, 0, 0, 1, 1)
        self.gridLayout_6.addWidget(self.grp_ident, 1, 0, 2, 1)
        self.grp_technic = QtGui.QGroupBox(MetadataDetails)
        self.grp_technic.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.grp_technic.setObjectName(_fromUtf8("grp_technic"))
        self.gridLayout_4 = QtGui.QGridLayout(self.grp_technic)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.label_6 = QtGui.QLabel(self.grp_technic)
        self.label_6.setMaximumSize(QtCore.QSize(16, 16))
        self.label_6.setText(_fromUtf8(""))
        self.label_6.setPixmap(
            QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/cube.svg")))
        self.label_6.setScaledContents(True)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.horizontalLayout_5.addWidget(self.label_6)
        self.lbl_format = QtGui.QLabel(self.grp_technic)
        self.lbl_format.setObjectName(_fromUtf8("lbl_format"))
        self.horizontalLayout_5.addWidget(self.lbl_format)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem)
        self.val_format = QtGui.QLabel(self.grp_technic)
        self.val_format.setObjectName(_fromUtf8("val_format"))
        self.horizontalLayout_5.addWidget(self.val_format)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.label_7 = QtGui.QLabel(self.grp_technic)
        self.label_7.setMaximumSize(QtCore.QSize(16, 16))
        self.label_7.setText(_fromUtf8(""))
        self.label_7.setPixmap(
            QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/globe.svg")))
        self.label_7.setScaledContents(True)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.horizontalLayout_6.addWidget(self.label_7)
        self.lbl_srs = QtGui.QLabel(self.grp_technic)
        self.lbl_srs.setObjectName(_fromUtf8("lbl_srs"))
        self.horizontalLayout_6.addWidget(self.lbl_srs)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem1)
        self.val_srs = QtGui.QLabel(self.grp_technic)
        self.val_srs.setObjectName(_fromUtf8("val_srs"))
        self.horizontalLayout_6.addWidget(self.val_srs)
        self.verticalLayout_2.addLayout(self.horizontalLayout_6)
        self.gridLayout_4.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
        self.gridLayout_6.addWidget(self.grp_technic, 1, 1, 1, 1)
        self.grp_contacts = QgsCollapsibleGroupBox(MetadataDetails)
        self.grp_contacts.setMinimumSize(QtCore.QSize(301, 0))
        self.grp_contacts.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.grp_contacts.setCheckable(False)
        self.grp_contacts.setObjectName(_fromUtf8("grp_contacts"))
        self.gridLayout_2 = QtGui.QGridLayout(self.grp_contacts)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.val_contact = QtGui.QTextEdit(self.grp_contacts)
        self.val_contact.setReadOnly(True)
        self.val_contact.setObjectName(_fromUtf8("val_contact"))
        self.gridLayout_2.addWidget(self.val_contact, 0, 0, 1, 1)
        self.gridLayout_6.addWidget(self.grp_contacts, 2, 1, 2, 1)
        self.grp_history = QtGui.QGroupBox(MetadataDetails)
        self.grp_history.setMinimumSize(QtCore.QSize(0, 0))
        self.grp_history.setObjectName(_fromUtf8("grp_history"))
        self.gridLayout_5 = QtGui.QGridLayout(self.grp_history)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.line = QtGui.QFrame(self.grp_history)
        self.line.setFrameShape(QtGui.QFrame.VLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridLayout_5.addWidget(self.line, 0, 1, 3, 2)
        self.line_4 = QtGui.QFrame(self.grp_history)
        self.line_4.setFrameShape(QtGui.QFrame.VLine)
        self.line_4.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_4.setObjectName(_fromUtf8("line_4"))
        self.gridLayout_5.addWidget(self.line_4, 0, 3, 4, 1)
        self.label = QtGui.QLabel(self.grp_history)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_5.addWidget(self.label, 0, 4, 2, 1)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.label_2 = QtGui.QLabel(self.grp_history)
        self.label_2.setMaximumSize(QtCore.QSize(16, 16))
        self.label_2.setText(_fromUtf8(""))
        self.label_2.setPixmap(
            QtGui.QPixmap(
                _fromUtf8(":/plugins/Isogeo/resources/calendar-o.svg")))
        self.label_2.setScaledContents(True)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout_7.addWidget(self.label_2)
        self.lbl_data_crea = QtGui.QLabel(self.grp_history)
        self.lbl_data_crea.setObjectName(_fromUtf8("lbl_data_crea"))
        self.horizontalLayout_7.addWidget(self.lbl_data_crea)
        spacerItem2 = QtGui.QSpacerItem(18, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem2)
        self.val_data_crea = QtGui.QLabel(self.grp_history)
        self.val_data_crea.setObjectName(_fromUtf8("val_data_crea"))
        self.horizontalLayout_7.addWidget(self.val_data_crea)
        self.verticalLayout_3.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.label_3 = QtGui.QLabel(self.grp_history)
        self.label_3.setMaximumSize(QtCore.QSize(16, 16))
        self.label_3.setText(_fromUtf8(""))
        self.label_3.setPixmap(
            QtGui.QPixmap(
                _fromUtf8(":/plugins/Isogeo/resources/calendar.svg")))
        self.label_3.setScaledContents(True)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.horizontalLayout_8.addWidget(self.label_3)
        self.lbl_data_updt = QtGui.QLabel(self.grp_history)
        self.lbl_data_updt.setObjectName(_fromUtf8("lbl_data_updt"))
        self.horizontalLayout_8.addWidget(self.lbl_data_updt)
        spacerItem3 = QtGui.QSpacerItem(13, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem3)
        self.val_data_updt = QtGui.QLabel(self.grp_history)
        self.val_data_updt.setObjectName(_fromUtf8("val_data_updt"))
        self.horizontalLayout_8.addWidget(self.val_data_updt)
        self.verticalLayout_3.addLayout(self.horizontalLayout_8)
        self.gridLayout_5.addLayout(self.verticalLayout_3, 1, 0, 2, 1)
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.horizontalLayout_9 = QtGui.QHBoxLayout()
        self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9"))
        self.label_4 = QtGui.QLabel(self.grp_history)
        self.label_4.setMaximumSize(QtCore.QSize(16, 16))
        self.label_4.setText(_fromUtf8(""))
        self.label_4.setPixmap(
            QtGui.QPixmap(
                _fromUtf8(":/plugins/Isogeo/resources/calendar-o.svg")))
        self.label_4.setScaledContents(True)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.horizontalLayout_9.addWidget(self.label_4)
        self.lbl_valid_start = QtGui.QLabel(self.grp_history)
        self.lbl_valid_start.setObjectName(_fromUtf8("lbl_valid_start"))
        self.horizontalLayout_9.addWidget(self.lbl_valid_start)
        spacerItem4 = QtGui.QSpacerItem(13, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_9.addItem(spacerItem4)
        self.val_valid_start = QtGui.QLabel(self.grp_history)
        self.val_valid_start.setObjectName(_fromUtf8("val_valid_start"))
        self.horizontalLayout_9.addWidget(self.val_valid_start)
        self.verticalLayout_4.addLayout(self.horizontalLayout_9)
        self.horizontalLayout_10 = QtGui.QHBoxLayout()
        self.horizontalLayout_10.setObjectName(
            _fromUtf8("horizontalLayout_10"))
        self.label_5 = QtGui.QLabel(self.grp_history)
        self.label_5.setMaximumSize(QtCore.QSize(16, 16))
        self.label_5.setText(_fromUtf8(""))
        self.label_5.setPixmap(
            QtGui.QPixmap(
                _fromUtf8(":/plugins/Isogeo/resources/calendar.svg")))
        self.label_5.setScaledContents(True)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.horizontalLayout_10.addWidget(self.label_5)
        self.lbl_valid_end = QtGui.QLabel(self.grp_history)
        self.lbl_valid_end.setObjectName(_fromUtf8("lbl_valid_end"))
        self.horizontalLayout_10.addWidget(self.lbl_valid_end)
        spacerItem5 = QtGui.QSpacerItem(28, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_10.addItem(spacerItem5)
        self.val_valid_end = QtGui.QLabel(self.grp_history)
        self.val_valid_end.setObjectName(_fromUtf8("val_valid_end"))
        self.horizontalLayout_10.addWidget(self.val_valid_end)
        self.verticalLayout_4.addLayout(self.horizontalLayout_10)
        self.gridLayout_5.addLayout(self.verticalLayout_4, 1, 2, 2, 1)
        self.list_events = QtGui.QListWidget(self.grp_history)
        self.list_events.setMinimumSize(QtCore.QSize(215, 0))
        self.list_events.setSelectionRectVisible(True)
        self.list_events.setObjectName(_fromUtf8("list_events"))
        self.gridLayout_5.addWidget(self.list_events, 2, 4, 2, 1)
        spacerItem6 = QtGui.QSpacerItem(20, 48, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Fixed)
        self.gridLayout_5.addItem(spacerItem6, 3, 0, 1, 1)
        self.gridLayout_6.addWidget(self.grp_history, 3, 0, 2, 1)
        self.grp_fields = QtGui.QGroupBox(MetadataDetails)
        self.grp_fields.setObjectName(_fromUtf8("grp_fields"))
        self.gridLayout = QtGui.QGridLayout(self.grp_fields)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tbl_attributes = QtGui.QTableWidget(self.grp_fields)
        self.tbl_attributes.setObjectName(_fromUtf8("tbl_attributes"))
        self.tbl_attributes.setColumnCount(3)
        self.tbl_attributes.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.tbl_attributes.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.tbl_attributes.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.tbl_attributes.setHorizontalHeaderItem(2, item)
        self.gridLayout.addWidget(self.tbl_attributes, 0, 0, 1, 1)
        self.gridLayout_6.addWidget(self.grp_fields, 4, 1, 3, 1)
        self.groupBox = QtGui.QGroupBox(MetadataDetails)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_8 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
        self.lbl_context = QtGui.QLabel(self.groupBox)
        self.lbl_context.setObjectName(_fromUtf8("lbl_context"))
        self.gridLayout_8.addWidget(self.lbl_context, 0, 0, 1, 1)
        self.lbl_method = QtGui.QLabel(self.groupBox)
        self.lbl_method.setObjectName(_fromUtf8("lbl_method"))
        self.gridLayout_8.addWidget(self.lbl_method, 0, 1, 1, 1)
        self.val_context = QtGui.QTextEdit(self.groupBox)
        self.val_context.setMinimumSize(QtCore.QSize(271, 0))
        self.val_context.setReadOnly(True)
        self.val_context.setObjectName(_fromUtf8("val_context"))
        self.gridLayout_8.addWidget(self.val_context, 1, 0, 1, 1)
        self.val_method = QtGui.QTextEdit(self.groupBox)
        self.val_method.setMinimumSize(QtCore.QSize(271, 0))
        self.val_method.setReadOnly(True)
        self.val_method.setObjectName(_fromUtf8("val_method"))
        self.gridLayout_8.addWidget(self.val_method, 1, 1, 1, 1)
        self.gridLayout_6.addWidget(self.groupBox, 5, 0, 1, 1)
        self.horizontalLayout_20 = QtGui.QHBoxLayout()
        self.horizontalLayout_20.setObjectName(
            _fromUtf8("horizontalLayout_20"))
        self.grp_limitations = QtGui.QGroupBox(MetadataDetails)
        self.grp_limitations.setObjectName(_fromUtf8("grp_limitations"))
        self.gridLayout_7 = QtGui.QGridLayout(self.grp_limitations)
        self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
        self.val_limitations = QtGui.QTextEdit(self.grp_limitations)
        self.val_limitations.setReadOnly(True)
        self.val_limitations.setObjectName(_fromUtf8("val_limitations"))
        self.gridLayout_7.addWidget(self.val_limitations, 0, 0, 1, 1)
        self.horizontalLayout_20.addWidget(self.grp_limitations)
        self.grp_conditions = QtGui.QGroupBox(MetadataDetails)
        self.grp_conditions.setObjectName(_fromUtf8("grp_conditions"))
        self.gridLayout_9 = QtGui.QGridLayout(self.grp_conditions)
        self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9"))
        self.val_conditions = QtGui.QTextEdit(self.grp_conditions)
        self.val_conditions.setReadOnly(True)
        self.val_conditions.setObjectName(_fromUtf8("val_conditions"))
        self.gridLayout_9.addWidget(self.val_conditions, 0, 0, 1, 1)
        self.horizontalLayout_20.addWidget(self.grp_conditions)
        self.gridLayout_6.addLayout(self.horizontalLayout_20, 6, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(MetadataDetails)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout_6.addWidget(self.buttonBox, 7, 1, 1, 1)

        self.retranslateUi(MetadataDetails)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               MetadataDetails.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               MetadataDetails.reject)
        QtCore.QMetaObject.connectSlotsByName(MetadataDetails)

    def retranslateUi(self, MetadataDetails):
        MetadataDetails.setWindowTitle(
            _translate("MetadataDetails", "Isogeo Metadata", None))
        self.lbl_title.setText(
            _translate(
                "MetadataDetails",
                "<html><head/><body><p><span style=\" font-style:italic;\">NR</span></p></body></html>",
                None))
        self.grp_ident.setTitle(
            _translate("MetadataDetails", "Identification", None))
        self.grp_technic.setTitle(
            _translate("MetadataDetails", "Technical informations", None))
        self.lbl_format.setText(_translate("MetadataDetails", "Format :",
                                           None))
        self.val_format.setText(
            _translate("MetadataDetails", "TextLabel", None))
        self.lbl_srs.setText(_translate("MetadataDetails", "SRS :", None))
        self.val_srs.setText(_translate("MetadataDetails", "TextLabel", None))
        self.grp_contacts.setTitle(
            _translate("MetadataDetails", "Contacts", None))
        self.grp_history.setTitle(
            _translate("MetadataDetails", "Data history", None))
        self.label.setText(
            _translate("MetadataDetails", "Last modifications", None))
        self.lbl_data_crea.setText(
            _translate("MetadataDetails", "Creation date:", None))
        self.val_data_crea.setText(
            _translate("MetadataDetails", "TextLabel", None))
        self.lbl_data_updt.setText(
            _translate("MetadataDetails", "Last update:", None))
        self.val_data_updt.setText(
            _translate("MetadataDetails", "TextLabel", None))
        self.lbl_valid_start.setText(
            _translate("MetadataDetails", "Validity period start:", None))
        self.val_valid_start.setText(
            _translate("MetadataDetails", "TextLabel", None))
        self.lbl_valid_end.setText(
            _translate("MetadataDetails", "Validity period end:", None))
        self.val_valid_end.setText(
            _translate("MetadataDetails", "TextLabel", None))
        self.grp_fields.setTitle(
            _translate("MetadataDetails", "Attributes", None))
        self.tbl_attributes.setSortingEnabled(True)
        item = self.tbl_attributes.horizontalHeaderItem(0)
        item.setText(_translate("MetadataDetails", "Name", None))
        item = self.tbl_attributes.horizontalHeaderItem(1)
        item.setText(_translate("MetadataDetails", "Type", None))
        item = self.tbl_attributes.horizontalHeaderItem(2)
        item.setText(_translate("MetadataDetails", "Description", None))
        self.groupBox.setTitle(
            _translate("MetadataDetails", "Collection", None))
        self.lbl_context.setText(
            _translate("MetadataDetails", "Collection context", None))
        self.lbl_method.setText(
            _translate("MetadataDetails", "Collection method", None))
        self.grp_limitations.setTitle(
            _translate("MetadataDetails", "Limitations", None))
        self.grp_conditions.setTitle(
            _translate("MetadataDetails", "Conditions", None))
class Ui_Composite_Index(object):
    def setupUi(self, Composite_Index):
        Composite_Index.setObjectName(_fromUtf8("Composite_Index"))
        Composite_Index.resize(814, 754)
        self.verticalLayout = QtGui.QVBoxLayout(Composite_Index)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label = QtGui.QLabel(Composite_Index)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label)
        self.cbx_aggregation_layer = QgsMapLayerComboBox(Composite_Index)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cbx_aggregation_layer.sizePolicy().hasHeightForWidth())
        self.cbx_aggregation_layer.setSizePolicy(sizePolicy)
        self.cbx_aggregation_layer.setObjectName(_fromUtf8("cbx_aggregation_layer"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.cbx_aggregation_layer)
        self.label_4 = QtGui.QLabel(Composite_Index)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4)
        self.cbx_indicator_field = QgsFieldComboBox(Composite_Index)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cbx_indicator_field.sizePolicy().hasHeightForWidth())
        self.cbx_indicator_field.setSizePolicy(sizePolicy)
        self.cbx_indicator_field.setObjectName(_fromUtf8("cbx_indicator_field"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.cbx_indicator_field)
        self.label_3 = QtGui.QLabel(Composite_Index)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(11, QtGui.QFormLayout.LabelRole, self.label_3)
        self.label_8 = QtGui.QLabel(Composite_Index)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.formLayout.setWidget(12, QtGui.QFormLayout.LabelRole, self.label_8)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.le_output_filepath = QtGui.QLineEdit(Composite_Index)
        self.le_output_filepath.setObjectName(_fromUtf8("le_output_filepath"))
        self.horizontalLayout_6.addWidget(self.le_output_filepath)
        self.button_browse = QtGui.QPushButton(Composite_Index)
        self.button_browse.setObjectName(_fromUtf8("button_browse"))
        self.horizontalLayout_6.addWidget(self.button_browse)
        self.formLayout.setLayout(12, QtGui.QFormLayout.FieldRole, self.horizontalLayout_6)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.formLayout.setLayout(13, QtGui.QFormLayout.FieldRole, self.horizontalLayout)
        self.radioButton_vector_positive = QtGui.QRadioButton(Composite_Index)
        self.radioButton_vector_positive.setChecked(True)
        self.radioButton_vector_positive.setObjectName(_fromUtf8("radioButton_vector_positive"))
        self.buttonGroup_2 = QtGui.QButtonGroup(Composite_Index)
        self.buttonGroup_2.setObjectName(_fromUtf8("buttonGroup_2"))
        self.buttonGroup_2.addButton(self.radioButton_vector_positive)
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.radioButton_vector_positive)
        self.radioButton_vector_negative = QtGui.QRadioButton(Composite_Index)
        self.radioButton_vector_negative.setObjectName(_fromUtf8("radioButton_vector_negative"))
        self.buttonGroup_2.addButton(self.radioButton_vector_negative)
        self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.radioButton_vector_negative)
        self.le_new_column = QtGui.QLineEdit(Composite_Index)
        self.le_new_column.setMaxLength(10)
        self.le_new_column.setObjectName(_fromUtf8("le_new_column"))
        self.formLayout.setWidget(11, QtGui.QFormLayout.FieldRole, self.le_new_column)
        self.cbx_list_indicators = QtGui.QListWidget(Composite_Index)
        self.cbx_list_indicators.setObjectName(_fromUtf8("cbx_list_indicators"))
        self.formLayout.setWidget(10, QtGui.QFormLayout.FieldRole, self.cbx_list_indicators)
        self.command_link_button = QtGui.QCommandLinkButton(Composite_Index)
        self.command_link_button.setObjectName(_fromUtf8("command_link_button"))
        self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.command_link_button)
        self.label_2 = QtGui.QLabel(Composite_Index)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(9, QtGui.QFormLayout.FieldRole, self.label_2)
        self.verticalLayout.addLayout(self.formLayout)
        self.symbology = QgsCollapsibleGroupBox(Composite_Index)
        self.symbology.setCheckable(True)
        self.symbology.setProperty("collapsed", False)
        self.symbology.setObjectName(_fromUtf8("symbology"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.symbology)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.label_9 = QtGui.QLabel(self.symbology)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.horizontalLayout_3.addWidget(self.label_9)
        self.color_low_value = QgsColorButtonV2(self.symbology)
        self.color_low_value.setProperty("color", QtGui.QColor(50, 164, 46))
        self.color_low_value.setObjectName(_fromUtf8("color_low_value"))
        self.horizontalLayout_3.addWidget(self.color_low_value)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.label_10 = QtGui.QLabel(self.symbology)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.horizontalLayout_3.addWidget(self.label_10)
        self.color_high_value = QgsColorButtonV2(self.symbology)
        self.color_high_value.setProperty("color", QtGui.QColor(202, 33, 36))
        self.color_high_value.setObjectName(_fromUtf8("color_high_value"))
        self.horizontalLayout_3.addWidget(self.color_high_value)
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.label_11 = QtGui.QLabel(self.symbology)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.horizontalLayout_4.addWidget(self.label_11)
        self.spinBox_classes = QtGui.QSpinBox(self.symbology)
        self.spinBox_classes.setMinimum(1)
        self.spinBox_classes.setProperty("value", 5)
        self.spinBox_classes.setObjectName(_fromUtf8("spinBox_classes"))
        self.horizontalLayout_4.addWidget(self.spinBox_classes)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem1)
        self.label_12 = QtGui.QLabel(self.symbology)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.horizontalLayout_4.addWidget(self.label_12)
        self.cbx_mode = QtGui.QComboBox(self.symbology)
        self.cbx_mode.setObjectName(_fromUtf8("cbx_mode"))
        self.horizontalLayout_4.addWidget(self.cbx_mode)
        self.verticalLayout_3.addLayout(self.horizontalLayout_4)
        self.verticalLayout.addWidget(self.symbology)
        self.button_box_ok = QtGui.QDialogButtonBox(Composite_Index)
        self.button_box_ok.setOrientation(QtCore.Qt.Horizontal)
        self.button_box_ok.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.button_box_ok.setObjectName(_fromUtf8("button_box_ok"))
        self.verticalLayout.addWidget(self.button_box_ok)

        self.retranslateUi(Composite_Index)
        QtCore.QObject.connect(self.cbx_aggregation_layer, QtCore.SIGNAL(_fromUtf8("layerChanged(QgsMapLayer*)")), self.cbx_indicator_field.setLayer)
        QtCore.QMetaObject.connectSlotsByName(Composite_Index)

    def retranslateUi(self, Composite_Index):
        Composite_Index.setWindowTitle(_translate("Composite_Index", "Incidence", None))
        self.label.setText(_translate("Composite_Index", "Layer", None))
        self.label_4.setText(_translate("Composite_Index", "Indicator field", None))
        self.label_3.setText(_translate("Composite_Index", "Composite Index", None))
        self.label_8.setText(_translate("Composite_Index", "Output", None))
        self.le_output_filepath.setPlaceholderText(_translate("Composite_Index", "Save to temporary file", None))
        self.button_browse.setText(_translate("Composite_Index", "Browse", None))
        self.radioButton_vector_positive.setText(_translate("Composite_Index", "Higher the value of the indicator better the conditions for the population", None))
        self.radioButton_vector_negative.setText(_translate("Composite_Index", "Higher the value of the indicator worse the conditions for the population", None))
        self.le_new_column.setPlaceholderText(_translate("Composite_Index", "UHN", None))
        self.command_link_button.setText(_translate("Composite_Index", "Add to Index", None))
        self.label_2.setText(_translate("Composite_Index", "For removing and Indicator Click Twice in the one you want to remove", None))
        self.symbology.setTitle(_translate("Composite_Index", "Add a symbology", None))
        self.label_9.setText(_translate("Composite_Index", "Low Priority", None))
        self.label_10.setText(_translate("Composite_Index", "High Priority", None))
        self.label_11.setText(_translate("Composite_Index", "Classes", None))
        self.label_12.setText(_translate("Composite_Index", "Mode", None))
class Ui_CrayfishAnimationDialog(object):
    def setupUi(self, CrayfishAnimationDialog):
        CrayfishAnimationDialog.setObjectName(_fromUtf8("CrayfishAnimationDialog"))
        CrayfishAnimationDialog.resize(455, 376)
        self.verticalLayout_6 = QtGui.QVBoxLayout(CrayfishAnimationDialog)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.tabWidget = QtGui.QTabWidget(CrayfishAnimationDialog)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.formLayout = QtGui.QFormLayout(self.tab)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label_2 = QtGui.QLabel(self.tab)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2)
        self.spinWidth = QtGui.QSpinBox(self.tab)
        self.spinWidth.setMinimum(16)
        self.spinWidth.setMaximum(9999)
        self.spinWidth.setProperty("value", 1920)
        self.spinWidth.setObjectName(_fromUtf8("spinWidth"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.spinWidth)
        self.label_3 = QtGui.QLabel(self.tab)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_3)
        self.spinHeight = QtGui.QSpinBox(self.tab)
        self.spinHeight.setMinimum(16)
        self.spinHeight.setMaximum(9999)
        self.spinHeight.setProperty("value", 1080)
        self.spinHeight.setObjectName(_fromUtf8("spinHeight"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.spinHeight)
        self.label_6 = QtGui.QLabel(self.tab)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_6)
        self.cboStart = QtGui.QComboBox(self.tab)
        self.cboStart.setObjectName(_fromUtf8("cboStart"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.cboStart)
        self.label_7 = QtGui.QLabel(self.tab)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_7)
        self.cboEnd = QtGui.QComboBox(self.tab)
        self.cboEnd.setObjectName(_fromUtf8("cboEnd"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.cboEnd)
        self.label_8 = QtGui.QLabel(self.tab)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_8)
        self.spinSpeed = QtGui.QSpinBox(self.tab)
        self.spinSpeed.setMinimum(1)
        self.spinSpeed.setMaximum(60)
        self.spinSpeed.setProperty("value", 5)
        self.spinSpeed.setObjectName(_fromUtf8("spinSpeed"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.spinSpeed)
        self.label = QtGui.QLabel(self.tab)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.editOutput = QtGui.QLineEdit(self.tab)
        self.editOutput.setObjectName(_fromUtf8("editOutput"))
        self.horizontalLayout.addWidget(self.editOutput)
        self.btnBrowseOutput = QtGui.QToolButton(self.tab)
        self.btnBrowseOutput.setObjectName(_fromUtf8("btnBrowseOutput"))
        self.horizontalLayout.addWidget(self.btnBrowseOutput)
        self.formLayout.setLayout(5, QtGui.QFormLayout.FieldRole, self.horizontalLayout)
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.tab_2)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.radLayoutDefault = QtGui.QRadioButton(self.tab_2)
        self.radLayoutDefault.setChecked(True)
        self.radLayoutDefault.setObjectName(_fromUtf8("radLayoutDefault"))
        self.verticalLayout_5.addWidget(self.radLayoutDefault)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        spacerItem = QtGui.QSpacerItem(28, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.scrollArea = QtGui.QScrollArea(self.tab_2)
        self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents = QtGui.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 397, 175))
        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.groupTitle = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents)
        self.groupTitle.setCheckable(True)
        self.groupTitle.setChecked(False)
        self.groupTitle.setObjectName(_fromUtf8("groupTitle"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupTitle)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.widgetTitleProps = AnimationLayoutItemProps(self.groupTitle)
        self.widgetTitleProps.setObjectName(_fromUtf8("widgetTitleProps"))
        self.verticalLayout.addWidget(self.widgetTitleProps)
        self.verticalLayout_4.addWidget(self.groupTitle)
        self.groupTime = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents)
        self.groupTime.setCheckable(True)
        self.groupTime.setObjectName(_fromUtf8("groupTime"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupTime)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.widgetTimeProps = AnimationLayoutItemProps(self.groupTime)
        self.widgetTimeProps.setObjectName(_fromUtf8("widgetTimeProps"))
        self.verticalLayout_2.addWidget(self.widgetTimeProps)
        self.verticalLayout_4.addWidget(self.groupTime)
        self.groupLegend = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents)
        self.groupLegend.setCheckable(True)
        self.groupLegend.setChecked(False)
        self.groupLegend.setObjectName(_fromUtf8("groupLegend"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupLegend)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.widgetLegendProps = AnimationLayoutItemProps(self.groupLegend)
        self.widgetLegendProps.setObjectName(_fromUtf8("widgetLegendProps"))
        self.verticalLayout_3.addWidget(self.widgetLegendProps)
        self.verticalLayout_4.addWidget(self.groupLegend)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.horizontalLayout_2.addWidget(self.scrollArea)
        self.verticalLayout_5.addLayout(self.horizontalLayout_2)
        self.radLayoutCustom = QtGui.QRadioButton(self.tab_2)
        self.radLayoutCustom.setObjectName(_fromUtf8("radLayoutCustom"))
        self.verticalLayout_5.addWidget(self.radLayoutCustom)
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.btnBrowseTemplate = QtGui.QToolButton(self.tab_2)
        self.btnBrowseTemplate.setObjectName(_fromUtf8("btnBrowseTemplate"))
        self.gridLayout_2.addWidget(self.btnBrowseTemplate, 0, 3, 1, 1)
        self.label_5 = QtGui.QLabel(self.tab_2)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_2.addWidget(self.label_5, 0, 1, 1, 1)
        self.editTemplate = QtGui.QLineEdit(self.tab_2)
        self.editTemplate.setObjectName(_fromUtf8("editTemplate"))
        self.gridLayout_2.addWidget(self.editTemplate, 0, 2, 1, 1)
        self.label_10 = QtGui.QLabel(self.tab_2)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.gridLayout_2.addWidget(self.label_10, 1, 1, 1, 3)
        spacerItem1 = QtGui.QSpacerItem(28, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem1, 0, 0, 2, 1)
        self.verticalLayout_5.addLayout(self.gridLayout_2)
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName(_fromUtf8("tab_3"))
        self.formLayout_2 = QtGui.QFormLayout(self.tab_3)
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.label_4 = QtGui.QLabel(self.tab_3)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_4)
        self.radQualBest = QtGui.QRadioButton(self.tab_3)
        self.radQualBest.setChecked(False)
        self.radQualBest.setObjectName(_fromUtf8("radQualBest"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.radQualBest)
        self.radQualHigh = QtGui.QRadioButton(self.tab_3)
        self.radQualHigh.setChecked(True)
        self.radQualHigh.setObjectName(_fromUtf8("radQualHigh"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.radQualHigh)
        self.radQualLow = QtGui.QRadioButton(self.tab_3)
        self.radQualLow.setObjectName(_fromUtf8("radQualLow"))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.radQualLow)
        self.groupBox = QtGui.QGroupBox(self.tab_3)
        self.groupBox.setFlat(True)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.btnBrowseFfmpegPath = QtGui.QToolButton(self.groupBox)
        self.btnBrowseFfmpegPath.setObjectName(_fromUtf8("btnBrowseFfmpegPath"))
        self.gridLayout.addWidget(self.btnBrowseFfmpegPath, 3, 2, 1, 1)
        self.editFfmpegPath = QtGui.QLineEdit(self.groupBox)
        self.editFfmpegPath.setObjectName(_fromUtf8("editFfmpegPath"))
        self.gridLayout.addWidget(self.editFfmpegPath, 3, 1, 1, 1)
        self.radFfmpegCustom = QtGui.QRadioButton(self.groupBox)
        self.radFfmpegCustom.setObjectName(_fromUtf8("radFfmpegCustom"))
        self.gridLayout.addWidget(self.radFfmpegCustom, 3, 0, 1, 1)
        self.radFfmpegSystem = QtGui.QRadioButton(self.groupBox)
        self.radFfmpegSystem.setChecked(True)
        self.radFfmpegSystem.setObjectName(_fromUtf8("radFfmpegSystem"))
        self.gridLayout.addWidget(self.radFfmpegSystem, 2, 0, 1, 4)
        self.label_9 = QtGui.QLabel(self.groupBox)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout.addWidget(self.label_9, 1, 0, 1, 3)
        self.formLayout_2.setWidget(4, QtGui.QFormLayout.SpanningRole, self.groupBox)
        spacerItem2 = QtGui.QSpacerItem(20, 500, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.formLayout_2.setItem(3, QtGui.QFormLayout.FieldRole, spacerItem2)
        self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
        self.verticalLayout_6.addWidget(self.tabWidget)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.progress = QtGui.QProgressBar(CrayfishAnimationDialog)
        self.progress.setProperty("value", 0)
        self.progress.setObjectName(_fromUtf8("progress"))
        self.horizontalLayout_4.addWidget(self.progress)
        self.buttonBox = QtGui.QDialogButtonBox(CrayfishAnimationDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.horizontalLayout_4.addWidget(self.buttonBox)
        self.verticalLayout_6.addLayout(self.horizontalLayout_4)

        self.retranslateUi(CrayfishAnimationDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), CrayfishAnimationDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(CrayfishAnimationDialog)

    def retranslateUi(self, CrayfishAnimationDialog):
        CrayfishAnimationDialog.setWindowTitle(_translate("CrayfishAnimationDialog", "Export Animation", None))
        self.label_2.setText(_translate("CrayfishAnimationDialog", "Width", None))
        self.spinWidth.setSuffix(_translate("CrayfishAnimationDialog", " px", None))
        self.label_3.setText(_translate("CrayfishAnimationDialog", "Height", None))
        self.spinHeight.setSuffix(_translate("CrayfishAnimationDialog", " px", None))
        self.label_6.setText(_translate("CrayfishAnimationDialog", "Start Time", None))
        self.label_7.setText(_translate("CrayfishAnimationDialog", "End Time", None))
        self.label_8.setText(_translate("CrayfishAnimationDialog", "Speed", None))
        self.spinSpeed.setSuffix(_translate("CrayfishAnimationDialog", " fps", None))
        self.label.setText(_translate("CrayfishAnimationDialog", "Output", None))
        self.btnBrowseOutput.setText(_translate("CrayfishAnimationDialog", "...", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("CrayfishAnimationDialog", "General", None))
        self.radLayoutDefault.setText(_translate("CrayfishAnimationDialog", "Default layout", None))
        self.groupTitle.setTitle(_translate("CrayfishAnimationDialog", "Title", None))
        self.groupTime.setTitle(_translate("CrayfishAnimationDialog", "Time", None))
        self.groupLegend.setTitle(_translate("CrayfishAnimationDialog", "Legend", None))
        self.radLayoutCustom.setText(_translate("CrayfishAnimationDialog", "Custom layout (.qpt)", None))
        self.btnBrowseTemplate.setText(_translate("CrayfishAnimationDialog", "...", None))
        self.label_5.setText(_translate("CrayfishAnimationDialog", "Template", None))
        self.label_10.setText(_translate("CrayfishAnimationDialog", "(Note: label with ID \'time\' will display output time)", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("CrayfishAnimationDialog", "Layout", None))
        self.label_4.setText(_translate("CrayfishAnimationDialog", "Quality", None))
        self.radQualBest.setText(_translate("CrayfishAnimationDialog", "Best (lossless)", None))
        self.radQualHigh.setText(_translate("CrayfishAnimationDialog", "High", None))
        self.radQualLow.setText(_translate("CrayfishAnimationDialog", "Low", None))
        self.btnBrowseFfmpegPath.setText(_translate("CrayfishAnimationDialog", "...", None))
        self.radFfmpegCustom.setText(_translate("CrayfishAnimationDialog", "custom", None))
        self.radFfmpegSystem.setText(_translate("CrayfishAnimationDialog", "default from system path", None))
        self.label_9.setText(_translate("CrayfishAnimationDialog", "Video encoding utility (FFmpeg) to use:", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("CrayfishAnimationDialog", "Video", None))
Exemplo n.º 13
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(660, 382)
        self.verticalLayout = QtGui.QVBoxLayout(Dialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tabWidget = QtGui.QTabWidget(Dialog)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabInputs = QtGui.QWidget()
        self.tabInputs.setObjectName(_fromUtf8("tabInputs"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.tabInputs)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.splitter = QtGui.QSplitter(self.tabInputs)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.lstLayers = QtGui.QListWidget(self.splitter)
        self.lstLayers.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.lstLayers.setAlternatingRowColors(True)
        self.lstLayers.setObjectName(_fromUtf8("lstLayers"))
        self.widget = QtGui.QWidget(self.splitter)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.widget)
        self.verticalLayout_3.setMargin(0)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.btnSetInitialRaster = QtGui.QPushButton(self.widget)
        self.btnSetInitialRaster.setObjectName(_fromUtf8("btnSetInitialRaster"))
        self.gridLayout_2.addWidget(self.btnSetInitialRaster, 0, 0, 1, 1)
        self.leInitRasterName = QtGui.QLineEdit(self.widget)
        self.leInitRasterName.setObjectName(_fromUtf8("leInitRasterName"))
        self.gridLayout_2.addWidget(self.leInitRasterName, 0, 1, 1, 1)
        self.btnSetFinalRaster = QtGui.QPushButton(self.widget)
        self.btnSetFinalRaster.setObjectName(_fromUtf8("btnSetFinalRaster"))
        self.gridLayout_2.addWidget(self.btnSetFinalRaster, 1, 0, 1, 1)
        self.leInitYear = QtGui.QLineEdit(self.widget)
        self.leInitYear.setObjectName(_fromUtf8("leInitYear"))
        self.gridLayout_2.addWidget(self.leInitYear, 0, 2, 1, 1)
        self.leFinalRasterName = QtGui.QLineEdit(self.widget)
        self.leFinalRasterName.setObjectName(_fromUtf8("leFinalRasterName"))
        self.gridLayout_2.addWidget(self.leFinalRasterName, 1, 1, 1, 1)
        self.leFinalYear = QtGui.QLineEdit(self.widget)
        self.leFinalYear.setObjectName(_fromUtf8("leFinalYear"))
        self.gridLayout_2.addWidget(self.leFinalYear, 1, 2, 1, 1)
        self.lstFactors = QtGui.QListWidget(self.widget)
        self.lstFactors.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.lstFactors.setAlternatingRowColors(True)
        self.lstFactors.setObjectName(_fromUtf8("lstFactors"))
        self.gridLayout_2.addWidget(self.lstFactors, 4, 1, 5, 2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 2, 1, 1, 1)
        self.btnRemoveAllFactors = QtGui.QPushButton(self.widget)
        self.btnRemoveAllFactors.setObjectName(_fromUtf8("btnRemoveAllFactors"))
        self.gridLayout_2.addWidget(self.btnRemoveAllFactors, 8, 0, 1, 1)
        self.btnRemoveFactor = QtGui.QPushButton(self.widget)
        self.btnRemoveFactor.setObjectName(_fromUtf8("btnRemoveFactor"))
        self.gridLayout_2.addWidget(self.btnRemoveFactor, 7, 0, 1, 1)
        self.btnAddFactor = QtGui.QPushButton(self.widget)
        self.btnAddFactor.setObjectName(_fromUtf8("btnAddFactor"))
        self.gridLayout_2.addWidget(self.btnAddFactor, 6, 0, 1, 1)
        self.label = QtGui.QLabel(self.widget)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_2.addWidget(self.label, 3, 1, 1, 1)
        self.verticalLayout_3.addLayout(self.gridLayout_2)
        self.verticalLayout_2.addWidget(self.splitter)
        self.tabWidget.addTab(self.tabInputs, _fromUtf8(""))
        self.tabAreaChanges = QtGui.QWidget()
        self.tabAreaChanges.setObjectName(_fromUtf8("tabAreaChanges"))
        self.gridLayout = QtGui.QGridLayout(self.tabAreaChanges)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_2 = QtGui.QLabel(self.tabAreaChanges)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.label_3 = QtGui.QLabel(self.tabAreaChanges)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.btnUpdateStatistics = QtGui.QPushButton(self.tabAreaChanges)
        self.btnUpdateStatistics.setObjectName(_fromUtf8("btnUpdateStatistics"))
        self.gridLayout.addWidget(self.btnUpdateStatistics, 4, 0, 1, 1)
        self.btnCreateChangeMap = QtGui.QPushButton(self.tabAreaChanges)
        self.btnCreateChangeMap.setObjectName(_fromUtf8("btnCreateChangeMap"))
        self.gridLayout.addWidget(self.btnCreateChangeMap, 4, 1, 1, 1)
        self.tblStatistics = MolusceTableWidget(self.tabAreaChanges)
        self.tblStatistics.setObjectName(_fromUtf8("tblStatistics"))
        self.tblStatistics.setColumnCount(0)
        self.tblStatistics.setRowCount(0)
        self.gridLayout.addWidget(self.tblStatistics, 1, 0, 1, 2)
        self.tblTransMatrix = MolusceTableWidget(self.tabAreaChanges)
        self.tblTransMatrix.setObjectName(_fromUtf8("tblTransMatrix"))
        self.tblTransMatrix.setColumnCount(0)
        self.tblTransMatrix.setRowCount(0)
        self.gridLayout.addWidget(self.tblTransMatrix, 3, 0, 1, 2)
        self.tabWidget.addTab(self.tabAreaChanges, _fromUtf8(""))
        self.tabModel = QtGui.QWidget()
        self.tabModel.setObjectName(_fromUtf8("tabModel"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabModel)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.grpSampling = QgsCollapsibleGroupBox(self.tabModel)
        self.grpSampling.setCheckable(True)
        self.grpSampling.setChecked(False)
        self.grpSampling.setProperty("collapsed", True)
        self.grpSampling.setProperty("saveCollapsedState", True)
        self.grpSampling.setProperty("saveCheckedState", True)
        self.grpSampling.setObjectName(_fromUtf8("grpSampling"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.grpSampling)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_5 = QtGui.QLabel(self.grpSampling)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.horizontalLayout.addWidget(self.label_5)
        self.cmbSamplingMode = QtGui.QComboBox(self.grpSampling)
        self.cmbSamplingMode.setObjectName(_fromUtf8("cmbSamplingMode"))
        self.horizontalLayout.addWidget(self.cmbSamplingMode)
        self.label_6 = QtGui.QLabel(self.grpSampling)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.horizontalLayout.addWidget(self.label_6)
        self.spnSamplesCount = QtGui.QSpinBox(self.grpSampling)
        self.spnSamplesCount.setMaximum(100000000)
        self.spnSamplesCount.setProperty("value", 1000)
        self.spnSamplesCount.setObjectName(_fromUtf8("spnSamplesCount"))
        self.horizontalLayout.addWidget(self.spnSamplesCount)
        self.gridLayout_3.addWidget(self.grpSampling, 0, 0, 1, 3)
        self.label_4 = QtGui.QLabel(self.tabModel)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_3.addWidget(self.label_4, 1, 0, 1, 1)
        self.cmbSimulationMethod = QtGui.QComboBox(self.tabModel)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbSimulationMethod.sizePolicy().hasHeightForWidth())
        self.cmbSimulationMethod.setSizePolicy(sizePolicy)
        self.cmbSimulationMethod.setObjectName(_fromUtf8("cmbSimulationMethod"))
        self.gridLayout_3.addWidget(self.cmbSimulationMethod, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem1, 1, 2, 1, 1)
        self.widgetStackMethods = QtGui.QStackedWidget(self.tabModel)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widgetStackMethods.sizePolicy().hasHeightForWidth())
        self.widgetStackMethods.setSizePolicy(sizePolicy)
        self.widgetStackMethods.setFrameShape(QtGui.QFrame.NoFrame)
        self.widgetStackMethods.setFrameShadow(QtGui.QFrame.Sunken)
        self.widgetStackMethods.setObjectName(_fromUtf8("widgetStackMethods"))
        self.gridLayout_3.addWidget(self.widgetStackMethods, 2, 0, 1, 3)
        self.tabWidget.addTab(self.tabModel, _fromUtf8(""))
        self.tabSimulation = QtGui.QWidget()
        self.tabSimulation.setObjectName(_fromUtf8("tabSimulation"))
        self.gridLayout_5 = QtGui.QGridLayout(self.tabSimulation)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.btnSelectRiskFunction = QtGui.QPushButton(self.tabSimulation)
        self.btnSelectRiskFunction.setEnabled(False)
        self.btnSelectRiskFunction.setObjectName(_fromUtf8("btnSelectRiskFunction"))
        self.gridLayout_4.addWidget(self.btnSelectRiskFunction, 0, 2, 1, 1)
        self.leRiskValidationPath = QtGui.QLineEdit(self.tabSimulation)
        self.leRiskValidationPath.setEnabled(False)
        self.leRiskValidationPath.setObjectName(_fromUtf8("leRiskValidationPath"))
        self.gridLayout_4.addWidget(self.leRiskValidationPath, 1, 1, 1, 1)
        self.btnSelectRiskValidation = QtGui.QPushButton(self.tabSimulation)
        self.btnSelectRiskValidation.setEnabled(False)
        self.btnSelectRiskValidation.setObjectName(_fromUtf8("btnSelectRiskValidation"))
        self.gridLayout_4.addWidget(self.btnSelectRiskValidation, 1, 2, 1, 1)
        self.chkRiskFunction = QtGui.QCheckBox(self.tabSimulation)
        self.chkRiskFunction.setObjectName(_fromUtf8("chkRiskFunction"))
        self.gridLayout_4.addWidget(self.chkRiskFunction, 0, 0, 1, 1)
        self.leRiskFunctionPath = QtGui.QLineEdit(self.tabSimulation)
        self.leRiskFunctionPath.setEnabled(False)
        self.leRiskFunctionPath.setObjectName(_fromUtf8("leRiskFunctionPath"))
        self.gridLayout_4.addWidget(self.leRiskFunctionPath, 0, 1, 1, 1)
        self.chkRiskValidation = QtGui.QCheckBox(self.tabSimulation)
        self.chkRiskValidation.setObjectName(_fromUtf8("chkRiskValidation"))
        self.gridLayout_4.addWidget(self.chkRiskValidation, 1, 0, 1, 1)
        self.chkMonteCarlo = QtGui.QCheckBox(self.tabSimulation)
        self.chkMonteCarlo.setObjectName(_fromUtf8("chkMonteCarlo"))
        self.gridLayout_4.addWidget(self.chkMonteCarlo, 2, 0, 1, 1)
        self.leMonteCarloPath = QtGui.QLineEdit(self.tabSimulation)
        self.leMonteCarloPath.setEnabled(False)
        self.leMonteCarloPath.setObjectName(_fromUtf8("leMonteCarloPath"))
        self.gridLayout_4.addWidget(self.leMonteCarloPath, 2, 1, 1, 1)
        self.btnSelectMonteCarlo = QtGui.QPushButton(self.tabSimulation)
        self.btnSelectMonteCarlo.setEnabled(False)
        self.btnSelectMonteCarlo.setObjectName(_fromUtf8("btnSelectMonteCarlo"))
        self.gridLayout_4.addWidget(self.btnSelectMonteCarlo, 2, 2, 1, 1)
        self.chkReuseMatrix = QtGui.QCheckBox(self.tabSimulation)
        self.chkReuseMatrix.setObjectName(_fromUtf8("chkReuseMatrix"))
        self.gridLayout_4.addWidget(self.chkReuseMatrix, 4, 0, 1, 1)
        self.leMatrixPath = QtGui.QLineEdit(self.tabSimulation)
        self.leMatrixPath.setEnabled(False)
        self.leMatrixPath.setObjectName(_fromUtf8("leMatrixPath"))
        self.gridLayout_4.addWidget(self.leMatrixPath, 4, 1, 1, 1)
        self.btnSelectMatrix = QtGui.QPushButton(self.tabSimulation)
        self.btnSelectMatrix.setEnabled(False)
        self.btnSelectMatrix.setObjectName(_fromUtf8("btnSelectMatrix"))
        self.gridLayout_4.addWidget(self.btnSelectMatrix, 4, 2, 1, 1)
        self.lblIterations = QtGui.QLabel(self.tabSimulation)
        self.lblIterations.setEnabled(False)
        self.lblIterations.setObjectName(_fromUtf8("lblIterations"))
        self.gridLayout_4.addWidget(self.lblIterations, 3, 1, 1, 1)
        self.spnIterations = QtGui.QSpinBox(self.tabSimulation)
        self.spnIterations.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.spnIterations.sizePolicy().hasHeightForWidth())
        self.spnIterations.setSizePolicy(sizePolicy)
        self.spnIterations.setMinimum(1)
        self.spnIterations.setMaximum(100)
        self.spnIterations.setProperty("value", 1)
        self.spnIterations.setObjectName(_fromUtf8("spnIterations"))
        self.gridLayout_4.addWidget(self.spnIterations, 3, 2, 1, 1)
        self.gridLayout_5.addLayout(self.gridLayout_4, 0, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(20, 94, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_5.addItem(spacerItem2, 1, 0, 1, 1)
        self.btnStartSimulation = QtGui.QPushButton(self.tabSimulation)
        self.btnStartSimulation.setObjectName(_fromUtf8("btnStartSimulation"))
        self.gridLayout_5.addWidget(self.btnStartSimulation, 2, 1, 1, 1)
        self.tabWidget.addTab(self.tabSimulation, _fromUtf8(""))
        self.tabMessages = QtGui.QWidget()
        self.tabMessages.setObjectName(_fromUtf8("tabMessages"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.tabMessages)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.txtMessages = QtGui.QTextEdit(self.tabMessages)
        self.txtMessages.setUndoRedoEnabled(False)
        self.txtMessages.setReadOnly(True)
        self.txtMessages.setObjectName(_fromUtf8("txtMessages"))
        self.verticalLayout_4.addWidget(self.txtMessages)
        self.tabWidget.addTab(self.tabMessages, _fromUtf8(""))
        self.verticalLayout.addWidget(self.tabWidget)
        self.progressBar = QtGui.QProgressBar(Dialog)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.verticalLayout.addWidget(self.progressBar)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(0)
        self.widgetStackMethods.setCurrentIndex(-1)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "MOLUSCE", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSetInitialRaster.setText(QtGui.QApplication.translate("Dialog", "Initial >>", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSetFinalRaster.setText(QtGui.QApplication.translate("Dialog", "Final >>", None, QtGui.QApplication.UnicodeUTF8))
        self.btnRemoveAllFactors.setText(QtGui.QApplication.translate("Dialog", "<< Remove all", None, QtGui.QApplication.UnicodeUTF8))
        self.btnRemoveFactor.setText(QtGui.QApplication.translate("Dialog", "<< Remove", None, QtGui.QApplication.UnicodeUTF8))
        self.btnAddFactor.setText(QtGui.QApplication.translate("Dialog", "Add >>", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Dialog", "Factors driving landuse changes", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabInputs), QtGui.QApplication.translate("Dialog", "Inputs", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Dialog", "Class statistics", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("Dialog", "Transition matrix", None, QtGui.QApplication.UnicodeUTF8))
        self.btnUpdateStatistics.setText(QtGui.QApplication.translate("Dialog", "Update tables", None, QtGui.QApplication.UnicodeUTF8))
        self.btnCreateChangeMap.setText(QtGui.QApplication.translate("Dialog", "Create changes map", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabAreaChanges), QtGui.QApplication.translate("Dialog", "Area Changes", None, QtGui.QApplication.UnicodeUTF8))
        self.grpSampling.setTitle(QtGui.QApplication.translate("Dialog", "Define Samples", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("Dialog", "Mode", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("Dialog", "Number of samples", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("Dialog", "Method", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabModel), QtGui.QApplication.translate("Dialog", "Samples and Model", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSelectRiskFunction.setText(QtGui.QApplication.translate("Dialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSelectRiskValidation.setText(QtGui.QApplication.translate("Dialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8))
        self.chkRiskFunction.setText(QtGui.QApplication.translate("Dialog", "Risk function", None, QtGui.QApplication.UnicodeUTF8))
        self.chkRiskValidation.setText(QtGui.QApplication.translate("Dialog", "Risk class validation", None, QtGui.QApplication.UnicodeUTF8))
        self.chkMonteCarlo.setText(QtGui.QApplication.translate("Dialog", "Monte Carlo simulations", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSelectMonteCarlo.setText(QtGui.QApplication.translate("Dialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8))
        self.chkReuseMatrix.setText(QtGui.QApplication.translate("Dialog", "Reuse input matrix", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSelectMatrix.setText(QtGui.QApplication.translate("Dialog", "Browse...", None, QtGui.QApplication.UnicodeUTF8))
        self.lblIterations.setText(QtGui.QApplication.translate("Dialog", "Number of simulation iterations", None, QtGui.QApplication.UnicodeUTF8))
        self.btnStartSimulation.setText(QtGui.QApplication.translate("Dialog", "Start", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabSimulation), QtGui.QApplication.translate("Dialog", "Risk Simulation", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMessages), QtGui.QApplication.translate("Dialog", "Messages", None, QtGui.QApplication.UnicodeUTF8))