class Ui_ui_query(object): def setupUi(self, ui_query): ui_query.setObjectName(_fromUtf8("ui_query")) ui_query.resize(603, 871) self.verticalLayout_3 = QtGui.QVBoxLayout(ui_query) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.scrollArea = QtGui.QScrollArea(ui_query) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 589, 857)) self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents")) self.verticalLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.horizontalLayout_9 = QtGui.QHBoxLayout() self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9")) self.label = QtGui.QLabel(self.scrollAreaWidgetContents) self.label.setObjectName(_fromUtf8("label")) self.horizontalLayout_9.addWidget(self.label) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_9.addItem(spacerItem) self.buttonBox = QtGui.QDialogButtonBox(self.scrollAreaWidgetContents) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Reset) self.buttonBox.setCenterButtons(True) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout_9.addWidget(self.buttonBox) self.verticalLayout.addLayout(self.horizontalLayout_9) self.textEdit_query = QtGui.QTextEdit(self.scrollAreaWidgetContents) self.textEdit_query.setObjectName(_fromUtf8("textEdit_query")) self.verticalLayout.addWidget(self.textEdit_query) self.groupBox = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupBox.setChecked(False) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.formLayout_4 = QtGui.QFormLayout() self.formLayout_4.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow) self.formLayout_4.setObjectName(_fromUtf8("formLayout_4")) self.label_2 = QtGui.QLabel(self.groupBox) self.label_2.setObjectName(_fromUtf8("label_2")) self.formLayout_4.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2) self.lineEdit_nominatim = QtGui.QLineEdit(self.groupBox) self.lineEdit_nominatim.setObjectName(_fromUtf8("lineEdit_nominatim")) self.formLayout_4.setWidget(0, QtGui.QFormLayout.FieldRole, self.lineEdit_nominatim) self.label_5 = QtGui.QLabel(self.groupBox) self.label_5.setObjectName(_fromUtf8("label_5")) self.formLayout_4.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_5) self.radioButton_extentMapCanvas = QtGui.QRadioButton(self.groupBox) self.radioButton_extentMapCanvas.setChecked(True) self.radioButton_extentMapCanvas.setObjectName(_fromUtf8("radioButton_extentMapCanvas")) self.formLayout_4.setWidget(2, QtGui.QFormLayout.FieldRole, self.radioButton_extentMapCanvas) self.label_3 = QtGui.QLabel(self.groupBox) self.label_3.setObjectName(_fromUtf8("label_3")) self.formLayout_4.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_3) self.label_7 = QtGui.QLabel(self.groupBox) self.label_7.setText(_fromUtf8("")) self.label_7.setObjectName(_fromUtf8("label_7")) self.formLayout_4.setWidget(4, QtGui.QFormLayout.FieldRole, self.label_7) self.label_10 = QtGui.QLabel(self.groupBox) self.label_10.setObjectName(_fromUtf8("label_10")) self.formLayout_4.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_10) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.checkBox_points = QtGui.QCheckBox(self.groupBox) self.checkBox_points.setText(_fromUtf8("")) self.checkBox_points.setChecked(True) self.checkBox_points.setObjectName(_fromUtf8("checkBox_points")) self.horizontalLayout_4.addWidget(self.checkBox_points) self.lineEdit_csv_points = QtGui.QLineEdit(self.groupBox) self.lineEdit_csv_points.setObjectName(_fromUtf8("lineEdit_csv_points")) self.horizontalLayout_4.addWidget(self.lineEdit_csv_points) self.formLayout_4.setLayout(5, QtGui.QFormLayout.FieldRole, self.horizontalLayout_4) self.label_11 = QtGui.QLabel(self.groupBox) self.label_11.setObjectName(_fromUtf8("label_11")) self.formLayout_4.setWidget(6, QtGui.QFormLayout.LabelRole, self.label_11) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.checkBox_lines = QtGui.QCheckBox(self.groupBox) self.checkBox_lines.setText(_fromUtf8("")) self.checkBox_lines.setChecked(True) self.checkBox_lines.setObjectName(_fromUtf8("checkBox_lines")) self.horizontalLayout_6.addWidget(self.checkBox_lines) self.lineEdit_csv_lines = QtGui.QLineEdit(self.groupBox) self.lineEdit_csv_lines.setObjectName(_fromUtf8("lineEdit_csv_lines")) self.horizontalLayout_6.addWidget(self.lineEdit_csv_lines) self.formLayout_4.setLayout(6, QtGui.QFormLayout.FieldRole, self.horizontalLayout_6) self.label_14 = QtGui.QLabel(self.groupBox) self.label_14.setObjectName(_fromUtf8("label_14")) self.formLayout_4.setWidget(7, QtGui.QFormLayout.LabelRole, self.label_14) self.horizontalLayout_7 = QtGui.QHBoxLayout() self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.checkBox_multilinestrings = QtGui.QCheckBox(self.groupBox) self.checkBox_multilinestrings.setText(_fromUtf8("")) self.checkBox_multilinestrings.setChecked(True) self.checkBox_multilinestrings.setObjectName(_fromUtf8("checkBox_multilinestrings")) self.horizontalLayout_7.addWidget(self.checkBox_multilinestrings) self.lineEdit_csv_multilinestrings = QtGui.QLineEdit(self.groupBox) self.lineEdit_csv_multilinestrings.setPlaceholderText(_fromUtf8("")) self.lineEdit_csv_multilinestrings.setObjectName(_fromUtf8("lineEdit_csv_multilinestrings")) self.horizontalLayout_7.addWidget(self.lineEdit_csv_multilinestrings) self.formLayout_4.setLayout(7, QtGui.QFormLayout.FieldRole, self.horizontalLayout_7) self.label_12 = QtGui.QLabel(self.groupBox) self.label_12.setObjectName(_fromUtf8("label_12")) self.formLayout_4.setWidget(8, QtGui.QFormLayout.LabelRole, self.label_12) self.horizontalLayout_8 = QtGui.QHBoxLayout() self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8")) self.checkBox_multipolygons = QtGui.QCheckBox(self.groupBox) self.checkBox_multipolygons.setText(_fromUtf8("")) self.checkBox_multipolygons.setChecked(True) self.checkBox_multipolygons.setObjectName(_fromUtf8("checkBox_multipolygons")) self.horizontalLayout_8.addWidget(self.checkBox_multipolygons) self.lineEdit_csv_multipolygons = QtGui.QLineEdit(self.groupBox) self.lineEdit_csv_multipolygons.setPlaceholderText(_fromUtf8("")) self.lineEdit_csv_multipolygons.setObjectName(_fromUtf8("lineEdit_csv_multipolygons")) self.horizontalLayout_8.addWidget(self.lineEdit_csv_multipolygons) self.formLayout_4.setLayout(8, QtGui.QFormLayout.FieldRole, self.horizontalLayout_8) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.radioButton_extentLayer = QtGui.QRadioButton(self.groupBox) self.radioButton_extentLayer.setObjectName(_fromUtf8("radioButton_extentLayer")) self.horizontalLayout_3.addWidget(self.radioButton_extentLayer) self.comboBox_extentLayer = QtGui.QComboBox(self.groupBox) self.comboBox_extentLayer.setObjectName(_fromUtf8("comboBox_extentLayer")) self.horizontalLayout_3.addWidget(self.comboBox_extentLayer) self.pushButton_refreshLayers = QtGui.QPushButton(self.groupBox) self.pushButton_refreshLayers.setText(_fromUtf8("")) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/QuickOSM/resources/refresh.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_refreshLayers.setIcon(icon) self.pushButton_refreshLayers.setObjectName(_fromUtf8("pushButton_refreshLayers")) self.horizontalLayout_3.addWidget(self.pushButton_refreshLayers) self.formLayout_4.setLayout(3, QtGui.QFormLayout.FieldRole, self.horizontalLayout_3) self.verticalLayout_2.addLayout(self.formLayout_4) self.formLayout_2 = QtGui.QFormLayout() self.formLayout_2.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow) self.formLayout_2.setObjectName(_fromUtf8("formLayout_2")) self.label_4 = QtGui.QLabel(self.groupBox) self.label_4.setObjectName(_fromUtf8("label_4")) self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_4) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.lineEdit_browseDir = QtGui.QLineEdit(self.groupBox) self.lineEdit_browseDir.setObjectName(_fromUtf8("lineEdit_browseDir")) self.horizontalLayout.addWidget(self.lineEdit_browseDir) self.pushButton_browse_output_file = QtGui.QPushButton(self.groupBox) self.pushButton_browse_output_file.setObjectName(_fromUtf8("pushButton_browse_output_file")) self.horizontalLayout.addWidget(self.pushButton_browse_output_file) self.formLayout_2.setLayout(0, QtGui.QFormLayout.FieldRole, self.horizontalLayout) self.label_6 = QtGui.QLabel(self.groupBox) self.label_6.setObjectName(_fromUtf8("label_6")) self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_6) self.lineEdit_filePrefix = QtGui.QLineEdit(self.groupBox) self.lineEdit_filePrefix.setObjectName(_fromUtf8("lineEdit_filePrefix")) self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.lineEdit_filePrefix) self.verticalLayout_2.addLayout(self.formLayout_2) self.verticalLayout.addWidget(self.groupBox) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setSizeConstraint(QtGui.QLayout.SetMinimumSize) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.pushButton_generateQuery = QtGui.QPushButton(self.scrollAreaWidgetContents) self.pushButton_generateQuery.setObjectName(_fromUtf8("pushButton_generateQuery")) self.horizontalLayout_2.addWidget(self.pushButton_generateQuery) self.pushButton_runQuery = QtGui.QPushButton(self.scrollAreaWidgetContents) self.pushButton_runQuery.setDefault(True) self.pushButton_runQuery.setObjectName(_fromUtf8("pushButton_runQuery")) self.horizontalLayout_2.addWidget(self.pushButton_runQuery) self.pushButton_saveQuery = QtGui.QPushButton(self.scrollAreaWidgetContents) self.pushButton_saveQuery.setObjectName(_fromUtf8("pushButton_saveQuery")) self.horizontalLayout_2.addWidget(self.pushButton_saveQuery) self.verticalLayout.addLayout(self.horizontalLayout_2) self.label_progress = QtGui.QLabel(self.scrollAreaWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_progress.sizePolicy().hasHeightForWidth()) self.label_progress.setSizePolicy(sizePolicy) self.label_progress.setObjectName(_fromUtf8("label_progress")) self.verticalLayout.addWidget(self.label_progress) self.progressBar_execution = QtGui.QProgressBar(self.scrollAreaWidgetContents) self.progressBar_execution.setProperty("value", 0) self.progressBar_execution.setObjectName(_fromUtf8("progressBar_execution")) self.verticalLayout.addWidget(self.progressBar_execution) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.pushButton_overpassTurbo = QtGui.QPushButton(self.scrollAreaWidgetContents) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/QuickOSM/resources/turbo.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_overpassTurbo.setIcon(icon1) self.pushButton_overpassTurbo.setObjectName(_fromUtf8("pushButton_overpassTurbo")) self.horizontalLayout_5.addWidget(self.pushButton_overpassTurbo) self.pushButton_documentation = QtGui.QPushButton(self.scrollAreaWidgetContents) self.pushButton_documentation.setObjectName(_fromUtf8("pushButton_documentation")) self.horizontalLayout_5.addWidget(self.pushButton_documentation) self.verticalLayout.addLayout(self.horizontalLayout_5) spacerItem1 = QtGui.QSpacerItem(20, 71, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem1) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout_3.addWidget(self.scrollArea) self.retranslateUi(ui_query) QtCore.QObject.connect(self.checkBox_points, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.lineEdit_csv_points.setEnabled) QtCore.QObject.connect(self.checkBox_lines, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.lineEdit_csv_lines.setEnabled) QtCore.QObject.connect(self.checkBox_multilinestrings, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.lineEdit_csv_multilinestrings.setEnabled) QtCore.QObject.connect(self.checkBox_multipolygons, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.lineEdit_csv_multipolygons.setEnabled) QtCore.QMetaObject.connectSlotsByName(ui_query) def retranslateUi(self, ui_query): ui_query.setWindowTitle(_translate("ui_query", "QuickOSM - Query", None)) self.label.setText(_translate("ui_query", "Overpass query", None)) self.groupBox.setTitle(_translate("ui_query", "Advanced", None)) self.label_2.setText(_translate("ui_query", "{{nominatimArea:}}", None)) self.lineEdit_nominatim.setPlaceholderText(_translate("ui_query", "Can be overridden", None)) self.label_5.setText(_translate("ui_query", "{{bbox}}", None)) self.radioButton_extentMapCanvas.setText(_translate("ui_query", "Extent of the map canvas", None)) self.label_3.setText(_translate("ui_query", "Outputs", None)) self.label_10.setText(_translate("ui_query", "Points", None)) self.lineEdit_csv_points.setPlaceholderText(_translate("ui_query", "col1,col2,col3", None)) self.label_11.setText(_translate("ui_query", "Lines", None)) self.lineEdit_csv_lines.setPlaceholderText(_translate("ui_query", "or let empty", None)) self.label_14.setText(_translate("ui_query", "Multilinestrings", None)) self.label_12.setText(_translate("ui_query", "Multipolygons", None)) self.radioButton_extentLayer.setText(_translate("ui_query", "Extent of a layer", None)) self.label_4.setText(_translate("ui_query", "Directory", None)) self.lineEdit_browseDir.setPlaceholderText(_translate("ui_query", "Save to temporary file", None)) self.pushButton_browse_output_file.setText(_translate("ui_query", "Browse", None)) self.label_6.setText(_translate("ui_query", "File prefix", None)) self.pushButton_generateQuery.setText(_translate("ui_query", "Generate query", None)) self.pushButton_runQuery.setText(_translate("ui_query", "Run query", None)) self.pushButton_saveQuery.setText(_translate("ui_query", "Save query", None)) self.label_progress.setText(_translate("ui_query", "progress text", None)) self.pushButton_overpassTurbo.setText(_translate("ui_query", "Overpass Turbo", None)) self.pushButton_documentation.setText(_translate("ui_query", "Documentation", None))
class Ui_OSMDataDialogBase(object): def setupUi(self, OSMDataDialogBase): OSMDataDialogBase.setObjectName(_fromUtf8("OSMDataDialogBase")) OSMDataDialogBase.resize(659, 805) self.scrollArea = QtGui.QScrollArea(OSMDataDialogBase) self.scrollArea.setGeometry(QtCore.QRect(10, 10, 626, 787)) self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame) self.scrollArea.setFrameShadow(QtGui.QFrame.Plain) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 626, 787)) self.scrollAreaWidgetContents.setObjectName( _fromUtf8("scrollAreaWidgetContents")) self.verticalLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.pushButton_mapFeatures = QtGui.QPushButton( self.scrollAreaWidgetContents) self.pushButton_mapFeatures.setObjectName( _fromUtf8("pushButton_mapFeatures")) self.horizontalLayout_4.addWidget(self.pushButton_mapFeatures) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem) self.buttonBox = QtGui.QDialogButtonBox(self.scrollAreaWidgetContents) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Reset) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout_4.addWidget(self.buttonBox) self.verticalLayout.addLayout(self.horizontalLayout_4) self.formLayout = QtGui.QFormLayout() self.formLayout.setFieldGrowthPolicy( QtGui.QFormLayout.ExpandingFieldsGrow) self.formLayout.setObjectName(_fromUtf8("formLayout")) self.label = QtGui.QLabel(self.scrollAreaWidgetContents) self.label.setObjectName(_fromUtf8("label")) self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label) self.comboBox_key = QtGui.QComboBox(self.scrollAreaWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.comboBox_key.sizePolicy().hasHeightForWidth()) self.comboBox_key.setSizePolicy(sizePolicy) self.comboBox_key.setEditable(True) self.comboBox_key.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContents) self.comboBox_key.setObjectName(_fromUtf8("comboBox_key")) self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.comboBox_key) self.comboBox_value = QtGui.QComboBox(self.scrollAreaWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.comboBox_value.sizePolicy().hasHeightForWidth()) self.comboBox_value.setSizePolicy(sizePolicy) self.comboBox_value.setEditable(True) self.comboBox_value.setSizeAdjustPolicy( QtGui.QComboBox.AdjustToContents) self.comboBox_value.setObjectName(_fromUtf8("comboBox_value")) self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.comboBox_value) self.radioButton_place = QtGui.QRadioButton( self.scrollAreaWidgetContents) self.radioButton_place.setText(_fromUtf8("")) self.radioButton_place.setChecked(True) self.radioButton_place.setObjectName(_fromUtf8("radioButton_place")) self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.radioButton_place) self.horizontalLayout_8 = QtGui.QHBoxLayout() self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8")) self.comboBox_in_around = QtGui.QComboBox( self.scrollAreaWidgetContents) self.comboBox_in_around.setObjectName(_fromUtf8("comboBox_in_around")) self.horizontalLayout_8.addWidget(self.comboBox_in_around) self.lineEdit_nominatim = QtGui.QLineEdit( self.scrollAreaWidgetContents) self.lineEdit_nominatim.setText(_fromUtf8("")) self.lineEdit_nominatim.setObjectName(_fromUtf8("lineEdit_nominatim")) self.horizontalLayout_8.addWidget(self.lineEdit_nominatim) self.spinBox_distance_point = QtGui.QSpinBox( self.scrollAreaWidgetContents) self.spinBox_distance_point.setMinimum(1) self.spinBox_distance_point.setMaximum(999999999) self.spinBox_distance_point.setSingleStep(100) self.spinBox_distance_point.setProperty("value", 1000) self.spinBox_distance_point.setObjectName( _fromUtf8("spinBox_distance_point")) self.horizontalLayout_8.addWidget(self.spinBox_distance_point) self.label_distance_point = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_distance_point.setText(_fromUtf8("m")) self.label_distance_point.setObjectName( _fromUtf8("label_distance_point")) self.horizontalLayout_8.addWidget(self.label_distance_point) self.formLayout.setLayout(2, QtGui.QFormLayout.FieldRole, self.horizontalLayout_8) self.radioButton_extentMapCanvas = QtGui.QRadioButton( self.scrollAreaWidgetContents) self.radioButton_extentMapCanvas.setText(_fromUtf8("")) self.radioButton_extentMapCanvas.setObjectName( _fromUtf8("radioButton_extentMapCanvas")) self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.radioButton_extentMapCanvas) self.label_13 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_13.setObjectName(_fromUtf8("label_13")) self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.label_13) self.radioButton_extentLayer = QtGui.QRadioButton( self.scrollAreaWidgetContents) self.radioButton_extentLayer.setText(_fromUtf8("")) self.radioButton_extentLayer.setObjectName( _fromUtf8("radioButton_extentLayer")) self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.radioButton_extentLayer) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.label_15 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_15.setObjectName(_fromUtf8("label_15")) self.horizontalLayout_5.addWidget(self.label_15) self.comboBox_extentLayer = QgsMapLayerComboBox( self.scrollAreaWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.comboBox_extentLayer.sizePolicy().hasHeightForWidth()) self.comboBox_extentLayer.setSizePolicy(sizePolicy) self.comboBox_extentLayer.setObjectName( _fromUtf8("comboBox_extentLayer")) self.horizontalLayout_5.addWidget(self.comboBox_extentLayer) self.formLayout.setLayout(5, QtGui.QFormLayout.FieldRole, self.horizontalLayout_5) self.label_2 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_2.setObjectName(_fromUtf8("label_2")) self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2) self.verticalLayout.addLayout(self.formLayout) self.groupBox = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupBox.setChecked(False) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.formLayout_3 = QtGui.QFormLayout() self.formLayout_3.setObjectName(_fromUtf8("formLayout_3")) self.label_7 = QtGui.QLabel(self.groupBox) self.label_7.setText(_fromUtf8("Node")) self.label_7.setObjectName(_fromUtf8("label_7")) self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_7) self.checkBox_node = QtGui.QCheckBox(self.groupBox) self.checkBox_node.setText(_fromUtf8("")) self.checkBox_node.setChecked(True) self.checkBox_node.setObjectName(_fromUtf8("checkBox_node")) self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole, self.checkBox_node) self.label_8 = QtGui.QLabel(self.groupBox) self.label_8.setText(_fromUtf8("Way")) self.label_8.setObjectName(_fromUtf8("label_8")) self.formLayout_3.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_8) self.checkBox_way = QtGui.QCheckBox(self.groupBox) self.checkBox_way.setText(_fromUtf8("")) self.checkBox_way.setChecked(True) self.checkBox_way.setObjectName(_fromUtf8("checkBox_way")) self.formLayout_3.setWidget(1, QtGui.QFormLayout.FieldRole, self.checkBox_way) self.label_9 = QtGui.QLabel(self.groupBox) self.label_9.setText(_fromUtf8("Relation")) self.label_9.setObjectName(_fromUtf8("label_9")) self.formLayout_3.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_9) self.checkBox_relation = QtGui.QCheckBox(self.groupBox) self.checkBox_relation.setText(_fromUtf8("")) self.checkBox_relation.setChecked(True) self.checkBox_relation.setObjectName(_fromUtf8("checkBox_relation")) self.formLayout_3.setWidget(2, QtGui.QFormLayout.FieldRole, self.checkBox_relation) self.horizontalLayout_3.addLayout(self.formLayout_3) self.formLayout_4 = QtGui.QFormLayout() self.formLayout_4.setObjectName(_fromUtf8("formLayout_4")) self.label_10 = QtGui.QLabel(self.groupBox) self.label_10.setText(_fromUtf8("Points")) self.label_10.setObjectName(_fromUtf8("label_10")) self.formLayout_4.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_10) self.checkBox_points = QtGui.QCheckBox(self.groupBox) self.checkBox_points.setText(_fromUtf8("")) self.checkBox_points.setChecked(True) self.checkBox_points.setObjectName(_fromUtf8("checkBox_points")) self.formLayout_4.setWidget(0, QtGui.QFormLayout.FieldRole, self.checkBox_points) self.checkBox_lines = QtGui.QCheckBox(self.groupBox) self.checkBox_lines.setText(_fromUtf8("")) self.checkBox_lines.setChecked(True) self.checkBox_lines.setObjectName(_fromUtf8("checkBox_lines")) self.formLayout_4.setWidget(1, QtGui.QFormLayout.FieldRole, self.checkBox_lines) self.label_11 = QtGui.QLabel(self.groupBox) self.label_11.setText(_fromUtf8("Lines")) self.label_11.setObjectName(_fromUtf8("label_11")) self.formLayout_4.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_11) self.label_12 = QtGui.QLabel(self.groupBox) self.label_12.setText(_fromUtf8("Multipolygons")) self.label_12.setObjectName(_fromUtf8("label_12")) self.formLayout_4.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_12) self.checkBox_multipolygons = QtGui.QCheckBox(self.groupBox) self.checkBox_multipolygons.setText(_fromUtf8("")) self.checkBox_multipolygons.setChecked(True) self.checkBox_multipolygons.setObjectName( _fromUtf8("checkBox_multipolygons")) self.formLayout_4.setWidget(3, QtGui.QFormLayout.FieldRole, self.checkBox_multipolygons) self.label_14 = QtGui.QLabel(self.groupBox) self.label_14.setText(_fromUtf8("Multilinestrings")) self.label_14.setObjectName(_fromUtf8("label_14")) self.formLayout_4.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_14) self.checkBox_multilinestrings = QtGui.QCheckBox(self.groupBox) self.checkBox_multilinestrings.setText(_fromUtf8("")) self.checkBox_multilinestrings.setChecked(True) self.checkBox_multilinestrings.setObjectName( _fromUtf8("checkBox_multilinestrings")) self.formLayout_4.setWidget(2, QtGui.QFormLayout.FieldRole, self.checkBox_multilinestrings) self.horizontalLayout_3.addLayout(self.formLayout_4) self.verticalLayout_2.addLayout(self.horizontalLayout_3) self.formLayout_2 = QtGui.QFormLayout() self.formLayout_2.setObjectName(_fromUtf8("formLayout_2")) self.spinBox_timeout = QtGui.QSpinBox(self.groupBox) self.spinBox_timeout.setButtonSymbols( QtGui.QAbstractSpinBox.UpDownArrows) self.spinBox_timeout.setMinimum(25) self.spinBox_timeout.setMaximum(2000) self.spinBox_timeout.setSingleStep(25) self.spinBox_timeout.setObjectName(_fromUtf8("spinBox_timeout")) self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.spinBox_timeout) self.label_5 = QtGui.QLabel(self.groupBox) self.label_5.setObjectName(_fromUtf8("label_5")) self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_5) self.label_4 = QtGui.QLabel(self.groupBox) self.label_4.setObjectName(_fromUtf8("label_4")) self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_4) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.lineEdit_browseDir = QtGui.QLineEdit(self.groupBox) self.lineEdit_browseDir.setObjectName(_fromUtf8("lineEdit_browseDir")) self.horizontalLayout.addWidget(self.lineEdit_browseDir) self.pushButton_browse_output_file = QtGui.QPushButton(self.groupBox) self.pushButton_browse_output_file.setObjectName( _fromUtf8("pushButton_browse_output_file")) self.horizontalLayout.addWidget(self.pushButton_browse_output_file) self.formLayout_2.setLayout(1, QtGui.QFormLayout.FieldRole, self.horizontalLayout) self.label_6 = QtGui.QLabel(self.groupBox) self.label_6.setObjectName(_fromUtf8("label_6")) self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_6) self.lineEdit_filePrefix = QtGui.QLineEdit(self.groupBox) self.lineEdit_filePrefix.setObjectName( _fromUtf8("lineEdit_filePrefix")) self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.lineEdit_filePrefix) self.verticalLayout_2.addLayout(self.formLayout_2) self.verticalLayout.addWidget(self.groupBox) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setSizeConstraint(QtGui.QLayout.SetMinimumSize) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.pushButton_runQuery = QtGui.QPushButton( self.scrollAreaWidgetContents) self.pushButton_runQuery.setDefault(True) self.pushButton_runQuery.setObjectName( _fromUtf8("pushButton_runQuery")) self.horizontalLayout_2.addWidget(self.pushButton_runQuery) self.verticalLayout.addLayout(self.horizontalLayout_2) self.label_progress = QtGui.QLabel(self.scrollAreaWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.label_progress.sizePolicy().hasHeightForWidth()) self.label_progress.setSizePolicy(sizePolicy) self.label_progress.setText(_fromUtf8("progress text")) self.label_progress.setObjectName(_fromUtf8("label_progress")) self.verticalLayout.addWidget(self.label_progress) self.progressBar_execution = QtGui.QProgressBar( self.scrollAreaWidgetContents) self.progressBar_execution.setProperty("value", 0) self.progressBar_execution.setObjectName( _fromUtf8("progressBar_execution")) self.verticalLayout.addWidget(self.progressBar_execution) spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem1) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.retranslateUi(OSMDataDialogBase) QtCore.QMetaObject.connectSlotsByName(OSMDataDialogBase) def retranslateUi(self, OSMDataDialogBase): OSMDataDialogBase.setWindowTitle( _translate("OSMDataDialogBase", "OSM Data", None)) self.pushButton_mapFeatures.setText( _translate("OSMDataDialogBase", "Aide avec clé/valeur", None)) self.label.setText(_translate("OSMDataDialogBase", "clé", None)) self.comboBox_in_around.setToolTip( _translate( "OSMDataDialogBase", "\"In\" will search the first multipolygon relation, however \"Around\" will get the first OSM node.", None)) self.lineEdit_nominatim.setPlaceholderText( _translate("OSMDataDialogBase", "Un village, une ville, ...", None)) self.label_13.setText( _translate("OSMDataDialogBase", "Etendue du Maroc", None)) self.label_15.setText( _translate("OSMDataDialogBase", "Emprise d\'une couche", None)) self.label_2.setText(_translate("OSMDataDialogBase", "valeur", None)) self.groupBox.setTitle(_translate("OSMDataDialogBase", "Avancé", None)) self.label_5.setText(_translate("OSMDataDialogBase", "Temps max", None)) self.label_4.setText( _translate("OSMDataDialogBase", "Répertoire", None)) self.lineEdit_browseDir.setPlaceholderText( _translate("OSMDataDialogBase", "Enregistrer temporairement", None)) self.pushButton_browse_output_file.setText( _translate("OSMDataDialogBase", "Parcourir", None)) self.label_6.setText( _translate("OSMDataDialogBase", "Préfixe de fichier", None)) self.pushButton_runQuery.setText( _translate("OSMDataDialogBase", "Exécuter", None))
class Ui_ui_query(object): def setupUi(self, ui_query): ui_query.setObjectName("ui_query") ui_query.resize(603, 871) self.verticalLayout_3 = QtWidgets.QVBoxLayout(ui_query) self.verticalLayout_3.setObjectName("verticalLayout_3") self.scrollArea = QtWidgets.QScrollArea(ui_query) self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame) self.scrollArea.setFrameShadow(QtWidgets.QFrame.Plain) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 585, 853)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents) self.verticalLayout.setObjectName("verticalLayout") self.horizontalLayout_9 = QtWidgets.QHBoxLayout() self.horizontalLayout_9.setObjectName("horizontalLayout_9") self.label = QtWidgets.QLabel(self.scrollAreaWidgetContents) self.label.setObjectName("label") self.horizontalLayout_9.addWidget(self.label) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_9.addItem(spacerItem) self.buttonBox = QtWidgets.QDialogButtonBox(self.scrollAreaWidgetContents) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.buttonBox.sizePolicy().hasHeightForWidth()) self.buttonBox.setSizePolicy(sizePolicy) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Reset) self.buttonBox.setCenterButtons(True) self.buttonBox.setObjectName("buttonBox") self.horizontalLayout_9.addWidget(self.buttonBox) self.verticalLayout.addLayout(self.horizontalLayout_9) self.textEdit_query = QtWidgets.QTextEdit(self.scrollAreaWidgetContents) self.textEdit_query.setAcceptRichText(False) self.textEdit_query.setObjectName("textEdit_query") self.verticalLayout.addWidget(self.textEdit_query) self.advanced = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.advanced.setChecked(False) self.advanced.setObjectName("advanced") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.advanced) self.verticalLayout_2.setObjectName("verticalLayout_2") self.formLayout_4 = QtWidgets.QFormLayout() self.formLayout_4.setFieldGrowthPolicy(QtWidgets.QFormLayout.ExpandingFieldsGrow) self.formLayout_4.setObjectName("formLayout_4") self.label_2 = QtWidgets.QLabel(self.advanced) self.label_2.setText("{{geocodeArea:}}") self.label_2.setObjectName("label_2") self.formLayout_4.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_2) self.lineEdit_nominatim = QtWidgets.QLineEdit(self.advanced) self.lineEdit_nominatim.setObjectName("lineEdit_nominatim") self.formLayout_4.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEdit_nominatim) self.label_5 = QtWidgets.QLabel(self.advanced) self.label_5.setObjectName("label_5") self.formLayout_4.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_5) self.radioButton_extentMapCanvas = QtWidgets.QRadioButton(self.advanced) self.radioButton_extentMapCanvas.setChecked(True) self.radioButton_extentMapCanvas.setObjectName("radioButton_extentMapCanvas") self.formLayout_4.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.radioButton_extentMapCanvas) self.label_3 = QtWidgets.QLabel(self.advanced) self.label_3.setObjectName("label_3") self.formLayout_4.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.label_3) self.label_7 = QtWidgets.QLabel(self.advanced) self.label_7.setText("") self.label_7.setObjectName("label_7") self.formLayout_4.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.label_7) self.label_10 = QtWidgets.QLabel(self.advanced) self.label_10.setText("Points") self.label_10.setObjectName("label_10") self.formLayout_4.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.label_10) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.checkBox_points = QtWidgets.QCheckBox(self.advanced) self.checkBox_points.setText("") self.checkBox_points.setChecked(True) self.checkBox_points.setObjectName("checkBox_points") self.horizontalLayout_4.addWidget(self.checkBox_points) self.lineEdit_csv_points = QtWidgets.QLineEdit(self.advanced) self.lineEdit_csv_points.setInputMask("") self.lineEdit_csv_points.setText("") self.lineEdit_csv_points.setPlaceholderText("col1,col2,col3") self.lineEdit_csv_points.setObjectName("lineEdit_csv_points") self.horizontalLayout_4.addWidget(self.lineEdit_csv_points) self.formLayout_4.setLayout(5, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_4) self.label_11 = QtWidgets.QLabel(self.advanced) self.label_11.setText("Lines") self.label_11.setObjectName("label_11") self.formLayout_4.setWidget(6, QtWidgets.QFormLayout.LabelRole, self.label_11) self.horizontalLayout_6 = QtWidgets.QHBoxLayout() self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.checkBox_lines = QtWidgets.QCheckBox(self.advanced) self.checkBox_lines.setText("") self.checkBox_lines.setChecked(True) self.checkBox_lines.setObjectName("checkBox_lines") self.horizontalLayout_6.addWidget(self.checkBox_lines) self.lineEdit_csv_lines = QtWidgets.QLineEdit(self.advanced) self.lineEdit_csv_lines.setObjectName("lineEdit_csv_lines") self.horizontalLayout_6.addWidget(self.lineEdit_csv_lines) self.formLayout_4.setLayout(6, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_6) self.label_14 = QtWidgets.QLabel(self.advanced) self.label_14.setText("Multilinestrings") self.label_14.setObjectName("label_14") self.formLayout_4.setWidget(7, QtWidgets.QFormLayout.LabelRole, self.label_14) self.horizontalLayout_7 = QtWidgets.QHBoxLayout() self.horizontalLayout_7.setObjectName("horizontalLayout_7") self.checkBox_multilinestrings = QtWidgets.QCheckBox(self.advanced) self.checkBox_multilinestrings.setText("") self.checkBox_multilinestrings.setChecked(True) self.checkBox_multilinestrings.setObjectName("checkBox_multilinestrings") self.horizontalLayout_7.addWidget(self.checkBox_multilinestrings) self.lineEdit_csv_multilinestrings = QtWidgets.QLineEdit(self.advanced) self.lineEdit_csv_multilinestrings.setPlaceholderText("") self.lineEdit_csv_multilinestrings.setObjectName("lineEdit_csv_multilinestrings") self.horizontalLayout_7.addWidget(self.lineEdit_csv_multilinestrings) self.formLayout_4.setLayout(7, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_7) self.label_12 = QtWidgets.QLabel(self.advanced) self.label_12.setText("Multipolygons") self.label_12.setObjectName("label_12") self.formLayout_4.setWidget(8, QtWidgets.QFormLayout.LabelRole, self.label_12) self.horizontalLayout_8 = QtWidgets.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") self.checkBox_multipolygons = QtWidgets.QCheckBox(self.advanced) self.checkBox_multipolygons.setText("") self.checkBox_multipolygons.setChecked(True) self.checkBox_multipolygons.setObjectName("checkBox_multipolygons") self.horizontalLayout_8.addWidget(self.checkBox_multipolygons) self.lineEdit_csv_multipolygons = QtWidgets.QLineEdit(self.advanced) self.lineEdit_csv_multipolygons.setPlaceholderText("") self.lineEdit_csv_multipolygons.setObjectName("lineEdit_csv_multipolygons") self.horizontalLayout_8.addWidget(self.lineEdit_csv_multipolygons) self.formLayout_4.setLayout(8, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_8) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.radioButton_extentLayer = QtWidgets.QRadioButton(self.advanced) self.radioButton_extentLayer.setObjectName("radioButton_extentLayer") self.horizontalLayout_3.addWidget(self.radioButton_extentLayer) self.comboBox_extentLayer = QgsMapLayerComboBox(self.advanced) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.comboBox_extentLayer.sizePolicy().hasHeightForWidth()) self.comboBox_extentLayer.setSizePolicy(sizePolicy) self.comboBox_extentLayer.setObjectName("comboBox_extentLayer") self.horizontalLayout_3.addWidget(self.comboBox_extentLayer) self.formLayout_4.setLayout(3, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_3) self.verticalLayout_2.addLayout(self.formLayout_4) self.formLayout_2 = QtWidgets.QFormLayout() self.formLayout_2.setFieldGrowthPolicy(QtWidgets.QFormLayout.ExpandingFieldsGrow) self.formLayout_2.setObjectName("formLayout_2") self.label_4 = QtWidgets.QLabel(self.advanced) self.label_4.setObjectName("label_4") self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_4) self.output_directory = QgsFileWidget(self.advanced) self.output_directory.setObjectName("output_directory") self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.output_directory) self.label_6 = QtWidgets.QLabel(self.advanced) self.label_6.setObjectName("label_6") self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_6) self.lineEdit_filePrefix = QtWidgets.QLineEdit(self.advanced) self.lineEdit_filePrefix.setObjectName("lineEdit_filePrefix") self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.lineEdit_filePrefix) self.verticalLayout_2.addLayout(self.formLayout_2) self.verticalLayout.addWidget(self.advanced) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize) self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.pushButton_generateQuery = QtWidgets.QPushButton(self.scrollAreaWidgetContents) self.pushButton_generateQuery.setObjectName("pushButton_generateQuery") self.horizontalLayout_2.addWidget(self.pushButton_generateQuery) self.pushButton_runQuery = QtWidgets.QPushButton(self.scrollAreaWidgetContents) self.pushButton_runQuery.setDefault(True) self.pushButton_runQuery.setObjectName("pushButton_runQuery") self.horizontalLayout_2.addWidget(self.pushButton_runQuery) self.pushButton_saveQuery = QtWidgets.QPushButton(self.scrollAreaWidgetContents) self.pushButton_saveQuery.setObjectName("pushButton_saveQuery") self.horizontalLayout_2.addWidget(self.pushButton_saveQuery) self.verticalLayout.addLayout(self.horizontalLayout_2) self.label_progress = QtWidgets.QLabel(self.scrollAreaWidgetContents) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_progress.sizePolicy().hasHeightForWidth()) self.label_progress.setSizePolicy(sizePolicy) self.label_progress.setText("progress text") self.label_progress.setObjectName("label_progress") self.verticalLayout.addWidget(self.label_progress) self.progressBar_execution = QtWidgets.QProgressBar(self.scrollAreaWidgetContents) self.progressBar_execution.setProperty("value", 0) self.progressBar_execution.setObjectName("progressBar_execution") self.verticalLayout.addWidget(self.progressBar_execution) self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.pushButton_overpassTurbo = QtWidgets.QPushButton(self.scrollAreaWidgetContents) self.pushButton_overpassTurbo.setText("Overpass Turbo") self.pushButton_overpassTurbo.setObjectName("pushButton_overpassTurbo") self.horizontalLayout_5.addWidget(self.pushButton_overpassTurbo) self.pushButton_documentation = QtWidgets.QPushButton(self.scrollAreaWidgetContents) self.pushButton_documentation.setObjectName("pushButton_documentation") self.horizontalLayout_5.addWidget(self.pushButton_documentation) self.verticalLayout.addLayout(self.horizontalLayout_5) spacerItem1 = QtWidgets.QSpacerItem(20, 71, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem1) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout_3.addWidget(self.scrollArea) self.retranslateUi(ui_query) self.checkBox_points.toggled['bool'].connect(self.lineEdit_csv_points.setEnabled) self.checkBox_lines.toggled['bool'].connect(self.lineEdit_csv_lines.setEnabled) self.checkBox_multilinestrings.toggled['bool'].connect(self.lineEdit_csv_multilinestrings.setEnabled) self.checkBox_multipolygons.toggled['bool'].connect(self.lineEdit_csv_multipolygons.setEnabled) QtCore.QMetaObject.connectSlotsByName(ui_query) def retranslateUi(self, ui_query): _translate = QtCore.QCoreApplication.translate ui_query.setWindowTitle(_translate("ui_query", "QuickOSM - Query")) self.label.setText(_translate("ui_query", "Overpass query")) self.advanced.setTitle(_translate("ui_query", "Advanced")) self.lineEdit_nominatim.setPlaceholderText(_translate("ui_query", "Can be overridden")) self.label_5.setText(_translate("ui_query", "{{bbox}} or {{center}}")) self.radioButton_extentMapCanvas.setText(_translate("ui_query", "Extent of the map canvas")) self.label_3.setText(_translate("ui_query", "Outputs")) self.lineEdit_csv_lines.setPlaceholderText(_translate("ui_query", "or let empty")) self.radioButton_extentLayer.setText(_translate("ui_query", "Extent of a layer")) self.label_4.setText(_translate("ui_query", "Directory")) self.label_6.setText(_translate("ui_query", "File prefix")) self.pushButton_generateQuery.setText(_translate("ui_query", "Generate query")) self.pushButton_runQuery.setText(_translate("ui_query", "Run query")) self.pushButton_saveQuery.setText(_translate("ui_query", "Save query")) self.pushButton_documentation.setText(_translate("ui_query", "Documentation"))
class Ui_STDMWizard(object): def setupUi(self, STDMWizard): STDMWizard.setObjectName(_fromUtf8("STDMWizard")) STDMWizard.setWindowModality(QtCore.Qt.WindowModal) STDMWizard.resize(840, 638) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( STDMWizard.sizePolicy().hasHeightForWidth()) STDMWizard.setSizePolicy(sizePolicy) STDMWizard.setMinimumSize(QtCore.QSize(720, 100)) STDMWizard.setBaseSize(QtCore.QSize(0, 460)) icon = QtGui.QIcon() icon.addPixmap( QtGui.QPixmap( _fromUtf8( ":/plugins/stdm/images/icons/flts_database_designer.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) STDMWizard.setWindowIcon(icon) STDMWizard.setModal(True) STDMWizard.setWizardStyle(QtGui.QWizard.ModernStyle) STDMWizard.setOptions(QtGui.QWizard.HaveCustomButton1 | QtGui.QWizard.HelpButtonOnRight) self.wpLicense = QtGui.QWizardPage() font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.wpLicense.setFont(font) self.wpLicense.setObjectName(_fromUtf8("wpLicense")) self.gridLayout_2 = QtGui.QGridLayout(self.wpLicense) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.groupBox_16 = QtGui.QGroupBox(self.wpLicense) self.groupBox_16.setObjectName(_fromUtf8("groupBox_16")) self.gridLayout_20 = QtGui.QGridLayout(self.groupBox_16) self.gridLayout_20.setObjectName(_fromUtf8("gridLayout_20")) self.rbAccpt = QtGui.QRadioButton(self.groupBox_16) font = QtGui.QFont() font.setPointSize(11) font.setBold(True) font.setWeight(75) self.rbAccpt.setFont(font) self.rbAccpt.setChecked(False) self.rbAccpt.setObjectName(_fromUtf8("rbAccpt")) self.gridLayout_20.addWidget(self.rbAccpt, 2, 0, 1, 1) self.rbReject = QtGui.QRadioButton(self.groupBox_16) font = QtGui.QFont() font.setPointSize(11) font.setBold(True) font.setWeight(75) self.rbReject.setFont(font) self.rbReject.setCheckable(True) self.rbReject.setChecked(False) self.rbReject.setObjectName(_fromUtf8("rbReject")) self.gridLayout_20.addWidget(self.rbReject, 2, 1, 1, 1) self.txtLicense = QtGui.QTextEdit(self.groupBox_16) font = QtGui.QFont() font.setPointSize(14) font.setBold(True) font.setWeight(75) self.txtLicense.setFont(font) self.txtLicense.setFrameShape(QtGui.QFrame.NoFrame) self.txtLicense.setFrameShadow(QtGui.QFrame.Raised) self.txtLicense.setObjectName(_fromUtf8("txtLicense")) self.gridLayout_20.addWidget(self.txtLicense, 1, 0, 1, 2) self.gridLayout_2.addWidget(self.groupBox_16, 0, 0, 1, 1) STDMWizard.addPage(self.wpLicense) self.wpPathSetting = QtGui.QWizardPage() self.wpPathSetting.setObjectName(_fromUtf8("wpPathSetting")) self.formLayout_2 = QtGui.QFormLayout(self.wpPathSetting) self.formLayout_2.setObjectName(_fromUtf8("formLayout_2")) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setSizeConstraint(QtGui.QLayout.SetNoConstraint) self.gridLayout.setContentsMargins(-1, 20, -1, -1) self.gridLayout.setVerticalSpacing(100) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.btnTemplates = QtGui.QPushButton(self.wpPathSetting) self.btnTemplates.setMinimumSize(QtCore.QSize(0, 30)) icon1 = QtGui.QIcon() icon1.addPixmap( QtGui.QPixmap( _fromUtf8( ":/plugins/stdm/images/icons/flts_scheme_docs_dir.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btnTemplates.setIcon(icon1) self.btnTemplates.setObjectName(_fromUtf8("btnTemplates")) self.gridLayout.addWidget(self.btnTemplates, 2, 2, 1, 1) self.btnDocOutput = QtGui.QPushButton(self.wpPathSetting) self.btnDocOutput.setMinimumSize(QtCore.QSize(0, 30)) self.btnDocOutput.setIcon(icon1) self.btnDocOutput.setObjectName(_fromUtf8("btnDocOutput")) self.gridLayout.addWidget(self.btnDocOutput, 1, 2, 1, 1) self.edtTemplatePath = QtGui.QLineEdit(self.wpPathSetting) self.edtTemplatePath.setMinimumSize(QtCore.QSize(0, 30)) self.edtTemplatePath.setReadOnly(True) self.edtTemplatePath.setObjectName(_fromUtf8("edtTemplatePath")) self.gridLayout.addWidget(self.edtTemplatePath, 2, 1, 1, 1) self.label_37 = QtGui.QLabel(self.wpPathSetting) self.label_37.setMinimumSize(QtCore.QSize(0, 0)) self.label_37.setObjectName(_fromUtf8("label_37")) self.gridLayout.addWidget(self.label_37, 0, 0, 1, 1) self.label_4 = QtGui.QLabel(self.wpPathSetting) self.label_4.setObjectName(_fromUtf8("label_4")) self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1) self.label_31 = QtGui.QLabel(self.wpPathSetting) self.label_31.setObjectName(_fromUtf8("label_31")) self.gridLayout.addWidget(self.label_31, 1, 0, 1, 1) self.edtOutputPath = QtGui.QLineEdit(self.wpPathSetting) self.edtOutputPath.setMinimumSize(QtCore.QSize(0, 30)) self.edtOutputPath.setReadOnly(True) self.edtOutputPath.setObjectName(_fromUtf8("edtOutputPath")) self.gridLayout.addWidget(self.edtOutputPath, 1, 1, 1, 1) self.btnDocPath = QtGui.QPushButton(self.wpPathSetting) self.btnDocPath.setMinimumSize(QtCore.QSize(0, 30)) self.btnDocPath.setIcon(icon1) self.btnDocPath.setObjectName(_fromUtf8("btnDocPath")) self.gridLayout.addWidget(self.btnDocPath, 0, 2, 1, 1) self.edtDocPath = QtGui.QLineEdit(self.wpPathSetting) self.edtDocPath.setMinimumSize(QtCore.QSize(0, 30)) self.edtDocPath.setToolTip(_fromUtf8("")) self.edtDocPath.setText(_fromUtf8("")) self.edtDocPath.setReadOnly(True) self.edtDocPath.setObjectName(_fromUtf8("edtDocPath")) self.gridLayout.addWidget(self.edtDocPath, 0, 1, 1, 1) self.formLayout_2.setLayout(0, QtGui.QFormLayout.SpanningRole, self.gridLayout) STDMWizard.addPage(self.wpPathSetting) self.wpProfile = QtGui.QWizardPage() self.wpProfile.setObjectName(_fromUtf8("wpProfile")) self.verticalLayout_7 = QtGui.QVBoxLayout(self.wpProfile) self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7")) self.groupBox_17 = QtGui.QGroupBox(self.wpProfile) self.groupBox_17.setMinimumSize(QtCore.QSize(0, 0)) self.groupBox_17.setMaximumSize(QtCore.QSize(13900, 300)) self.groupBox_17.setObjectName(_fromUtf8("groupBox_17")) self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBox_17) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.gridLayout_6 = QtGui.QGridLayout() self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) self.btnCopy = QtGui.QPushButton(self.groupBox_17) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnCopy.sizePolicy().hasHeightForWidth()) self.btnCopy.setSizePolicy(sizePolicy) self.btnCopy.setMinimumSize(QtCore.QSize(0, 30)) self.btnCopy.setMaximumSize(QtCore.QSize(150, 16777215)) icon2 = QtGui.QIcon() icon2.addPixmap( QtGui.QPixmap( _fromUtf8(":/plugins/stdm/images/icons/composer_table.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btnCopy.setIcon(icon2) self.btnCopy.setObjectName(_fromUtf8("btnCopy")) self.gridLayout_6.addWidget(self.btnCopy, 0, 3, 1, 1) self.btnPDelete = QtGui.QPushButton(self.groupBox_17) self.btnPDelete.setMinimumSize(QtCore.QSize(0, 30)) self.btnPDelete.setMaximumSize(QtCore.QSize(150, 16777215)) icon3 = QtGui.QIcon() icon3.addPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/remove.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btnPDelete.setIcon(icon3) self.btnPDelete.setObjectName(_fromUtf8("btnPDelete")) self.gridLayout_6.addWidget(self.btnPDelete, 0, 4, 1, 1) self.cboProfile = QtGui.QComboBox(self.groupBox_17) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cboProfile.sizePolicy().hasHeightForWidth()) self.cboProfile.setSizePolicy(sizePolicy) self.cboProfile.setMinimumSize(QtCore.QSize(10, 30)) font = QtGui.QFont() font.setPointSize(9) self.cboProfile.setFont(font) self.cboProfile.setObjectName(_fromUtf8("cboProfile")) self.gridLayout_6.addWidget(self.cboProfile, 0, 1, 1, 1) self.label = QtGui.QLabel(self.groupBox_17) self.label.setMinimumSize(QtCore.QSize(50, 0)) self.label.setMaximumSize(QtCore.QSize(16777215, 16777215)) font = QtGui.QFont() font.setPointSize(9) font.setBold(False) font.setWeight(50) self.label.setFont(font) self.label.setObjectName(_fromUtf8("label")) self.gridLayout_6.addWidget(self.label, 0, 0, 1, 1) self.btnNewP = QtGui.QPushButton(self.groupBox_17) self.btnNewP.setMinimumSize(QtCore.QSize(0, 30)) self.btnNewP.setMaximumSize(QtCore.QSize(150, 16777215)) icon4 = QtGui.QIcon() icon4.addPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/add.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btnNewP.setIcon(icon4) self.btnNewP.setObjectName(_fromUtf8("btnNewP")) self.gridLayout_6.addWidget(self.btnNewP, 0, 2, 1, 1) self.label_3 = QtGui.QLabel(self.groupBox_17) self.label_3.setMargin(0) self.label_3.setIndent(-1) self.label_3.setObjectName(_fromUtf8("label_3")) self.gridLayout_6.addWidget(self.label_3, 1, 0, 1, 1) self.edtDesc = QtGui.QLineEdit(self.groupBox_17) self.edtDesc.setObjectName(_fromUtf8("edtDesc")) self.gridLayout_6.addWidget(self.edtDesc, 1, 1, 1, 4) self.verticalLayout_4.addLayout(self.gridLayout_6) self.widget = QtGui.QWidget(self.groupBox_17) self.widget.setLayoutDirection(QtCore.Qt.LeftToRight) self.widget.setObjectName(_fromUtf8("widget")) self.verticalLayout_4.addWidget(self.widget) self.verticalLayout_7.addWidget(self.groupBox_17) self.groupBox_18 = QtGui.QGroupBox(self.wpProfile) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.groupBox_18.sizePolicy().hasHeightForWidth()) self.groupBox_18.setSizePolicy(sizePolicy) self.groupBox_18.setMinimumSize(QtCore.QSize(0, 300)) self.groupBox_18.setMaximumSize(QtCore.QSize(169999, 169999)) self.groupBox_18.setStyleSheet( _fromUtf8("font: 75 9pt \"Myriad Web Pro\";")) self.groupBox_18.setObjectName(_fromUtf8("groupBox_18")) self.formLayout_3 = QtGui.QFormLayout(self.groupBox_18) self.formLayout_3.setFieldGrowthPolicy( QtGui.QFormLayout.AllNonFixedFieldsGrow) self.formLayout_3.setObjectName(_fromUtf8("formLayout_3")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.btnNewEntity = QtGui.QPushButton(self.groupBox_18) self.btnNewEntity.setMinimumSize(QtCore.QSize(30, 25)) self.btnNewEntity.setMaximumSize(QtCore.QSize(30, 25)) self.btnNewEntity.setBaseSize(QtCore.QSize(30, 25)) self.btnNewEntity.setText(_fromUtf8("")) self.btnNewEntity.setIcon(icon4) self.btnNewEntity.setObjectName(_fromUtf8("btnNewEntity")) self.horizontalLayout.addWidget(self.btnNewEntity) self.btnEditEntity = QtGui.QPushButton(self.groupBox_18) self.btnEditEntity.setMinimumSize(QtCore.QSize(30, 25)) self.btnEditEntity.setMaximumSize(QtCore.QSize(30, 25)) self.btnEditEntity.setText(_fromUtf8("")) icon5 = QtGui.QIcon() icon5.addPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/edit.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btnEditEntity.setIcon(icon5) self.btnEditEntity.setObjectName(_fromUtf8("btnEditEntity")) self.horizontalLayout.addWidget(self.btnEditEntity) self.btnDeleteEntity = QtGui.QPushButton(self.groupBox_18) self.btnDeleteEntity.setMinimumSize(QtCore.QSize(30, 25)) self.btnDeleteEntity.setMaximumSize(QtCore.QSize(30, 25)) self.btnDeleteEntity.setText(_fromUtf8("")) icon6 = QtGui.QIcon() icon6.addPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/delete.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btnDeleteEntity.setIcon(icon6) self.btnDeleteEntity.setObjectName(_fromUtf8("btnDeleteEntity")) self.horizontalLayout.addWidget(self.btnDeleteEntity) self.formLayout_3.setLayout(0, QtGui.QFormLayout.LabelRole, self.horizontalLayout) self.pftableView = QtGui.QTableView(self.groupBox_18) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth( self.pftableView.sizePolicy().hasHeightForWidth()) self.pftableView.setSizePolicy(sizePolicy) self.pftableView.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.pftableView.setSelectionMode( QtGui.QAbstractItemView.SingleSelection) self.pftableView.setSelectionBehavior( QtGui.QAbstractItemView.SelectRows) self.pftableView.setObjectName(_fromUtf8("pftableView")) self.pftableView.horizontalHeader().setStretchLastSection(True) self.formLayout_3.setWidget(1, QtGui.QFormLayout.SpanningRole, self.pftableView) self.verticalLayout_7.addWidget(self.groupBox_18) STDMWizard.addPage(self.wpProfile) self.wpEntityCustom = QtGui.QWizardPage() self.wpEntityCustom.setObjectName(_fromUtf8("wpEntityCustom")) self.verticalLayout_9 = QtGui.QVBoxLayout(self.wpEntityCustom) self.verticalLayout_9.setObjectName(_fromUtf8("verticalLayout_9")) self.splitter_3 = QtGui.QSplitter(self.wpEntityCustom) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.splitter_3.sizePolicy().hasHeightForWidth()) self.splitter_3.setSizePolicy(sizePolicy) self.splitter_3.setOrientation(QtCore.Qt.Vertical) self.splitter_3.setObjectName(_fromUtf8("splitter_3")) self.splitter = QtGui.QSplitter(self.splitter_3) self.splitter.setMinimumSize(QtCore.QSize(100, 100)) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName(_fromUtf8("splitter")) self.groupBox = QtGui.QGroupBox(self.splitter) self.groupBox.setMinimumSize(QtCore.QSize(0, 0)) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout_8 = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout_8.setSpacing(5) self.verticalLayout_8.setMargin(5) self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8")) self.lvEntities = QtGui.QListView(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth( self.lvEntities.sizePolicy().hasHeightForWidth()) self.lvEntities.setSizePolicy(sizePolicy) self.lvEntities.setMinimumSize(QtCore.QSize(0, 0)) self.lvEntities.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.lvEntities.setSelectionBehavior( QtGui.QAbstractItemView.SelectRows) self.lvEntities.setObjectName(_fromUtf8("lvEntities")) self.verticalLayout_8.addWidget(self.lvEntities) self.groupBox_2 = QtGui.QGroupBox(self.splitter) self.groupBox_2.setMinimumSize(QtCore.QSize(0, 0)) self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_2) self.verticalLayout.setMargin(5) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.btnAddColumn = QtGui.QPushButton(self.groupBox_2) self.btnAddColumn.setMinimumSize(QtCore.QSize(30, 25)) self.btnAddColumn.setMaximumSize(QtCore.QSize(30, 25)) self.btnAddColumn.setText(_fromUtf8("")) self.btnAddColumn.setIcon(icon4) self.btnAddColumn.setIconSize(QtCore.QSize(20, 20)) self.btnAddColumn.setObjectName(_fromUtf8("btnAddColumn")) self.horizontalLayout_2.addWidget(self.btnAddColumn) self.btnEditColumn = QtGui.QPushButton(self.groupBox_2) self.btnEditColumn.setMinimumSize(QtCore.QSize(30, 25)) self.btnEditColumn.setMaximumSize(QtCore.QSize(30, 25)) self.btnEditColumn.setText(_fromUtf8("")) self.btnEditColumn.setIcon(icon5) self.btnEditColumn.setIconSize(QtCore.QSize(20, 20)) self.btnEditColumn.setObjectName(_fromUtf8("btnEditColumn")) self.horizontalLayout_2.addWidget(self.btnEditColumn) self.btnDeleteColumn = QtGui.QPushButton(self.groupBox_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnDeleteColumn.sizePolicy().hasHeightForWidth()) self.btnDeleteColumn.setSizePolicy(sizePolicy) self.btnDeleteColumn.setMinimumSize(QtCore.QSize(30, 25)) self.btnDeleteColumn.setMaximumSize(QtCore.QSize(30, 25)) self.btnDeleteColumn.setText(_fromUtf8("")) self.btnDeleteColumn.setIcon(icon6) self.btnDeleteColumn.setObjectName(_fromUtf8("btnDeleteColumn")) self.horizontalLayout_2.addWidget(self.btnDeleteColumn) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.verticalLayout.addLayout(self.horizontalLayout_2) self.tbvColumns = QtGui.QTableView(self.groupBox_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(1) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth( self.tbvColumns.sizePolicy().hasHeightForWidth()) self.tbvColumns.setSizePolicy(sizePolicy) self.tbvColumns.setMinimumSize(QtCore.QSize(0, 0)) self.tbvColumns.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.tbvColumns.setFrameShape(QtGui.QFrame.StyledPanel) self.tbvColumns.setFrameShadow(QtGui.QFrame.Sunken) self.tbvColumns.setSelectionMode( QtGui.QAbstractItemView.SingleSelection) self.tbvColumns.setSelectionBehavior( QtGui.QAbstractItemView.SelectRows) self.tbvColumns.setObjectName(_fromUtf8("tbvColumns")) self.tbvColumns.horizontalHeader().setDefaultSectionSize(130) self.tbvColumns.horizontalHeader().setStretchLastSection(True) self.tbvColumns.verticalHeader().setDefaultSectionSize(30) self.verticalLayout.addWidget(self.tbvColumns) self.splitter_2 = QtGui.QSplitter(self.splitter_3) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.MinimumExpanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.splitter_2.sizePolicy().hasHeightForWidth()) self.splitter_2.setSizePolicy(sizePolicy) self.splitter_2.setMinimumSize(QtCore.QSize(100, 100)) self.splitter_2.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.splitter_2.setBaseSize(QtCore.QSize(0, 230)) self.splitter_2.setOrientation(QtCore.Qt.Horizontal) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.groupBox_5 = QtGui.QGroupBox(self.splitter_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.groupBox_5.sizePolicy().hasHeightForWidth()) self.groupBox_5.setSizePolicy(sizePolicy) self.groupBox_5.setMinimumSize(QtCore.QSize(100, 20)) self.groupBox_5.setObjectName(_fromUtf8("groupBox_5")) self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox_5) self.verticalLayout_3.setSpacing(7) self.verticalLayout_3.setMargin(5) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setSpacing(6) self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.btnAddLookup = QtGui.QPushButton(self.groupBox_5) self.btnAddLookup.setMinimumSize(QtCore.QSize(30, 25)) self.btnAddLookup.setMaximumSize(QtCore.QSize(30, 25)) self.btnAddLookup.setText(_fromUtf8("")) self.btnAddLookup.setIcon(icon4) self.btnAddLookup.setObjectName(_fromUtf8("btnAddLookup")) self.horizontalLayout_4.addWidget(self.btnAddLookup) self.btnEditLookup = QtGui.QPushButton(self.groupBox_5) self.btnEditLookup.setMinimumSize(QtCore.QSize(30, 25)) self.btnEditLookup.setMaximumSize(QtCore.QSize(30, 25)) self.btnEditLookup.setText(_fromUtf8("")) self.btnEditLookup.setIcon(icon5) self.btnEditLookup.setObjectName(_fromUtf8("btnEditLookup")) self.horizontalLayout_4.addWidget(self.btnEditLookup) self.btnDeleteLookup = QtGui.QPushButton(self.groupBox_5) self.btnDeleteLookup.setMinimumSize(QtCore.QSize(30, 25)) self.btnDeleteLookup.setMaximumSize(QtCore.QSize(30, 25)) self.btnDeleteLookup.setText(_fromUtf8("")) self.btnDeleteLookup.setIcon(icon6) self.btnDeleteLookup.setObjectName(_fromUtf8("btnDeleteLookup")) self.horizontalLayout_4.addWidget(self.btnDeleteLookup) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem1) self.verticalLayout_3.addLayout(self.horizontalLayout_4) self.lvLookups = QtGui.QListView(self.groupBox_5) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth( self.lvLookups.sizePolicy().hasHeightForWidth()) self.lvLookups.setSizePolicy(sizePolicy) self.lvLookups.setMinimumSize(QtCore.QSize(0, 0)) self.lvLookups.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.lvLookups.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows) self.lvLookups.setObjectName(_fromUtf8("lvLookups")) self.verticalLayout_3.addWidget(self.lvLookups) self.groupBox_6 = QtGui.QGroupBox(self.splitter_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.groupBox_6.sizePolicy().hasHeightForWidth()) self.groupBox_6.setSizePolicy(sizePolicy) self.groupBox_6.setMinimumSize(QtCore.QSize(0, 0)) self.groupBox_6.setObjectName(_fromUtf8("groupBox_6")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_6) self.verticalLayout_2.setMargin(5) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.btnAddLkupValue = QtGui.QPushButton(self.groupBox_6) self.btnAddLkupValue.setMinimumSize(QtCore.QSize(30, 25)) self.btnAddLkupValue.setMaximumSize(QtCore.QSize(30, 25)) self.btnAddLkupValue.setText(_fromUtf8("")) self.btnAddLkupValue.setIcon(icon4) self.btnAddLkupValue.setObjectName(_fromUtf8("btnAddLkupValue")) self.horizontalLayout_5.addWidget(self.btnAddLkupValue) self.btnEditLkupValue = QtGui.QPushButton(self.groupBox_6) self.btnEditLkupValue.setMinimumSize(QtCore.QSize(30, 25)) self.btnEditLkupValue.setMaximumSize(QtCore.QSize(30, 25)) self.btnEditLkupValue.setText(_fromUtf8("")) self.btnEditLkupValue.setIcon(icon5) self.btnEditLkupValue.setObjectName(_fromUtf8("btnEditLkupValue")) self.horizontalLayout_5.addWidget(self.btnEditLkupValue) self.btnDeleteLkupValue = QtGui.QPushButton(self.groupBox_6) self.btnDeleteLkupValue.setMinimumSize(QtCore.QSize(30, 25)) self.btnDeleteLkupValue.setMaximumSize(QtCore.QSize(30, 25)) self.btnDeleteLkupValue.setText(_fromUtf8("")) self.btnDeleteLkupValue.setIcon(icon6) self.btnDeleteLkupValue.setObjectName(_fromUtf8("btnDeleteLkupValue")) self.horizontalLayout_5.addWidget(self.btnDeleteLkupValue) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem2) self.verticalLayout_2.addLayout(self.horizontalLayout_5) self.lvLookupValues = QtGui.QListView(self.groupBox_6) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth( self.lvLookupValues.sizePolicy().hasHeightForWidth()) self.lvLookupValues.setSizePolicy(sizePolicy) self.lvLookupValues.setMinimumSize(QtCore.QSize(0, 0)) self.lvLookupValues.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.lvLookupValues.setSelectionBehavior( QtGui.QAbstractItemView.SelectRows) self.lvLookupValues.setObjectName(_fromUtf8("lvLookupValues")) self.verticalLayout_2.addWidget(self.lvLookupValues) self.verticalLayout_9.addWidget(self.splitter_3) STDMWizard.addPage(self.wpEntityCustom) self.wpSTR = QtGui.QWizardPage() self.wpSTR.setObjectName(_fromUtf8("wpSTR")) self.gridLayout_3 = QtGui.QGridLayout(self.wpSTR) self.gridLayout_3.setContentsMargins(2, 4, 2, 4) self.gridLayout_3.setHorizontalSpacing(6) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.dg_tenure = ProfileTenureDiagram(self.wpSTR) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.dg_tenure.sizePolicy().hasHeightForWidth()) self.dg_tenure.setSizePolicy(sizePolicy) self.dg_tenure.setMinimumSize(QtCore.QSize(100, 320)) self.dg_tenure.setObjectName(_fromUtf8("dg_tenure")) self.gridLayout_3.addWidget(self.dg_tenure, 1, 1, 1, 1) self.scrollArea = QtGui.QScrollArea(self.wpSTR) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.scrollArea.sizePolicy().hasHeightForWidth()) self.scrollArea.setSizePolicy(sizePolicy) self.scrollArea.setMinimumSize(QtCore.QSize(50, 0)) self.scrollArea.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents_2 = QtGui.QWidget() self.scrollAreaWidgetContents_2.setGeometry( QtCore.QRect(0, 0, 224, 624)) self.scrollAreaWidgetContents_2.setObjectName( _fromUtf8("scrollAreaWidgetContents_2")) self.verticalLayout_5 = QtGui.QVBoxLayout( self.scrollAreaWidgetContents_2) self.verticalLayout_5.setSpacing(5) self.verticalLayout_5.setContentsMargins(3, 0, 2, 1) self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5")) self.label_5 = QtGui.QLabel(self.scrollAreaWidgetContents_2) self.label_5.setMinimumSize(QtCore.QSize(0, 0)) self.label_5.setMaximumSize(QtCore.QSize(300, 16777215)) self.label_5.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignVCenter) self.label_5.setWordWrap(True) self.label_5.setObjectName(_fromUtf8("label_5")) self.verticalLayout_5.addWidget(self.label_5) self.lst_parties = STRPartyListView(self.scrollAreaWidgetContents_2) self.lst_parties.setMaximumSize(QtCore.QSize(16777215, 120)) self.lst_parties.setObjectName(_fromUtf8("lst_parties")) self.verticalLayout_5.addWidget(self.lst_parties) self.cbMultiParty = QtGui.QCheckBox(self.scrollAreaWidgetContents_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(1) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cbMultiParty.sizePolicy().hasHeightForWidth()) self.cbMultiParty.setSizePolicy(sizePolicy) self.cbMultiParty.setObjectName(_fromUtf8("cbMultiParty")) self.verticalLayout_5.addWidget(self.cbMultiParty) self.label_6 = QtGui.QLabel(self.scrollAreaWidgetContents_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.label_6.sizePolicy().hasHeightForWidth()) self.label_6.setSizePolicy(sizePolicy) self.label_6.setMinimumSize(QtCore.QSize(0, 0)) self.label_6.setMaximumSize(QtCore.QSize(300, 16777215)) self.label_6.setObjectName(_fromUtf8("label_6")) self.verticalLayout_5.addWidget(self.label_6) self.lst_spatial_units = STRSpatialUnitListView( self.scrollAreaWidgetContents_2) self.lst_spatial_units.setMaximumSize(QtCore.QSize(16777215, 120)) self.lst_spatial_units.setObjectName(_fromUtf8("lst_spatial_units")) self.verticalLayout_5.addWidget(self.lst_spatial_units) self.btn_sp_units_tenure = QtGui.QPushButton( self.scrollAreaWidgetContents_2) icon7 = QtGui.QIcon() icon7.addPixmap( QtGui.QPixmap( _fromUtf8(":/plugins/stdm/images/icons/social_tenure.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_sp_units_tenure.setIcon(icon7) self.btn_sp_units_tenure.setObjectName( _fromUtf8("btn_sp_units_tenure")) self.verticalLayout_5.addWidget(self.btn_sp_units_tenure) self.label_7 = QtGui.QLabel(self.scrollAreaWidgetContents_2) self.label_7.setObjectName(_fromUtf8("label_7")) self.verticalLayout_5.addWidget(self.label_7) self.gb_start_dates = QgsCollapsibleGroupBox( self.scrollAreaWidgetContents_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.gb_start_dates.sizePolicy().hasHeightForWidth()) self.gb_start_dates.setSizePolicy(sizePolicy) self.gb_start_dates.setCheckable(True) self.gb_start_dates.setChecked(False) self.gb_start_dates.setObjectName(_fromUtf8("gb_start_dates")) self.gridLayout_4 = QtGui.QGridLayout(self.gb_start_dates) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.label_8 = QtGui.QLabel(self.gb_start_dates) self.label_8.setObjectName(_fromUtf8("label_8")) self.gridLayout_4.addWidget(self.label_8, 0, 0, 1, 1) self.dt_start_minimum = QtGui.QDateEdit(self.gb_start_dates) self.dt_start_minimum.setCalendarPopup(True) self.dt_start_minimum.setObjectName(_fromUtf8("dt_start_minimum")) self.gridLayout_4.addWidget(self.dt_start_minimum, 0, 1, 1, 1) self.label_9 = QtGui.QLabel(self.gb_start_dates) self.label_9.setObjectName(_fromUtf8("label_9")) self.gridLayout_4.addWidget(self.label_9, 1, 0, 1, 1) self.dt_start_maximum = QtGui.QDateEdit(self.gb_start_dates) self.dt_start_maximum.setCalendarPopup(True) self.dt_start_maximum.setObjectName(_fromUtf8("dt_start_maximum")) self.gridLayout_4.addWidget(self.dt_start_maximum, 1, 1, 1, 1) self.verticalLayout_5.addWidget(self.gb_start_dates) self.gb_end_dates = QgsCollapsibleGroupBox( self.scrollAreaWidgetContents_2) self.gb_end_dates.setCheckable(True) self.gb_end_dates.setChecked(False) self.gb_end_dates.setObjectName(_fromUtf8("gb_end_dates")) self.gridLayout_5 = QtGui.QGridLayout(self.gb_end_dates) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.label_10 = QtGui.QLabel(self.gb_end_dates) self.label_10.setObjectName(_fromUtf8("label_10")) self.gridLayout_5.addWidget(self.label_10, 0, 0, 1, 1) self.dt_end_minimum = QtGui.QDateEdit(self.gb_end_dates) self.dt_end_minimum.setCalendarPopup(True) self.dt_end_minimum.setObjectName(_fromUtf8("dt_end_minimum")) self.gridLayout_5.addWidget(self.dt_end_minimum, 0, 1, 1, 1) self.label_11 = QtGui.QLabel(self.gb_end_dates) self.label_11.setObjectName(_fromUtf8("label_11")) self.gridLayout_5.addWidget(self.label_11, 1, 0, 1, 1) self.dt_end_maximum = QtGui.QDateEdit(self.gb_end_dates) self.dt_end_maximum.setCalendarPopup(True) self.dt_end_maximum.setObjectName(_fromUtf8("dt_end_maximum")) self.gridLayout_5.addWidget(self.dt_end_maximum, 1, 1, 1, 1) self.verticalLayout_5.addWidget(self.gb_end_dates) self.label_12 = QtGui.QLabel(self.scrollAreaWidgetContents_2) self.label_12.setObjectName(_fromUtf8("label_12")) self.verticalLayout_5.addWidget(self.label_12) self.btn_custom_attrs = QtGui.QPushButton( self.scrollAreaWidgetContents_2) icon8 = QtGui.QIcon() icon8.addPixmap( QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/column.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_custom_attrs.setIcon(icon8) self.btn_custom_attrs.setObjectName(_fromUtf8("btn_custom_attrs")) self.verticalLayout_5.addWidget(self.btn_custom_attrs) spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout_5.addItem(spacerItem3) self.scrollArea.setWidget(self.scrollAreaWidgetContents_2) self.gridLayout_3.addWidget(self.scrollArea, 1, 0, 1, 1) self.vl_notification_str = QtGui.QVBoxLayout() self.vl_notification_str.setObjectName( _fromUtf8("vl_notification_str")) self.gridLayout_3.addLayout(self.vl_notification_str, 0, 0, 1, 2) STDMWizard.addPage(self.wpSTR) self.wpSaveProfile = QtGui.QWizardPage() self.wpSaveProfile.setObjectName(_fromUtf8("wpSaveProfile")) self.formLayout_10 = QtGui.QFormLayout(self.wpSaveProfile) self.formLayout_10.setObjectName(_fromUtf8("formLayout_10")) self.label_2 = QtGui.QLabel(self.wpSaveProfile) self.label_2.setObjectName(_fromUtf8("label_2")) self.formLayout_10.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2) self.txtHtml = QtGui.QTextEdit(self.wpSaveProfile) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth( self.txtHtml.sizePolicy().hasHeightForWidth()) self.txtHtml.setSizePolicy(sizePolicy) self.txtHtml.setReadOnly(True) self.txtHtml.setObjectName(_fromUtf8("txtHtml")) self.formLayout_10.setWidget(1, QtGui.QFormLayout.SpanningRole, self.txtHtml) STDMWizard.addPage(self.wpSaveProfile) self.retranslateUi(STDMWizard) QtCore.QMetaObject.connectSlotsByName(STDMWizard) STDMWizard.setTabOrder(self.rbAccpt, self.cboProfile) STDMWizard.setTabOrder(self.cboProfile, self.rbReject) STDMWizard.setTabOrder(self.rbReject, self.btnPDelete) STDMWizard.setTabOrder(self.btnPDelete, self.btnNewP) STDMWizard.setTabOrder(self.btnNewP, self.pftableView) STDMWizard.setTabOrder(self.pftableView, self.btnNewEntity) STDMWizard.setTabOrder(self.btnNewEntity, self.btnEditEntity) STDMWizard.setTabOrder(self.btnEditEntity, self.btnDeleteEntity) STDMWizard.setTabOrder(self.btnDeleteEntity, self.btnDeleteColumn) STDMWizard.setTabOrder(self.btnDeleteColumn, self.btnEditColumn) STDMWizard.setTabOrder(self.btnEditColumn, self.btnAddColumn) STDMWizard.setTabOrder(self.btnAddColumn, self.tbvColumns) STDMWizard.setTabOrder(self.tbvColumns, self.lvLookups) STDMWizard.setTabOrder(self.lvLookups, self.btnEditLookup) STDMWizard.setTabOrder(self.btnEditLookup, self.lvLookupValues) STDMWizard.setTabOrder(self.lvLookupValues, self.btnEditLkupValue) STDMWizard.setTabOrder(self.btnEditLkupValue, self.txtLicense) def retranslateUi(self, STDMWizard): STDMWizard.setWindowTitle( _translate("STDMWizard", "Configuration Wizard", None)) self.wpLicense.setTitle( _translate("STDMWizard", "End User License Agreement", None)) self.wpLicense.setSubTitle( _translate("STDMWizard", "Read carefully before you proceed", None)) self.groupBox_16.setTitle( _translate("STDMWizard", "Terms and Conditions", None)) self.rbAccpt.setText(_translate("STDMWizard", "I Agree", None)) self.rbReject.setText(_translate("STDMWizard", "Decline", None)) self.wpPathSetting.setTitle( _translate("STDMWizard", "Directory Settings", None)) self.wpPathSetting.setSubTitle( _translate("STDMWizard", "Specify configuration and documents directory path", None)) self.btnTemplates.setText(_translate("STDMWizard", "Change", None)) self.btnDocOutput.setText(_translate("STDMWizard", "Change", None)) self.edtTemplatePath.setPlaceholderText( _translate("STDMWizard", "Specify path to save document templates", None)) self.label_37.setText( _translate( "STDMWizard", "<html><head/><body><p>Supporting documents path</p></body></html>", None)) self.label_4.setText( _translate("STDMWizard", "Documents template path", None)) self.label_31.setText( _translate("STDMWizard", "Documents output path", None)) self.edtOutputPath.setPlaceholderText( _translate("STDMWizard", "Specify path to save generated documents", None)) self.btnDocPath.setText(_translate("STDMWizard", "Change", None)) self.edtDocPath.setPlaceholderText( _translate("STDMWizard", "Specify path to save entity supporting documents", None)) self.wpProfile.setTitle(_translate("STDMWizard", "Profile", None)) self.wpProfile.setSubTitle( _translate( "STDMWizard", "Manage profile and related entities. A profile represents a collection of logically related entities, some of which represent the party and spatial unit. Examples of profiles include individual, household, neighbourhood or even city-wide profiles. ", None)) self.groupBox_17.setTitle(_translate("STDMWizard", "Profile", None)) self.btnCopy.setText(_translate("STDMWizard", "Copy profile", None)) self.btnPDelete.setText( _translate("STDMWizard", "Delete profile", None)) self.label.setText(_translate("STDMWizard", "Name", None)) self.btnNewP.setText(_translate("STDMWizard", "New profile", None)) self.label_3.setText(_translate("STDMWizard", "Description", None)) self.groupBox_18.setTitle( _translate("STDMWizard", "Profile entities ", None)) self.wpEntityCustom.setTitle( _translate("STDMWizard", "Entity Customization", None)) self.wpEntityCustom.setSubTitle( _translate( "STDMWizard", "Add or edit entity columns, lookups and lookup values", None)) self.groupBox.setTitle(_translate("STDMWizard", "Entities", None)) self.groupBox_2.setTitle(_translate("STDMWizard", "Columns", None)) self.groupBox_5.setTitle(_translate("STDMWizard", "Lookups", None)) self.groupBox_6.setTitle(_translate("STDMWizard", "Values", None)) self.wpSTR.setTitle( _translate("STDMWizard", "Define Social Tenure Entities", None)) self.wpSTR.setSubTitle( _translate( "STDMWizard", "Set entities to participate in the profile\'s social tenure relationship", None)) self.label_5.setText( _translate("STDMWizard", "1. Select the party entities", None)) self.cbMultiParty.setText( _translate( "STDMWizard", "Allow multiple parties to be \n" "linked to a single spatial unit", None)) self.label_6.setText( _translate("STDMWizard", "2. Select the spatial unit entities", None)) self.btn_sp_units_tenure.setText( _translate("STDMWizard", "Spatial Unit Tenure Types...", None)) self.label_7.setText( _translate("STDMWizard", "3. Specify validity ranges (optional)", None)) self.gb_start_dates.setTitle( _translate("STDMWizard", "\'Start\' date range", None)) self.label_8.setText(_translate("STDMWizard", "Minimum", None)) self.label_9.setText(_translate("STDMWizard", "Maximum", None)) self.gb_end_dates.setTitle( _translate("STDMWizard", "\'End\' date range", None)) self.label_10.setText(_translate("STDMWizard", "Minimum", None)) self.label_11.setText(_translate("STDMWizard", "Maximum", None)) self.label_12.setText( _translate("STDMWizard", "4. Specify custom tenure attributes (optional)", None)) self.btn_custom_attrs.setText( _translate("STDMWizard", "Custom Attributes...", None)) self.wpSaveProfile.setTitle( _translate("STDMWizard", "Save configuration", None)) self.wpSaveProfile.setSubTitle( _translate( "STDMWizard", "Click finish to save changes in your configuration to the database. ", None)) self.label_2.setText( _translate("STDMWizard", "Save status will be displayed in the window below.", None))
class Ui_ui_my_queries(object): def setupUi(self, ui_my_queries): ui_my_queries.setObjectName(_fromUtf8("ui_my_queries")) ui_my_queries.resize(727, 794) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(ui_my_queries.sizePolicy().hasHeightForWidth()) ui_my_queries.setSizePolicy(sizePolicy) ui_my_queries.setMinimumSize(QtCore.QSize(225, 262)) self.verticalLayout_3 = QtGui.QVBoxLayout(ui_my_queries) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.scrollArea = QtGui.QScrollArea(ui_my_queries) self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame) self.scrollArea.setFrameShadow(QtGui.QFrame.Plain) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 719, 786)) self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents")) self.verticalLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.lineEdit_search = QtGui.QLineEdit(self.scrollAreaWidgetContents) self.lineEdit_search.setObjectName(_fromUtf8("lineEdit_search")) self.verticalLayout.addWidget(self.lineEdit_search) self.treeQueries = QtGui.QTreeWidget(self.scrollAreaWidgetContents) self.treeQueries.setContextMenuPolicy(QtCore.Qt.CustomContextMenu) self.treeQueries.setColumnCount(1) self.treeQueries.setObjectName(_fromUtf8("treeQueries")) self.treeQueries.header().setVisible(False) self.verticalLayout.addWidget(self.treeQueries) self.formLayout = QtGui.QFormLayout() self.formLayout.setObjectName(_fromUtf8("formLayout")) self.label_2 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_2.setText(_fromUtf8("{{geocodeArea:}}")) self.label_2.setObjectName(_fromUtf8("label_2")) self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2) self.lineEdit_nominatim = QtGui.QLineEdit(self.scrollAreaWidgetContents) self.lineEdit_nominatim.setObjectName(_fromUtf8("lineEdit_nominatim")) self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.lineEdit_nominatim) self.label_5 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_5.setText(_fromUtf8("{{bbox}}")) self.label_5.setObjectName(_fromUtf8("label_5")) self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_5) self.radioButton_extentMapCanvas = QtGui.QRadioButton(self.scrollAreaWidgetContents) self.radioButton_extentMapCanvas.setChecked(True) self.radioButton_extentMapCanvas.setObjectName(_fromUtf8("radioButton_extentMapCanvas")) self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.radioButton_extentMapCanvas) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.radioButton_extentLayer = QtGui.QRadioButton(self.scrollAreaWidgetContents) self.radioButton_extentLayer.setObjectName(_fromUtf8("radioButton_extentLayer")) self.horizontalLayout_5.addWidget(self.radioButton_extentLayer) self.comboBox_extentLayer = QgsMapLayerComboBox(self.scrollAreaWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.comboBox_extentLayer.sizePolicy().hasHeightForWidth()) self.comboBox_extentLayer.setSizePolicy(sizePolicy) self.comboBox_extentLayer.setObjectName(_fromUtf8("comboBox_extentLayer")) self.horizontalLayout_5.addWidget(self.comboBox_extentLayer) self.formLayout.setLayout(2, QtGui.QFormLayout.FieldRole, self.horizontalLayout_5) self.verticalLayout.addLayout(self.formLayout) self.groupBox = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupBox.setChecked(False) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.formLayout_4 = QtGui.QFormLayout() self.formLayout_4.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow) self.formLayout_4.setObjectName(_fromUtf8("formLayout_4")) self.label_7 = QtGui.QLabel(self.groupBox) self.label_7.setText(_fromUtf8("")) self.label_7.setObjectName(_fromUtf8("label_7")) self.formLayout_4.setWidget(6, QtGui.QFormLayout.FieldRole, self.label_7) self.label_3 = QtGui.QLabel(self.groupBox) self.label_3.setObjectName(_fromUtf8("label_3")) self.formLayout_4.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_3) self.label_10 = QtGui.QLabel(self.groupBox) self.label_10.setText(_fromUtf8("Points")) self.label_10.setObjectName(_fromUtf8("label_10")) self.formLayout_4.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_10) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.checkBox_points = QtGui.QCheckBox(self.groupBox) self.checkBox_points.setText(_fromUtf8("")) self.checkBox_points.setChecked(True) self.checkBox_points.setObjectName(_fromUtf8("checkBox_points")) self.horizontalLayout_4.addWidget(self.checkBox_points) self.lineEdit_csv_points = QtGui.QLineEdit(self.groupBox) self.lineEdit_csv_points.setInputMask(_fromUtf8("")) self.lineEdit_csv_points.setText(_fromUtf8("")) self.lineEdit_csv_points.setPlaceholderText(_fromUtf8("col1,col2,col3")) self.lineEdit_csv_points.setObjectName(_fromUtf8("lineEdit_csv_points")) self.horizontalLayout_4.addWidget(self.lineEdit_csv_points) self.formLayout_4.setLayout(2, QtGui.QFormLayout.FieldRole, self.horizontalLayout_4) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.checkBox_lines = QtGui.QCheckBox(self.groupBox) self.checkBox_lines.setText(_fromUtf8("")) self.checkBox_lines.setChecked(True) self.checkBox_lines.setObjectName(_fromUtf8("checkBox_lines")) self.horizontalLayout_6.addWidget(self.checkBox_lines) self.lineEdit_csv_lines = QtGui.QLineEdit(self.groupBox) self.lineEdit_csv_lines.setObjectName(_fromUtf8("lineEdit_csv_lines")) self.horizontalLayout_6.addWidget(self.lineEdit_csv_lines) self.formLayout_4.setLayout(3, QtGui.QFormLayout.FieldRole, self.horizontalLayout_6) self.label_11 = QtGui.QLabel(self.groupBox) self.label_11.setText(_fromUtf8("Lines")) self.label_11.setObjectName(_fromUtf8("label_11")) self.formLayout_4.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_11) self.horizontalLayout_7 = QtGui.QHBoxLayout() self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.checkBox_multilinestrings = QtGui.QCheckBox(self.groupBox) self.checkBox_multilinestrings.setText(_fromUtf8("")) self.checkBox_multilinestrings.setChecked(True) self.checkBox_multilinestrings.setObjectName(_fromUtf8("checkBox_multilinestrings")) self.horizontalLayout_7.addWidget(self.checkBox_multilinestrings) self.lineEdit_csv_multilinestrings = QtGui.QLineEdit(self.groupBox) self.lineEdit_csv_multilinestrings.setPlaceholderText(_fromUtf8("")) self.lineEdit_csv_multilinestrings.setObjectName(_fromUtf8("lineEdit_csv_multilinestrings")) self.horizontalLayout_7.addWidget(self.lineEdit_csv_multilinestrings) self.formLayout_4.setLayout(4, QtGui.QFormLayout.FieldRole, self.horizontalLayout_7) self.label_14 = QtGui.QLabel(self.groupBox) self.label_14.setText(_fromUtf8("Multilinestrings")) self.label_14.setObjectName(_fromUtf8("label_14")) self.formLayout_4.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_14) self.horizontalLayout_8 = QtGui.QHBoxLayout() self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8")) self.checkBox_multipolygons = QtGui.QCheckBox(self.groupBox) self.checkBox_multipolygons.setText(_fromUtf8("")) self.checkBox_multipolygons.setChecked(True) self.checkBox_multipolygons.setObjectName(_fromUtf8("checkBox_multipolygons")) self.horizontalLayout_8.addWidget(self.checkBox_multipolygons) self.lineEdit_csv_multipolygons = QtGui.QLineEdit(self.groupBox) self.lineEdit_csv_multipolygons.setPlaceholderText(_fromUtf8("")) self.lineEdit_csv_multipolygons.setObjectName(_fromUtf8("lineEdit_csv_multipolygons")) self.horizontalLayout_8.addWidget(self.lineEdit_csv_multipolygons) self.formLayout_4.setLayout(5, QtGui.QFormLayout.FieldRole, self.horizontalLayout_8) self.label_12 = QtGui.QLabel(self.groupBox) self.label_12.setText(_fromUtf8("Multipolygons")) self.label_12.setObjectName(_fromUtf8("label_12")) self.formLayout_4.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_12) self.verticalLayout_2.addLayout(self.formLayout_4) self.formLayout_2 = QtGui.QFormLayout() self.formLayout_2.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow) self.formLayout_2.setObjectName(_fromUtf8("formLayout_2")) self.label_4 = QtGui.QLabel(self.groupBox) self.label_4.setObjectName(_fromUtf8("label_4")) self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_4) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.lineEdit_browseDir = QtGui.QLineEdit(self.groupBox) self.lineEdit_browseDir.setObjectName(_fromUtf8("lineEdit_browseDir")) self.horizontalLayout.addWidget(self.lineEdit_browseDir) self.pushButton_browse_output_file = QtGui.QPushButton(self.groupBox) self.pushButton_browse_output_file.setObjectName(_fromUtf8("pushButton_browse_output_file")) self.horizontalLayout.addWidget(self.pushButton_browse_output_file) self.formLayout_2.setLayout(0, QtGui.QFormLayout.FieldRole, self.horizontalLayout) self.label_6 = QtGui.QLabel(self.groupBox) self.label_6.setObjectName(_fromUtf8("label_6")) self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_6) self.lineEdit_filePrefix = QtGui.QLineEdit(self.groupBox) self.lineEdit_filePrefix.setObjectName(_fromUtf8("lineEdit_filePrefix")) self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.lineEdit_filePrefix) self.verticalLayout_2.addLayout(self.formLayout_2) self.verticalLayout.addWidget(self.groupBox) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setSizeConstraint(QtGui.QLayout.SetMinimumSize) self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.pushButton_showQuery = QtGui.QPushButton(self.scrollAreaWidgetContents) self.pushButton_showQuery.setObjectName(_fromUtf8("pushButton_showQuery")) self.horizontalLayout_3.addWidget(self.pushButton_showQuery) self.pushButton_runQuery = QtGui.QPushButton(self.scrollAreaWidgetContents) self.pushButton_runQuery.setDefault(True) self.pushButton_runQuery.setObjectName(_fromUtf8("pushButton_runQuery")) self.horizontalLayout_3.addWidget(self.pushButton_runQuery) self.verticalLayout.addLayout(self.horizontalLayout_3) self.label_progress = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_progress.setText(_fromUtf8("text progress")) self.label_progress.setObjectName(_fromUtf8("label_progress")) self.verticalLayout.addWidget(self.label_progress) self.progressBar_execution = QtGui.QProgressBar(self.scrollAreaWidgetContents) self.progressBar_execution.setProperty("value", 0) self.progressBar_execution.setObjectName(_fromUtf8("progressBar_execution")) self.verticalLayout.addWidget(self.progressBar_execution) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout_3.addWidget(self.scrollArea) self.retranslateUi(ui_my_queries) QtCore.QObject.connect(self.checkBox_points, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.lineEdit_csv_points.setEnabled) QtCore.QObject.connect(self.checkBox_lines, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.lineEdit_csv_lines.setEnabled) QtCore.QObject.connect(self.checkBox_multilinestrings, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.lineEdit_csv_multilinestrings.setEnabled) QtCore.QObject.connect(self.checkBox_multipolygons, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.lineEdit_csv_multipolygons.setEnabled) QtCore.QMetaObject.connectSlotsByName(ui_my_queries) def retranslateUi(self, ui_my_queries): ui_my_queries.setWindowTitle(_translate("ui_my_queries", "QuickOSM - My queries", None)) self.lineEdit_search.setPlaceholderText(_translate("ui_my_queries", "Search", None)) self.treeQueries.setSortingEnabled(False) self.treeQueries.headerItem().setText(0, _translate("ui_my_queries", "Query", None)) self.radioButton_extentMapCanvas.setText(_translate("ui_my_queries", "Extent of the map canvas", None)) self.radioButton_extentLayer.setText(_translate("ui_my_queries", "Extent of a layer", None)) self.groupBox.setTitle(_translate("ui_my_queries", "Advanced", None)) self.label_3.setText(_translate("ui_my_queries", "Outputs", None)) self.lineEdit_csv_lines.setPlaceholderText(_translate("ui_my_queries", "or let empty", None)) self.label_4.setText(_translate("ui_my_queries", "Directory", None)) self.lineEdit_browseDir.setPlaceholderText(_translate("ui_my_queries", "Save to temporary file", None)) self.pushButton_browse_output_file.setText(_translate("ui_my_queries", "Browse", None)) self.label_6.setText(_translate("ui_my_queries", "File prefix", None)) self.pushButton_showQuery.setText(_translate("ui_my_queries", "Show query", None)) self.pushButton_runQuery.setText(_translate("ui_my_queries", "Run query", None))
class Ui_ui_quick_query(object): def setupUi(self, ui_quick_query): ui_quick_query.setObjectName(_fromUtf8("ui_quick_query")) ui_quick_query.resize(604, 866) self.verticalLayout_3 = QtGui.QVBoxLayout(ui_quick_query) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.scrollArea = QtGui.QScrollArea(ui_quick_query) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 590, 852)) self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents")) self.verticalLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.pushButton_mapFeatures = QtGui.QPushButton(self.scrollAreaWidgetContents) self.pushButton_mapFeatures.setObjectName(_fromUtf8("pushButton_mapFeatures")) self.horizontalLayout_4.addWidget(self.pushButton_mapFeatures) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem) self.buttonBox = QtGui.QDialogButtonBox(self.scrollAreaWidgetContents) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Reset) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout_4.addWidget(self.buttonBox) self.verticalLayout.addLayout(self.horizontalLayout_4) self.formLayout = QtGui.QFormLayout() self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow) self.formLayout.setObjectName(_fromUtf8("formLayout")) self.label = QtGui.QLabel(self.scrollAreaWidgetContents) self.label.setObjectName(_fromUtf8("label")) self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label) self.comboBox_key = QtGui.QComboBox(self.scrollAreaWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.comboBox_key.sizePolicy().hasHeightForWidth()) self.comboBox_key.setSizePolicy(sizePolicy) self.comboBox_key.setEditable(True) self.comboBox_key.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContents) self.comboBox_key.setObjectName(_fromUtf8("comboBox_key")) self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.comboBox_key) self.label_2 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_2.setObjectName(_fromUtf8("label_2")) self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2) self.comboBox_value = QtGui.QComboBox(self.scrollAreaWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.comboBox_value.sizePolicy().hasHeightForWidth()) self.comboBox_value.setSizePolicy(sizePolicy) self.comboBox_value.setEditable(True) self.comboBox_value.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContents) self.comboBox_value.setObjectName(_fromUtf8("comboBox_value")) self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.comboBox_value) self.label_3 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_3.setObjectName(_fromUtf8("label_3")) self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3) self.radioButton_place = QtGui.QRadioButton(self.scrollAreaWidgetContents) self.radioButton_place.setText(_fromUtf8("")) self.radioButton_place.setChecked(True) self.radioButton_place.setObjectName(_fromUtf8("radioButton_place")) self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.radioButton_place) self.lineEdit_nominatim = QtGui.QLineEdit(self.scrollAreaWidgetContents) self.lineEdit_nominatim.setText(_fromUtf8("")) self.lineEdit_nominatim.setObjectName(_fromUtf8("lineEdit_nominatim")) self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.lineEdit_nominatim) self.radioButton_extentMapCanvas = QtGui.QRadioButton(self.scrollAreaWidgetContents) self.radioButton_extentMapCanvas.setText(_fromUtf8("")) self.radioButton_extentMapCanvas.setObjectName(_fromUtf8("radioButton_extentMapCanvas")) self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.radioButton_extentMapCanvas) self.label_13 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_13.setObjectName(_fromUtf8("label_13")) self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.label_13) self.radioButton_extentLayer = QtGui.QRadioButton(self.scrollAreaWidgetContents) self.radioButton_extentLayer.setText(_fromUtf8("")) self.radioButton_extentLayer.setObjectName(_fromUtf8("radioButton_extentLayer")) self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.radioButton_extentLayer) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.label_15 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_15.setObjectName(_fromUtf8("label_15")) self.horizontalLayout_5.addWidget(self.label_15) self.comboBox_extentLayer = QtGui.QComboBox(self.scrollAreaWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.comboBox_extentLayer.sizePolicy().hasHeightForWidth()) self.comboBox_extentLayer.setSizePolicy(sizePolicy) self.comboBox_extentLayer.setObjectName(_fromUtf8("comboBox_extentLayer")) self.horizontalLayout_5.addWidget(self.comboBox_extentLayer) self.pushButton_refreshLayers = QtGui.QPushButton(self.scrollAreaWidgetContents) self.pushButton_refreshLayers.setText(_fromUtf8("")) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/QuickOSM/resources/refresh.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.pushButton_refreshLayers.setIcon(icon) self.pushButton_refreshLayers.setObjectName(_fromUtf8("pushButton_refreshLayers")) self.horizontalLayout_5.addWidget(self.pushButton_refreshLayers) self.formLayout.setLayout(5, QtGui.QFormLayout.FieldRole, self.horizontalLayout_5) self.verticalLayout.addLayout(self.formLayout) self.groupBox = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupBox.setChecked(False) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.formLayout_3 = QtGui.QFormLayout() self.formLayout_3.setObjectName(_fromUtf8("formLayout_3")) self.label_7 = QtGui.QLabel(self.groupBox) self.label_7.setObjectName(_fromUtf8("label_7")) self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_7) self.checkBox_node = QtGui.QCheckBox(self.groupBox) self.checkBox_node.setText(_fromUtf8("")) self.checkBox_node.setChecked(True) self.checkBox_node.setObjectName(_fromUtf8("checkBox_node")) self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole, self.checkBox_node) self.label_8 = QtGui.QLabel(self.groupBox) self.label_8.setObjectName(_fromUtf8("label_8")) self.formLayout_3.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_8) self.checkBox_way = QtGui.QCheckBox(self.groupBox) self.checkBox_way.setText(_fromUtf8("")) self.checkBox_way.setChecked(True) self.checkBox_way.setObjectName(_fromUtf8("checkBox_way")) self.formLayout_3.setWidget(1, QtGui.QFormLayout.FieldRole, self.checkBox_way) self.label_9 = QtGui.QLabel(self.groupBox) self.label_9.setObjectName(_fromUtf8("label_9")) self.formLayout_3.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_9) self.checkBox_relation = QtGui.QCheckBox(self.groupBox) self.checkBox_relation.setText(_fromUtf8("")) self.checkBox_relation.setChecked(True) self.checkBox_relation.setObjectName(_fromUtf8("checkBox_relation")) self.formLayout_3.setWidget(2, QtGui.QFormLayout.FieldRole, self.checkBox_relation) self.horizontalLayout_3.addLayout(self.formLayout_3) self.formLayout_4 = QtGui.QFormLayout() self.formLayout_4.setObjectName(_fromUtf8("formLayout_4")) self.label_10 = QtGui.QLabel(self.groupBox) self.label_10.setObjectName(_fromUtf8("label_10")) self.formLayout_4.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_10) self.checkBox_points = QtGui.QCheckBox(self.groupBox) self.checkBox_points.setText(_fromUtf8("")) self.checkBox_points.setChecked(True) self.checkBox_points.setObjectName(_fromUtf8("checkBox_points")) self.formLayout_4.setWidget(0, QtGui.QFormLayout.FieldRole, self.checkBox_points) self.checkBox_lines = QtGui.QCheckBox(self.groupBox) self.checkBox_lines.setText(_fromUtf8("")) self.checkBox_lines.setChecked(True) self.checkBox_lines.setObjectName(_fromUtf8("checkBox_lines")) self.formLayout_4.setWidget(1, QtGui.QFormLayout.FieldRole, self.checkBox_lines) self.label_11 = QtGui.QLabel(self.groupBox) self.label_11.setObjectName(_fromUtf8("label_11")) self.formLayout_4.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_11) self.label_12 = QtGui.QLabel(self.groupBox) self.label_12.setObjectName(_fromUtf8("label_12")) self.formLayout_4.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_12) self.checkBox_multipolygons = QtGui.QCheckBox(self.groupBox) self.checkBox_multipolygons.setText(_fromUtf8("")) self.checkBox_multipolygons.setChecked(True) self.checkBox_multipolygons.setObjectName(_fromUtf8("checkBox_multipolygons")) self.formLayout_4.setWidget(3, QtGui.QFormLayout.FieldRole, self.checkBox_multipolygons) self.label_14 = QtGui.QLabel(self.groupBox) self.label_14.setObjectName(_fromUtf8("label_14")) self.formLayout_4.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_14) self.checkBox_multilinestrings = QtGui.QCheckBox(self.groupBox) self.checkBox_multilinestrings.setText(_fromUtf8("")) self.checkBox_multilinestrings.setChecked(True) self.checkBox_multilinestrings.setObjectName(_fromUtf8("checkBox_multilinestrings")) self.formLayout_4.setWidget(2, QtGui.QFormLayout.FieldRole, self.checkBox_multilinestrings) self.horizontalLayout_3.addLayout(self.formLayout_4) self.verticalLayout_2.addLayout(self.horizontalLayout_3) self.formLayout_2 = QtGui.QFormLayout() self.formLayout_2.setObjectName(_fromUtf8("formLayout_2")) self.spinBox_timeout = QtGui.QSpinBox(self.groupBox) self.spinBox_timeout.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows) self.spinBox_timeout.setMinimum(25) self.spinBox_timeout.setMaximum(2000) self.spinBox_timeout.setSingleStep(25) self.spinBox_timeout.setObjectName(_fromUtf8("spinBox_timeout")) self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.spinBox_timeout) self.label_5 = QtGui.QLabel(self.groupBox) self.label_5.setObjectName(_fromUtf8("label_5")) self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_5) self.label_4 = QtGui.QLabel(self.groupBox) self.label_4.setObjectName(_fromUtf8("label_4")) self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_4) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.lineEdit_browseDir = QtGui.QLineEdit(self.groupBox) self.lineEdit_browseDir.setObjectName(_fromUtf8("lineEdit_browseDir")) self.horizontalLayout.addWidget(self.lineEdit_browseDir) self.pushButton_browse_output_file = QtGui.QPushButton(self.groupBox) self.pushButton_browse_output_file.setObjectName(_fromUtf8("pushButton_browse_output_file")) self.horizontalLayout.addWidget(self.pushButton_browse_output_file) self.formLayout_2.setLayout(1, QtGui.QFormLayout.FieldRole, self.horizontalLayout) self.label_6 = QtGui.QLabel(self.groupBox) self.label_6.setObjectName(_fromUtf8("label_6")) self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_6) self.lineEdit_filePrefix = QtGui.QLineEdit(self.groupBox) self.lineEdit_filePrefix.setObjectName(_fromUtf8("lineEdit_filePrefix")) self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.lineEdit_filePrefix) self.verticalLayout_2.addLayout(self.formLayout_2) self.verticalLayout.addWidget(self.groupBox) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setSizeConstraint(QtGui.QLayout.SetMinimumSize) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.pushButton_showQuery = QtGui.QPushButton(self.scrollAreaWidgetContents) self.pushButton_showQuery.setObjectName(_fromUtf8("pushButton_showQuery")) self.horizontalLayout_2.addWidget(self.pushButton_showQuery) self.pushButton_runQuery = QtGui.QPushButton(self.scrollAreaWidgetContents) self.pushButton_runQuery.setDefault(True) self.pushButton_runQuery.setObjectName(_fromUtf8("pushButton_runQuery")) self.horizontalLayout_2.addWidget(self.pushButton_runQuery) self.verticalLayout.addLayout(self.horizontalLayout_2) self.label_progress = QtGui.QLabel(self.scrollAreaWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_progress.sizePolicy().hasHeightForWidth()) self.label_progress.setSizePolicy(sizePolicy) self.label_progress.setObjectName(_fromUtf8("label_progress")) self.verticalLayout.addWidget(self.label_progress) self.progressBar_execution = QtGui.QProgressBar(self.scrollAreaWidgetContents) self.progressBar_execution.setProperty("value", 0) self.progressBar_execution.setObjectName(_fromUtf8("progressBar_execution")) self.verticalLayout.addWidget(self.progressBar_execution) spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem1) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout_3.addWidget(self.scrollArea) self.retranslateUi(ui_quick_query) QtCore.QMetaObject.connectSlotsByName(ui_quick_query) def retranslateUi(self, ui_quick_query): ui_quick_query.setWindowTitle(_translate("ui_quick_query", "QuickOSM - Quick query", None)) self.pushButton_mapFeatures.setText(_translate("ui_quick_query", "Help with key/value", None)) self.label.setText(_translate("ui_quick_query", "Key", None)) self.label_2.setText(_translate("ui_quick_query", "Value", None)) self.label_3.setText(_translate("ui_quick_query", "In", None)) self.lineEdit_nominatim.setPlaceholderText(_translate("ui_quick_query", "A village, a town, ...", None)) self.label_13.setText(_translate("ui_quick_query", "Extent of the map canvas", None)) self.label_15.setText(_translate("ui_quick_query", "Extent of a layer", None)) self.groupBox.setTitle(_translate("ui_quick_query", "Advanced", None)) self.label_7.setText(_translate("ui_quick_query", "Node", None)) self.label_8.setText(_translate("ui_quick_query", "Way", None)) self.label_9.setText(_translate("ui_quick_query", "Relation", None)) self.label_10.setText(_translate("ui_quick_query", "Points", None)) self.label_11.setText(_translate("ui_quick_query", "Lines", None)) self.label_12.setText(_translate("ui_quick_query", "Multipolygons", None)) self.label_14.setText(_translate("ui_quick_query", "Multilinestrings", None)) self.label_5.setText(_translate("ui_quick_query", "Timeout", None)) self.label_4.setText(_translate("ui_quick_query", "Directory", None)) self.lineEdit_browseDir.setPlaceholderText(_translate("ui_quick_query", "Save to temporary file", None)) self.pushButton_browse_output_file.setText(_translate("ui_quick_query", "Browse", None)) self.label_6.setText(_translate("ui_quick_query", "File prefix", None)) self.pushButton_showQuery.setText(_translate("ui_quick_query", "Show query", None)) self.pushButton_runQuery.setText(_translate("ui_quick_query", "Run query", None)) self.label_progress.setText(_translate("ui_quick_query", "progress text", 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))
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_ui_quick_query(object): def setupUi(self, ui_quick_query): ui_quick_query.setObjectName("ui_quick_query") ui_quick_query.resize(644, 805) self.verticalLayout_3 = QtWidgets.QVBoxLayout(ui_quick_query) self.verticalLayout_3.setObjectName("verticalLayout_3") self.scrollArea = QtWidgets.QScrollArea(ui_quick_query) self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame) self.scrollArea.setFrameShadow(QtWidgets.QFrame.Plain) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 626, 787)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents) self.verticalLayout.setObjectName("verticalLayout") self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.pushButton_mapFeatures = QtWidgets.QPushButton(self.scrollAreaWidgetContents) self.pushButton_mapFeatures.setObjectName("pushButton_mapFeatures") self.horizontalLayout_4.addWidget(self.pushButton_mapFeatures) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem) self.buttonBox = QtWidgets.QDialogButtonBox(self.scrollAreaWidgetContents) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.buttonBox.sizePolicy().hasHeightForWidth()) self.buttonBox.setSizePolicy(sizePolicy) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Reset) self.buttonBox.setObjectName("buttonBox") self.horizontalLayout_4.addWidget(self.buttonBox) self.verticalLayout.addLayout(self.horizontalLayout_4) self.formLayout = QtWidgets.QFormLayout() self.formLayout.setObjectName("formLayout") self.label = QtWidgets.QLabel(self.scrollAreaWidgetContents) self.label.setObjectName("label") self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label) self.comboBox_key = QtWidgets.QComboBox(self.scrollAreaWidgetContents) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.comboBox_key.sizePolicy().hasHeightForWidth()) self.comboBox_key.setSizePolicy(sizePolicy) self.comboBox_key.setEditable(True) self.comboBox_key.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents) self.comboBox_key.setObjectName("comboBox_key") self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.comboBox_key) self.label_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents) self.label_2.setObjectName("label_2") self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_2) self.comboBox_value = QtWidgets.QComboBox(self.scrollAreaWidgetContents) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.comboBox_value.sizePolicy().hasHeightForWidth()) self.comboBox_value.setSizePolicy(sizePolicy) self.comboBox_value.setEditable(True) self.comboBox_value.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToContents) self.comboBox_value.setObjectName("comboBox_value") self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.comboBox_value) self.cb_query_type = QtWidgets.QComboBox(self.scrollAreaWidgetContents) self.cb_query_type.setObjectName("cb_query_type") self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.cb_query_type) self.stacked_query_type = QtWidgets.QStackedWidget(self.scrollAreaWidgetContents) self.stacked_query_type.setLineWidth(0) self.stacked_query_type.setObjectName("stacked_query_type") self.nominatim = QtWidgets.QWidget() self.nominatim.setObjectName("nominatim") self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.nominatim) self.horizontalLayout_6.setContentsMargins(0, 0, 0, 0) self.horizontalLayout_6.setSpacing(0) self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.lineEdit_nominatim = QtWidgets.QLineEdit(self.nominatim) self.lineEdit_nominatim.setObjectName("lineEdit_nominatim") self.horizontalLayout_6.addWidget(self.lineEdit_nominatim) self.spinBox_distance_point = QtWidgets.QSpinBox(self.nominatim) self.spinBox_distance_point.setPrefix("") self.spinBox_distance_point.setMinimum(1) self.spinBox_distance_point.setMaximum(999999999) self.spinBox_distance_point.setSingleStep(100) self.spinBox_distance_point.setProperty("value", 1000) self.spinBox_distance_point.setObjectName("spinBox_distance_point") self.horizontalLayout_6.addWidget(self.spinBox_distance_point) self.stacked_query_type.addWidget(self.nominatim) self.layerExtent = QtWidgets.QWidget() self.layerExtent.setObjectName("layerExtent") self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.layerExtent) self.horizontalLayout_7.setContentsMargins(0, 0, 0, 0) self.horizontalLayout_7.setSpacing(0) self.horizontalLayout_7.setObjectName("horizontalLayout_7") self.comboBox_extentLayer = QgsMapLayerComboBox(self.layerExtent) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.comboBox_extentLayer.sizePolicy().hasHeightForWidth()) self.comboBox_extentLayer.setSizePolicy(sizePolicy) self.comboBox_extentLayer.setObjectName("comboBox_extentLayer") self.horizontalLayout_7.addWidget(self.comboBox_extentLayer) self.stacked_query_type.addWidget(self.layerExtent) self.nothingDisplayed = QtWidgets.QWidget() self.nothingDisplayed.setObjectName("nothingDisplayed") self.stacked_query_type.addWidget(self.nothingDisplayed) self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.stacked_query_type) self.verticalLayout.addLayout(self.formLayout) self.advanced = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.advanced.setChecked(False) self.advanced.setObjectName("advanced") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.advanced) self.verticalLayout_2.setObjectName("verticalLayout_2") self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.formLayout_3 = QtWidgets.QFormLayout() self.formLayout_3.setObjectName("formLayout_3") self.label_7 = QtWidgets.QLabel(self.advanced) self.label_7.setText("Node") self.label_7.setObjectName("label_7") self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_7) self.checkBox_node = QtWidgets.QCheckBox(self.advanced) self.checkBox_node.setText("") self.checkBox_node.setChecked(True) self.checkBox_node.setObjectName("checkBox_node") self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.checkBox_node) self.label_8 = QtWidgets.QLabel(self.advanced) self.label_8.setText("Way") self.label_8.setObjectName("label_8") self.formLayout_3.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_8) self.checkBox_way = QtWidgets.QCheckBox(self.advanced) self.checkBox_way.setText("") self.checkBox_way.setChecked(True) self.checkBox_way.setObjectName("checkBox_way") self.formLayout_3.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.checkBox_way) self.label_9 = QtWidgets.QLabel(self.advanced) self.label_9.setText("Relation") self.label_9.setObjectName("label_9") self.formLayout_3.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_9) self.checkBox_relation = QtWidgets.QCheckBox(self.advanced) self.checkBox_relation.setText("") self.checkBox_relation.setChecked(True) self.checkBox_relation.setObjectName("checkBox_relation") self.formLayout_3.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.checkBox_relation) self.horizontalLayout_3.addLayout(self.formLayout_3) self.formLayout_4 = QtWidgets.QFormLayout() self.formLayout_4.setObjectName("formLayout_4") self.label_10 = QtWidgets.QLabel(self.advanced) self.label_10.setText("Points") self.label_10.setObjectName("label_10") self.formLayout_4.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_10) self.checkBox_points = QtWidgets.QCheckBox(self.advanced) self.checkBox_points.setText("") self.checkBox_points.setChecked(True) self.checkBox_points.setObjectName("checkBox_points") self.formLayout_4.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.checkBox_points) self.checkBox_lines = QtWidgets.QCheckBox(self.advanced) self.checkBox_lines.setText("") self.checkBox_lines.setChecked(True) self.checkBox_lines.setObjectName("checkBox_lines") self.formLayout_4.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.checkBox_lines) self.label_11 = QtWidgets.QLabel(self.advanced) self.label_11.setText("Lines") self.label_11.setObjectName("label_11") self.formLayout_4.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_11) self.label_12 = QtWidgets.QLabel(self.advanced) self.label_12.setText("Multipolygons") self.label_12.setObjectName("label_12") self.formLayout_4.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_12) self.checkBox_multipolygons = QtWidgets.QCheckBox(self.advanced) self.checkBox_multipolygons.setText("") self.checkBox_multipolygons.setChecked(True) self.checkBox_multipolygons.setObjectName("checkBox_multipolygons") self.formLayout_4.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.checkBox_multipolygons) self.label_14 = QtWidgets.QLabel(self.advanced) self.label_14.setText("Multilinestrings") self.label_14.setObjectName("label_14") self.formLayout_4.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_14) self.checkBox_multilinestrings = QtWidgets.QCheckBox(self.advanced) self.checkBox_multilinestrings.setText("") self.checkBox_multilinestrings.setChecked(True) self.checkBox_multilinestrings.setObjectName("checkBox_multilinestrings") self.formLayout_4.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.checkBox_multilinestrings) self.horizontalLayout_3.addLayout(self.formLayout_4) self.verticalLayout_2.addLayout(self.horizontalLayout_3) self.formLayout_2 = QtWidgets.QFormLayout() self.formLayout_2.setObjectName("formLayout_2") self.label_5 = QtWidgets.QLabel(self.advanced) self.label_5.setObjectName("label_5") self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_5) self.spinBox_timeout = QtWidgets.QSpinBox(self.advanced) self.spinBox_timeout.setButtonSymbols(QtWidgets.QAbstractSpinBox.UpDownArrows) self.spinBox_timeout.setMinimum(25) self.spinBox_timeout.setMaximum(2000) self.spinBox_timeout.setSingleStep(25) self.spinBox_timeout.setObjectName("spinBox_timeout") self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.spinBox_timeout) self.label_4 = QtWidgets.QLabel(self.advanced) self.label_4.setObjectName("label_4") self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_4) self.output_directory = QgsFileWidget(self.advanced) self.output_directory.setObjectName("output_directory") self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.output_directory) self.label_6 = QtWidgets.QLabel(self.advanced) self.label_6.setObjectName("label_6") self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_6) self.lineEdit_filePrefix = QtWidgets.QLineEdit(self.advanced) self.lineEdit_filePrefix.setObjectName("lineEdit_filePrefix") self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.lineEdit_filePrefix) self.verticalLayout_2.addLayout(self.formLayout_2) self.verticalLayout.addWidget(self.advanced) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize) self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.pushButton_showQuery = QtWidgets.QPushButton(self.scrollAreaWidgetContents) self.pushButton_showQuery.setObjectName("pushButton_showQuery") self.horizontalLayout_2.addWidget(self.pushButton_showQuery) self.pushButton_runQuery = QtWidgets.QPushButton(self.scrollAreaWidgetContents) self.pushButton_runQuery.setDefault(True) self.pushButton_runQuery.setObjectName("pushButton_runQuery") self.horizontalLayout_2.addWidget(self.pushButton_runQuery) self.verticalLayout.addLayout(self.horizontalLayout_2) self.label_progress = QtWidgets.QLabel(self.scrollAreaWidgetContents) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_progress.sizePolicy().hasHeightForWidth()) self.label_progress.setSizePolicy(sizePolicy) self.label_progress.setText("progress text") self.label_progress.setObjectName("label_progress") self.verticalLayout.addWidget(self.label_progress) self.progressBar_execution = QtWidgets.QProgressBar(self.scrollAreaWidgetContents) self.progressBar_execution.setProperty("value", 0) self.progressBar_execution.setObjectName("progressBar_execution") self.verticalLayout.addWidget(self.progressBar_execution) spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem1) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout_3.addWidget(self.scrollArea) self.retranslateUi(ui_quick_query) self.stacked_query_type.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(ui_quick_query) def retranslateUi(self, ui_quick_query): _translate = QtCore.QCoreApplication.translate ui_quick_query.setWindowTitle(_translate("ui_quick_query", "QuickOSM - Quick query")) self.pushButton_mapFeatures.setText(_translate("ui_quick_query", "Help with key/value")) self.label.setText(_translate("ui_quick_query", "Key")) self.label_2.setText(_translate("ui_quick_query", "Value")) self.lineEdit_nominatim.setPlaceholderText(_translate("ui_quick_query", "A village, a town, ...")) self.spinBox_distance_point.setSuffix(_translate("ui_quick_query", "m")) self.advanced.setTitle(_translate("ui_quick_query", "Advanced")) self.label_5.setText(_translate("ui_quick_query", "Timeout")) self.label_4.setText(_translate("ui_quick_query", "Directory")) self.label_6.setText(_translate("ui_quick_query", "File prefix")) self.pushButton_showQuery.setText(_translate("ui_quick_query", "Show query")) self.pushButton_runQuery.setText(_translate("ui_quick_query", "Run query"))
class Ui_OSMDataDialogBase(object): def setupUi(self, OSMDataDialogBase): OSMDataDialogBase.setObjectName(_fromUtf8("OSMDataDialogBase")) OSMDataDialogBase.resize(659, 805) self.scrollArea = QtGui.QScrollArea(OSMDataDialogBase) self.scrollArea.setGeometry(QtCore.QRect(10, 10, 626, 787)) self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame) self.scrollArea.setFrameShadow(QtGui.QFrame.Plain) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 626, 787)) self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents")) self.verticalLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.pushButton_mapFeatures = QtGui.QPushButton(self.scrollAreaWidgetContents) self.pushButton_mapFeatures.setObjectName(_fromUtf8("pushButton_mapFeatures")) self.horizontalLayout_4.addWidget(self.pushButton_mapFeatures) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem) self.buttonBox = QtGui.QDialogButtonBox(self.scrollAreaWidgetContents) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Reset) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout_4.addWidget(self.buttonBox) self.verticalLayout.addLayout(self.horizontalLayout_4) self.formLayout = QtGui.QFormLayout() self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow) self.formLayout.setObjectName(_fromUtf8("formLayout")) self.label = QtGui.QLabel(self.scrollAreaWidgetContents) self.label.setObjectName(_fromUtf8("label")) self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label) self.comboBox_key = QtGui.QComboBox(self.scrollAreaWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.comboBox_key.sizePolicy().hasHeightForWidth()) self.comboBox_key.setSizePolicy(sizePolicy) self.comboBox_key.setEditable(True) self.comboBox_key.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContents) self.comboBox_key.setObjectName(_fromUtf8("comboBox_key")) self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.comboBox_key) self.comboBox_value = QtGui.QComboBox(self.scrollAreaWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.comboBox_value.sizePolicy().hasHeightForWidth()) self.comboBox_value.setSizePolicy(sizePolicy) self.comboBox_value.setEditable(True) self.comboBox_value.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContents) self.comboBox_value.setObjectName(_fromUtf8("comboBox_value")) self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.comboBox_value) self.radioButton_place = QtGui.QRadioButton(self.scrollAreaWidgetContents) self.radioButton_place.setText(_fromUtf8("")) self.radioButton_place.setChecked(True) self.radioButton_place.setObjectName(_fromUtf8("radioButton_place")) self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.radioButton_place) self.horizontalLayout_8 = QtGui.QHBoxLayout() self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8")) self.comboBox_in_around = QtGui.QComboBox(self.scrollAreaWidgetContents) self.comboBox_in_around.setObjectName(_fromUtf8("comboBox_in_around")) self.horizontalLayout_8.addWidget(self.comboBox_in_around) self.lineEdit_nominatim = QtGui.QLineEdit(self.scrollAreaWidgetContents) self.lineEdit_nominatim.setText(_fromUtf8("")) self.lineEdit_nominatim.setObjectName(_fromUtf8("lineEdit_nominatim")) self.horizontalLayout_8.addWidget(self.lineEdit_nominatim) self.spinBox_distance_point = QtGui.QSpinBox(self.scrollAreaWidgetContents) self.spinBox_distance_point.setMinimum(1) self.spinBox_distance_point.setMaximum(999999999) self.spinBox_distance_point.setSingleStep(100) self.spinBox_distance_point.setProperty("value", 1000) self.spinBox_distance_point.setObjectName(_fromUtf8("spinBox_distance_point")) self.horizontalLayout_8.addWidget(self.spinBox_distance_point) self.label_distance_point = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_distance_point.setText(_fromUtf8("m")) self.label_distance_point.setObjectName(_fromUtf8("label_distance_point")) self.horizontalLayout_8.addWidget(self.label_distance_point) self.formLayout.setLayout(2, QtGui.QFormLayout.FieldRole, self.horizontalLayout_8) self.radioButton_extentMapCanvas = QtGui.QRadioButton(self.scrollAreaWidgetContents) self.radioButton_extentMapCanvas.setText(_fromUtf8("")) self.radioButton_extentMapCanvas.setObjectName(_fromUtf8("radioButton_extentMapCanvas")) self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.radioButton_extentMapCanvas) self.label_13 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_13.setObjectName(_fromUtf8("label_13")) self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.label_13) self.radioButton_extentLayer = QtGui.QRadioButton(self.scrollAreaWidgetContents) self.radioButton_extentLayer.setText(_fromUtf8("")) self.radioButton_extentLayer.setObjectName(_fromUtf8("radioButton_extentLayer")) self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.radioButton_extentLayer) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.label_15 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_15.setObjectName(_fromUtf8("label_15")) self.horizontalLayout_5.addWidget(self.label_15) self.comboBox_extentLayer = QgsMapLayerComboBox(self.scrollAreaWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.comboBox_extentLayer.sizePolicy().hasHeightForWidth()) self.comboBox_extentLayer.setSizePolicy(sizePolicy) self.comboBox_extentLayer.setObjectName(_fromUtf8("comboBox_extentLayer")) self.horizontalLayout_5.addWidget(self.comboBox_extentLayer) self.formLayout.setLayout(5, QtGui.QFormLayout.FieldRole, self.horizontalLayout_5) self.label_2 = QtGui.QLabel(self.scrollAreaWidgetContents) self.label_2.setObjectName(_fromUtf8("label_2")) self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2) self.verticalLayout.addLayout(self.formLayout) self.groupBox = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupBox.setChecked(False) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.formLayout_3 = QtGui.QFormLayout() self.formLayout_3.setObjectName(_fromUtf8("formLayout_3")) self.label_7 = QtGui.QLabel(self.groupBox) self.label_7.setText(_fromUtf8("Node")) self.label_7.setObjectName(_fromUtf8("label_7")) self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_7) self.checkBox_node = QtGui.QCheckBox(self.groupBox) self.checkBox_node.setText(_fromUtf8("")) self.checkBox_node.setChecked(True) self.checkBox_node.setObjectName(_fromUtf8("checkBox_node")) self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole, self.checkBox_node) self.label_8 = QtGui.QLabel(self.groupBox) self.label_8.setText(_fromUtf8("Way")) self.label_8.setObjectName(_fromUtf8("label_8")) self.formLayout_3.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_8) self.checkBox_way = QtGui.QCheckBox(self.groupBox) self.checkBox_way.setText(_fromUtf8("")) self.checkBox_way.setChecked(True) self.checkBox_way.setObjectName(_fromUtf8("checkBox_way")) self.formLayout_3.setWidget(1, QtGui.QFormLayout.FieldRole, self.checkBox_way) self.label_9 = QtGui.QLabel(self.groupBox) self.label_9.setText(_fromUtf8("Relation")) self.label_9.setObjectName(_fromUtf8("label_9")) self.formLayout_3.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_9) self.checkBox_relation = QtGui.QCheckBox(self.groupBox) self.checkBox_relation.setText(_fromUtf8("")) self.checkBox_relation.setChecked(True) self.checkBox_relation.setObjectName(_fromUtf8("checkBox_relation")) self.formLayout_3.setWidget(2, QtGui.QFormLayout.FieldRole, self.checkBox_relation) self.horizontalLayout_3.addLayout(self.formLayout_3) self.formLayout_4 = QtGui.QFormLayout() self.formLayout_4.setObjectName(_fromUtf8("formLayout_4")) self.label_10 = QtGui.QLabel(self.groupBox) self.label_10.setText(_fromUtf8("Points")) self.label_10.setObjectName(_fromUtf8("label_10")) self.formLayout_4.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_10) self.checkBox_points = QtGui.QCheckBox(self.groupBox) self.checkBox_points.setText(_fromUtf8("")) self.checkBox_points.setChecked(True) self.checkBox_points.setObjectName(_fromUtf8("checkBox_points")) self.formLayout_4.setWidget(0, QtGui.QFormLayout.FieldRole, self.checkBox_points) self.checkBox_lines = QtGui.QCheckBox(self.groupBox) self.checkBox_lines.setText(_fromUtf8("")) self.checkBox_lines.setChecked(True) self.checkBox_lines.setObjectName(_fromUtf8("checkBox_lines")) self.formLayout_4.setWidget(1, QtGui.QFormLayout.FieldRole, self.checkBox_lines) self.label_11 = QtGui.QLabel(self.groupBox) self.label_11.setText(_fromUtf8("Lines")) self.label_11.setObjectName(_fromUtf8("label_11")) self.formLayout_4.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_11) self.label_12 = QtGui.QLabel(self.groupBox) self.label_12.setText(_fromUtf8("Multipolygons")) self.label_12.setObjectName(_fromUtf8("label_12")) self.formLayout_4.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_12) self.checkBox_multipolygons = QtGui.QCheckBox(self.groupBox) self.checkBox_multipolygons.setText(_fromUtf8("")) self.checkBox_multipolygons.setChecked(True) self.checkBox_multipolygons.setObjectName(_fromUtf8("checkBox_multipolygons")) self.formLayout_4.setWidget(3, QtGui.QFormLayout.FieldRole, self.checkBox_multipolygons) self.label_14 = QtGui.QLabel(self.groupBox) self.label_14.setText(_fromUtf8("Multilinestrings")) self.label_14.setObjectName(_fromUtf8("label_14")) self.formLayout_4.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_14) self.checkBox_multilinestrings = QtGui.QCheckBox(self.groupBox) self.checkBox_multilinestrings.setText(_fromUtf8("")) self.checkBox_multilinestrings.setChecked(True) self.checkBox_multilinestrings.setObjectName(_fromUtf8("checkBox_multilinestrings")) self.formLayout_4.setWidget(2, QtGui.QFormLayout.FieldRole, self.checkBox_multilinestrings) self.horizontalLayout_3.addLayout(self.formLayout_4) self.verticalLayout_2.addLayout(self.horizontalLayout_3) self.formLayout_2 = QtGui.QFormLayout() self.formLayout_2.setObjectName(_fromUtf8("formLayout_2")) self.spinBox_timeout = QtGui.QSpinBox(self.groupBox) self.spinBox_timeout.setButtonSymbols(QtGui.QAbstractSpinBox.UpDownArrows) self.spinBox_timeout.setMinimum(25) self.spinBox_timeout.setMaximum(2000) self.spinBox_timeout.setSingleStep(25) self.spinBox_timeout.setObjectName(_fromUtf8("spinBox_timeout")) self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.spinBox_timeout) self.label_5 = QtGui.QLabel(self.groupBox) self.label_5.setObjectName(_fromUtf8("label_5")) self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_5) self.label_4 = QtGui.QLabel(self.groupBox) self.label_4.setObjectName(_fromUtf8("label_4")) self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_4) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.lineEdit_browseDir = QtGui.QLineEdit(self.groupBox) self.lineEdit_browseDir.setObjectName(_fromUtf8("lineEdit_browseDir")) self.horizontalLayout.addWidget(self.lineEdit_browseDir) self.pushButton_browse_output_file = QtGui.QPushButton(self.groupBox) self.pushButton_browse_output_file.setObjectName(_fromUtf8("pushButton_browse_output_file")) self.horizontalLayout.addWidget(self.pushButton_browse_output_file) self.formLayout_2.setLayout(1, QtGui.QFormLayout.FieldRole, self.horizontalLayout) self.label_6 = QtGui.QLabel(self.groupBox) self.label_6.setObjectName(_fromUtf8("label_6")) self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_6) self.lineEdit_filePrefix = QtGui.QLineEdit(self.groupBox) self.lineEdit_filePrefix.setObjectName(_fromUtf8("lineEdit_filePrefix")) self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.lineEdit_filePrefix) self.verticalLayout_2.addLayout(self.formLayout_2) self.verticalLayout.addWidget(self.groupBox) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setSizeConstraint(QtGui.QLayout.SetMinimumSize) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.pushButton_runQuery = QtGui.QPushButton(self.scrollAreaWidgetContents) self.pushButton_runQuery.setDefault(True) self.pushButton_runQuery.setObjectName(_fromUtf8("pushButton_runQuery")) self.horizontalLayout_2.addWidget(self.pushButton_runQuery) self.verticalLayout.addLayout(self.horizontalLayout_2) self.label_progress = QtGui.QLabel(self.scrollAreaWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_progress.sizePolicy().hasHeightForWidth()) self.label_progress.setSizePolicy(sizePolicy) self.label_progress.setText(_fromUtf8("progress text")) self.label_progress.setObjectName(_fromUtf8("label_progress")) self.verticalLayout.addWidget(self.label_progress) self.progressBar_execution = QtGui.QProgressBar(self.scrollAreaWidgetContents) self.progressBar_execution.setProperty("value", 0) self.progressBar_execution.setObjectName(_fromUtf8("progressBar_execution")) self.verticalLayout.addWidget(self.progressBar_execution) spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem1) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.retranslateUi(OSMDataDialogBase) QtCore.QMetaObject.connectSlotsByName(OSMDataDialogBase) def retranslateUi(self, OSMDataDialogBase): OSMDataDialogBase.setWindowTitle(_translate("OSMDataDialogBase", "OSM Data", None)) self.pushButton_mapFeatures.setText(_translate("OSMDataDialogBase", "Aide avec clé/valeur", None)) self.label.setText(_translate("OSMDataDialogBase", "clé", None)) self.comboBox_in_around.setToolTip(_translate("OSMDataDialogBase", "\"In\" will search the first multipolygon relation, however \"Around\" will get the first OSM node.", None)) self.lineEdit_nominatim.setPlaceholderText(_translate("OSMDataDialogBase", "Un village, une ville, ...", None)) self.label_13.setText(_translate("OSMDataDialogBase", "Etendue du Maroc", None)) self.label_15.setText(_translate("OSMDataDialogBase", "Emprise d\'une couche", None)) self.label_2.setText(_translate("OSMDataDialogBase", "valeur", None)) self.groupBox.setTitle(_translate("OSMDataDialogBase", "Avancé", None)) self.label_5.setText(_translate("OSMDataDialogBase", "Temps max", None)) self.label_4.setText(_translate("OSMDataDialogBase", "Répertoire", None)) self.lineEdit_browseDir.setPlaceholderText(_translate("OSMDataDialogBase", "Enregistrer temporairement", None)) self.pushButton_browse_output_file.setText(_translate("OSMDataDialogBase", "Parcourir", None)) self.label_6.setText(_translate("OSMDataDialogBase", "Préfixe de fichier", None)) self.pushButton_runQuery.setText(_translate("OSMDataDialogBase", "Exécuter", 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))
scroll_area = QScrollArea(new_dialog) scroll_area.setFrameShape(QFrame.NoFrame) scroll_area.setFrameShadow(QFrame.Plain) scroll_area.setWidgetResizable(True) scroll_area.setGeometry(QRect(10, 20, 170, 70)) scrollAreaWidgetContents = QWidget() scrollAreaWidgetContents.setGeometry(QRect(0, 0, 170, 70)) vertical_layout = QVBoxLayout(scrollAreaWidgetContents) collapsible_group_box = QgsCollapsibleGroupBox(scrollAreaWidgetContents) collapsible_group_box.setTitle('Collapsible') sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( collapsible_group_box.sizePolicy().hasHeightForWidth() ) collapsible_group_box.setSizePolicy(sizePolicy) collapsible_group_box.setChecked(False) vbox_layout = QVBoxLayout(collapsible_group_box) line_edit = QLineEdit(collapsible_group_box) line_edit.setGeometry(QRect(10, 20, 110, 30)) vertical_layout.addWidget(collapsible_group_box) scroll_area.setWidget(scrollAreaWidgetContents) new_dialog.show()
class Ui_ui_my_queries(object): def setupUi(self, ui_my_queries): ui_my_queries.setObjectName("ui_my_queries") ui_my_queries.resize(727, 794) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( ui_my_queries.sizePolicy().hasHeightForWidth()) ui_my_queries.setSizePolicy(sizePolicy) ui_my_queries.setMinimumSize(QtCore.QSize(225, 262)) self.verticalLayout_3 = QtWidgets.QVBoxLayout(ui_my_queries) self.verticalLayout_3.setObjectName("verticalLayout_3") self.scrollArea = QtWidgets.QScrollArea(ui_my_queries) self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame) self.scrollArea.setFrameShadow(QtWidgets.QFrame.Plain) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 709, 776)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.verticalLayout = QtWidgets.QVBoxLayout( self.scrollAreaWidgetContents) self.verticalLayout.setObjectName("verticalLayout") self.lineEdit_search = QtWidgets.QLineEdit( self.scrollAreaWidgetContents) self.lineEdit_search.setObjectName("lineEdit_search") self.verticalLayout.addWidget(self.lineEdit_search) self.treeQueries = QtWidgets.QTreeWidget(self.scrollAreaWidgetContents) self.treeQueries.setContextMenuPolicy(QtCore.Qt.CustomContextMenu) self.treeQueries.setColumnCount(1) self.treeQueries.setObjectName("treeQueries") self.treeQueries.header().setVisible(False) self.verticalLayout.addWidget(self.treeQueries) self.formLayout = QtWidgets.QFormLayout() self.formLayout.setObjectName("formLayout") self.label_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents) self.label_2.setText("{{geocodeArea:}}") self.label_2.setObjectName("label_2") self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_2) self.lineEdit_nominatim = QtWidgets.QLineEdit( self.scrollAreaWidgetContents) self.lineEdit_nominatim.setObjectName("lineEdit_nominatim") self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEdit_nominatim) self.label_5 = QtWidgets.QLabel(self.scrollAreaWidgetContents) self.label_5.setText("{{bbox}}") self.label_5.setObjectName("label_5") self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_5) self.radioButton_extentMapCanvas = QtWidgets.QRadioButton( self.scrollAreaWidgetContents) self.radioButton_extentMapCanvas.setChecked(True) self.radioButton_extentMapCanvas.setObjectName( "radioButton_extentMapCanvas") self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.radioButton_extentMapCanvas) self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.radioButton_extentLayer = QtWidgets.QRadioButton( self.scrollAreaWidgetContents) self.radioButton_extentLayer.setObjectName("radioButton_extentLayer") self.horizontalLayout_5.addWidget(self.radioButton_extentLayer) self.comboBox_extentLayer = QgsMapLayerComboBox( self.scrollAreaWidgetContents) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.comboBox_extentLayer.sizePolicy().hasHeightForWidth()) self.comboBox_extentLayer.setSizePolicy(sizePolicy) self.comboBox_extentLayer.setObjectName("comboBox_extentLayer") self.horizontalLayout_5.addWidget(self.comboBox_extentLayer) self.formLayout.setLayout(2, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_5) self.verticalLayout.addLayout(self.formLayout) self.groupBox = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupBox.setChecked(False) self.groupBox.setObjectName("groupBox") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName("verticalLayout_2") self.formLayout_4 = QtWidgets.QFormLayout() self.formLayout_4.setFieldGrowthPolicy( QtWidgets.QFormLayout.ExpandingFieldsGrow) self.formLayout_4.setObjectName("formLayout_4") self.label_7 = QtWidgets.QLabel(self.groupBox) self.label_7.setText("") self.label_7.setObjectName("label_7") self.formLayout_4.setWidget(6, QtWidgets.QFormLayout.FieldRole, self.label_7) self.label_3 = QtWidgets.QLabel(self.groupBox) self.label_3.setObjectName("label_3") self.formLayout_4.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_3) self.label_10 = QtWidgets.QLabel(self.groupBox) self.label_10.setText("Points") self.label_10.setObjectName("label_10") self.formLayout_4.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_10) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.checkBox_points = QtWidgets.QCheckBox(self.groupBox) self.checkBox_points.setText("") self.checkBox_points.setChecked(True) self.checkBox_points.setObjectName("checkBox_points") self.horizontalLayout_4.addWidget(self.checkBox_points) self.lineEdit_csv_points = QtWidgets.QLineEdit(self.groupBox) self.lineEdit_csv_points.setInputMask("") self.lineEdit_csv_points.setText("") self.lineEdit_csv_points.setPlaceholderText("col1,col2,col3") self.lineEdit_csv_points.setObjectName("lineEdit_csv_points") self.horizontalLayout_4.addWidget(self.lineEdit_csv_points) self.formLayout_4.setLayout(2, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_4) self.horizontalLayout_6 = QtWidgets.QHBoxLayout() self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.checkBox_lines = QtWidgets.QCheckBox(self.groupBox) self.checkBox_lines.setText("") self.checkBox_lines.setChecked(True) self.checkBox_lines.setObjectName("checkBox_lines") self.horizontalLayout_6.addWidget(self.checkBox_lines) self.lineEdit_csv_lines = QtWidgets.QLineEdit(self.groupBox) self.lineEdit_csv_lines.setObjectName("lineEdit_csv_lines") self.horizontalLayout_6.addWidget(self.lineEdit_csv_lines) self.formLayout_4.setLayout(3, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_6) self.label_11 = QtWidgets.QLabel(self.groupBox) self.label_11.setText("Lines") self.label_11.setObjectName("label_11") self.formLayout_4.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_11) self.horizontalLayout_7 = QtWidgets.QHBoxLayout() self.horizontalLayout_7.setObjectName("horizontalLayout_7") self.checkBox_multilinestrings = QtWidgets.QCheckBox(self.groupBox) self.checkBox_multilinestrings.setText("") self.checkBox_multilinestrings.setChecked(True) self.checkBox_multilinestrings.setObjectName( "checkBox_multilinestrings") self.horizontalLayout_7.addWidget(self.checkBox_multilinestrings) self.lineEdit_csv_multilinestrings = QtWidgets.QLineEdit(self.groupBox) self.lineEdit_csv_multilinestrings.setPlaceholderText("") self.lineEdit_csv_multilinestrings.setObjectName( "lineEdit_csv_multilinestrings") self.horizontalLayout_7.addWidget(self.lineEdit_csv_multilinestrings) self.formLayout_4.setLayout(4, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_7) self.label_14 = QtWidgets.QLabel(self.groupBox) self.label_14.setText("Multilinestrings") self.label_14.setObjectName("label_14") self.formLayout_4.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.label_14) self.horizontalLayout_8 = QtWidgets.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") self.checkBox_multipolygons = QtWidgets.QCheckBox(self.groupBox) self.checkBox_multipolygons.setText("") self.checkBox_multipolygons.setChecked(True) self.checkBox_multipolygons.setObjectName("checkBox_multipolygons") self.horizontalLayout_8.addWidget(self.checkBox_multipolygons) self.lineEdit_csv_multipolygons = QtWidgets.QLineEdit(self.groupBox) self.lineEdit_csv_multipolygons.setPlaceholderText("") self.lineEdit_csv_multipolygons.setObjectName( "lineEdit_csv_multipolygons") self.horizontalLayout_8.addWidget(self.lineEdit_csv_multipolygons) self.formLayout_4.setLayout(5, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_8) self.label_12 = QtWidgets.QLabel(self.groupBox) self.label_12.setText("Multipolygons") self.label_12.setObjectName("label_12") self.formLayout_4.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.label_12) self.verticalLayout_2.addLayout(self.formLayout_4) self.formLayout_2 = QtWidgets.QFormLayout() self.formLayout_2.setFieldGrowthPolicy( QtWidgets.QFormLayout.ExpandingFieldsGrow) self.formLayout_2.setObjectName("formLayout_2") self.label_4 = QtWidgets.QLabel(self.groupBox) self.label_4.setObjectName("label_4") self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_4) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.lineEdit_browseDir = QtWidgets.QLineEdit(self.groupBox) self.lineEdit_browseDir.setObjectName("lineEdit_browseDir") self.horizontalLayout.addWidget(self.lineEdit_browseDir) self.pushButton_browse_output_file = QtWidgets.QPushButton( self.groupBox) self.pushButton_browse_output_file.setObjectName( "pushButton_browse_output_file") self.horizontalLayout.addWidget(self.pushButton_browse_output_file) self.formLayout_2.setLayout(0, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout) self.label_6 = QtWidgets.QLabel(self.groupBox) self.label_6.setObjectName("label_6") self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_6) self.lineEdit_filePrefix = QtWidgets.QLineEdit(self.groupBox) self.lineEdit_filePrefix.setObjectName("lineEdit_filePrefix") self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.lineEdit_filePrefix) self.verticalLayout_2.addLayout(self.formLayout_2) self.verticalLayout.addWidget(self.groupBox) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setSizeConstraint( QtWidgets.QLayout.SetMinimumSize) self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.pushButton_showQuery = QtWidgets.QPushButton( self.scrollAreaWidgetContents) self.pushButton_showQuery.setObjectName("pushButton_showQuery") self.horizontalLayout_3.addWidget(self.pushButton_showQuery) self.pushButton_runQuery = QtWidgets.QPushButton( self.scrollAreaWidgetContents) self.pushButton_runQuery.setDefault(True) self.pushButton_runQuery.setObjectName("pushButton_runQuery") self.horizontalLayout_3.addWidget(self.pushButton_runQuery) self.verticalLayout.addLayout(self.horizontalLayout_3) self.label_progress = QtWidgets.QLabel(self.scrollAreaWidgetContents) self.label_progress.setText("text progress") self.label_progress.setObjectName("label_progress") self.verticalLayout.addWidget(self.label_progress) self.progressBar_execution = QtWidgets.QProgressBar( self.scrollAreaWidgetContents) self.progressBar_execution.setProperty("value", 0) self.progressBar_execution.setObjectName("progressBar_execution") self.verticalLayout.addWidget(self.progressBar_execution) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout_3.addWidget(self.scrollArea) self.retranslateUi(ui_my_queries) self.checkBox_points.toggled['bool'].connect( self.lineEdit_csv_points.setEnabled) self.checkBox_lines.toggled['bool'].connect( self.lineEdit_csv_lines.setEnabled) self.checkBox_multilinestrings.toggled['bool'].connect( self.lineEdit_csv_multilinestrings.setEnabled) self.checkBox_multipolygons.toggled['bool'].connect( self.lineEdit_csv_multipolygons.setEnabled) QtCore.QMetaObject.connectSlotsByName(ui_my_queries) def retranslateUi(self, ui_my_queries): _translate = QtCore.QCoreApplication.translate ui_my_queries.setWindowTitle( _translate("ui_my_queries", "QuickOSM - My queries")) self.lineEdit_search.setPlaceholderText( _translate("ui_my_queries", "Search")) self.treeQueries.setSortingEnabled(False) self.treeQueries.headerItem().setText( 0, _translate("ui_my_queries", "Query")) self.radioButton_extentMapCanvas.setText( _translate("ui_my_queries", "Extent of the map canvas")) self.radioButton_extentLayer.setText( _translate("ui_my_queries", "Extent of a layer")) self.groupBox.setTitle(_translate("ui_my_queries", "Advanced")) self.label_3.setText(_translate("ui_my_queries", "Outputs")) self.lineEdit_csv_lines.setPlaceholderText( _translate("ui_my_queries", "or let empty")) self.label_4.setText(_translate("ui_my_queries", "Directory")) self.lineEdit_browseDir.setPlaceholderText( _translate("ui_my_queries", "Save to temporary file")) self.pushButton_browse_output_file.setText( _translate("ui_my_queries", "Browse")) self.label_6.setText(_translate("ui_my_queries", "File prefix")) self.pushButton_showQuery.setText( _translate("ui_my_queries", "Show query")) self.pushButton_runQuery.setText( _translate("ui_my_queries", "Run query"))
class Ui_CrayfishAnimationDialog(object): def setupUi(self, CrayfishAnimationDialog): CrayfishAnimationDialog.setObjectName(_fromUtf8("CrayfishAnimationDialog")) CrayfishAnimationDialog.resize(455, 376) self.verticalLayout_6 = QtGui.QVBoxLayout(CrayfishAnimationDialog) self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6")) self.tabWidget = QtGui.QTabWidget(CrayfishAnimationDialog) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tab = QtGui.QWidget() self.tab.setObjectName(_fromUtf8("tab")) self.formLayout = QtGui.QFormLayout(self.tab) self.formLayout.setObjectName(_fromUtf8("formLayout")) self.label_2 = QtGui.QLabel(self.tab) self.label_2.setObjectName(_fromUtf8("label_2")) self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2) self.spinWidth = QtGui.QSpinBox(self.tab) self.spinWidth.setMinimum(16) self.spinWidth.setMaximum(9999) self.spinWidth.setProperty("value", 1920) self.spinWidth.setObjectName(_fromUtf8("spinWidth")) self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.spinWidth) self.label_3 = QtGui.QLabel(self.tab) self.label_3.setObjectName(_fromUtf8("label_3")) self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_3) self.spinHeight = QtGui.QSpinBox(self.tab) self.spinHeight.setMinimum(16) self.spinHeight.setMaximum(9999) self.spinHeight.setProperty("value", 1080) self.spinHeight.setObjectName(_fromUtf8("spinHeight")) self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.spinHeight) self.label_6 = QtGui.QLabel(self.tab) self.label_6.setObjectName(_fromUtf8("label_6")) self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_6) self.cboStart = QtGui.QComboBox(self.tab) self.cboStart.setObjectName(_fromUtf8("cboStart")) self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.cboStart) self.label_7 = QtGui.QLabel(self.tab) self.label_7.setObjectName(_fromUtf8("label_7")) self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_7) self.cboEnd = QtGui.QComboBox(self.tab) self.cboEnd.setObjectName(_fromUtf8("cboEnd")) self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.cboEnd) self.label_8 = QtGui.QLabel(self.tab) self.label_8.setObjectName(_fromUtf8("label_8")) self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_8) self.spinSpeed = QtGui.QSpinBox(self.tab) self.spinSpeed.setMinimum(1) self.spinSpeed.setMaximum(60) self.spinSpeed.setProperty("value", 5) self.spinSpeed.setObjectName(_fromUtf8("spinSpeed")) self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.spinSpeed) self.label = QtGui.QLabel(self.tab) self.label.setObjectName(_fromUtf8("label")) self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.editOutput = QtGui.QLineEdit(self.tab) self.editOutput.setObjectName(_fromUtf8("editOutput")) self.horizontalLayout.addWidget(self.editOutput) self.btnBrowseOutput = QtGui.QToolButton(self.tab) self.btnBrowseOutput.setObjectName(_fromUtf8("btnBrowseOutput")) self.horizontalLayout.addWidget(self.btnBrowseOutput) self.formLayout.setLayout(5, QtGui.QFormLayout.FieldRole, self.horizontalLayout) self.tabWidget.addTab(self.tab, _fromUtf8("")) self.tab_2 = QtGui.QWidget() self.tab_2.setObjectName(_fromUtf8("tab_2")) self.verticalLayout_5 = QtGui.QVBoxLayout(self.tab_2) self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5")) self.radLayoutDefault = QtGui.QRadioButton(self.tab_2) self.radLayoutDefault.setChecked(True) self.radLayoutDefault.setObjectName(_fromUtf8("radLayoutDefault")) self.verticalLayout_5.addWidget(self.radLayoutDefault) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) spacerItem = QtGui.QSpacerItem(28, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.scrollArea = QtGui.QScrollArea(self.tab_2) self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 397, 175)) self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents")) self.verticalLayout_4 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.groupTitle = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupTitle.setCheckable(True) self.groupTitle.setChecked(False) self.groupTitle.setObjectName(_fromUtf8("groupTitle")) self.verticalLayout = QtGui.QVBoxLayout(self.groupTitle) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.widgetTitleProps = AnimationLayoutItemProps(self.groupTitle) self.widgetTitleProps.setObjectName(_fromUtf8("widgetTitleProps")) self.verticalLayout.addWidget(self.widgetTitleProps) self.verticalLayout_4.addWidget(self.groupTitle) self.groupTime = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupTime.setCheckable(True) self.groupTime.setObjectName(_fromUtf8("groupTime")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupTime) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.widgetTimeProps = AnimationLayoutItemProps(self.groupTime) self.widgetTimeProps.setObjectName(_fromUtf8("widgetTimeProps")) self.verticalLayout_2.addWidget(self.widgetTimeProps) self.verticalLayout_4.addWidget(self.groupTime) self.groupLegend = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupLegend.setCheckable(True) self.groupLegend.setChecked(False) self.groupLegend.setObjectName(_fromUtf8("groupLegend")) self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupLegend) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.widgetLegendProps = AnimationLayoutItemProps(self.groupLegend) self.widgetLegendProps.setObjectName(_fromUtf8("widgetLegendProps")) self.verticalLayout_3.addWidget(self.widgetLegendProps) self.verticalLayout_4.addWidget(self.groupLegend) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.horizontalLayout_2.addWidget(self.scrollArea) self.verticalLayout_5.addLayout(self.horizontalLayout_2) self.radLayoutCustom = QtGui.QRadioButton(self.tab_2) self.radLayoutCustom.setObjectName(_fromUtf8("radLayoutCustom")) self.verticalLayout_5.addWidget(self.radLayoutCustom) self.gridLayout_2 = QtGui.QGridLayout() self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.btnBrowseTemplate = QtGui.QToolButton(self.tab_2) self.btnBrowseTemplate.setObjectName(_fromUtf8("btnBrowseTemplate")) self.gridLayout_2.addWidget(self.btnBrowseTemplate, 0, 3, 1, 1) self.label_5 = QtGui.QLabel(self.tab_2) self.label_5.setObjectName(_fromUtf8("label_5")) self.gridLayout_2.addWidget(self.label_5, 0, 1, 1, 1) self.editTemplate = QtGui.QLineEdit(self.tab_2) self.editTemplate.setObjectName(_fromUtf8("editTemplate")) self.gridLayout_2.addWidget(self.editTemplate, 0, 2, 1, 1) self.label_10 = QtGui.QLabel(self.tab_2) self.label_10.setObjectName(_fromUtf8("label_10")) self.gridLayout_2.addWidget(self.label_10, 1, 1, 1, 3) spacerItem1 = QtGui.QSpacerItem(28, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem1, 0, 0, 2, 1) self.verticalLayout_5.addLayout(self.gridLayout_2) self.tabWidget.addTab(self.tab_2, _fromUtf8("")) self.tab_3 = QtGui.QWidget() self.tab_3.setObjectName(_fromUtf8("tab_3")) self.formLayout_2 = QtGui.QFormLayout(self.tab_3) self.formLayout_2.setObjectName(_fromUtf8("formLayout_2")) self.label_4 = QtGui.QLabel(self.tab_3) self.label_4.setObjectName(_fromUtf8("label_4")) self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_4) self.radQualBest = QtGui.QRadioButton(self.tab_3) self.radQualBest.setChecked(False) self.radQualBest.setObjectName(_fromUtf8("radQualBest")) self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.radQualBest) self.radQualHigh = QtGui.QRadioButton(self.tab_3) self.radQualHigh.setChecked(True) self.radQualHigh.setObjectName(_fromUtf8("radQualHigh")) self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.radQualHigh) self.radQualLow = QtGui.QRadioButton(self.tab_3) self.radQualLow.setObjectName(_fromUtf8("radQualLow")) self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.radQualLow) self.groupBox = QtGui.QGroupBox(self.tab_3) self.groupBox.setFlat(True) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout = QtGui.QGridLayout(self.groupBox) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.btnBrowseFfmpegPath = QtGui.QToolButton(self.groupBox) self.btnBrowseFfmpegPath.setObjectName(_fromUtf8("btnBrowseFfmpegPath")) self.gridLayout.addWidget(self.btnBrowseFfmpegPath, 3, 2, 1, 1) self.editFfmpegPath = QtGui.QLineEdit(self.groupBox) self.editFfmpegPath.setObjectName(_fromUtf8("editFfmpegPath")) self.gridLayout.addWidget(self.editFfmpegPath, 3, 1, 1, 1) self.radFfmpegCustom = QtGui.QRadioButton(self.groupBox) self.radFfmpegCustom.setObjectName(_fromUtf8("radFfmpegCustom")) self.gridLayout.addWidget(self.radFfmpegCustom, 3, 0, 1, 1) self.radFfmpegSystem = QtGui.QRadioButton(self.groupBox) self.radFfmpegSystem.setChecked(True) self.radFfmpegSystem.setObjectName(_fromUtf8("radFfmpegSystem")) self.gridLayout.addWidget(self.radFfmpegSystem, 2, 0, 1, 4) self.label_9 = QtGui.QLabel(self.groupBox) self.label_9.setObjectName(_fromUtf8("label_9")) self.gridLayout.addWidget(self.label_9, 1, 0, 1, 3) self.formLayout_2.setWidget(4, QtGui.QFormLayout.SpanningRole, self.groupBox) spacerItem2 = QtGui.QSpacerItem(20, 500, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.formLayout_2.setItem(3, QtGui.QFormLayout.FieldRole, spacerItem2) self.tabWidget.addTab(self.tab_3, _fromUtf8("")) self.verticalLayout_6.addWidget(self.tabWidget) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.progress = QtGui.QProgressBar(CrayfishAnimationDialog) self.progress.setProperty("value", 0) self.progress.setObjectName(_fromUtf8("progress")) self.horizontalLayout_4.addWidget(self.progress) self.buttonBox = QtGui.QDialogButtonBox(CrayfishAnimationDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout_4.addWidget(self.buttonBox) self.verticalLayout_6.addLayout(self.horizontalLayout_4) self.retranslateUi(CrayfishAnimationDialog) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), CrayfishAnimationDialog.reject) QtCore.QMetaObject.connectSlotsByName(CrayfishAnimationDialog) def retranslateUi(self, CrayfishAnimationDialog): CrayfishAnimationDialog.setWindowTitle(_translate("CrayfishAnimationDialog", "Export Animation", None)) self.label_2.setText(_translate("CrayfishAnimationDialog", "Width", None)) self.spinWidth.setSuffix(_translate("CrayfishAnimationDialog", " px", None)) self.label_3.setText(_translate("CrayfishAnimationDialog", "Height", None)) self.spinHeight.setSuffix(_translate("CrayfishAnimationDialog", " px", None)) self.label_6.setText(_translate("CrayfishAnimationDialog", "Start Time", None)) self.label_7.setText(_translate("CrayfishAnimationDialog", "End Time", None)) self.label_8.setText(_translate("CrayfishAnimationDialog", "Speed", None)) self.spinSpeed.setSuffix(_translate("CrayfishAnimationDialog", " fps", None)) self.label.setText(_translate("CrayfishAnimationDialog", "Output", None)) self.btnBrowseOutput.setText(_translate("CrayfishAnimationDialog", "...", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("CrayfishAnimationDialog", "General", None)) self.radLayoutDefault.setText(_translate("CrayfishAnimationDialog", "Default layout", None)) self.groupTitle.setTitle(_translate("CrayfishAnimationDialog", "Title", None)) self.groupTime.setTitle(_translate("CrayfishAnimationDialog", "Time", None)) self.groupLegend.setTitle(_translate("CrayfishAnimationDialog", "Legend", None)) self.radLayoutCustom.setText(_translate("CrayfishAnimationDialog", "Custom layout (.qpt)", None)) self.btnBrowseTemplate.setText(_translate("CrayfishAnimationDialog", "...", None)) self.label_5.setText(_translate("CrayfishAnimationDialog", "Template", None)) self.label_10.setText(_translate("CrayfishAnimationDialog", "(Note: label with ID \'time\' will display output time)", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("CrayfishAnimationDialog", "Layout", None)) self.label_4.setText(_translate("CrayfishAnimationDialog", "Quality", None)) self.radQualBest.setText(_translate("CrayfishAnimationDialog", "Best (lossless)", None)) self.radQualHigh.setText(_translate("CrayfishAnimationDialog", "High", None)) self.radQualLow.setText(_translate("CrayfishAnimationDialog", "Low", None)) self.btnBrowseFfmpegPath.setText(_translate("CrayfishAnimationDialog", "...", None)) self.radFfmpegCustom.setText(_translate("CrayfishAnimationDialog", "custom", None)) self.radFfmpegSystem.setText(_translate("CrayfishAnimationDialog", "default from system path", None)) self.label_9.setText(_translate("CrayfishAnimationDialog", "Video encoding utility (FFmpeg) to use:", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("CrayfishAnimationDialog", "Video", None))
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_STDMWizard(object): def setupUi(self, STDMWizard): STDMWizard.setObjectName(_fromUtf8("STDMWizard")) STDMWizard.setWindowModality(QtCore.Qt.WindowModal) STDMWizard.resize(840, 638) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(STDMWizard.sizePolicy().hasHeightForWidth()) STDMWizard.setSizePolicy(sizePolicy) STDMWizard.setMinimumSize(QtCore.QSize(720, 100)) STDMWizard.setBaseSize(QtCore.QSize(0, 460)) STDMWizard.setModal(True) STDMWizard.setWizardStyle(QtGui.QWizard.ModernStyle) STDMWizard.setOptions(QtGui.QWizard.HaveCustomButton1|QtGui.QWizard.HelpButtonOnRight) self.wpLicense = QtGui.QWizardPage() font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.wpLicense.setFont(font) self.wpLicense.setObjectName(_fromUtf8("wpLicense")) self.gridLayout_2 = QtGui.QGridLayout(self.wpLicense) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.groupBox_16 = QtGui.QGroupBox(self.wpLicense) self.groupBox_16.setObjectName(_fromUtf8("groupBox_16")) self.gridLayout_20 = QtGui.QGridLayout(self.groupBox_16) self.gridLayout_20.setObjectName(_fromUtf8("gridLayout_20")) self.rbAccpt = QtGui.QRadioButton(self.groupBox_16) font = QtGui.QFont() font.setPointSize(11) font.setBold(True) font.setWeight(75) self.rbAccpt.setFont(font) self.rbAccpt.setChecked(False) self.rbAccpt.setObjectName(_fromUtf8("rbAccpt")) self.gridLayout_20.addWidget(self.rbAccpt, 2, 0, 1, 1) self.rbReject = QtGui.QRadioButton(self.groupBox_16) font = QtGui.QFont() font.setPointSize(11) font.setBold(True) font.setWeight(75) self.rbReject.setFont(font) self.rbReject.setCheckable(True) self.rbReject.setChecked(False) self.rbReject.setObjectName(_fromUtf8("rbReject")) self.gridLayout_20.addWidget(self.rbReject, 2, 1, 1, 1) self.txtLicense = QtGui.QTextEdit(self.groupBox_16) font = QtGui.QFont() font.setPointSize(14) font.setBold(True) font.setWeight(75) self.txtLicense.setFont(font) self.txtLicense.setFrameShape(QtGui.QFrame.NoFrame) self.txtLicense.setFrameShadow(QtGui.QFrame.Raised) self.txtLicense.setObjectName(_fromUtf8("txtLicense")) self.gridLayout_20.addWidget(self.txtLicense, 1, 0, 1, 2) self.gridLayout_2.addWidget(self.groupBox_16, 0, 0, 1, 1) STDMWizard.addPage(self.wpLicense) self.wpPathSetting = QtGui.QWizardPage() self.wpPathSetting.setObjectName(_fromUtf8("wpPathSetting")) self.formLayout_2 = QtGui.QFormLayout(self.wpPathSetting) self.formLayout_2.setObjectName(_fromUtf8("formLayout_2")) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setSizeConstraint(QtGui.QLayout.SetNoConstraint) self.gridLayout.setContentsMargins(-1, 20, -1, -1) self.gridLayout.setVerticalSpacing(100) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.btnTemplates = QtGui.QPushButton(self.wpPathSetting) self.btnTemplates.setMinimumSize(QtCore.QSize(0, 30)) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/open_file.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btnTemplates.setIcon(icon) self.btnTemplates.setObjectName(_fromUtf8("btnTemplates")) self.gridLayout.addWidget(self.btnTemplates, 2, 2, 1, 1) self.btnDocOutput = QtGui.QPushButton(self.wpPathSetting) self.btnDocOutput.setMinimumSize(QtCore.QSize(0, 30)) self.btnDocOutput.setIcon(icon) self.btnDocOutput.setObjectName(_fromUtf8("btnDocOutput")) self.gridLayout.addWidget(self.btnDocOutput, 1, 2, 1, 1) self.edtTemplatePath = QtGui.QLineEdit(self.wpPathSetting) self.edtTemplatePath.setMinimumSize(QtCore.QSize(0, 30)) self.edtTemplatePath.setReadOnly(True) self.edtTemplatePath.setObjectName(_fromUtf8("edtTemplatePath")) self.gridLayout.addWidget(self.edtTemplatePath, 2, 1, 1, 1) self.label_37 = QtGui.QLabel(self.wpPathSetting) self.label_37.setMinimumSize(QtCore.QSize(0, 0)) self.label_37.setObjectName(_fromUtf8("label_37")) self.gridLayout.addWidget(self.label_37, 0, 0, 1, 1) self.label_4 = QtGui.QLabel(self.wpPathSetting) self.label_4.setObjectName(_fromUtf8("label_4")) self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1) self.label_31 = QtGui.QLabel(self.wpPathSetting) self.label_31.setObjectName(_fromUtf8("label_31")) self.gridLayout.addWidget(self.label_31, 1, 0, 1, 1) self.edtOutputPath = QtGui.QLineEdit(self.wpPathSetting) self.edtOutputPath.setMinimumSize(QtCore.QSize(0, 30)) self.edtOutputPath.setReadOnly(True) self.edtOutputPath.setObjectName(_fromUtf8("edtOutputPath")) self.gridLayout.addWidget(self.edtOutputPath, 1, 1, 1, 1) self.btnDocPath = QtGui.QPushButton(self.wpPathSetting) self.btnDocPath.setMinimumSize(QtCore.QSize(0, 30)) self.btnDocPath.setIcon(icon) self.btnDocPath.setObjectName(_fromUtf8("btnDocPath")) self.gridLayout.addWidget(self.btnDocPath, 0, 2, 1, 1) self.edtDocPath = QtGui.QLineEdit(self.wpPathSetting) self.edtDocPath.setMinimumSize(QtCore.QSize(0, 30)) self.edtDocPath.setToolTip(_fromUtf8("")) self.edtDocPath.setText(_fromUtf8("")) self.edtDocPath.setReadOnly(True) self.edtDocPath.setObjectName(_fromUtf8("edtDocPath")) self.gridLayout.addWidget(self.edtDocPath, 0, 1, 1, 1) self.formLayout_2.setLayout(0, QtGui.QFormLayout.SpanningRole, self.gridLayout) STDMWizard.addPage(self.wpPathSetting) self.wpProfile = QtGui.QWizardPage() self.wpProfile.setObjectName(_fromUtf8("wpProfile")) self.verticalLayout_7 = QtGui.QVBoxLayout(self.wpProfile) self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7")) self.groupBox_17 = QtGui.QGroupBox(self.wpProfile) self.groupBox_17.setMinimumSize(QtCore.QSize(0, 0)) self.groupBox_17.setMaximumSize(QtCore.QSize(13900, 300)) self.groupBox_17.setObjectName(_fromUtf8("groupBox_17")) self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBox_17) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.gridLayout_6 = QtGui.QGridLayout() self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) self.btnCopy = QtGui.QPushButton(self.groupBox_17) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnCopy.sizePolicy().hasHeightForWidth()) self.btnCopy.setSizePolicy(sizePolicy) self.btnCopy.setMinimumSize(QtCore.QSize(0, 30)) self.btnCopy.setMaximumSize(QtCore.QSize(150, 16777215)) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/composer_table.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btnCopy.setIcon(icon1) self.btnCopy.setObjectName(_fromUtf8("btnCopy")) self.gridLayout_6.addWidget(self.btnCopy, 0, 3, 1, 1) self.btnPDelete = QtGui.QPushButton(self.groupBox_17) self.btnPDelete.setMinimumSize(QtCore.QSize(0, 30)) self.btnPDelete.setMaximumSize(QtCore.QSize(150, 16777215)) icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/remove.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btnPDelete.setIcon(icon2) self.btnPDelete.setObjectName(_fromUtf8("btnPDelete")) self.gridLayout_6.addWidget(self.btnPDelete, 0, 4, 1, 1) self.cboProfile = QtGui.QComboBox(self.groupBox_17) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cboProfile.sizePolicy().hasHeightForWidth()) self.cboProfile.setSizePolicy(sizePolicy) self.cboProfile.setMinimumSize(QtCore.QSize(10, 30)) font = QtGui.QFont() font.setPointSize(9) self.cboProfile.setFont(font) self.cboProfile.setObjectName(_fromUtf8("cboProfile")) self.gridLayout_6.addWidget(self.cboProfile, 0, 1, 1, 1) self.label = QtGui.QLabel(self.groupBox_17) self.label.setMinimumSize(QtCore.QSize(50, 0)) self.label.setMaximumSize(QtCore.QSize(16777215, 16777215)) font = QtGui.QFont() font.setPointSize(9) font.setBold(False) font.setWeight(50) self.label.setFont(font) self.label.setObjectName(_fromUtf8("label")) self.gridLayout_6.addWidget(self.label, 0, 0, 1, 1) self.btnNewP = QtGui.QPushButton(self.groupBox_17) self.btnNewP.setMinimumSize(QtCore.QSize(0, 30)) self.btnNewP.setMaximumSize(QtCore.QSize(150, 16777215)) icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/add.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btnNewP.setIcon(icon3) self.btnNewP.setObjectName(_fromUtf8("btnNewP")) self.gridLayout_6.addWidget(self.btnNewP, 0, 2, 1, 1) self.label_3 = QtGui.QLabel(self.groupBox_17) self.label_3.setMargin(0) self.label_3.setIndent(-1) self.label_3.setObjectName(_fromUtf8("label_3")) self.gridLayout_6.addWidget(self.label_3, 1, 0, 1, 1) self.edtDesc = QtGui.QLineEdit(self.groupBox_17) self.edtDesc.setObjectName(_fromUtf8("edtDesc")) self.gridLayout_6.addWidget(self.edtDesc, 1, 1, 1, 4) self.verticalLayout_4.addLayout(self.gridLayout_6) self.widget = QtGui.QWidget(self.groupBox_17) self.widget.setLayoutDirection(QtCore.Qt.LeftToRight) self.widget.setObjectName(_fromUtf8("widget")) self.verticalLayout_4.addWidget(self.widget) self.verticalLayout_7.addWidget(self.groupBox_17) self.groupBox_18 = QtGui.QGroupBox(self.wpProfile) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.groupBox_18.sizePolicy().hasHeightForWidth()) self.groupBox_18.setSizePolicy(sizePolicy) self.groupBox_18.setMinimumSize(QtCore.QSize(0, 300)) self.groupBox_18.setMaximumSize(QtCore.QSize(169999, 169999)) self.groupBox_18.setStyleSheet(_fromUtf8("font: 75 9pt \"Myriad Web Pro\";")) self.groupBox_18.setObjectName(_fromUtf8("groupBox_18")) self.formLayout_3 = QtGui.QFormLayout(self.groupBox_18) self.formLayout_3.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow) self.formLayout_3.setObjectName(_fromUtf8("formLayout_3")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.btnNewEntity = QtGui.QPushButton(self.groupBox_18) self.btnNewEntity.setMinimumSize(QtCore.QSize(30, 25)) self.btnNewEntity.setMaximumSize(QtCore.QSize(30, 25)) self.btnNewEntity.setBaseSize(QtCore.QSize(30, 25)) self.btnNewEntity.setText(_fromUtf8("")) self.btnNewEntity.setIcon(icon3) self.btnNewEntity.setObjectName(_fromUtf8("btnNewEntity")) self.horizontalLayout.addWidget(self.btnNewEntity) self.btnEditEntity = QtGui.QPushButton(self.groupBox_18) self.btnEditEntity.setMinimumSize(QtCore.QSize(30, 25)) self.btnEditEntity.setMaximumSize(QtCore.QSize(30, 25)) self.btnEditEntity.setText(_fromUtf8("")) icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/edit.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btnEditEntity.setIcon(icon4) self.btnEditEntity.setObjectName(_fromUtf8("btnEditEntity")) self.horizontalLayout.addWidget(self.btnEditEntity) self.btnDeleteEntity = QtGui.QPushButton(self.groupBox_18) self.btnDeleteEntity.setMinimumSize(QtCore.QSize(30, 25)) self.btnDeleteEntity.setMaximumSize(QtCore.QSize(30, 25)) self.btnDeleteEntity.setText(_fromUtf8("")) icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/delete.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btnDeleteEntity.setIcon(icon5) self.btnDeleteEntity.setObjectName(_fromUtf8("btnDeleteEntity")) self.horizontalLayout.addWidget(self.btnDeleteEntity) self.formLayout_3.setLayout(0, QtGui.QFormLayout.LabelRole, self.horizontalLayout) self.pftableView = QtGui.QTableView(self.groupBox_18) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth(self.pftableView.sizePolicy().hasHeightForWidth()) self.pftableView.setSizePolicy(sizePolicy) self.pftableView.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.pftableView.setSelectionMode(QtGui.QAbstractItemView.SingleSelection) self.pftableView.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows) self.pftableView.setObjectName(_fromUtf8("pftableView")) self.pftableView.horizontalHeader().setStretchLastSection(True) self.formLayout_3.setWidget(1, QtGui.QFormLayout.SpanningRole, self.pftableView) self.verticalLayout_7.addWidget(self.groupBox_18) STDMWizard.addPage(self.wpProfile) self.wpEntityCustom = QtGui.QWizardPage() self.wpEntityCustom.setObjectName(_fromUtf8("wpEntityCustom")) self.verticalLayout_9 = QtGui.QVBoxLayout(self.wpEntityCustom) self.verticalLayout_9.setObjectName(_fromUtf8("verticalLayout_9")) self.splitter_3 = QtGui.QSplitter(self.wpEntityCustom) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.splitter_3.sizePolicy().hasHeightForWidth()) self.splitter_3.setSizePolicy(sizePolicy) self.splitter_3.setOrientation(QtCore.Qt.Vertical) self.splitter_3.setObjectName(_fromUtf8("splitter_3")) self.splitter = QtGui.QSplitter(self.splitter_3) self.splitter.setMinimumSize(QtCore.QSize(100, 100)) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName(_fromUtf8("splitter")) self.groupBox = QtGui.QGroupBox(self.splitter) self.groupBox.setMinimumSize(QtCore.QSize(0, 0)) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout_8 = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout_8.setSpacing(5) self.verticalLayout_8.setMargin(5) self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8")) self.lvEntities = QtGui.QListView(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth(self.lvEntities.sizePolicy().hasHeightForWidth()) self.lvEntities.setSizePolicy(sizePolicy) self.lvEntities.setMinimumSize(QtCore.QSize(0, 0)) self.lvEntities.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.lvEntities.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows) self.lvEntities.setObjectName(_fromUtf8("lvEntities")) self.verticalLayout_8.addWidget(self.lvEntities) self.groupBox_2 = QtGui.QGroupBox(self.splitter) self.groupBox_2.setMinimumSize(QtCore.QSize(0, 0)) self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_2) self.verticalLayout.setMargin(5) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.btnAddColumn = QtGui.QPushButton(self.groupBox_2) self.btnAddColumn.setMinimumSize(QtCore.QSize(30, 25)) self.btnAddColumn.setMaximumSize(QtCore.QSize(30, 25)) self.btnAddColumn.setText(_fromUtf8("")) self.btnAddColumn.setIcon(icon3) self.btnAddColumn.setIconSize(QtCore.QSize(20, 20)) self.btnAddColumn.setObjectName(_fromUtf8("btnAddColumn")) self.horizontalLayout_2.addWidget(self.btnAddColumn) self.btnEditColumn = QtGui.QPushButton(self.groupBox_2) self.btnEditColumn.setMinimumSize(QtCore.QSize(30, 25)) self.btnEditColumn.setMaximumSize(QtCore.QSize(30, 25)) self.btnEditColumn.setText(_fromUtf8("")) self.btnEditColumn.setIcon(icon4) self.btnEditColumn.setIconSize(QtCore.QSize(20, 20)) self.btnEditColumn.setObjectName(_fromUtf8("btnEditColumn")) self.horizontalLayout_2.addWidget(self.btnEditColumn) self.btnDeleteColumn = QtGui.QPushButton(self.groupBox_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnDeleteColumn.sizePolicy().hasHeightForWidth()) self.btnDeleteColumn.setSizePolicy(sizePolicy) self.btnDeleteColumn.setMinimumSize(QtCore.QSize(30, 25)) self.btnDeleteColumn.setMaximumSize(QtCore.QSize(30, 25)) self.btnDeleteColumn.setText(_fromUtf8("")) self.btnDeleteColumn.setIcon(icon5) self.btnDeleteColumn.setObjectName(_fromUtf8("btnDeleteColumn")) self.horizontalLayout_2.addWidget(self.btnDeleteColumn) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.verticalLayout.addLayout(self.horizontalLayout_2) self.tbvColumns = QtGui.QTableView(self.groupBox_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(1) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth(self.tbvColumns.sizePolicy().hasHeightForWidth()) self.tbvColumns.setSizePolicy(sizePolicy) self.tbvColumns.setMinimumSize(QtCore.QSize(0, 0)) self.tbvColumns.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.tbvColumns.setFrameShape(QtGui.QFrame.StyledPanel) self.tbvColumns.setFrameShadow(QtGui.QFrame.Sunken) self.tbvColumns.setSelectionMode(QtGui.QAbstractItemView.SingleSelection) self.tbvColumns.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows) self.tbvColumns.setObjectName(_fromUtf8("tbvColumns")) self.tbvColumns.horizontalHeader().setDefaultSectionSize(130) self.tbvColumns.horizontalHeader().setStretchLastSection(True) self.tbvColumns.verticalHeader().setDefaultSectionSize(30) self.verticalLayout.addWidget(self.tbvColumns) self.splitter_2 = QtGui.QSplitter(self.splitter_3) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.MinimumExpanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.splitter_2.sizePolicy().hasHeightForWidth()) self.splitter_2.setSizePolicy(sizePolicy) self.splitter_2.setMinimumSize(QtCore.QSize(100, 100)) self.splitter_2.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.splitter_2.setBaseSize(QtCore.QSize(0, 230)) self.splitter_2.setOrientation(QtCore.Qt.Horizontal) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.groupBox_5 = QtGui.QGroupBox(self.splitter_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.groupBox_5.sizePolicy().hasHeightForWidth()) self.groupBox_5.setSizePolicy(sizePolicy) self.groupBox_5.setMinimumSize(QtCore.QSize(100, 20)) self.groupBox_5.setObjectName(_fromUtf8("groupBox_5")) self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox_5) self.verticalLayout_3.setSpacing(7) self.verticalLayout_3.setMargin(5) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setSpacing(6) self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.btnAddLookup = QtGui.QPushButton(self.groupBox_5) self.btnAddLookup.setMinimumSize(QtCore.QSize(30, 25)) self.btnAddLookup.setMaximumSize(QtCore.QSize(30, 25)) self.btnAddLookup.setText(_fromUtf8("")) self.btnAddLookup.setIcon(icon3) self.btnAddLookup.setObjectName(_fromUtf8("btnAddLookup")) self.horizontalLayout_4.addWidget(self.btnAddLookup) self.btnEditLookup = QtGui.QPushButton(self.groupBox_5) self.btnEditLookup.setMinimumSize(QtCore.QSize(30, 25)) self.btnEditLookup.setMaximumSize(QtCore.QSize(30, 25)) self.btnEditLookup.setText(_fromUtf8("")) self.btnEditLookup.setIcon(icon4) self.btnEditLookup.setObjectName(_fromUtf8("btnEditLookup")) self.horizontalLayout_4.addWidget(self.btnEditLookup) self.btnDeleteLookup = QtGui.QPushButton(self.groupBox_5) self.btnDeleteLookup.setMinimumSize(QtCore.QSize(30, 25)) self.btnDeleteLookup.setMaximumSize(QtCore.QSize(30, 25)) self.btnDeleteLookup.setText(_fromUtf8("")) self.btnDeleteLookup.setIcon(icon5) self.btnDeleteLookup.setObjectName(_fromUtf8("btnDeleteLookup")) self.horizontalLayout_4.addWidget(self.btnDeleteLookup) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem1) self.verticalLayout_3.addLayout(self.horizontalLayout_4) self.lvLookups = QtGui.QListView(self.groupBox_5) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth(self.lvLookups.sizePolicy().hasHeightForWidth()) self.lvLookups.setSizePolicy(sizePolicy) self.lvLookups.setMinimumSize(QtCore.QSize(0, 0)) self.lvLookups.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.lvLookups.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows) self.lvLookups.setObjectName(_fromUtf8("lvLookups")) self.verticalLayout_3.addWidget(self.lvLookups) self.groupBox_6 = QtGui.QGroupBox(self.splitter_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.groupBox_6.sizePolicy().hasHeightForWidth()) self.groupBox_6.setSizePolicy(sizePolicy) self.groupBox_6.setMinimumSize(QtCore.QSize(0, 0)) self.groupBox_6.setObjectName(_fromUtf8("groupBox_6")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_6) self.verticalLayout_2.setMargin(5) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.btnAddLkupValue = QtGui.QPushButton(self.groupBox_6) self.btnAddLkupValue.setMinimumSize(QtCore.QSize(30, 25)) self.btnAddLkupValue.setMaximumSize(QtCore.QSize(30, 25)) self.btnAddLkupValue.setText(_fromUtf8("")) self.btnAddLkupValue.setIcon(icon3) self.btnAddLkupValue.setObjectName(_fromUtf8("btnAddLkupValue")) self.horizontalLayout_5.addWidget(self.btnAddLkupValue) self.btnEditLkupValue = QtGui.QPushButton(self.groupBox_6) self.btnEditLkupValue.setMinimumSize(QtCore.QSize(30, 25)) self.btnEditLkupValue.setMaximumSize(QtCore.QSize(30, 25)) self.btnEditLkupValue.setText(_fromUtf8("")) self.btnEditLkupValue.setIcon(icon4) self.btnEditLkupValue.setObjectName(_fromUtf8("btnEditLkupValue")) self.horizontalLayout_5.addWidget(self.btnEditLkupValue) self.btnDeleteLkupValue = QtGui.QPushButton(self.groupBox_6) self.btnDeleteLkupValue.setMinimumSize(QtCore.QSize(30, 25)) self.btnDeleteLkupValue.setMaximumSize(QtCore.QSize(30, 25)) self.btnDeleteLkupValue.setText(_fromUtf8("")) self.btnDeleteLkupValue.setIcon(icon5) self.btnDeleteLkupValue.setObjectName(_fromUtf8("btnDeleteLkupValue")) self.horizontalLayout_5.addWidget(self.btnDeleteLkupValue) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem2) self.verticalLayout_2.addLayout(self.horizontalLayout_5) self.lvLookupValues = QtGui.QListView(self.groupBox_6) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth(self.lvLookupValues.sizePolicy().hasHeightForWidth()) self.lvLookupValues.setSizePolicy(sizePolicy) self.lvLookupValues.setMinimumSize(QtCore.QSize(0, 0)) self.lvLookupValues.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.lvLookupValues.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows) self.lvLookupValues.setObjectName(_fromUtf8("lvLookupValues")) self.verticalLayout_2.addWidget(self.lvLookupValues) self.verticalLayout_9.addWidget(self.splitter_3) STDMWizard.addPage(self.wpEntityCustom) self.wpSTR = QtGui.QWizardPage() self.wpSTR.setObjectName(_fromUtf8("wpSTR")) self.gridLayout_3 = QtGui.QGridLayout(self.wpSTR) self.gridLayout_3.setContentsMargins(2, 4, 2, 4) self.gridLayout_3.setHorizontalSpacing(6) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.dg_tenure = ProfileTenureDiagram(self.wpSTR) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.dg_tenure.sizePolicy().hasHeightForWidth()) self.dg_tenure.setSizePolicy(sizePolicy) self.dg_tenure.setMinimumSize(QtCore.QSize(100, 320)) self.dg_tenure.setObjectName(_fromUtf8("dg_tenure")) self.gridLayout_3.addWidget(self.dg_tenure, 1, 1, 1, 1) self.scrollArea = QtGui.QScrollArea(self.wpSTR) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth()) self.scrollArea.setSizePolicy(sizePolicy) self.scrollArea.setMinimumSize(QtCore.QSize(50, 0)) self.scrollArea.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents_2 = QtGui.QWidget() self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 244, 624)) self.scrollAreaWidgetContents_2.setObjectName(_fromUtf8("scrollAreaWidgetContents_2")) self.verticalLayout_5 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents_2) self.verticalLayout_5.setSpacing(5) self.verticalLayout_5.setContentsMargins(3, 0, 2, 1) self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5")) self.label_5 = QtGui.QLabel(self.scrollAreaWidgetContents_2) self.label_5.setMinimumSize(QtCore.QSize(0, 0)) self.label_5.setMaximumSize(QtCore.QSize(300, 16777215)) self.label_5.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.label_5.setWordWrap(True) self.label_5.setObjectName(_fromUtf8("label_5")) self.verticalLayout_5.addWidget(self.label_5) self.lst_parties = STRPartyListView(self.scrollAreaWidgetContents_2) self.lst_parties.setMaximumSize(QtCore.QSize(16777215, 120)) self.lst_parties.setObjectName(_fromUtf8("lst_parties")) self.verticalLayout_5.addWidget(self.lst_parties) self.cbMultiParty = QtGui.QCheckBox(self.scrollAreaWidgetContents_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(1) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cbMultiParty.sizePolicy().hasHeightForWidth()) self.cbMultiParty.setSizePolicy(sizePolicy) self.cbMultiParty.setObjectName(_fromUtf8("cbMultiParty")) self.verticalLayout_5.addWidget(self.cbMultiParty) self.label_6 = QtGui.QLabel(self.scrollAreaWidgetContents_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth()) self.label_6.setSizePolicy(sizePolicy) self.label_6.setMinimumSize(QtCore.QSize(0, 0)) self.label_6.setMaximumSize(QtCore.QSize(300, 16777215)) self.label_6.setObjectName(_fromUtf8("label_6")) self.verticalLayout_5.addWidget(self.label_6) self.lst_spatial_units = STRSpatialUnitListView(self.scrollAreaWidgetContents_2) self.lst_spatial_units.setMaximumSize(QtCore.QSize(16777215, 120)) self.lst_spatial_units.setObjectName(_fromUtf8("lst_spatial_units")) self.verticalLayout_5.addWidget(self.lst_spatial_units) self.btn_sp_units_tenure = QtGui.QPushButton(self.scrollAreaWidgetContents_2) icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/social_tenure.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_sp_units_tenure.setIcon(icon6) self.btn_sp_units_tenure.setObjectName(_fromUtf8("btn_sp_units_tenure")) self.verticalLayout_5.addWidget(self.btn_sp_units_tenure) self.label_7 = QtGui.QLabel(self.scrollAreaWidgetContents_2) self.label_7.setObjectName(_fromUtf8("label_7")) self.verticalLayout_5.addWidget(self.label_7) self.gb_start_dates = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.gb_start_dates.sizePolicy().hasHeightForWidth()) self.gb_start_dates.setSizePolicy(sizePolicy) self.gb_start_dates.setCheckable(True) self.gb_start_dates.setChecked(False) self.gb_start_dates.setObjectName(_fromUtf8("gb_start_dates")) self.gridLayout_4 = QtGui.QGridLayout(self.gb_start_dates) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.label_8 = QtGui.QLabel(self.gb_start_dates) self.label_8.setObjectName(_fromUtf8("label_8")) self.gridLayout_4.addWidget(self.label_8, 0, 0, 1, 1) self.dt_start_minimum = QtGui.QDateEdit(self.gb_start_dates) self.dt_start_minimum.setCalendarPopup(True) self.dt_start_minimum.setObjectName(_fromUtf8("dt_start_minimum")) self.gridLayout_4.addWidget(self.dt_start_minimum, 0, 1, 1, 1) self.label_9 = QtGui.QLabel(self.gb_start_dates) self.label_9.setObjectName(_fromUtf8("label_9")) self.gridLayout_4.addWidget(self.label_9, 1, 0, 1, 1) self.dt_start_maximum = QtGui.QDateEdit(self.gb_start_dates) self.dt_start_maximum.setCalendarPopup(True) self.dt_start_maximum.setObjectName(_fromUtf8("dt_start_maximum")) self.gridLayout_4.addWidget(self.dt_start_maximum, 1, 1, 1, 1) self.verticalLayout_5.addWidget(self.gb_start_dates) self.gb_end_dates = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents_2) self.gb_end_dates.setCheckable(True) self.gb_end_dates.setChecked(False) self.gb_end_dates.setObjectName(_fromUtf8("gb_end_dates")) self.gridLayout_5 = QtGui.QGridLayout(self.gb_end_dates) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.label_10 = QtGui.QLabel(self.gb_end_dates) self.label_10.setObjectName(_fromUtf8("label_10")) self.gridLayout_5.addWidget(self.label_10, 0, 0, 1, 1) self.dt_end_minimum = QtGui.QDateEdit(self.gb_end_dates) self.dt_end_minimum.setCalendarPopup(True) self.dt_end_minimum.setObjectName(_fromUtf8("dt_end_minimum")) self.gridLayout_5.addWidget(self.dt_end_minimum, 0, 1, 1, 1) self.label_11 = QtGui.QLabel(self.gb_end_dates) self.label_11.setObjectName(_fromUtf8("label_11")) self.gridLayout_5.addWidget(self.label_11, 1, 0, 1, 1) self.dt_end_maximum = QtGui.QDateEdit(self.gb_end_dates) self.dt_end_maximum.setCalendarPopup(True) self.dt_end_maximum.setObjectName(_fromUtf8("dt_end_maximum")) self.gridLayout_5.addWidget(self.dt_end_maximum, 1, 1, 1, 1) self.verticalLayout_5.addWidget(self.gb_end_dates) self.label_12 = QtGui.QLabel(self.scrollAreaWidgetContents_2) self.label_12.setObjectName(_fromUtf8("label_12")) self.verticalLayout_5.addWidget(self.label_12) self.btn_custom_attrs = QtGui.QPushButton(self.scrollAreaWidgetContents_2) icon7 = QtGui.QIcon() icon7.addPixmap(QtGui.QPixmap(_fromUtf8(":/plugins/stdm/images/icons/column.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btn_custom_attrs.setIcon(icon7) self.btn_custom_attrs.setObjectName(_fromUtf8("btn_custom_attrs")) self.verticalLayout_5.addWidget(self.btn_custom_attrs) spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout_5.addItem(spacerItem3) self.scrollArea.setWidget(self.scrollAreaWidgetContents_2) self.gridLayout_3.addWidget(self.scrollArea, 1, 0, 1, 1) self.vl_notification_str = QtGui.QVBoxLayout() self.vl_notification_str.setObjectName(_fromUtf8("vl_notification_str")) self.gridLayout_3.addLayout(self.vl_notification_str, 0, 0, 1, 2) STDMWizard.addPage(self.wpSTR) self.wpSaveProfile = QtGui.QWizardPage() self.wpSaveProfile.setObjectName(_fromUtf8("wpSaveProfile")) self.formLayout_10 = QtGui.QFormLayout(self.wpSaveProfile) self.formLayout_10.setObjectName(_fromUtf8("formLayout_10")) self.label_2 = QtGui.QLabel(self.wpSaveProfile) self.label_2.setObjectName(_fromUtf8("label_2")) self.formLayout_10.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2) self.txtHtml = QtGui.QTextEdit(self.wpSaveProfile) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth(self.txtHtml.sizePolicy().hasHeightForWidth()) self.txtHtml.setSizePolicy(sizePolicy) self.txtHtml.setReadOnly(True) self.txtHtml.setObjectName(_fromUtf8("txtHtml")) self.formLayout_10.setWidget(1, QtGui.QFormLayout.SpanningRole, self.txtHtml) STDMWizard.addPage(self.wpSaveProfile) self.retranslateUi(STDMWizard) QtCore.QMetaObject.connectSlotsByName(STDMWizard) STDMWizard.setTabOrder(self.rbAccpt, self.cboProfile) STDMWizard.setTabOrder(self.cboProfile, self.rbReject) STDMWizard.setTabOrder(self.rbReject, self.btnPDelete) STDMWizard.setTabOrder(self.btnPDelete, self.btnNewP) STDMWizard.setTabOrder(self.btnNewP, self.pftableView) STDMWizard.setTabOrder(self.pftableView, self.btnNewEntity) STDMWizard.setTabOrder(self.btnNewEntity, self.btnEditEntity) STDMWizard.setTabOrder(self.btnEditEntity, self.btnDeleteEntity) STDMWizard.setTabOrder(self.btnDeleteEntity, self.btnDeleteColumn) STDMWizard.setTabOrder(self.btnDeleteColumn, self.btnEditColumn) STDMWizard.setTabOrder(self.btnEditColumn, self.btnAddColumn) STDMWizard.setTabOrder(self.btnAddColumn, self.tbvColumns) STDMWizard.setTabOrder(self.tbvColumns, self.lvLookups) STDMWizard.setTabOrder(self.lvLookups, self.btnEditLookup) STDMWizard.setTabOrder(self.btnEditLookup, self.lvLookupValues) STDMWizard.setTabOrder(self.lvLookupValues, self.btnEditLkupValue) STDMWizard.setTabOrder(self.btnEditLkupValue, self.txtLicense) def retranslateUi(self, STDMWizard): STDMWizard.setWindowTitle(QtGui.QApplication.translate("STDMWizard", "Configuration Wizard", None, QtGui.QApplication.UnicodeUTF8)) self.wpLicense.setTitle(QtGui.QApplication.translate("STDMWizard", "End User License Agreement", None, QtGui.QApplication.UnicodeUTF8)) self.wpLicense.setSubTitle(QtGui.QApplication.translate("STDMWizard", "Read carefully before you proceed", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox_16.setTitle(QtGui.QApplication.translate("STDMWizard", "Terms and Conditions", None, QtGui.QApplication.UnicodeUTF8)) self.rbAccpt.setText(QtGui.QApplication.translate("STDMWizard", "I Agree", None, QtGui.QApplication.UnicodeUTF8)) self.rbReject.setText(QtGui.QApplication.translate("STDMWizard", "Decline", None, QtGui.QApplication.UnicodeUTF8)) self.wpPathSetting.setTitle(QtGui.QApplication.translate("STDMWizard", "Directory Settings", None, QtGui.QApplication.UnicodeUTF8)) self.wpPathSetting.setSubTitle(QtGui.QApplication.translate("STDMWizard", "Specify configuration and documents directory path", None, QtGui.QApplication.UnicodeUTF8)) self.btnTemplates.setText(QtGui.QApplication.translate("STDMWizard", "Change", None, QtGui.QApplication.UnicodeUTF8)) self.btnDocOutput.setText(QtGui.QApplication.translate("STDMWizard", "Change", None, QtGui.QApplication.UnicodeUTF8)) self.edtTemplatePath.setPlaceholderText(QtGui.QApplication.translate("STDMWizard", "Specify path to save document templates", None, QtGui.QApplication.UnicodeUTF8)) self.label_37.setText(QtGui.QApplication.translate("STDMWizard", "<html><head/><body><p>Supporting documents path</p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.label_4.setText(QtGui.QApplication.translate("STDMWizard", "Documents template path", None, QtGui.QApplication.UnicodeUTF8)) self.label_31.setText(QtGui.QApplication.translate("STDMWizard", "Documents output path", None, QtGui.QApplication.UnicodeUTF8)) self.edtOutputPath.setPlaceholderText(QtGui.QApplication.translate("STDMWizard", "Specify path to save generated documents", None, QtGui.QApplication.UnicodeUTF8)) self.btnDocPath.setText(QtGui.QApplication.translate("STDMWizard", "Change", None, QtGui.QApplication.UnicodeUTF8)) self.edtDocPath.setPlaceholderText(QtGui.QApplication.translate("STDMWizard", "Specify path to save entity supporting documents", None, QtGui.QApplication.UnicodeUTF8)) self.wpProfile.setTitle(QtGui.QApplication.translate("STDMWizard", "Profile", None, QtGui.QApplication.UnicodeUTF8)) self.wpProfile.setSubTitle(QtGui.QApplication.translate("STDMWizard", "Manage profile and related entities. A profile represents a collection of logically related entities, some of which represent the party and spatial unit. Examples of profiles include individual, household, neighbourhood or even city-wide profiles. ", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox_17.setTitle(QtGui.QApplication.translate("STDMWizard", "Profile", None, QtGui.QApplication.UnicodeUTF8)) self.btnCopy.setText(QtGui.QApplication.translate("STDMWizard", "Copy profile", None, QtGui.QApplication.UnicodeUTF8)) self.btnPDelete.setText(QtGui.QApplication.translate("STDMWizard", "Delete profile", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText(QtGui.QApplication.translate("STDMWizard", "Name", None, QtGui.QApplication.UnicodeUTF8)) self.btnNewP.setText(QtGui.QApplication.translate("STDMWizard", "New profile", None, QtGui.QApplication.UnicodeUTF8)) self.label_3.setText(QtGui.QApplication.translate("STDMWizard", "Description", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox_18.setTitle(QtGui.QApplication.translate("STDMWizard", "Profile entities ", None, QtGui.QApplication.UnicodeUTF8)) self.wpEntityCustom.setTitle(QtGui.QApplication.translate("STDMWizard", "Entity Customization", None, QtGui.QApplication.UnicodeUTF8)) self.wpEntityCustom.setSubTitle(QtGui.QApplication.translate("STDMWizard", "Add or edit entity columns, lookups and lookup values", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox.setTitle(QtGui.QApplication.translate("STDMWizard", "Entities", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox_2.setTitle(QtGui.QApplication.translate("STDMWizard", "Columns", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox_5.setTitle(QtGui.QApplication.translate("STDMWizard", "Lookups", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox_6.setTitle(QtGui.QApplication.translate("STDMWizard", "Values", None, QtGui.QApplication.UnicodeUTF8)) self.wpSTR.setTitle(QtGui.QApplication.translate("STDMWizard", "Define Social Tenure Entities", None, QtGui.QApplication.UnicodeUTF8)) self.wpSTR.setSubTitle(QtGui.QApplication.translate("STDMWizard", "Set entities to participate in the profile\'s social tenure relationship", None, QtGui.QApplication.UnicodeUTF8)) self.label_5.setText(QtGui.QApplication.translate("STDMWizard", "1. Select the party entities", None, QtGui.QApplication.UnicodeUTF8)) self.cbMultiParty.setText(QtGui.QApplication.translate("STDMWizard", "Allow multiple parties to be \n" "linked to a single spatial unit", None, QtGui.QApplication.UnicodeUTF8)) self.label_6.setText(QtGui.QApplication.translate("STDMWizard", "2. Select the spatial unit entities", None, QtGui.QApplication.UnicodeUTF8)) self.btn_sp_units_tenure.setText(QtGui.QApplication.translate("STDMWizard", "Spatial Unit Tenure Types...", None, QtGui.QApplication.UnicodeUTF8)) self.label_7.setText(QtGui.QApplication.translate("STDMWizard", "3. Specify validity ranges (optional)", None, QtGui.QApplication.UnicodeUTF8)) self.gb_start_dates.setTitle(QtGui.QApplication.translate("STDMWizard", "\'Start\' date range", None, QtGui.QApplication.UnicodeUTF8)) self.label_8.setText(QtGui.QApplication.translate("STDMWizard", "Minimum", None, QtGui.QApplication.UnicodeUTF8)) self.label_9.setText(QtGui.QApplication.translate("STDMWizard", "Maximum", None, QtGui.QApplication.UnicodeUTF8)) self.gb_end_dates.setTitle(QtGui.QApplication.translate("STDMWizard", "\'End\' date range", None, QtGui.QApplication.UnicodeUTF8)) self.label_10.setText(QtGui.QApplication.translate("STDMWizard", "Minimum", None, QtGui.QApplication.UnicodeUTF8)) self.label_11.setText(QtGui.QApplication.translate("STDMWizard", "Maximum", None, QtGui.QApplication.UnicodeUTF8)) self.label_12.setText(QtGui.QApplication.translate("STDMWizard", "4. Specify custom tenure attributes (optional)", None, QtGui.QApplication.UnicodeUTF8)) self.btn_custom_attrs.setText(QtGui.QApplication.translate("STDMWizard", "Custom Attributes...", None, QtGui.QApplication.UnicodeUTF8)) self.wpSaveProfile.setTitle(QtGui.QApplication.translate("STDMWizard", "Save configuration", None, QtGui.QApplication.UnicodeUTF8)) self.wpSaveProfile.setSubTitle(QtGui.QApplication.translate("STDMWizard", "Click finish to save changes in your configuration to the database. ", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setText(QtGui.QApplication.translate("STDMWizard", "Save status will be displayed in the window below.", None, QtGui.QApplication.UnicodeUTF8))
class Ui_PrintFragmentDialogBase(object): def setupUi(self, PrintFragmentDialogBase): PrintFragmentDialogBase.setObjectName("PrintFragmentDialogBase") PrintFragmentDialogBase.resize(395, 614) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(PrintFragmentDialogBase.sizePolicy().hasHeightForWidth()) PrintFragmentDialogBase.setSizePolicy(sizePolicy) PrintFragmentDialogBase.setMinimumSize(QtCore.QSize(0, 0)) PrintFragmentDialogBase.setMaximumSize(QtCore.QSize(5000, 5000)) PrintFragmentDialogBase.setSizeGripEnabled(False) PrintFragmentDialogBase.setModal(False) self.verticalLayout_6 = QtWidgets.QVBoxLayout(PrintFragmentDialogBase) self.verticalLayout_6.setObjectName("verticalLayout_6") self.radio_shablonPrint = QtWidgets.QRadioButton(PrintFragmentDialogBase) self.radio_shablonPrint.setObjectName("radio_shablonPrint") self.verticalLayout_6.addWidget(self.radio_shablonPrint) self.groupBox_ShablonPrint = QtWidgets.QGroupBox(PrintFragmentDialogBase) self.groupBox_ShablonPrint.setTitle("") self.groupBox_ShablonPrint.setCheckable(False) self.groupBox_ShablonPrint.setChecked(False) self.groupBox_ShablonPrint.setObjectName("groupBox_ShablonPrint") self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.groupBox_ShablonPrint) self.verticalLayout_10.setObjectName("verticalLayout_10") self.comboBox_3 = QtWidgets.QComboBox(self.groupBox_ShablonPrint) self.comboBox_3.setMaxVisibleItems(30) self.comboBox_3.setObjectName("comboBox_3") self.verticalLayout_10.addWidget(self.comboBox_3) self.verticalLayout_6.addWidget(self.groupBox_ShablonPrint) self.line_3 = QtWidgets.QFrame(PrintFragmentDialogBase) self.line_3.setFrameShape(QtWidgets.QFrame.HLine) self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_3.setObjectName("line_3") self.verticalLayout_6.addWidget(self.line_3) self.radio_userPrint = QtWidgets.QRadioButton(PrintFragmentDialogBase) self.radio_userPrint.setObjectName("radio_userPrint") self.verticalLayout_6.addWidget(self.radio_userPrint) self.groupBox_userPrint = QgsCollapsibleGroupBox(PrintFragmentDialogBase) self.groupBox_userPrint.setTitle("") self.groupBox_userPrint.setCheckable(False) self.groupBox_userPrint.setChecked(False) self.groupBox_userPrint.setObjectName("groupBox_userPrint") self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox_userPrint) self.verticalLayout.setObjectName("verticalLayout") self.groupBox_Headers = QgsCollapsibleGroupBox(self.groupBox_userPrint) self.groupBox_Headers.setCheckable(True) self.groupBox_Headers.setChecked(False) self.groupBox_Headers.setCollapsed(False) self.groupBox_Headers.setObjectName("groupBox_Headers") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupBox_Headers) self.verticalLayout_7.setObjectName("verticalLayout_7") self.formLayout = QtWidgets.QFormLayout() self.formLayout.setHorizontalSpacing(6) self.formLayout.setVerticalSpacing(1) self.formLayout.setObjectName("formLayout") self.label_12 = QtWidgets.QLabel(self.groupBox_Headers) self.label_12.setObjectName("label_12") self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_12) self.comboBox = QtWidgets.QComboBox(self.groupBox_Headers) self.comboBox.setMaxVisibleItems(20) self.comboBox.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToMinimumContentsLength) self.comboBox.setObjectName("comboBox") self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.comboBox) self.label_11 = QtWidgets.QLabel(self.groupBox_Headers) self.label_11.setObjectName("label_11") self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_11) self.lineEdit_4 = QtWidgets.QLineEdit(self.groupBox_Headers) self.lineEdit_4.setObjectName("lineEdit_4") self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.lineEdit_4) self.label_4 = QtWidgets.QLabel(self.groupBox_Headers) self.label_4.setObjectName("label_4") self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_4) self.lineEdit_5 = QtWidgets.QLineEdit(self.groupBox_Headers) self.lineEdit_5.setObjectName("lineEdit_5") self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.lineEdit_5) self.verticalLayout_7.addLayout(self.formLayout) self.verticalLayout.addWidget(self.groupBox_Headers) self.groupBox = QtWidgets.QGroupBox(self.groupBox_userPrint) self.groupBox.setFlat(False) self.groupBox.setObjectName("groupBox") self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.groupBox) self.horizontalLayout_4.setContentsMargins(-1, -1, -1, 4) self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.verticalLayout_3 = QtWidgets.QVBoxLayout() self.verticalLayout_3.setObjectName("verticalLayout_3") self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.comboBox_2 = QtWidgets.QComboBox(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.comboBox_2.sizePolicy().hasHeightForWidth()) self.comboBox_2.setSizePolicy(sizePolicy) self.comboBox_2.setObjectName("comboBox_2") self.horizontalLayout_2.addWidget(self.comboBox_2) self.lineEdit_2 = QtWidgets.QLineEdit(self.groupBox) self.lineEdit_2.setEnabled(False) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lineEdit_2.sizePolicy().hasHeightForWidth()) self.lineEdit_2.setSizePolicy(sizePolicy) self.lineEdit_2.setMaximumSize(QtCore.QSize(70, 16777215)) self.lineEdit_2.setObjectName("lineEdit_2") self.horizontalLayout_2.addWidget(self.lineEdit_2) self.label_3 = QtWidgets.QLabel(self.groupBox) self.label_3.setObjectName("label_3") self.horizontalLayout_2.addWidget(self.label_3) self.lineEdit_3 = QtWidgets.QLineEdit(self.groupBox) self.lineEdit_3.setEnabled(False) self.lineEdit_3.setMaximumSize(QtCore.QSize(70, 16777215)) self.lineEdit_3.setObjectName("lineEdit_3") self.horizontalLayout_2.addWidget(self.lineEdit_3) self.verticalLayout_3.addLayout(self.horizontalLayout_2) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.spinBox_scale = QtWidgets.QSpinBox(self.groupBox) self.spinBox_scale.setMinimumSize(QtCore.QSize(0, 0)) self.spinBox_scale.setMaximum(1000000) self.spinBox_scale.setSingleStep(100) self.spinBox_scale.setProperty("value", 2000) self.spinBox_scale.setObjectName("spinBox_scale") self.horizontalLayout_3.addWidget(self.spinBox_scale) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem) self.verticalLayout_3.addLayout(self.horizontalLayout_3) self.checkBox_Frame = QtWidgets.QCheckBox(self.groupBox) self.checkBox_Frame.setChecked(False) self.checkBox_Frame.setObjectName("checkBox_Frame") self.verticalLayout_3.addWidget(self.checkBox_Frame) self.horizontalLayout_4.addLayout(self.verticalLayout_3) self.groupBox_2 = QtWidgets.QGroupBox(self.groupBox) self.groupBox_2.setObjectName("groupBox_2") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_2) self.verticalLayout_2.setObjectName("verticalLayout_2") self.radioButton = QtWidgets.QRadioButton(self.groupBox_2) self.radioButton.setChecked(True) self.radioButton.setObjectName("radioButton") self.verticalLayout_2.addWidget(self.radioButton) self.radioButton_2 = QtWidgets.QRadioButton(self.groupBox_2) self.radioButton_2.setObjectName("radioButton_2") self.verticalLayout_2.addWidget(self.radioButton_2) self.horizontalLayout_4.addWidget(self.groupBox_2) self.verticalLayout.addWidget(self.groupBox) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.groupBox_6 = QtWidgets.QGroupBox(self.groupBox_userPrint) self.groupBox_6.setFlat(False) self.groupBox_6.setObjectName("groupBox_6") self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.groupBox_6) self.horizontalLayout_9.setContentsMargins(-1, 1, -1, 7) self.horizontalLayout_9.setObjectName("horizontalLayout_9") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.label_6 = QtWidgets.QLabel(self.groupBox_6) self.label_6.setObjectName("label_6") self.gridLayout.addWidget(self.label_6, 0, 0, 1, 1) self.spinBox_Top = QtWidgets.QSpinBox(self.groupBox_6) self.spinBox_Top.setMaximum(500) self.spinBox_Top.setProperty("value", 10) self.spinBox_Top.setObjectName("spinBox_Top") self.gridLayout.addWidget(self.spinBox_Top, 0, 1, 1, 1) self.label_9 = QtWidgets.QLabel(self.groupBox_6) self.label_9.setObjectName("label_9") self.gridLayout.addWidget(self.label_9, 0, 2, 1, 1) self.spinBox_Right = QtWidgets.QSpinBox(self.groupBox_6) self.spinBox_Right.setMaximum(500) self.spinBox_Right.setProperty("value", 10) self.spinBox_Right.setObjectName("spinBox_Right") self.gridLayout.addWidget(self.spinBox_Right, 0, 3, 1, 1) self.label_7 = QtWidgets.QLabel(self.groupBox_6) self.label_7.setObjectName("label_7") self.gridLayout.addWidget(self.label_7, 1, 0, 1, 1) self.spinBox_Left = QtWidgets.QSpinBox(self.groupBox_6) self.spinBox_Left.setMaximum(500) self.spinBox_Left.setProperty("value", 10) self.spinBox_Left.setObjectName("spinBox_Left") self.gridLayout.addWidget(self.spinBox_Left, 1, 1, 1, 1) self.label_10 = QtWidgets.QLabel(self.groupBox_6) self.label_10.setObjectName("label_10") self.gridLayout.addWidget(self.label_10, 1, 2, 1, 1) self.spinBox_Bottom = QtWidgets.QSpinBox(self.groupBox_6) self.spinBox_Bottom.setMaximum(500) self.spinBox_Bottom.setProperty("value", 10) self.spinBox_Bottom.setObjectName("spinBox_Bottom") self.gridLayout.addWidget(self.spinBox_Bottom, 1, 3, 1, 1) self.horizontalLayout_9.addLayout(self.gridLayout) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_9.addItem(spacerItem1) self.horizontalLayout.addWidget(self.groupBox_6) self.verticalLayout.addLayout(self.horizontalLayout) self.groupBox_Legend = QgsCollapsibleGroupBox(self.groupBox_userPrint) self.groupBox_Legend.setMinimumSize(QtCore.QSize(0, 0)) self.groupBox_Legend.setStyleSheet("QgsCollapsibleGroupBoxBasic::title, QgsCollapsibleGroupBox::title { subcontrol-origin: margin; subcontrol-position: top left; margin-left: 20px; margin-right: 5px; left: 0px; top: 2px;}") self.groupBox_Legend.setCheckable(True) self.groupBox_Legend.setChecked(False) self.groupBox_Legend.setCollapsed(False) self.groupBox_Legend.setSaveCheckedState(False) self.groupBox_Legend.setObjectName("groupBox_Legend") self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.groupBox_Legend) self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.verticalLayout_5 = QtWidgets.QVBoxLayout() self.verticalLayout_5.setObjectName("verticalLayout_5") self.radioButton_legenduser = QtWidgets.QRadioButton(self.groupBox_Legend) self.radioButton_legenduser.setChecked(True) self.radioButton_legenduser.setObjectName("radioButton_legenduser") self.verticalLayout_5.addWidget(self.radioButton_legenduser) self.frame_user = QtWidgets.QFrame(self.groupBox_Legend) self.frame_user.setFrameShape(QtWidgets.QFrame.StyledPanel) self.frame_user.setFrameShadow(QtWidgets.QFrame.Raised) self.frame_user.setObjectName("frame_user") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.frame_user) self.verticalLayout_4.setObjectName("verticalLayout_4") self.line_2 = QtWidgets.QFrame(self.frame_user) self.line_2.setFrameShape(QtWidgets.QFrame.HLine) self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_2.setObjectName("line_2") self.verticalLayout_4.addWidget(self.line_2) self.formLayout_3 = QtWidgets.QFormLayout() self.formLayout_3.setObjectName("formLayout_3") self.checkBox_Layer_Header = QtWidgets.QCheckBox(self.frame_user) self.checkBox_Layer_Header.setObjectName("checkBox_Layer_Header") self.formLayout_3.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.checkBox_Layer_Header) self.spinBox = QtWidgets.QSpinBox(self.frame_user) self.spinBox.setMaximum(200) self.spinBox.setProperty("value", 70) self.spinBox.setObjectName("spinBox") self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.spinBox) self.label_5 = QtWidgets.QLabel(self.frame_user) self.label_5.setObjectName("label_5") self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_5) self.verticalLayout_4.addLayout(self.formLayout_3) self.verticalLayout_5.addWidget(self.frame_user) self.horizontalLayout_5.addLayout(self.verticalLayout_5) self.line = QtWidgets.QFrame(self.groupBox_Legend) self.line.setFrameShape(QtWidgets.QFrame.VLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.horizontalLayout_5.addWidget(self.line) self.verticalLayout_8 = QtWidgets.QVBoxLayout() self.verticalLayout_8.setObjectName("verticalLayout_8") self.radioButton_legendauto = QtWidgets.QRadioButton(self.groupBox_Legend) self.radioButton_legendauto.setChecked(False) self.radioButton_legendauto.setObjectName("radioButton_legendauto") self.verticalLayout_8.addWidget(self.radioButton_legendauto) spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_8.addItem(spacerItem2) self.horizontalLayout_5.addLayout(self.verticalLayout_8) spacerItem3 = QtWidgets.QSpacerItem(87, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem3) self.verticalLayout.addWidget(self.groupBox_Legend) self.verticalLayout_6.addWidget(self.groupBox_userPrint) spacerItem4 = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_6.addItem(spacerItem4) self.horizontalLayout_8 = QtWidgets.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/plugins/_PrintTools/comp_print/icons/about.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_8.addItem(spacerItem5) self.button_box = QtWidgets.QDialogButtonBox(PrintFragmentDialogBase) self.button_box.setOrientation(QtCore.Qt.Horizontal) self.button_box.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) self.button_box.setObjectName("button_box") self.horizontalLayout_8.addWidget(self.button_box) self.verticalLayout_6.addLayout(self.horizontalLayout_8) font = QtGui.QFont() font.setFamily("MS Shell Dlg 2") font.setPointSize(7) font.setItalic(True) self.retranslateUi(PrintFragmentDialogBase) self.button_box.accepted.connect(PrintFragmentDialogBase.accept) self.button_box.rejected.connect(PrintFragmentDialogBase.reject) self.radioButton_legenduser.toggled['bool'].connect(self.frame_user.setEnabled) self.radio_userPrint.toggled['bool'].connect(self.groupBox_userPrint.setEnabled) self.radio_shablonPrint.toggled['bool'].connect(self.groupBox_ShablonPrint.setEnabled) QtCore.QMetaObject.connectSlotsByName(PrintFragmentDialogBase) PrintFragmentDialogBase.setTabOrder(self.groupBox_ShablonPrint, self.comboBox_3) PrintFragmentDialogBase.setTabOrder(self.comboBox_3, self.comboBox) PrintFragmentDialogBase.setTabOrder(self.comboBox, self.comboBox_2) PrintFragmentDialogBase.setTabOrder(self.comboBox_2, self.lineEdit_2) PrintFragmentDialogBase.setTabOrder(self.lineEdit_2, self.lineEdit_3) PrintFragmentDialogBase.setTabOrder(self.lineEdit_3, self.radioButton) PrintFragmentDialogBase.setTabOrder(self.radioButton, self.radioButton_2) PrintFragmentDialogBase.setTabOrder(self.radioButton_2, self.spinBox) def retranslateUi(self, PrintFragmentDialogBase): _translate = QtCore.QCoreApplication.translate PrintFragmentDialogBase.setWindowTitle(_translate("PrintFragmentDialogBase", "Печать фрагмента карты")) self.radio_shablonPrint.setText(_translate("PrintFragmentDialogBase", "Печать из шаблона")) self.radio_userPrint.setText(_translate("PrintFragmentDialogBase", "Ручные настройки печати")) self.groupBox_Headers.setTitle(_translate("PrintFragmentDialogBase", "Заголовки")) self.label_12.setText(_translate("PrintFragmentDialogBase", "Шаблон")) self.comboBox.setToolTip(_translate("PrintFragmentDialogBase", "Предустановленные заголовки при необходимости")) self.label_11.setText(_translate("PrintFragmentDialogBase", "Заголовок")) self.lineEdit_4.setToolTip(_translate("PrintFragmentDialogBase", "Текст заголовка при необходимости")) self.label_4.setText(_translate("PrintFragmentDialogBase", "Подзаголовок")) self.lineEdit_5.setToolTip(_translate("PrintFragmentDialogBase", "Текст подзаголовка при необходимости")) self.groupBox.setTitle(_translate("PrintFragmentDialogBase", "Формат листа")) self.comboBox_2.setToolTip(_translate("PrintFragmentDialogBase", "Размер листа бумаги")) self.label_3.setText(_translate("PrintFragmentDialogBase", "х")) self.spinBox_scale.setPrefix(_translate("PrintFragmentDialogBase", "Масштаб: ")) self.checkBox_Frame.setToolTip(_translate("PrintFragmentDialogBase", "Отдельная рамка в виде прозрачного прямоугольника вместо встроенной рамки карты. Позволяет в макете наносить маску под рамкой.")) self.checkBox_Frame.setText(_translate("PrintFragmentDialogBase", "Отдельная рамка")) self.groupBox_2.setTitle(_translate("PrintFragmentDialogBase", "Ориентация бумаги")) self.radioButton.setText(_translate("PrintFragmentDialogBase", "Вертикальная")) self.radioButton_2.setText(_translate("PrintFragmentDialogBase", "Горизонтальная")) self.groupBox_6.setTitle(_translate("PrintFragmentDialogBase", "Поля")) self.label_6.setText(_translate("PrintFragmentDialogBase", "Верхнее")) self.label_9.setText(_translate("PrintFragmentDialogBase", "Правое")) self.label_7.setText(_translate("PrintFragmentDialogBase", "Левое")) self.label_10.setText(_translate("PrintFragmentDialogBase", "Нижнее")) self.groupBox_Legend.setTitle(_translate("PrintFragmentDialogBase", "Легенда")) self.radioButton_legenduser.setToolTip(_translate("PrintFragmentDialogBase", "Легенда, разбитая на отдельные элементы по слоям.")) self.radioButton_legenduser.setText(_translate("PrintFragmentDialogBase", "Пользовательская")) self.checkBox_Layer_Header.setText(_translate("PrintFragmentDialogBase", "Подгруппы")) self.spinBox.setToolTip(_translate("PrintFragmentDialogBase", "Размер места, отведенного под легенду, внизу листа.")) self.label_5.setText(_translate("PrintFragmentDialogBase", "Размер легенды (мм)")) self.radioButton_legendauto.setToolTip(_translate("PrintFragmentDialogBase", "Встроенная легенда как один элемент макета.")) self.radioButton_legendauto.setText(_translate("PrintFragmentDialogBase", "QGIS"))
new_dialog.resize(200, 100) scroll_area = QScrollArea(new_dialog) scroll_area.setFrameShape(QFrame.NoFrame) scroll_area.setFrameShadow(QFrame.Plain) scroll_area.setWidgetResizable(True) scroll_area.setGeometry(QRect(10, 20, 170, 70)) scrollAreaWidgetContents = QWidget() scrollAreaWidgetContents.setGeometry(QRect(0, 0, 170, 70)) vertical_layout = QVBoxLayout(scrollAreaWidgetContents) collapsible_group_box = QgsCollapsibleGroupBox(scrollAreaWidgetContents) collapsible_group_box.setTitle('Collapsible') sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( collapsible_group_box.sizePolicy().hasHeightForWidth()) collapsible_group_box.setSizePolicy(sizePolicy) collapsible_group_box.setChecked(False) vbox_layout = QVBoxLayout(collapsible_group_box) line_edit = QLineEdit(collapsible_group_box) line_edit.setGeometry(QRect(10, 20, 110, 30)) vertical_layout.addWidget(collapsible_group_box) scroll_area.setWidget(scrollAreaWidgetContents) new_dialog.show()