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_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))
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_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))
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))
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))
class Ui_IsogeoDockWidgetBase(object): def setupUi(self, IsogeoDockWidgetBase): IsogeoDockWidgetBase.setObjectName(_fromUtf8("IsogeoDockWidgetBase")) IsogeoDockWidgetBase.resize(531, 808) IsogeoDockWidgetBase.setMinimumSize(QtCore.QSize(531, 523)) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/icon.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) IsogeoDockWidgetBase.setWindowIcon(icon) IsogeoDockWidgetBase.setLocale( QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) IsogeoDockWidgetBase.setWindowTitle(_fromUtf8("Isogeo")) self.dockWidgetContents = QtGui.QWidget() self.dockWidgetContents.setObjectName(_fromUtf8("dockWidgetContents")) self.gridLayout = QtGui.QGridLayout(self.dockWidgetContents) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.tabWidget = QtGui.QTabWidget(self.dockWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tabWidget.sizePolicy().hasHeightForWidth()) self.tabWidget.setSizePolicy(sizePolicy) self.tabWidget.setMaximumSize(QtCore.QSize(16777215, 16777215)) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.tabWidget.setFont(font) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tab = QtGui.QWidget() self.tab.setObjectName(_fromUtf8("tab")) self.gridLayout_3 = QtGui.QGridLayout(self.tab) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.horizontalLayout_14 = QtGui.QHBoxLayout() self.horizontalLayout_14.setObjectName( _fromUtf8("horizontalLayout_14")) self.verticalLayout_6 = QtGui.QVBoxLayout() self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6")) self.txt_input = QtGui.QLineEdit(self.tab) self.txt_input.setInputMask(_fromUtf8("")) self.txt_input.setText(_fromUtf8("")) self.txt_input.setObjectName(_fromUtf8("txt_input")) self.verticalLayout_6.addWidget(self.txt_input) self.cbb_saved = QtGui.QComboBox(self.tab) self.cbb_saved.setObjectName(_fromUtf8("cbb_saved")) self.verticalLayout_6.addWidget(self.cbb_saved) self.horizontalLayout_14.addLayout(self.verticalLayout_6) self.widget = QtGui.QWidget(self.tab) self.widget.setMinimumSize(QtCore.QSize(271, 59)) self.widget.setObjectName(_fromUtf8("widget")) self.layoutWidget = QtGui.QWidget(self.widget) self.layoutWidget.setGeometry(QtCore.QRect(1, 4, 261, 54)) self.layoutWidget.setObjectName(_fromUtf8("layoutWidget")) self.verticalLayout_11 = QtGui.QVBoxLayout(self.layoutWidget) self.verticalLayout_11.setMargin(0) self.verticalLayout_11.setObjectName(_fromUtf8("verticalLayout_11")) self.cbb_keywords = QtGui.QComboBox(self.layoutWidget) self.cbb_keywords.setObjectName(_fromUtf8("cbb_keywords")) self.verticalLayout_11.addWidget(self.cbb_keywords) self.horizontalLayout_13 = QtGui.QHBoxLayout() self.horizontalLayout_13.setObjectName( _fromUtf8("horizontalLayout_13")) self.btn_save = QtGui.QPushButton(self.layoutWidget) self.btn_save.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.btn_save.setText(_fromUtf8("")) icon1 = QtGui.QIcon() icon1.addPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/save.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_save.setIcon(icon1) self.btn_save.setObjectName(_fromUtf8("btn_save")) self.horizontalLayout_13.addWidget(self.btn_save) self.btn_reinit = QtGui.QPushButton(self.layoutWidget) self.btn_reinit.setMinimumSize(QtCore.QSize(81, 0)) self.btn_reinit.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.btn_reinit.setText(_fromUtf8("")) icon2 = QtGui.QIcon() icon2.addPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/undo.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_reinit.setIcon(icon2) self.btn_reinit.setObjectName(_fromUtf8("btn_reinit")) self.horizontalLayout_13.addWidget(self.btn_reinit) self.verticalLayout_11.addLayout(self.horizontalLayout_13) self.horizontalLayout_14.addWidget(self.widget) self.gridLayout_3.addLayout(self.horizontalLayout_14, 0, 0, 1, 1) self.grp_filters = QgsCollapsibleGroupBox(self.tab) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.grp_filters.setFont(font) self.grp_filters.setProperty("collapsed", False) self.grp_filters.setProperty("scrollOnExpand", True) self.grp_filters.setObjectName(_fromUtf8("grp_filters")) self.gridLayout_2 = QtGui.QGridLayout(self.grp_filters) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.verticalLayout_13 = QtGui.QVBoxLayout() self.verticalLayout_13.setObjectName(_fromUtf8("verticalLayout_13")) self.horizontalLayout_8 = QtGui.QHBoxLayout() self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8")) self.verticalLayout_8 = QtGui.QVBoxLayout() self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8")) self.verticalLayout = QtGui.QVBoxLayout() self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.label = QtGui.QLabel(self.grp_filters) self.label.setMaximumSize(QtCore.QSize(18, 18)) self.label.setText(_fromUtf8("")) self.label.setPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/map.svg"))) self.label.setScaledContents(True) self.label.setObjectName(_fromUtf8("label")) self.horizontalLayout.addWidget(self.label) self.label_7 = QtGui.QLabel(self.grp_filters) self.label_7.setObjectName(_fromUtf8("label_7")) self.horizontalLayout.addWidget(self.label_7) spacerItem = QtGui.QSpacerItem(48, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.verticalLayout.addLayout(self.horizontalLayout) self.cbb_geofilter = QtGui.QComboBox(self.grp_filters) self.cbb_geofilter.setObjectName(_fromUtf8("cbb_geofilter")) self.verticalLayout.addWidget(self.cbb_geofilter) self.verticalLayout_8.addLayout(self.verticalLayout) self.verticalLayout_3 = QtGui.QVBoxLayout() self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.label_2 = QtGui.QLabel(self.grp_filters) self.label_2.setMaximumSize(QtCore.QSize(18, 18)) font = QtGui.QFont() font.setBold(True) font.setItalic(False) font.setWeight(75) self.label_2.setFont(font) self.label_2.setText(_fromUtf8("")) self.label_2.setPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/cube.svg"))) self.label_2.setScaledContents(True) self.label_2.setObjectName(_fromUtf8("label_2")) self.horizontalLayout_3.addWidget(self.label_2) self.label_8 = QtGui.QLabel(self.grp_filters) font = QtGui.QFont() font.setBold(True) font.setItalic(False) font.setWeight(75) self.label_8.setFont(font) self.label_8.setObjectName(_fromUtf8("label_8")) self.horizontalLayout_3.addWidget(self.label_8) spacerItem1 = QtGui.QSpacerItem(138, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem1) self.verticalLayout_3.addLayout(self.horizontalLayout_3) self.cbb_format = QtGui.QComboBox(self.grp_filters) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cbb_format.sizePolicy().hasHeightForWidth()) self.cbb_format.setSizePolicy(sizePolicy) self.cbb_format.setMinimumSize(QtCore.QSize(30, 0)) self.cbb_format.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.cbb_format.setObjectName(_fromUtf8("cbb_format")) self.verticalLayout_3.addWidget(self.cbb_format) self.verticalLayout_8.addLayout(self.verticalLayout_3) self.verticalLayout_4 = QtGui.QVBoxLayout() self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.label_13 = QtGui.QLabel(self.grp_filters) self.label_13.setMaximumSize(QtCore.QSize(18, 18)) font = QtGui.QFont() font.setBold(True) font.setItalic(False) font.setWeight(75) self.label_13.setFont(font) self.label_13.setText(_fromUtf8("")) self.label_13.setPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/leaf.svg"))) self.label_13.setScaledContents(True) self.label_13.setObjectName(_fromUtf8("label_13")) self.horizontalLayout_4.addWidget(self.label_13) self.label_4 = QtGui.QLabel(self.grp_filters) font = QtGui.QFont() font.setBold(True) font.setItalic(False) font.setWeight(75) self.label_4.setFont(font) self.label_4.setObjectName(_fromUtf8("label_4")) self.horizontalLayout_4.addWidget(self.label_4) spacerItem2 = QtGui.QSpacerItem(78, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem2) self.verticalLayout_4.addLayout(self.horizontalLayout_4) self.cbb_inspire = QtGui.QComboBox(self.grp_filters) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cbb_inspire.sizePolicy().hasHeightForWidth()) self.cbb_inspire.setSizePolicy(sizePolicy) self.cbb_inspire.setMinimumSize(QtCore.QSize(30, 0)) self.cbb_inspire.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.cbb_inspire.setObjectName(_fromUtf8("cbb_inspire")) self.verticalLayout_4.addWidget(self.cbb_inspire) self.verticalLayout_8.addLayout(self.verticalLayout_4) self.horizontalLayout_8.addLayout(self.verticalLayout_8) self.verticalLayout_9 = QtGui.QVBoxLayout() self.verticalLayout_9.setObjectName(_fromUtf8("verticalLayout_9")) self.verticalLayout_2 = QtGui.QVBoxLayout() self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.label_10 = QtGui.QLabel(self.grp_filters) self.label_10.setMaximumSize(QtCore.QSize(18, 18)) self.label_10.setText(_fromUtf8("")) self.label_10.setPixmap( QtGui.QPixmap( _fromUtf8(":/plugins/Isogeo/resources/asterisk.svg"))) self.label_10.setScaledContents(True) self.label_10.setObjectName(_fromUtf8("label_10")) self.horizontalLayout_2.addWidget(self.label_10) self.label_11 = QtGui.QLabel(self.grp_filters) self.label_11.setObjectName(_fromUtf8("label_11")) self.horizontalLayout_2.addWidget(self.label_11) spacerItem3 = QtGui.QSpacerItem(48, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem3) self.verticalLayout_2.addLayout(self.horizontalLayout_2) self.cbb_type = QtGui.QComboBox(self.grp_filters) self.cbb_type.setObjectName(_fromUtf8("cbb_type")) self.verticalLayout_2.addWidget(self.cbb_type) self.verticalLayout_9.addLayout(self.verticalLayout_2) self.verticalLayout_5 = QtGui.QVBoxLayout() self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5")) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.label_9 = QtGui.QLabel(self.grp_filters) self.label_9.setMaximumSize(QtCore.QSize(18, 18)) font = QtGui.QFont() font.setBold(True) font.setItalic(False) font.setWeight(75) self.label_9.setFont(font) self.label_9.setText(_fromUtf8("")) self.label_9.setPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/users.svg"))) self.label_9.setScaledContents(True) self.label_9.setObjectName(_fromUtf8("label_9")) self.horizontalLayout_5.addWidget(self.label_9) self.label_3 = QtGui.QLabel(self.grp_filters) font = QtGui.QFont() font.setBold(True) font.setItalic(False) font.setWeight(75) self.label_3.setFont(font) self.label_3.setObjectName(_fromUtf8("label_3")) self.horizontalLayout_5.addWidget(self.label_3) spacerItem4 = QtGui.QSpacerItem(148, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem4) self.verticalLayout_5.addLayout(self.horizontalLayout_5) self.cbb_owner = QtGui.QComboBox(self.grp_filters) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cbb_owner.sizePolicy().hasHeightForWidth()) self.cbb_owner.setSizePolicy(sizePolicy) self.cbb_owner.setMinimumSize(QtCore.QSize(30, 0)) self.cbb_owner.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.cbb_owner.setObjectName(_fromUtf8("cbb_owner")) self.verticalLayout_5.addWidget(self.cbb_owner) self.verticalLayout_9.addLayout(self.verticalLayout_5) self.verticalLayout_7 = QtGui.QVBoxLayout() self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7")) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.label_14 = QtGui.QLabel(self.grp_filters) self.label_14.setMaximumSize(QtCore.QSize(18, 18)) font = QtGui.QFont() font.setBold(True) font.setItalic(False) font.setWeight(75) self.label_14.setFont(font) self.label_14.setText(_fromUtf8("")) self.label_14.setPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/globe.svg"))) self.label_14.setScaledContents(True) self.label_14.setObjectName(_fromUtf8("label_14")) self.horizontalLayout_6.addWidget(self.label_14) self.label_5 = QtGui.QLabel(self.grp_filters) font = QtGui.QFont() font.setBold(True) font.setItalic(False) font.setWeight(75) self.label_5.setFont(font) self.label_5.setObjectName(_fromUtf8("label_5")) self.horizontalLayout_6.addWidget(self.label_5) spacerItem5 = QtGui.QSpacerItem(68, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_6.addItem(spacerItem5) self.verticalLayout_7.addLayout(self.horizontalLayout_6) self.cbb_srs = QtGui.QComboBox(self.grp_filters) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cbb_srs.sizePolicy().hasHeightForWidth()) self.cbb_srs.setSizePolicy(sizePolicy) self.cbb_srs.setMinimumSize(QtCore.QSize(30, 0)) self.cbb_srs.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.cbb_srs.setObjectName(_fromUtf8("cbb_srs")) self.verticalLayout_7.addWidget(self.cbb_srs) self.verticalLayout_9.addLayout(self.verticalLayout_7) self.horizontalLayout_8.addLayout(self.verticalLayout_9) self.verticalLayout_13.addLayout(self.horizontalLayout_8) self.horizontalLayout_7 = QtGui.QHBoxLayout() self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.label_12 = QtGui.QLabel(self.grp_filters) self.label_12.setMaximumSize(QtCore.QSize(18, 18)) self.label_12.setText(_fromUtf8("")) self.label_12.setPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/play.svg"))) self.label_12.setScaledContents(True) self.label_12.setObjectName(_fromUtf8("label_12")) self.horizontalLayout_7.addWidget(self.label_12) self.label_6 = QtGui.QLabel(self.grp_filters) font = QtGui.QFont() font.setBold(True) font.setItalic(False) font.setWeight(75) self.label_6.setFont(font) self.label_6.setObjectName(_fromUtf8("label_6")) self.horizontalLayout_7.addWidget(self.label_6) spacerItem6 = QtGui.QSpacerItem(18, 17, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_7.addItem(spacerItem6) self.checkBox = QtGui.QCheckBox(self.grp_filters) self.checkBox.setObjectName(_fromUtf8("checkBox")) self.horizontalLayout_7.addWidget(self.checkBox) self.checkBox_2 = QtGui.QCheckBox(self.grp_filters) self.checkBox_2.setObjectName(_fromUtf8("checkBox_2")) self.horizontalLayout_7.addWidget(self.checkBox_2) self.checkBox_3 = QtGui.QCheckBox(self.grp_filters) self.checkBox_3.setObjectName(_fromUtf8("checkBox_3")) self.horizontalLayout_7.addWidget(self.checkBox_3) self.checkBox_4 = QtGui.QCheckBox(self.grp_filters) self.checkBox_4.setObjectName(_fromUtf8("checkBox_4")) self.horizontalLayout_7.addWidget(self.checkBox_4) self.verticalLayout_13.addLayout(self.horizontalLayout_7) self.gridLayout_2.addLayout(self.verticalLayout_13, 0, 0, 1, 1) self.gridLayout_3.addWidget(self.grp_filters, 1, 0, 1, 1) self.horizontalLayout_17 = QtGui.QHBoxLayout() self.horizontalLayout_17.setObjectName( _fromUtf8("horizontalLayout_17")) self.btn_show = QtGui.QPushButton(self.tab) self.btn_show.setMinimumSize(QtCore.QSize(201, 0)) icon3 = QtGui.QIcon() icon3.addPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/eye.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_show.setIcon(icon3) self.btn_show.setObjectName(_fromUtf8("btn_show")) self.horizontalLayout_17.addWidget(self.btn_show) self.cbb_ob = QtGui.QComboBox(self.tab) self.cbb_ob.setObjectName(_fromUtf8("cbb_ob")) self.horizontalLayout_17.addWidget(self.cbb_ob) self.cbb_od = QtGui.QComboBox(self.tab) self.cbb_od.setMinimumSize(QtCore.QSize(0, 0)) self.cbb_od.setMaximumSize(QtCore.QSize(111, 16777215)) self.cbb_od.setObjectName(_fromUtf8("cbb_od")) self.horizontalLayout_17.addWidget(self.cbb_od) self.gridLayout_3.addLayout(self.horizontalLayout_17, 2, 0, 1, 1) self.tbl_result = QtGui.QTableWidget(self.tab) self.tbl_result.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers) self.tbl_result.setObjectName(_fromUtf8("tbl_result")) self.tbl_result.setColumnCount(4) self.tbl_result.setRowCount(0) item = QtGui.QTableWidgetItem() self.tbl_result.setHorizontalHeaderItem(0, item) item = QtGui.QTableWidgetItem() self.tbl_result.setHorizontalHeaderItem(1, item) item = QtGui.QTableWidgetItem() self.tbl_result.setHorizontalHeaderItem(2, item) item = QtGui.QTableWidgetItem() self.tbl_result.setHorizontalHeaderItem(3, item) self.tbl_result.horizontalHeader().setVisible(True) self.tbl_result.horizontalHeader().setSortIndicatorShown(False) self.tbl_result.verticalHeader().setVisible(True) self.gridLayout_3.addWidget(self.tbl_result, 3, 0, 1, 1) self.horizontalLayout_12 = QtGui.QHBoxLayout() self.horizontalLayout_12.setObjectName( _fromUtf8("horizontalLayout_12")) spacerItem7 = QtGui.QSpacerItem(98, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_12.addItem(spacerItem7) self.btn_previous = QtGui.QPushButton(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btn_previous.sizePolicy().hasHeightForWidth()) self.btn_previous.setSizePolicy(sizePolicy) self.btn_previous.setText(_fromUtf8("")) icon4 = QtGui.QIcon() icon4.addPixmap( QtGui.QPixmap( _fromUtf8(":/plugins/Isogeo/resources/caret-left.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_previous.setIcon(icon4) self.btn_previous.setObjectName(_fromUtf8("btn_previous")) self.horizontalLayout_12.addWidget(self.btn_previous) self.lbl_page = QtGui.QLabel(self.tab) font = QtGui.QFont() font.setPointSize(10) font.setBold(False) font.setWeight(50) self.lbl_page.setFont(font) self.lbl_page.setObjectName(_fromUtf8("lbl_page")) self.horizontalLayout_12.addWidget(self.lbl_page) self.btn_next = QtGui.QPushButton(self.tab) self.btn_next.setText(_fromUtf8("")) icon5 = QtGui.QIcon() icon5.addPixmap( QtGui.QPixmap( _fromUtf8(":/plugins/Isogeo/resources/caret-right.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_next.setIcon(icon5) self.btn_next.setObjectName(_fromUtf8("btn_next")) self.horizontalLayout_12.addWidget(self.btn_next) spacerItem8 = QtGui.QSpacerItem(128, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_12.addItem(spacerItem8) self.gridLayout_3.addLayout(self.horizontalLayout_12, 4, 0, 1, 1) icon6 = QtGui.QIcon() icon6.addPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/search.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.tabWidget.addTab(self.tab, icon6, _fromUtf8("")) self.tab_2 = QtGui.QWidget() self.tab_2.setObjectName(_fromUtf8("tab_2")) self.gridLayout_7 = QtGui.QGridLayout(self.tab_2) self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7")) self.groupBox_2 = QtGui.QGroupBox(self.tab_2) self.groupBox_2.setMinimumSize(QtCore.QSize(0, 121)) self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) self.gridLayout_4 = QtGui.QGridLayout(self.groupBox_2) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.verticalLayout_10 = QtGui.QVBoxLayout() self.verticalLayout_10.setObjectName(_fromUtf8("verticalLayout_10")) self.horizontalLayout_9 = QtGui.QHBoxLayout() self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9")) self.cbb_modify_sr = QtGui.QComboBox(self.groupBox_2) self.cbb_modify_sr.setMinimumSize(QtCore.QSize(221, 20)) self.cbb_modify_sr.setObjectName(_fromUtf8("cbb_modify_sr")) self.horizontalLayout_9.addWidget(self.cbb_modify_sr) spacerItem9 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_9.addItem(spacerItem9) self.btn_rename_sr = QtGui.QPushButton(self.groupBox_2) self.btn_rename_sr.setMinimumSize(QtCore.QSize(111, 24)) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.btn_rename_sr.setFont(font) icon7 = QtGui.QIcon() icon7.addPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/pencil.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_rename_sr.setIcon(icon7) self.btn_rename_sr.setObjectName(_fromUtf8("btn_rename_sr")) self.horizontalLayout_9.addWidget(self.btn_rename_sr) self.btn_delete_sr = QtGui.QPushButton(self.groupBox_2) self.btn_delete_sr.setMinimumSize(QtCore.QSize(61, 24)) self.btn_delete_sr.setMaximumSize(QtCore.QSize(61, 16777215)) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.btn_delete_sr.setFont(font) self.btn_delete_sr.setText(_fromUtf8("")) icon8 = QtGui.QIcon() icon8.addPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/trash.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_delete_sr.setIcon(icon8) self.btn_delete_sr.setObjectName(_fromUtf8("btn_delete_sr")) self.horizontalLayout_9.addWidget(self.btn_delete_sr) self.verticalLayout_10.addLayout(self.horizontalLayout_9) self.horizontalLayout_10 = QtGui.QHBoxLayout() self.horizontalLayout_10.setObjectName( _fromUtf8("horizontalLayout_10")) self.label_20 = QtGui.QLabel(self.groupBox_2) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.label_20.setFont(font) self.label_20.setObjectName(_fromUtf8("label_20")) self.horizontalLayout_10.addWidget(self.label_20) spacerItem10 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_10.addItem(spacerItem10) self.btn_default = QtGui.QPushButton(self.groupBox_2) self.btn_default.setMinimumSize(QtCore.QSize(111, 24)) self.btn_default.setText(_fromUtf8("")) self.btn_default.setIcon(icon1) self.btn_default.setObjectName(_fromUtf8("btn_default")) self.horizontalLayout_10.addWidget(self.btn_default) self.btn_reset_default = QtGui.QPushButton(self.groupBox_2) self.btn_reset_default.setMinimumSize(QtCore.QSize(61, 24)) self.btn_reset_default.setMaximumSize(QtCore.QSize(61, 16777215)) self.btn_reset_default.setText(_fromUtf8("")) self.btn_reset_default.setIcon(icon2) self.btn_reset_default.setObjectName(_fromUtf8("btn_reset_default")) self.horizontalLayout_10.addWidget(self.btn_reset_default) self.verticalLayout_10.addLayout(self.horizontalLayout_10) self.horizontalLayout_11 = QtGui.QHBoxLayout() self.horizontalLayout_11.setObjectName( _fromUtf8("horizontalLayout_11")) self.label_15 = QtGui.QLabel(self.groupBox_2) self.label_15.setObjectName(_fromUtf8("label_15")) self.horizontalLayout_11.addWidget(self.label_15) spacerItem11 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_11.addItem(spacerItem11) self.cbb_geo_op = QtGui.QComboBox(self.groupBox_2) self.cbb_geo_op.setMinimumSize(QtCore.QSize(176, 20)) self.cbb_geo_op.setObjectName(_fromUtf8("cbb_geo_op")) self.horizontalLayout_11.addWidget(self.cbb_geo_op) self.verticalLayout_10.addLayout(self.horizontalLayout_11) self.gridLayout_4.addLayout(self.verticalLayout_10, 0, 0, 1, 1) self.gridLayout_7.addWidget(self.groupBox_2, 0, 0, 1, 1) self.groupBox = QtGui.QGroupBox(self.tab_2) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout_5 = QtGui.QGridLayout(self.groupBox) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.txt_shares = QtGui.QTextBrowser(self.groupBox) self.txt_shares.setObjectName(_fromUtf8("txt_shares")) self.gridLayout_5.addWidget(self.txt_shares, 1, 0, 1, 1) self.horizontalLayout_21 = QtGui.QHBoxLayout() self.horizontalLayout_21.setObjectName( _fromUtf8("horizontalLayout_21")) self.label_16 = QtGui.QLabel(self.groupBox) self.label_16.setObjectName(_fromUtf8("label_16")) self.horizontalLayout_21.addWidget(self.label_16) spacerItem12 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_21.addItem(spacerItem12) self.btn_change_user = QtGui.QPushButton(self.groupBox) self.btn_change_user.setMinimumSize(QtCore.QSize(91, 0)) self.btn_change_user.setText(_fromUtf8("")) icon9 = QtGui.QIcon() icon9.addPixmap( QtGui.QPixmap( _fromUtf8(":/plugins/Isogeo/resources/user-times.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_change_user.setIcon(icon9) self.btn_change_user.setObjectName(_fromUtf8("btn_change_user")) self.horizontalLayout_21.addWidget(self.btn_change_user) self.gridLayout_5.addLayout(self.horizontalLayout_21, 0, 0, 1, 1) self.gridLayout_7.addWidget(self.groupBox, 1, 0, 1, 1) self.groupBox_4 = QtGui.QGroupBox(self.tab_2) self.groupBox_4.setObjectName(_fromUtf8("groupBox_4")) self.gridLayout_6 = QtGui.QGridLayout(self.groupBox_4) self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) self.verticalLayout_12 = QtGui.QVBoxLayout() self.verticalLayout_12.setObjectName(_fromUtf8("verticalLayout_12")) self.horizontalLayout_24 = QtGui.QHBoxLayout() self.horizontalLayout_24.setObjectName( _fromUtf8("horizontalLayout_24")) self.label_17 = QtGui.QLabel(self.groupBox_4) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.label_17.setFont(font) self.label_17.setObjectName(_fromUtf8("label_17")) self.horizontalLayout_24.addWidget(self.label_17) spacerItem13 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_24.addItem(spacerItem13) self.btn_report = QtGui.QPushButton(self.groupBox_4) self.btn_report.setMinimumSize(QtCore.QSize(91, 0)) self.btn_report.setText(_fromUtf8("")) icon10 = QtGui.QIcon() icon10.addPixmap( QtGui.QPixmap( _fromUtf8(":/plugins/Isogeo/resources/bullhorn.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_report.setIcon(icon10) self.btn_report.setObjectName(_fromUtf8("btn_report")) self.horizontalLayout_24.addWidget(self.btn_report) self.verticalLayout_12.addLayout(self.horizontalLayout_24) self.horizontalLayout_23 = QtGui.QHBoxLayout() self.horizontalLayout_23.setObjectName( _fromUtf8("horizontalLayout_23")) self.label_18 = QtGui.QLabel(self.groupBox_4) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.label_18.setFont(font) self.label_18.setObjectName(_fromUtf8("label_18")) self.horizontalLayout_23.addWidget(self.label_18) spacerItem14 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_23.addItem(spacerItem14) self.btn_help = QtGui.QPushButton(self.groupBox_4) self.btn_help.setMinimumSize(QtCore.QSize(91, 0)) self.btn_help.setText(_fromUtf8("")) icon11 = QtGui.QIcon() icon11.addPixmap( QtGui.QPixmap( _fromUtf8(":/plugins/Isogeo/resources/question.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_help.setIcon(icon11) self.btn_help.setObjectName(_fromUtf8("btn_help")) self.horizontalLayout_23.addWidget(self.btn_help) self.verticalLayout_12.addLayout(self.horizontalLayout_23) self.horizontalLayout_22 = QtGui.QHBoxLayout() self.horizontalLayout_22.setObjectName( _fromUtf8("horizontalLayout_22")) self.label_19 = QtGui.QLabel(self.groupBox_4) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.label_19.setFont(font) self.label_19.setObjectName(_fromUtf8("label_19")) self.horizontalLayout_22.addWidget(self.label_19) spacerItem15 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_22.addItem(spacerItem15) self.btn_credits = QtGui.QPushButton(self.groupBox_4) self.btn_credits.setMinimumSize(QtCore.QSize(91, 0)) self.btn_credits.setText(_fromUtf8("")) icon12 = QtGui.QIcon() icon12.addPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/info.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_credits.setIcon(icon12) self.btn_credits.setObjectName(_fromUtf8("btn_credits")) self.horizontalLayout_22.addWidget(self.btn_credits) self.verticalLayout_12.addLayout(self.horizontalLayout_22) self.gridLayout_6.addLayout(self.verticalLayout_12, 0, 0, 1, 1) self.gridLayout_7.addWidget(self.groupBox_4, 2, 0, 1, 1) spacerItem16 = QtGui.QSpacerItem(20, 105, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_7.addItem(spacerItem16, 3, 0, 1, 1) icon13 = QtGui.QIcon() icon13.addPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/gear.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.tabWidget.addTab(self.tab_2, icon13, _fromUtf8("")) self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1) IsogeoDockWidgetBase.setWidget(self.dockWidgetContents) self.retranslateUi(IsogeoDockWidgetBase) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(IsogeoDockWidgetBase) def retranslateUi(self, IsogeoDockWidgetBase): self.btn_save.setToolTip( _translate("IsogeoDockWidgetBase", "Save research", None)) self.btn_reinit.setToolTip( _translate("IsogeoDockWidgetBase", "Reset all input fields", None)) self.grp_filters.setTitle( _translate("IsogeoDockWidgetBase", "Advanced search", None)) self.label_7.setText( _translate("IsogeoDockWidgetBase", "Geographic filter", None)) self.label_8.setText(_translate("IsogeoDockWidgetBase", "Format", None)) self.label_4.setText( _translate("IsogeoDockWidgetBase", "INSPIRE keywords", None)) self.label_11.setText( _translate("IsogeoDockWidgetBase", "Resource type", None)) self.label_3.setText(_translate("IsogeoDockWidgetBase", "Owner", None)) self.label_5.setText( _translate("IsogeoDockWidgetBase", "Coordinate system", None)) self.label_6.setText( _translate("IsogeoDockWidgetBase", "Associated resources", None)) self.checkBox.setText(_translate("IsogeoDockWidgetBase", "View", None)) self.checkBox_2.setText( _translate("IsogeoDockWidgetBase", "Download", None)) self.checkBox_3.setText( _translate("IsogeoDockWidgetBase", "Other actions", None)) self.checkBox_4.setText( _translate("IsogeoDockWidgetBase", "None", None)) self.btn_show.setToolTip( _translate("IsogeoDockWidgetBase", "Display the results list", None)) self.btn_show.setText( _translate("IsogeoDockWidgetBase", "Show results", None)) self.cbb_ob.setToolTip( _translate("IsogeoDockWidgetBase", "Sorting method", None)) self.cbb_od.setToolTip( _translate("IsogeoDockWidgetBase", "Sorting direction", None)) self.tbl_result.setSortingEnabled(False) item = self.tbl_result.horizontalHeaderItem(0) item.setText(_translate("IsogeoDockWidgetBase", "Title", None)) item = self.tbl_result.horizontalHeaderItem(1) item.setText(_translate("IsogeoDockWidgetBase", "Modified", None)) item = self.tbl_result.horizontalHeaderItem(2) item.setText(_translate("IsogeoDockWidgetBase", "Type", None)) item = self.tbl_result.horizontalHeaderItem(3) item.setText(_translate("IsogeoDockWidgetBase", "Add", None)) self.lbl_page.setText( _translate("IsogeoDockWidgetBase", "Page x sur x", None)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tab), _translate("IsogeoDockWidgetBase", "Search", None)) self.groupBox_2.setTitle( _translate("IsogeoDockWidgetBase", "Search settings", None)) self.btn_rename_sr.setText( _translate("IsogeoDockWidgetBase", "Rename", None)) self.label_20.setText( _translate("IsogeoDockWidgetBase", "Default search", None)) self.label_15.setText( _translate("IsogeoDockWidgetBase", "Geographical operator applied to the filter", None)) self.groupBox.setTitle( _translate("IsogeoDockWidgetBase", "Authentication settings", None)) self.label_16.setText( _translate("IsogeoDockWidgetBase", "Change user id and secret", None)) self.groupBox_4.setTitle( _translate("IsogeoDockWidgetBase", "Resources", None)) self.label_17.setText( _translate("IsogeoDockWidgetBase", "Report an issue on the bug tracker", None)) self.label_18.setText( _translate("IsogeoDockWidgetBase", "Open online plugin help", None)) self.label_19.setText( _translate("IsogeoDockWidgetBase", "Open plugin credits", None)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tab_2), _translate("IsogeoDockWidgetBase", "Settings", None))
class Ui_IsogeoDockWidgetBase(object): def setupUi(self, IsogeoDockWidgetBase): IsogeoDockWidgetBase.setObjectName(_fromUtf8("IsogeoDockWidgetBase")) IsogeoDockWidgetBase.resize(623, 822) IsogeoDockWidgetBase.setMinimumSize(QtCore.QSize(623, 759)) IsogeoDockWidgetBase.setMaximumSize(QtCore.QSize(900, 1792)) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/icon.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) IsogeoDockWidgetBase.setWindowIcon(icon) IsogeoDockWidgetBase.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) IsogeoDockWidgetBase.setWindowTitle(_fromUtf8("Isogeo")) self.dockWidgetContents = QtGui.QWidget() self.dockWidgetContents.setMaximumSize(QtCore.QSize(900, 1792)) self.dockWidgetContents.setObjectName(_fromUtf8("dockWidgetContents")) self.gridLayout = QtGui.QGridLayout(self.dockWidgetContents) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.tabWidget = QtGui.QTabWidget(self.dockWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth()) self.tabWidget.setSizePolicy(sizePolicy) self.tabWidget.setMaximumSize(QtCore.QSize(16777215, 16777215)) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.tabWidget.setFont(font) self.tabWidget.setAutoFillBackground(False) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tab_search = QtGui.QWidget() self.tab_search.setMaximumSize(QtCore.QSize(875, 2000)) self.tab_search.setObjectName(_fromUtf8("tab_search")) self.gridLayout_8 = QtGui.QGridLayout(self.tab_search) self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8")) self.horizontalLayout_17 = QtGui.QHBoxLayout() self.horizontalLayout_17.setObjectName(_fromUtf8("horizontalLayout_17")) self.btn_show = QtGui.QPushButton(self.tab_search) self.btn_show.setMinimumSize(QtCore.QSize(250, 30)) self.btn_show.setMaximumSize(QtCore.QSize(360, 30)) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/search/eye.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_show.setIcon(icon1) self.btn_show.setObjectName(_fromUtf8("btn_show")) self.horizontalLayout_17.addWidget(self.btn_show) self.cbb_ob = QtGui.QComboBox(self.tab_search) self.cbb_ob.setMinimumSize(QtCore.QSize(45, 20)) self.cbb_ob.setMaximumSize(QtCore.QSize(50, 30)) self.cbb_ob.setMaxCount(6) self.cbb_ob.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon) self.cbb_ob.setMinimumContentsLength(20) self.cbb_ob.setObjectName(_fromUtf8("cbb_ob")) self.horizontalLayout_17.addWidget(self.cbb_ob) self.cbb_od = QtGui.QComboBox(self.tab_search) self.cbb_od.setMinimumSize(QtCore.QSize(40, 20)) self.cbb_od.setMaximumSize(QtCore.QSize(50, 30)) self.cbb_od.setMaxVisibleItems(3) self.cbb_od.setMaxCount(3) self.cbb_od.setInsertPolicy(QtGui.QComboBox.InsertAlphabetically) self.cbb_od.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon) self.cbb_od.setMinimumContentsLength(20) self.cbb_od.setObjectName(_fromUtf8("cbb_od")) self.horizontalLayout_17.addWidget(self.cbb_od) self.line_2 = QtGui.QFrame(self.tab_search) self.line_2.setFrameShape(QtGui.QFrame.VLine) self.line_2.setFrameShadow(QtGui.QFrame.Sunken) self.line_2.setObjectName(_fromUtf8("line_2")) self.horizontalLayout_17.addWidget(self.line_2) self.btn_reinit = QtGui.QPushButton(self.tab_search) self.btn_reinit.setMinimumSize(QtCore.QSize(30, 25)) self.btn_reinit.setMaximumSize(QtCore.QSize(75, 30)) self.btn_reinit.setText(_fromUtf8("")) icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/undo.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_reinit.setIcon(icon2) self.btn_reinit.setIconSize(QtCore.QSize(18, 18)) self.btn_reinit.setObjectName(_fromUtf8("btn_reinit")) self.horizontalLayout_17.addWidget(self.btn_reinit) self.btn_quicksearch_save = QtGui.QPushButton(self.tab_search) self.btn_quicksearch_save.setMinimumSize(QtCore.QSize(30, 25)) self.btn_quicksearch_save.setMaximumSize(QtCore.QSize(75, 30)) font = QtGui.QFont() font.setPointSize(8) self.btn_quicksearch_save.setFont(font) self.btn_quicksearch_save.setText(_fromUtf8("")) icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/save.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_quicksearch_save.setIcon(icon3) self.btn_quicksearch_save.setIconSize(QtCore.QSize(18, 18)) self.btn_quicksearch_save.setObjectName(_fromUtf8("btn_quicksearch_save")) self.horizontalLayout_17.addWidget(self.btn_quicksearch_save) self.gridLayout_8.addLayout(self.horizontalLayout_17, 2, 0, 1, 1) self.lyt_search = QtGui.QGridLayout() self.lyt_search.setObjectName(_fromUtf8("lyt_search")) self.cbb_quicksearch_use = QtGui.QComboBox(self.tab_search) self.cbb_quicksearch_use.setMinimumSize(QtCore.QSize(250, 30)) self.cbb_quicksearch_use.setMaximumSize(QtCore.QSize(300, 40)) self.cbb_quicksearch_use.setSizeIncrement(QtCore.QSize(2, 0)) self.cbb_quicksearch_use.setAutoFillBackground(True) self.cbb_quicksearch_use.setInsertPolicy(QtGui.QComboBox.InsertAlphabetically) self.cbb_quicksearch_use.setIconSize(QtCore.QSize(20, 20)) self.cbb_quicksearch_use.setObjectName(_fromUtf8("cbb_quicksearch_use")) icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/search/bolt.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.cbb_quicksearch_use.addItem(icon4, _fromUtf8("")) self.lyt_search.addWidget(self.cbb_quicksearch_use, 1, 2, 1, 3) self.cbb_keywords = QtGui.QComboBox(self.tab_search) self.cbb_keywords.setMinimumSize(QtCore.QSize(250, 25)) self.cbb_keywords.setAutoFillBackground(True) self.cbb_keywords.setObjectName(_fromUtf8("cbb_keywords")) self.lyt_search.addWidget(self.cbb_keywords, 1, 0, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.lyt_search.addItem(spacerItem, 1, 1, 1, 1) self.btn_search_go = QtGui.QPushButton(self.tab_search) self.btn_search_go.setMinimumSize(QtCore.QSize(30, 30)) self.btn_search_go.setMaximumSize(QtCore.QSize(200, 30)) self.btn_search_go.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) self.btn_search_go.setAutoFillBackground(True) self.btn_search_go.setText(_fromUtf8("")) icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/search/search.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_search_go.setIcon(icon5) self.btn_search_go.setAutoDefault(True) self.btn_search_go.setDefault(True) self.btn_search_go.setFlat(False) self.btn_search_go.setObjectName(_fromUtf8("btn_search_go")) self.lyt_search.addWidget(self.btn_search_go, 0, 3, 1, 2) self.txt_input = QtGui.QLineEdit(self.tab_search) self.txt_input.setMinimumSize(QtCore.QSize(200, 30)) self.txt_input.setAutoFillBackground(True) self.txt_input.setInputMask(_fromUtf8("")) self.txt_input.setText(_fromUtf8("")) self.txt_input.setObjectName(_fromUtf8("txt_input")) self.lyt_search.addWidget(self.txt_input, 0, 0, 1, 3) self.gridLayout_8.addLayout(self.lyt_search, 0, 0, 1, 1) self.horizontalLayout_12 = QtGui.QHBoxLayout() self.horizontalLayout_12.setObjectName(_fromUtf8("horizontalLayout_12")) spacerItem1 = QtGui.QSpacerItem(98, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_12.addItem(spacerItem1) self.btn_previous = QtGui.QPushButton(self.tab_search) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btn_previous.sizePolicy().hasHeightForWidth()) self.btn_previous.setSizePolicy(sizePolicy) self.btn_previous.setText(_fromUtf8("")) icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/search/caret-left.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_previous.setIcon(icon6) self.btn_previous.setObjectName(_fromUtf8("btn_previous")) self.horizontalLayout_12.addWidget(self.btn_previous) self.lbl_page = QtGui.QLabel(self.tab_search) font = QtGui.QFont() font.setPointSize(10) font.setBold(False) font.setWeight(50) self.lbl_page.setFont(font) self.lbl_page.setObjectName(_fromUtf8("lbl_page")) self.horizontalLayout_12.addWidget(self.lbl_page) self.btn_next = QtGui.QPushButton(self.tab_search) self.btn_next.setText(_fromUtf8("")) icon7 = QtGui.QIcon() icon7.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/search/caret-right.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_next.setIcon(icon7) self.btn_next.setObjectName(_fromUtf8("btn_next")) self.horizontalLayout_12.addWidget(self.btn_next) spacerItem2 = QtGui.QSpacerItem(128, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_12.addItem(spacerItem2) self.gridLayout_8.addLayout(self.horizontalLayout_12, 4, 0, 1, 1) self.tbl_result = QtGui.QTableWidget(self.tab_search) self.tbl_result.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers) self.tbl_result.setObjectName(_fromUtf8("tbl_result")) self.tbl_result.setColumnCount(4) self.tbl_result.setRowCount(0) item = QtGui.QTableWidgetItem() self.tbl_result.setHorizontalHeaderItem(0, item) item = QtGui.QTableWidgetItem() self.tbl_result.setHorizontalHeaderItem(1, item) item = QtGui.QTableWidgetItem() self.tbl_result.setHorizontalHeaderItem(2, item) item = QtGui.QTableWidgetItem() self.tbl_result.setHorizontalHeaderItem(3, item) self.tbl_result.horizontalHeader().setVisible(False) self.tbl_result.horizontalHeader().setSortIndicatorShown(False) self.tbl_result.verticalHeader().setVisible(False) self.gridLayout_8.addWidget(self.tbl_result, 3, 0, 1, 1) self.grp_filters = QgsCollapsibleGroupBox(self.tab_search) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.grp_filters.sizePolicy().hasHeightForWidth()) self.grp_filters.setSizePolicy(sizePolicy) self.grp_filters.setMaximumSize(QtCore.QSize(800, 16777215)) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.grp_filters.setFont(font) self.grp_filters.setProperty("collapsed", False) self.grp_filters.setProperty("scrollOnExpand", True) self.grp_filters.setObjectName(_fromUtf8("grp_filters")) self.gridLayout_2 = QtGui.QGridLayout(self.grp_filters) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.verticalLayout_13 = QtGui.QVBoxLayout() self.verticalLayout_13.setObjectName(_fromUtf8("verticalLayout_13")) self.lyt_horiz_filters = QtGui.QHBoxLayout() self.lyt_horiz_filters.setObjectName(_fromUtf8("lyt_horiz_filters")) self.lyt_vert_filters_left = QtGui.QVBoxLayout() self.lyt_vert_filters_left.setObjectName(_fromUtf8("lyt_vert_filters_left")) self.lyt_vert_filter_geo = QtGui.QVBoxLayout() self.lyt_vert_filter_geo.setObjectName(_fromUtf8("lyt_vert_filter_geo")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.ico_geofilter = QtGui.QLabel(self.grp_filters) self.ico_geofilter.setMaximumSize(QtCore.QSize(18, 18)) self.ico_geofilter.setText(_fromUtf8("")) self.ico_geofilter.setPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/map.svg"))) self.ico_geofilter.setScaledContents(True) self.ico_geofilter.setObjectName(_fromUtf8("ico_geofilter")) self.horizontalLayout.addWidget(self.ico_geofilter) self.lbl_geofilter = QtGui.QLabel(self.grp_filters) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.lbl_geofilter.setFont(font) self.lbl_geofilter.setObjectName(_fromUtf8("lbl_geofilter")) self.horizontalLayout.addWidget(self.lbl_geofilter) spacerItem3 = QtGui.QSpacerItem(48, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem3) self.lyt_vert_filter_geo.addLayout(self.horizontalLayout) self.cbb_geofilter = QtGui.QComboBox(self.grp_filters) self.cbb_geofilter.setMinimumSize(QtCore.QSize(250, 20)) self.cbb_geofilter.setMaximumSize(QtCore.QSize(360, 25)) self.cbb_geofilter.setInsertPolicy(QtGui.QComboBox.InsertAlphabetically) self.cbb_geofilter.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon) self.cbb_geofilter.setObjectName(_fromUtf8("cbb_geofilter")) self.lyt_vert_filter_geo.addWidget(self.cbb_geofilter) self.lyt_vert_filters_left.addLayout(self.lyt_vert_filter_geo) self.lyt_vert_filter_format = QtGui.QVBoxLayout() self.lyt_vert_filter_format.setObjectName(_fromUtf8("lyt_vert_filter_format")) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.ico_format = QtGui.QLabel(self.grp_filters) self.ico_format.setMaximumSize(QtCore.QSize(18, 18)) font = QtGui.QFont() font.setBold(True) font.setItalic(False) font.setWeight(75) self.ico_format.setFont(font) self.ico_format.setText(_fromUtf8("")) self.ico_format.setPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/search/cube.svg"))) self.ico_format.setScaledContents(True) self.ico_format.setObjectName(_fromUtf8("ico_format")) self.horizontalLayout_3.addWidget(self.ico_format) self.lbl_format = QtGui.QLabel(self.grp_filters) font = QtGui.QFont() font.setBold(True) font.setItalic(False) font.setWeight(75) self.lbl_format.setFont(font) self.lbl_format.setObjectName(_fromUtf8("lbl_format")) self.horizontalLayout_3.addWidget(self.lbl_format) spacerItem4 = QtGui.QSpacerItem(138, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem4) self.lyt_vert_filter_format.addLayout(self.horizontalLayout_3) self.cbb_format = QtGui.QComboBox(self.grp_filters) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cbb_format.sizePolicy().hasHeightForWidth()) self.cbb_format.setSizePolicy(sizePolicy) self.cbb_format.setMinimumSize(QtCore.QSize(250, 20)) self.cbb_format.setMaximumSize(QtCore.QSize(360, 25)) self.cbb_format.setInsertPolicy(QtGui.QComboBox.InsertAlphabetically) self.cbb_format.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon) self.cbb_format.setObjectName(_fromUtf8("cbb_format")) self.lyt_vert_filter_format.addWidget(self.cbb_format) self.lyt_vert_filters_left.addLayout(self.lyt_vert_filter_format) self.lyt_vert_filter_inspire = QtGui.QVBoxLayout() self.lyt_vert_filter_inspire.setObjectName(_fromUtf8("lyt_vert_filter_inspire")) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.ico_inspire = QtGui.QLabel(self.grp_filters) self.ico_inspire.setMaximumSize(QtCore.QSize(18, 18)) font = QtGui.QFont() font.setBold(True) font.setItalic(False) font.setWeight(75) self.ico_inspire.setFont(font) self.ico_inspire.setText(_fromUtf8("")) self.ico_inspire.setPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/leaf.svg"))) self.ico_inspire.setScaledContents(True) self.ico_inspire.setObjectName(_fromUtf8("ico_inspire")) self.horizontalLayout_4.addWidget(self.ico_inspire) self.lbl_inspire = QtGui.QLabel(self.grp_filters) font = QtGui.QFont() font.setBold(True) font.setItalic(False) font.setWeight(75) self.lbl_inspire.setFont(font) self.lbl_inspire.setObjectName(_fromUtf8("lbl_inspire")) self.horizontalLayout_4.addWidget(self.lbl_inspire) spacerItem5 = QtGui.QSpacerItem(78, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem5) self.lyt_vert_filter_inspire.addLayout(self.horizontalLayout_4) self.cbb_inspire = QtGui.QComboBox(self.grp_filters) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cbb_inspire.sizePolicy().hasHeightForWidth()) self.cbb_inspire.setSizePolicy(sizePolicy) self.cbb_inspire.setMinimumSize(QtCore.QSize(250, 20)) self.cbb_inspire.setMaximumSize(QtCore.QSize(360, 25)) self.cbb_inspire.setInsertPolicy(QtGui.QComboBox.InsertAlphabetically) self.cbb_inspire.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon) self.cbb_inspire.setObjectName(_fromUtf8("cbb_inspire")) self.lyt_vert_filter_inspire.addWidget(self.cbb_inspire) self.lyt_vert_filters_left.addLayout(self.lyt_vert_filter_inspire) self.lyt_vert_filter_contact = QtGui.QVBoxLayout() self.lyt_vert_filter_contact.setContentsMargins(-1, -1, -1, 0) self.lyt_vert_filter_contact.setObjectName(_fromUtf8("lyt_vert_filter_contact")) self.horizontalLayout_15 = QtGui.QHBoxLayout() self.horizontalLayout_15.setContentsMargins(-1, -1, -1, 0) self.horizontalLayout_15.setObjectName(_fromUtf8("horizontalLayout_15")) self.ico_contact = QtGui.QLabel(self.grp_filters) self.ico_contact.setMaximumSize(QtCore.QSize(18, 18)) self.ico_contact.setText(_fromUtf8("")) self.ico_contact.setPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/search/phone_blue.svg"))) self.ico_contact.setScaledContents(True) self.ico_contact.setObjectName(_fromUtf8("ico_contact")) self.horizontalLayout_15.addWidget(self.ico_contact) self.lbl_contact = QtGui.QLabel(self.grp_filters) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.lbl_contact.setFont(font) self.lbl_contact.setScaledContents(True) self.lbl_contact.setObjectName(_fromUtf8("lbl_contact")) self.horizontalLayout_15.addWidget(self.lbl_contact) spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_15.addItem(spacerItem6) self.lyt_vert_filter_contact.addLayout(self.horizontalLayout_15) self.cbb_contact = QtGui.QComboBox(self.grp_filters) self.cbb_contact.setMinimumSize(QtCore.QSize(250, 20)) self.cbb_contact.setMaximumSize(QtCore.QSize(360, 25)) self.cbb_contact.setInsertPolicy(QtGui.QComboBox.InsertAlphabetically) self.cbb_contact.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon) self.cbb_contact.setObjectName(_fromUtf8("cbb_contact")) self.lyt_vert_filter_contact.addWidget(self.cbb_contact) self.lyt_vert_filters_left.addLayout(self.lyt_vert_filter_contact) self.lyt_horiz_filters.addLayout(self.lyt_vert_filters_left) self.lyt_vert_filters_right = QtGui.QVBoxLayout() self.lyt_vert_filters_right.setObjectName(_fromUtf8("lyt_vert_filters_right")) self.lyt_vert_filter_type = QtGui.QVBoxLayout() self.lyt_vert_filter_type.setObjectName(_fromUtf8("lyt_vert_filter_type")) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.ico_type = QtGui.QLabel(self.grp_filters) self.ico_type.setMaximumSize(QtCore.QSize(18, 18)) self.ico_type.setText(_fromUtf8("")) self.ico_type.setPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/search/asterisk.svg"))) self.ico_type.setScaledContents(True) self.ico_type.setObjectName(_fromUtf8("ico_type")) self.horizontalLayout_2.addWidget(self.ico_type) self.lbl_type = QtGui.QLabel(self.grp_filters) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.lbl_type.setFont(font) self.lbl_type.setObjectName(_fromUtf8("lbl_type")) self.horizontalLayout_2.addWidget(self.lbl_type) spacerItem7 = QtGui.QSpacerItem(48, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem7) self.lyt_vert_filter_type.addLayout(self.horizontalLayout_2) self.cbb_type = QtGui.QComboBox(self.grp_filters) self.cbb_type.setMinimumSize(QtCore.QSize(250, 20)) self.cbb_type.setMaximumSize(QtCore.QSize(360, 25)) self.cbb_type.setInsertPolicy(QtGui.QComboBox.InsertAlphabetically) self.cbb_type.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon) self.cbb_type.setObjectName(_fromUtf8("cbb_type")) self.lyt_vert_filter_type.addWidget(self.cbb_type) self.lyt_vert_filters_right.addLayout(self.lyt_vert_filter_type) self.lyt_vert_filter_workgroup = QtGui.QVBoxLayout() self.lyt_vert_filter_workgroup.setObjectName(_fromUtf8("lyt_vert_filter_workgroup")) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.ico_owner = QtGui.QLabel(self.grp_filters) self.ico_owner.setMaximumSize(QtCore.QSize(18, 18)) font = QtGui.QFont() font.setBold(True) font.setItalic(False) font.setWeight(75) self.ico_owner.setFont(font) self.ico_owner.setText(_fromUtf8("")) self.ico_owner.setPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/users.svg"))) self.ico_owner.setScaledContents(True) self.ico_owner.setObjectName(_fromUtf8("ico_owner")) self.horizontalLayout_5.addWidget(self.ico_owner) self.lbl_owner = QtGui.QLabel(self.grp_filters) font = QtGui.QFont() font.setBold(True) font.setItalic(False) font.setWeight(75) self.lbl_owner.setFont(font) self.lbl_owner.setObjectName(_fromUtf8("lbl_owner")) self.horizontalLayout_5.addWidget(self.lbl_owner) spacerItem8 = QtGui.QSpacerItem(148, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem8) self.lyt_vert_filter_workgroup.addLayout(self.horizontalLayout_5) self.cbb_owner = QtGui.QComboBox(self.grp_filters) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cbb_owner.sizePolicy().hasHeightForWidth()) self.cbb_owner.setSizePolicy(sizePolicy) self.cbb_owner.setMinimumSize(QtCore.QSize(250, 20)) self.cbb_owner.setMaximumSize(QtCore.QSize(360, 25)) self.cbb_owner.setInsertPolicy(QtGui.QComboBox.InsertAlphabetically) self.cbb_owner.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon) self.cbb_owner.setObjectName(_fromUtf8("cbb_owner")) self.lyt_vert_filter_workgroup.addWidget(self.cbb_owner) self.lyt_vert_filters_right.addLayout(self.lyt_vert_filter_workgroup) self.lyt_vert_filter_srs = QtGui.QVBoxLayout() self.lyt_vert_filter_srs.setObjectName(_fromUtf8("lyt_vert_filter_srs")) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.ico_srs = QtGui.QLabel(self.grp_filters) self.ico_srs.setMaximumSize(QtCore.QSize(18, 18)) font = QtGui.QFont() font.setBold(True) font.setItalic(False) font.setWeight(75) self.ico_srs.setFont(font) self.ico_srs.setText(_fromUtf8("")) self.ico_srs.setPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/search/globe.svg"))) self.ico_srs.setScaledContents(True) self.ico_srs.setObjectName(_fromUtf8("ico_srs")) self.horizontalLayout_6.addWidget(self.ico_srs) self.lbl_srs = QtGui.QLabel(self.grp_filters) font = QtGui.QFont() font.setBold(True) font.setItalic(False) font.setWeight(75) self.lbl_srs.setFont(font) self.lbl_srs.setObjectName(_fromUtf8("lbl_srs")) self.horizontalLayout_6.addWidget(self.lbl_srs) spacerItem9 = QtGui.QSpacerItem(68, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_6.addItem(spacerItem9) self.lyt_vert_filter_srs.addLayout(self.horizontalLayout_6) self.cbb_srs = QtGui.QComboBox(self.grp_filters) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cbb_srs.sizePolicy().hasHeightForWidth()) self.cbb_srs.setSizePolicy(sizePolicy) self.cbb_srs.setMinimumSize(QtCore.QSize(250, 20)) self.cbb_srs.setMaximumSize(QtCore.QSize(360, 25)) self.cbb_srs.setInsertPolicy(QtGui.QComboBox.InsertAlphabetically) self.cbb_srs.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon) self.cbb_srs.setObjectName(_fromUtf8("cbb_srs")) self.lyt_vert_filter_srs.addWidget(self.cbb_srs) self.lyt_vert_filters_right.addLayout(self.lyt_vert_filter_srs) self.lyt_vert_filter_licence = QtGui.QVBoxLayout() self.lyt_vert_filter_licence.setObjectName(_fromUtf8("lyt_vert_filter_licence")) self.horizontalLayout_8 = QtGui.QHBoxLayout() self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8")) self.ico_license = QtGui.QLabel(self.grp_filters) self.ico_license.setMaximumSize(QtCore.QSize(18, 18)) self.ico_license.setText(_fromUtf8("")) self.ico_license.setPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/gavel.svg"))) self.ico_license.setScaledContents(True) self.ico_license.setObjectName(_fromUtf8("ico_license")) self.horizontalLayout_8.addWidget(self.ico_license) self.lbl_license = QtGui.QLabel(self.grp_filters) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.lbl_license.setFont(font) self.lbl_license.setObjectName(_fromUtf8("lbl_license")) self.horizontalLayout_8.addWidget(self.lbl_license) spacerItem10 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_8.addItem(spacerItem10) self.lyt_vert_filter_licence.addLayout(self.horizontalLayout_8) self.cbb_license = QtGui.QComboBox(self.grp_filters) self.cbb_license.setMinimumSize(QtCore.QSize(250, 20)) self.cbb_license.setMaximumSize(QtCore.QSize(360, 25)) self.cbb_license.setInsertPolicy(QtGui.QComboBox.InsertAlphabetically) self.cbb_license.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon) self.cbb_license.setObjectName(_fromUtf8("cbb_license")) self.lyt_vert_filter_licence.addWidget(self.cbb_license) self.lyt_vert_filters_right.addLayout(self.lyt_vert_filter_licence) self.lyt_horiz_filters.addLayout(self.lyt_vert_filters_right) self.verticalLayout_13.addLayout(self.lyt_horiz_filters) self.gridLayout_2.addLayout(self.verticalLayout_13, 0, 0, 1, 1) self.gridLayout_8.addWidget(self.grp_filters, 1, 0, 1, 1) self.tabWidget.addTab(self.tab_search, icon5, _fromUtf8("")) self.tab_settings = QtGui.QWidget() self.tab_settings.setObjectName(_fromUtf8("tab_settings")) self.gridLayout_7 = QtGui.QGridLayout(self.tab_settings) self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7")) spacerItem11 = QtGui.QSpacerItem(20, 105, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_7.addItem(spacerItem11, 7, 0, 1, 1) self.groupBox_2 = QtGui.QGroupBox(self.tab_settings) self.groupBox_2.setMinimumSize(QtCore.QSize(0, 121)) self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) self.gridLayout_4 = QtGui.QGridLayout(self.groupBox_2) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.verticalLayout_10 = QtGui.QVBoxLayout() self.verticalLayout_10.setObjectName(_fromUtf8("verticalLayout_10")) self.horizontalLayout_9 = QtGui.QHBoxLayout() self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9")) self.cbb_quicksearch_edit = QtGui.QComboBox(self.groupBox_2) self.cbb_quicksearch_edit.setMinimumSize(QtCore.QSize(221, 24)) self.cbb_quicksearch_edit.setObjectName(_fromUtf8("cbb_quicksearch_edit")) self.horizontalLayout_9.addWidget(self.cbb_quicksearch_edit) spacerItem12 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_9.addItem(spacerItem12) self.btn_rename_sr = QtGui.QPushButton(self.groupBox_2) self.btn_rename_sr.setMinimumSize(QtCore.QSize(111, 25)) self.btn_rename_sr.setMaximumSize(QtCore.QSize(115, 25)) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.btn_rename_sr.setFont(font) icon8 = QtGui.QIcon() icon8.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/pencil.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_rename_sr.setIcon(icon8) self.btn_rename_sr.setObjectName(_fromUtf8("btn_rename_sr")) self.horizontalLayout_9.addWidget(self.btn_rename_sr) self.btn_delete_sr = QtGui.QPushButton(self.groupBox_2) self.btn_delete_sr.setMinimumSize(QtCore.QSize(60, 25)) self.btn_delete_sr.setMaximumSize(QtCore.QSize(60, 25)) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.btn_delete_sr.setFont(font) self.btn_delete_sr.setText(_fromUtf8("")) icon9 = QtGui.QIcon() icon9.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/trash.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_delete_sr.setIcon(icon9) self.btn_delete_sr.setObjectName(_fromUtf8("btn_delete_sr")) self.horizontalLayout_9.addWidget(self.btn_delete_sr) self.verticalLayout_10.addLayout(self.horizontalLayout_9) self.horizontalLayout_10 = QtGui.QHBoxLayout() self.horizontalLayout_10.setObjectName(_fromUtf8("horizontalLayout_10")) self.lbl_default = QtGui.QLabel(self.groupBox_2) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.lbl_default.setFont(font) self.lbl_default.setObjectName(_fromUtf8("lbl_default")) self.horizontalLayout_10.addWidget(self.lbl_default) spacerItem13 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_10.addItem(spacerItem13) self.btn_default_save = QtGui.QPushButton(self.groupBox_2) self.btn_default_save.setMinimumSize(QtCore.QSize(111, 25)) self.btn_default_save.setMaximumSize(QtCore.QSize(115, 25)) self.btn_default_save.setText(_fromUtf8("")) self.btn_default_save.setIcon(icon3) self.btn_default_save.setObjectName(_fromUtf8("btn_default_save")) self.horizontalLayout_10.addWidget(self.btn_default_save) self.btn_default_reset = QtGui.QPushButton(self.groupBox_2) self.btn_default_reset.setMinimumSize(QtCore.QSize(60, 25)) self.btn_default_reset.setMaximumSize(QtCore.QSize(60, 25)) self.btn_default_reset.setText(_fromUtf8("")) self.btn_default_reset.setIcon(icon2) self.btn_default_reset.setObjectName(_fromUtf8("btn_default_reset")) self.horizontalLayout_10.addWidget(self.btn_default_reset) self.verticalLayout_10.addLayout(self.horizontalLayout_10) self.horizontalLayout_11 = QtGui.QHBoxLayout() self.horizontalLayout_11.setObjectName(_fromUtf8("horizontalLayout_11")) self.lbl_geo_op = QtGui.QLabel(self.groupBox_2) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.lbl_geo_op.setFont(font) self.lbl_geo_op.setObjectName(_fromUtf8("lbl_geo_op")) self.horizontalLayout_11.addWidget(self.lbl_geo_op) spacerItem14 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_11.addItem(spacerItem14) self.cbb_geo_op = QtGui.QComboBox(self.groupBox_2) self.cbb_geo_op.setMinimumSize(QtCore.QSize(176, 25)) self.cbb_geo_op.setMaximumSize(QtCore.QSize(250, 25)) self.cbb_geo_op.setObjectName(_fromUtf8("cbb_geo_op")) self.horizontalLayout_11.addWidget(self.cbb_geo_op) self.verticalLayout_10.addLayout(self.horizontalLayout_11) self.horizontalLayout_13 = QtGui.QHBoxLayout() self.horizontalLayout_13.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint) self.horizontalLayout_13.setContentsMargins(-1, 0, -1, -1) self.horizontalLayout_13.setObjectName(_fromUtf8("horizontalLayout_13")) self.lbl_cache = QtGui.QLabel(self.groupBox_2) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.lbl_cache.setFont(font) self.lbl_cache.setObjectName(_fromUtf8("lbl_cache")) self.horizontalLayout_13.addWidget(self.lbl_cache) spacerItem15 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_13.addItem(spacerItem15) self.btn_cache_trash = QtGui.QPushButton(self.groupBox_2) self.btn_cache_trash.setMinimumSize(QtCore.QSize(60, 25)) self.btn_cache_trash.setMaximumSize(QtCore.QSize(60, 25)) self.btn_cache_trash.setAutoFillBackground(True) self.btn_cache_trash.setIcon(icon9) self.btn_cache_trash.setFlat(False) self.btn_cache_trash.setObjectName(_fromUtf8("btn_cache_trash")) self.horizontalLayout_13.addWidget(self.btn_cache_trash) self.verticalLayout_10.addLayout(self.horizontalLayout_13) self.gridLayout_4.addLayout(self.verticalLayout_10, 0, 0, 1, 1) self.gridLayout_7.addWidget(self.groupBox_2, 0, 0, 1, 1) self.groupBox = QtGui.QGroupBox(self.tab_settings) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout_5 = QtGui.QGridLayout(self.groupBox) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.txt_shares = QtGui.QTextBrowser(self.groupBox) self.txt_shares.setObjectName(_fromUtf8("txt_shares")) self.gridLayout_5.addWidget(self.txt_shares, 1, 0, 1, 1) self.horizontalLayout_21 = QtGui.QHBoxLayout() self.horizontalLayout_21.setObjectName(_fromUtf8("horizontalLayout_21")) self.lbl_auth = QtGui.QLabel(self.groupBox) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.lbl_auth.setFont(font) self.lbl_auth.setObjectName(_fromUtf8("lbl_auth")) self.horizontalLayout_21.addWidget(self.lbl_auth) spacerItem16 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_21.addItem(spacerItem16) self.btn_change_user = QtGui.QPushButton(self.groupBox) self.btn_change_user.setMinimumSize(QtCore.QSize(91, 24)) self.btn_change_user.setText(_fromUtf8("")) icon10 = QtGui.QIcon() icon10.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/settings/key.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_change_user.setIcon(icon10) self.btn_change_user.setObjectName(_fromUtf8("btn_change_user")) self.horizontalLayout_21.addWidget(self.btn_change_user) self.gridLayout_5.addLayout(self.horizontalLayout_21, 0, 0, 1, 1) self.gridLayout_7.addWidget(self.groupBox, 5, 0, 1, 1) self.groupBox_4 = QtGui.QGroupBox(self.tab_settings) self.groupBox_4.setObjectName(_fromUtf8("groupBox_4")) self.gridLayout_6 = QtGui.QGridLayout(self.groupBox_4) self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) self.verticalLayout_12 = QtGui.QVBoxLayout() self.verticalLayout_12.setObjectName(_fromUtf8("verticalLayout_12")) self.horizontalLayout_24 = QtGui.QHBoxLayout() self.horizontalLayout_24.setObjectName(_fromUtf8("horizontalLayout_24")) self.lbl_report = QtGui.QLabel(self.groupBox_4) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.lbl_report.setFont(font) self.lbl_report.setObjectName(_fromUtf8("lbl_report")) self.horizontalLayout_24.addWidget(self.lbl_report) spacerItem17 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_24.addItem(spacerItem17) self.btn_log_dir = QtGui.QPushButton(self.groupBox_4) self.btn_log_dir.setMinimumSize(QtCore.QSize(80, 25)) self.btn_log_dir.setMaximumSize(QtCore.QSize(100, 30)) self.btn_log_dir.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) self.btn_log_dir.setAutoFillBackground(True) icon11 = QtGui.QIcon() icon11.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/settings/folder-open-o.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_log_dir.setIcon(icon11) self.btn_log_dir.setObjectName(_fromUtf8("btn_log_dir")) self.horizontalLayout_24.addWidget(self.btn_log_dir) self.btn_report = QtGui.QPushButton(self.groupBox_4) self.btn_report.setMinimumSize(QtCore.QSize(80, 25)) self.btn_report.setMaximumSize(QtCore.QSize(100, 30)) self.btn_report.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) self.btn_report.setAutoFillBackground(True) self.btn_report.setText(_fromUtf8("")) icon12 = QtGui.QIcon() icon12.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/settings/bullhorn.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_report.setIcon(icon12) self.btn_report.setObjectName(_fromUtf8("btn_report")) self.horizontalLayout_24.addWidget(self.btn_report) self.verticalLayout_12.addLayout(self.horizontalLayout_24) self.horizontalLayout_23 = QtGui.QHBoxLayout() self.horizontalLayout_23.setObjectName(_fromUtf8("horizontalLayout_23")) self.lbl_help = QtGui.QLabel(self.groupBox_4) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.lbl_help.setFont(font) self.lbl_help.setObjectName(_fromUtf8("lbl_help")) self.horizontalLayout_23.addWidget(self.lbl_help) spacerItem18 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_23.addItem(spacerItem18) self.btn_help = QtGui.QPushButton(self.groupBox_4) self.btn_help.setMinimumSize(QtCore.QSize(80, 25)) self.btn_help.setMaximumSize(QtCore.QSize(100, 30)) self.btn_help.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) self.btn_help.setAutoFillBackground(True) self.btn_help.setText(_fromUtf8("")) icon13 = QtGui.QIcon() icon13.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/settings/question.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_help.setIcon(icon13) self.btn_help.setObjectName(_fromUtf8("btn_help")) self.horizontalLayout_23.addWidget(self.btn_help) self.verticalLayout_12.addLayout(self.horizontalLayout_23) self.horizontalLayout_22 = QtGui.QHBoxLayout() self.horizontalLayout_22.setObjectName(_fromUtf8("horizontalLayout_22")) self.lbl_credits = QtGui.QLabel(self.groupBox_4) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.lbl_credits.setFont(font) self.lbl_credits.setObjectName(_fromUtf8("lbl_credits")) self.horizontalLayout_22.addWidget(self.lbl_credits) spacerItem19 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_22.addItem(spacerItem19) self.btn_credits = QtGui.QPushButton(self.groupBox_4) self.btn_credits.setMinimumSize(QtCore.QSize(80, 25)) self.btn_credits.setMaximumSize(QtCore.QSize(100, 30)) self.btn_credits.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor)) self.btn_credits.setText(_fromUtf8("")) icon14 = QtGui.QIcon() icon14.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/settings/info.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_credits.setIcon(icon14) self.btn_credits.setObjectName(_fromUtf8("btn_credits")) self.horizontalLayout_22.addWidget(self.btn_credits) self.verticalLayout_12.addLayout(self.horizontalLayout_22) self.gridLayout_6.addLayout(self.verticalLayout_12, 0, 0, 1, 1) self.gridLayout_7.addWidget(self.groupBox_4, 6, 0, 1, 1) icon15 = QtGui.QIcon() icon15.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/Isogeo/resources/settings/gear.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.tabWidget.addTab(self.tab_settings, icon15, _fromUtf8("")) self.gridLayout.addWidget(self.tabWidget, 0, 1, 1, 1) IsogeoDockWidgetBase.setWidget(self.dockWidgetContents) self.retranslateUi(IsogeoDockWidgetBase) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(IsogeoDockWidgetBase) def retranslateUi(self, IsogeoDockWidgetBase): self.btn_show.setToolTip(_translate("IsogeoDockWidgetBase", "Display the results list", None)) self.btn_show.setText(_translate("IsogeoDockWidgetBase", "Show results", None)) self.cbb_ob.setToolTip(_translate("IsogeoDockWidgetBase", "Sorting method", None)) self.cbb_od.setToolTip(_translate("IsogeoDockWidgetBase", "Sorting direction", None)) self.btn_reinit.setToolTip(_translate("IsogeoDockWidgetBase", "Reset all input fields", None)) self.btn_quicksearch_save.setToolTip(_translate("IsogeoDockWidgetBase", "Save research", None)) self.cbb_quicksearch_use.setToolTip(_translate("IsogeoDockWidgetBase", "Quick searches", None)) self.cbb_quicksearch_use.setItemText(0, _translate("IsogeoDockWidgetBase", "Quicksearches", None)) self.btn_search_go.setToolTip(_translate("IsogeoDockWidgetBase", "Launch search", None)) self.txt_input.setToolTip(_translate("IsogeoDockWidgetBase", "Enter your search terms", None)) self.txt_input.setPlaceholderText(_translate("IsogeoDockWidgetBase", "roads, habitat, cadastral parcel, transport", None)) self.lbl_page.setText(_translate("IsogeoDockWidgetBase", "Page x on x", None)) self.tbl_result.setSortingEnabled(False) item = self.tbl_result.horizontalHeaderItem(0) item.setText(_translate("IsogeoDockWidgetBase", "Title", None)) item = self.tbl_result.horizontalHeaderItem(1) item.setText(_translate("IsogeoDockWidgetBase", "Modified", None)) item = self.tbl_result.horizontalHeaderItem(2) item.setText(_translate("IsogeoDockWidgetBase", "Type", None)) item = self.tbl_result.horizontalHeaderItem(3) item.setText(_translate("IsogeoDockWidgetBase", "Add", None)) self.grp_filters.setTitle(_translate("IsogeoDockWidgetBase", "Advanced search", None)) self.lbl_geofilter.setText(_translate("IsogeoDockWidgetBase", "Geographic filter", None)) self.lbl_format.setText(_translate("IsogeoDockWidgetBase", "Format (source)", None)) self.lbl_inspire.setText(_translate("IsogeoDockWidgetBase", "INSPIRE keywords", None)) self.lbl_contact.setText(_translate("IsogeoDockWidgetBase", "Contact", None)) self.lbl_type.setText(_translate("IsogeoDockWidgetBase", "Resource type", None)) self.lbl_owner.setText(_translate("IsogeoDockWidgetBase", "Metadata owner", None)) self.lbl_srs.setText(_translate("IsogeoDockWidgetBase", "Coordinate system (source)", None)) self.lbl_license.setText(_translate("IsogeoDockWidgetBase", "License", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_search), _translate("IsogeoDockWidgetBase", "Search", None)) self.groupBox_2.setTitle(_translate("IsogeoDockWidgetBase", "Search settings", None)) self.cbb_quicksearch_edit.setToolTip(_translate("IsogeoDockWidgetBase", "Edit quicksearch", None)) self.btn_rename_sr.setText(_translate("IsogeoDockWidgetBase", "Rename", None)) self.lbl_default.setText(_translate("IsogeoDockWidgetBase", "Default search", None)) self.lbl_geo_op.setText(_translate("IsogeoDockWidgetBase", "Geographical operator applied to the filter", None)) self.lbl_cache.setText(_translate("IsogeoDockWidgetBase", "Paths cache", None)) self.btn_cache_trash.setToolTip(_translate("IsogeoDockWidgetBase", "Empty the paths cached", None)) self.groupBox.setTitle(_translate("IsogeoDockWidgetBase", "Authentication settings", None)) self.lbl_auth.setText(_translate("IsogeoDockWidgetBase", "Set plugin authentication:", None)) self.groupBox_4.setTitle(_translate("IsogeoDockWidgetBase", "Resources", None)) self.lbl_report.setText(_translate("IsogeoDockWidgetBase", "Report an issue on the bug tracker", None)) self.btn_log_dir.setToolTip(_translate("IsogeoDockWidgetBase", "Get the log file: \"log_isogeo_plugin.log\"", None)) self.btn_log_dir.setText(_translate("IsogeoDockWidgetBase", "LOG File", None)) self.lbl_help.setText(_translate("IsogeoDockWidgetBase", "Open online plugin help", None)) self.btn_help.setToolTip(_translate("IsogeoDockWidgetBase", "Open online help in default browser", None)) self.lbl_credits.setText(_translate("IsogeoDockWidgetBase", "Open plugin credits", None)) self.btn_credits.setToolTip(_translate("IsogeoDockWidgetBase", "Open credits popup", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_settings), _translate("IsogeoDockWidgetBase", "Settings", 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_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))