class Ui_AnimalMovementAnalysisDialogBase(object): def setupUi(self, AnimalMovementAnalysisDialogBase): AnimalMovementAnalysisDialogBase.setObjectName("AnimalMovementAnalysisDialogBase") AnimalMovementAnalysisDialogBase.resize(400, 215) self.button_box = QtWidgets.QDialogButtonBox(AnimalMovementAnalysisDialogBase) self.button_box.setGeometry(QtCore.QRect(40, 140, 341, 32)) self.button_box.setOrientation(QtCore.Qt.Horizontal) self.button_box.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) self.button_box.setObjectName("button_box") self.label = QtWidgets.QLabel(AnimalMovementAnalysisDialogBase) self.label.setGeometry(QtCore.QRect(20, 40, 181, 21)) font = QtGui.QFont() font.setPointSize(10) self.label.setFont(font) self.label.setObjectName("label") self.mQgsFileWidget1 = QgsFileWidget(AnimalMovementAnalysisDialogBase) self.mQgsFileWidget1.setGeometry(QtCore.QRect(20, 80, 361, 27)) self.mQgsFileWidget1.setObjectName("mQgsFileWidget1") self.retranslateUi(AnimalMovementAnalysisDialogBase) self.button_box.accepted.connect(AnimalMovementAnalysisDialogBase.accept) self.button_box.rejected.connect(AnimalMovementAnalysisDialogBase.reject) QtCore.QMetaObject.connectSlotsByName(AnimalMovementAnalysisDialogBase) def retranslateUi(self, AnimalMovementAnalysisDialogBase): _translate = QtCore.QCoreApplication.translate AnimalMovementAnalysisDialogBase.setWindowTitle(_translate("AnimalMovementAnalysisDialogBase", "Animal Movement Analysis")) self.label.setText(_translate("AnimalMovementAnalysisDialogBase", "Select input shapefile"))
class Ui_hcmgis_lec_form(object): def setupUi(self, hcmgis_lec_form): hcmgis_lec_form.setObjectName("hcmgis_lec_form") hcmgis_lec_form.setWindowModality(QtCore.Qt.ApplicationModal) hcmgis_lec_form.setEnabled(True) hcmgis_lec_form.resize(487, 325) hcmgis_lec_form.setMouseTracking(False) self.verticalLayout = QtWidgets.QVBoxLayout(hcmgis_lec_form) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.LblOutput_2 = QtWidgets.QLabel(hcmgis_lec_form) self.LblOutput_2.setObjectName("LblOutput_2") self.gridLayout.addWidget(self.LblOutput_2, 2, 0, 1, 2) self.status = QtWidgets.QProgressBar(hcmgis_lec_form) self.status.setProperty("value", 24) self.status.setObjectName("status") self.gridLayout.addWidget(self.status, 10, 0, 1, 2) self.LblInput = QtWidgets.QLabel(hcmgis_lec_form) self.LblInput.setObjectName("LblInput") self.gridLayout.addWidget(self.LblInput, 0, 0, 1, 2) self.CboField = QgsFieldComboBox(hcmgis_lec_form) self.CboField.setObjectName("CboField") self.gridLayout.addWidget(self.CboField, 3, 0, 1, 2) self.LblStatus = QtWidgets.QLabel(hcmgis_lec_form) self.LblStatus.setText("") self.LblStatus.setObjectName("LblStatus") self.gridLayout.addWidget(self.LblStatus, 8, 0, 1, 2) self.LblOutput = QtWidgets.QLabel(hcmgis_lec_form) self.LblOutput.setObjectName("LblOutput") self.gridLayout.addWidget(self.LblOutput, 4, 0, 1, 2) self.CboInput = QgsMapLayerComboBox(hcmgis_lec_form) self.CboInput.setObjectName("CboInput") self.gridLayout.addWidget(self.CboInput, 1, 0, 1, 2) self.output_file_name = QgsFileWidget(hcmgis_lec_form) self.output_file_name.setObjectName("output_file_name") self.gridLayout.addWidget(self.output_file_name, 5, 0, 1, 1) self.verticalLayout.addLayout(self.gridLayout) self.BtnApplyClose = QtWidgets.QDialogButtonBox(hcmgis_lec_form) self.BtnApplyClose.setStandardButtons(QtWidgets.QDialogButtonBox.Apply|QtWidgets.QDialogButtonBox.Close) self.BtnApplyClose.setObjectName("BtnApplyClose") self.verticalLayout.addWidget(self.BtnApplyClose) self.retranslateUi(hcmgis_lec_form) self.BtnApplyClose.accepted.connect(hcmgis_lec_form.accept) self.BtnApplyClose.rejected.connect(hcmgis_lec_form.reject) QtCore.QMetaObject.connectSlotsByName(hcmgis_lec_form) def retranslateUi(self, hcmgis_lec_form): _translate = QtCore.QCoreApplication.translate hcmgis_lec_form.setWindowTitle(_translate("hcmgis_lec_form", "Largest Empty Circle")) self.LblOutput_2.setText(_translate("hcmgis_lec_form", "Unique field")) self.LblInput.setText(_translate("hcmgis_lec_form", "Input Point Layer")) self.LblOutput.setText(_translate("hcmgis_lec_form", "Output"))
class Ui_ImportGtfsBase(object): def setupUi(self, ImportGtfsBase): ImportGtfsBase.setObjectName("ImportGtfsBase") ImportGtfsBase.resize(459, 106) self.pushButton_cancel = QtWidgets.QPushButton(ImportGtfsBase) self.pushButton_cancel.setGeometry(QtCore.QRect(340, 60, 81, 31)) font = QtGui.QFont() font.setPointSize(11) self.pushButton_cancel.setFont(font) self.pushButton_cancel.setObjectName("pushButton_cancel") self.pushButton_run = QtWidgets.QPushButton(ImportGtfsBase) self.pushButton_run.setGeometry(QtCore.QRect(240, 60, 81, 31)) font = QtGui.QFont() font.setPointSize(11) self.pushButton_run.setFont(font) self.pushButton_run.setObjectName("pushButton_run") self.mQgsFileWidget_input = QgsFileWidget(ImportGtfsBase) self.mQgsFileWidget_input.setGeometry(QtCore.QRect(120, 16, 301, 31)) self.mQgsFileWidget_input.setObjectName("mQgsFileWidget_input") self.label = QtWidgets.QLabel(ImportGtfsBase) self.label.setGeometry(QtCore.QRect(30, 20, 71, 21)) font = QtGui.QFont() font.setPointSize(11) self.label.setFont(font) self.label.setObjectName("label") self.retranslateUi(ImportGtfsBase) QtCore.QMetaObject.connectSlotsByName(ImportGtfsBase) def retranslateUi(self, ImportGtfsBase): _translate = QtCore.QCoreApplication.translate ImportGtfsBase.setWindowTitle( _translate("ImportGtfsBase", "GTFS Translater")) self.pushButton_cancel.setText(_translate("ImportGtfsBase", "Cancel")) self.pushButton_run.setText(_translate("ImportGtfsBase", "OK")) self.label.setText(_translate("ImportGtfsBase", "GTFS zip"))
class Ui_hcmgis_medialaxis_form(object): def setupUi(self, hcmgis_medialaxis_form): hcmgis_medialaxis_form.setObjectName("hcmgis_medialaxis_form") hcmgis_medialaxis_form.setWindowModality(QtCore.Qt.ApplicationModal) hcmgis_medialaxis_form.setEnabled(True) hcmgis_medialaxis_form.resize(479, 343) hcmgis_medialaxis_form.setMouseTracking(False) self.verticalLayout = QtWidgets.QVBoxLayout(hcmgis_medialaxis_form) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.LblStatus = QtWidgets.QLabel(hcmgis_medialaxis_form) self.LblStatus.setText("") self.LblStatus.setObjectName("LblStatus") self.gridLayout.addWidget(self.LblStatus, 10, 0, 1, 2) self.label = QtWidgets.QLabel(hcmgis_medialaxis_form) font = QtGui.QFont() font.setBold(False) font.setItalic(True) font.setWeight(50) font.setKerning(False) self.label.setFont(font) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 6, 0, 1, 2) self.LblInput = QtWidgets.QLabel(hcmgis_medialaxis_form) self.LblInput.setObjectName("LblInput") self.gridLayout.addWidget(self.LblInput, 0, 0, 1, 2) self.LblInput_2 = QtWidgets.QLabel(hcmgis_medialaxis_form) self.LblInput_2.setObjectName("LblInput_2") self.gridLayout.addWidget(self.LblInput_2, 4, 0, 1, 2) self.LblInput_3 = QtWidgets.QLabel(hcmgis_medialaxis_form) self.LblInput_3.setObjectName("LblInput_3") self.gridLayout.addWidget(self.LblInput_3, 2, 0, 1, 2) self.LblOutput = QtWidgets.QLabel(hcmgis_medialaxis_form) self.LblOutput.setObjectName("LblOutput") self.gridLayout.addWidget(self.LblOutput, 7, 0, 1, 2) self.status = QtWidgets.QProgressBar(hcmgis_medialaxis_form) self.status.setProperty("value", 24) self.status.setObjectName("status") self.gridLayout.addWidget(self.status, 11, 0, 1, 2) self.CboField = QgsFieldComboBox(hcmgis_medialaxis_form) self.CboField.setObjectName("CboField") self.gridLayout.addWidget(self.CboField, 3, 0, 1, 2) self.CboInput = QgsMapLayerComboBox(hcmgis_medialaxis_form) self.CboInput.setObjectName("CboInput") self.gridLayout.addWidget(self.CboInput, 1, 0, 1, 2) self.output_file_name = QgsFileWidget(hcmgis_medialaxis_form) self.output_file_name.setObjectName("output_file_name") self.gridLayout.addWidget(self.output_file_name, 8, 0, 1, 1) self.spinBox = QgsDoubleSpinBox(hcmgis_medialaxis_form) self.spinBox.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.spinBox.setDecimals(1) self.spinBox.setMinimum(0.1) self.spinBox.setMaximum(10.0) self.spinBox.setSingleStep(0.1) self.spinBox.setProperty("value", 0.5) self.spinBox.setObjectName("spinBox") self.gridLayout.addWidget(self.spinBox, 5, 0, 1, 1) self.verticalLayout.addLayout(self.gridLayout) self.BtnApplyClose = QtWidgets.QDialogButtonBox(hcmgis_medialaxis_form) self.BtnApplyClose.setStandardButtons( QtWidgets.QDialogButtonBox.Apply | QtWidgets.QDialogButtonBox.Close) self.BtnApplyClose.setObjectName("BtnApplyClose") self.verticalLayout.addWidget(self.BtnApplyClose) self.retranslateUi(hcmgis_medialaxis_form) self.BtnApplyClose.accepted.connect(hcmgis_medialaxis_form.accept) self.BtnApplyClose.rejected.connect(hcmgis_medialaxis_form.reject) QtCore.QMetaObject.connectSlotsByName(hcmgis_medialaxis_form) def retranslateUi(self, hcmgis_medialaxis_form): _translate = QtCore.QCoreApplication.translate hcmgis_medialaxis_form.setWindowTitle( _translate("hcmgis_medialaxis_form", "Skeleton/Medial Axis")) self.label.setText( _translate("hcmgis_medialaxis_form", "(Notice: Output should be refined after running)")) self.LblInput.setText( _translate("hcmgis_medialaxis_form", "Input Polygon (1..100 selected features limit!)")) self.LblInput_2.setText( _translate("hcmgis_medialaxis_form", "Density (m)")) self.LblInput_3.setText( _translate("hcmgis_medialaxis_form", "Unique field")) self.LblOutput.setText(_translate("hcmgis_medialaxis_form", "Output"))
class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(500, 152) font = QtGui.QFont() font.setKerning(True) Dialog.setFont(font) self.gridLayout = QtWidgets.QGridLayout(Dialog) self.gridLayout.setObjectName("gridLayout") self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.title_lbl = QtWidgets.QLabel(Dialog) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.title_lbl.setFont(font) self.title_lbl.setObjectName("title_lbl") self.verticalLayout.addWidget(self.title_lbl) self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") self.chooseXML_widget = QgsFileWidget(Dialog) self.chooseXML_widget.setEnabled(False) self.chooseXML_widget.setObjectName("chooseXML_widget") self.gridLayout_2.addWidget(self.chooseXML_widget, 2, 2, 1, 1) self.chooseGMLset_widget = QgsFileWidget(Dialog) self.chooseGMLset_widget.setEnabled(False) self.chooseGMLset_widget.setObjectName("chooseGMLset_widget") self.gridLayout_2.addWidget(self.chooseGMLset_widget, 0, 2, 1, 1) self.validateGMLset_radioButton = QtWidgets.QRadioButton(Dialog) self.validateGMLset_radioButton.setObjectName( "validateGMLset_radioButton") self.gridLayout_2.addWidget(self.validateGMLset_radioButton, 0, 0, 1, 1) self.validateXML_radioButton = QtWidgets.QRadioButton(Dialog) self.validateXML_radioButton.setObjectName("validateXML_radioButton") self.gridLayout_2.addWidget(self.validateXML_radioButton, 2, 0, 1, 1) self.validateGMLapp_radioButton = QtWidgets.QRadioButton(Dialog) self.validateGMLapp_radioButton.setObjectName( "validateGMLapp_radioButton") self.gridLayout_2.addWidget(self.validateGMLapp_radioButton, 1, 0, 1, 1) self.chooseGMLapp_widget = QgsFileWidget(Dialog) self.chooseGMLapp_widget.setEnabled(False) self.chooseGMLapp_widget.setObjectName("chooseGMLapp_widget") self.gridLayout_2.addWidget(self.chooseGMLapp_widget, 1, 2, 1, 1) self.verticalLayout.addLayout(self.gridLayout_2) self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem) self.validate_btn = QtWidgets.QPushButton(Dialog) self.validate_btn.setObjectName("validate_btn") self.horizontalLayout_5.addWidget(self.validate_btn) self.close_btn = QtWidgets.QPushButton(Dialog) self.close_btn.setObjectName("close_btn") self.horizontalLayout_5.addWidget(self.close_btn) self.verticalLayout.addLayout(self.horizontalLayout_5) self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1) self.retranslateUi(Dialog) QtCore.QMetaObject.connectSlotsByName(Dialog) def retranslateUi(self, Dialog): _translate = QtCore.QCoreApplication.translate Dialog.setWindowTitle(_translate("Dialog", "Dialog")) self.title_lbl.setText( _translate("Dialog", "Walidacja plików GML / XML")) self.validateGMLset_radioButton.setText( _translate("Dialog", "Walidacja GML dla zbioru")) self.validateXML_radioButton.setText( _translate("Dialog", "Walidacja XML (metadane)")) self.validateGMLapp_radioButton.setText( _translate("Dialog", "Walidacja GML dla APP")) self.validate_btn.setText(_translate("Dialog", "Waliduj")) self.close_btn.setToolTip( _translate( "Dialog", "<html><head/><body><p>Przycisk <span style=\" font-style:italic;\">Zakończ</span> zakończy działanie wtyczki</p></body></html>" )) self.close_btn.setText(_translate("Dialog", "Zakończ"))
class Ui_hcmgis_font_convert_form(object): def setupUi(self, hcmgis_font_convert_form): hcmgis_font_convert_form.setObjectName("hcmgis_font_convert_form") hcmgis_font_convert_form.setWindowModality(QtCore.Qt.ApplicationModal) hcmgis_font_convert_form.setEnabled(True) hcmgis_font_convert_form.resize(387, 327) hcmgis_font_convert_form.setMouseTracking(False) self.verticalLayout = QtWidgets.QVBoxLayout(hcmgis_font_convert_form) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setSizeConstraint( QtWidgets.QLayout.SetDefaultConstraint) self.gridLayout.setObjectName("gridLayout") self.LblInput = QtWidgets.QLabel(hcmgis_font_convert_form) self.LblInput.setObjectName("LblInput") self.gridLayout.addWidget(self.LblInput, 0, 0, 1, 3) self.CboInput = QgsMapLayerComboBox(hcmgis_font_convert_form) self.CboInput.setObjectName("CboInput") self.gridLayout.addWidget(self.CboInput, 1, 0, 1, 3) self.LblDestFont = QtWidgets.QLabel(hcmgis_font_convert_form) self.LblDestFont.setObjectName("LblDestFont") self.gridLayout.addWidget(self.LblDestFont, 2, 1, 1, 2) self.CboOption = QtWidgets.QComboBox(hcmgis_font_convert_form) self.CboOption.setObjectName("CboOption") self.CboOption.addItem("") self.CboOption.setItemText(0, "") self.CboOption.addItem("") self.CboOption.addItem("") self.CboOption.addItem("") self.CboOption.addItem("") self.gridLayout.addWidget(self.CboOption, 5, 0, 1, 1) self.LblOption = QtWidgets.QLabel(hcmgis_font_convert_form) self.LblOption.setObjectName("LblOption") self.gridLayout.addWidget(self.LblOption, 4, 0, 1, 3) self.LblOutput = QtWidgets.QLabel(hcmgis_font_convert_form) self.LblOutput.setObjectName("LblOutput") self.gridLayout.addWidget(self.LblOutput, 6, 0, 1, 3) self.status = QtWidgets.QProgressBar(hcmgis_font_convert_form) self.status.setProperty("value", 24) self.status.setObjectName("status") self.gridLayout.addWidget(self.status, 9, 0, 1, 3) self.CboDestFont = QtWidgets.QComboBox(hcmgis_font_convert_form) self.CboDestFont.setObjectName("CboDestFont") self.CboDestFont.addItem("") self.CboDestFont.setItemText(0, "") self.CboDestFont.addItem("") self.CboDestFont.addItem("") self.CboDestFont.addItem("") self.CboDestFont.addItem("") self.gridLayout.addWidget(self.CboDestFont, 3, 1, 1, 2) self.LblStatus = QtWidgets.QLabel(hcmgis_font_convert_form) self.LblStatus.setText("") self.LblStatus.setObjectName("LblStatus") self.gridLayout.addWidget(self.LblStatus, 8, 0, 1, 3) self.LblSourceFont = QtWidgets.QLabel(hcmgis_font_convert_form) self.LblSourceFont.setObjectName("LblSourceFont") self.gridLayout.addWidget(self.LblSourceFont, 2, 0, 1, 1) self.CboSourceFont = QtWidgets.QComboBox(hcmgis_font_convert_form) self.CboSourceFont.setObjectName("CboSourceFont") self.CboSourceFont.addItem("") self.CboSourceFont.setItemText(0, "") self.CboSourceFont.addItem("") self.CboSourceFont.addItem("") self.CboSourceFont.addItem("") self.gridLayout.addWidget(self.CboSourceFont, 3, 0, 1, 1) self.output_file_name = QgsFileWidget(hcmgis_font_convert_form) self.output_file_name.setObjectName("output_file_name") self.gridLayout.addWidget(self.output_file_name, 7, 0, 1, 3) self.verticalLayout.addLayout(self.gridLayout) self.BtnApplyClose = QtWidgets.QDialogButtonBox( hcmgis_font_convert_form) self.BtnApplyClose.setStandardButtons( QtWidgets.QDialogButtonBox.Apply | QtWidgets.QDialogButtonBox.Close) self.BtnApplyClose.setObjectName("BtnApplyClose") self.verticalLayout.addWidget(self.BtnApplyClose) self.retranslateUi(hcmgis_font_convert_form) self.BtnApplyClose.accepted.connect(hcmgis_font_convert_form.accept) self.BtnApplyClose.rejected.connect(hcmgis_font_convert_form.reject) QtCore.QMetaObject.connectSlotsByName(hcmgis_font_convert_form) def retranslateUi(self, hcmgis_font_convert_form): _translate = QtCore.QCoreApplication.translate hcmgis_font_convert_form.setWindowTitle( _translate("hcmgis_font_convert_form", "Vietnamese Font Converter")) self.LblInput.setText( _translate("hcmgis_font_convert_form", "Input Layer")) self.LblDestFont.setText( _translate("hcmgis_font_convert_form", "Target Charset")) self.CboOption.setItemText( 1, _translate("hcmgis_font_convert_form", "UPPER CASE (IN HOA)")) self.CboOption.setItemText( 2, _translate("hcmgis_font_convert_form", "lower case (in thường)")) self.CboOption.setItemText( 3, _translate("hcmgis_font_convert_form", "Capitalize (Hoa đầu câu)")) self.CboOption.setItemText( 4, _translate("hcmgis_font_convert_form", "Title (Hoa Mỗi từ)")) self.LblOption.setText( _translate("hcmgis_font_convert_form", "Options")) self.LblOutput.setText(_translate("hcmgis_font_convert_form", "Output")) self.CboDestFont.setItemText( 1, _translate("hcmgis_font_convert_form", "Unicode")) self.CboDestFont.setItemText( 2, _translate("hcmgis_font_convert_form", "TCVN3")) self.CboDestFont.setItemText( 3, _translate("hcmgis_font_convert_form", "VNI-Windows")) self.CboDestFont.setItemText( 4, _translate("hcmgis_font_convert_form", "ANSI (Khong dau)")) self.LblSourceFont.setText( _translate("hcmgis_font_convert_form", "Source Charset")) self.CboSourceFont.setItemText( 1, _translate("hcmgis_font_convert_form", "TCVN3")) self.CboSourceFont.setItemText( 2, _translate("hcmgis_font_convert_form", "Unicode")) self.CboSourceFont.setItemText( 3, _translate("hcmgis_font_convert_form", "VNI-Windows"))
class Ui_MFAM_LoaderDockWidgetBase(object): def setupUi(self, MFAM_LoaderDockWidgetBase): MFAM_LoaderDockWidgetBase.setObjectName("MFAM_LoaderDockWidgetBase") MFAM_LoaderDockWidgetBase.resize(770, 1038) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) MFAM_LoaderDockWidgetBase.setPalette(palette) self.dockWidget = QtWidgets.QWidget() self.dockWidget.setObjectName("dockWidget") self.gridLayout = QtWidgets.QGridLayout(self.dockWidget) self.gridLayout.setObjectName("gridLayout") self.line = QtWidgets.QFrame(self.dockWidget) self.line.setFrameShape(QtWidgets.QFrame.HLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.gridLayout.addWidget(self.line, 15, 2, 1, 1) self.radioButton_2 = QtWidgets.QRadioButton(self.dockWidget) self.radioButton_2.setObjectName("radioButton_2") self.gridLayout.addWidget(self.radioButton_2, 2, 2, 1, 1) self.clear_List = QtWidgets.QPushButton(self.dockWidget) self.clear_List.setObjectName("clear_List") self.gridLayout.addWidget(self.clear_List, 11, 2, 1, 1) self.label_2 = QtWidgets.QLabel(self.dockWidget) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 8, 2, 1, 1) self.line_2 = QtWidgets.QFrame(self.dockWidget) self.line_2.setFrameShape(QtWidgets.QFrame.HLine) self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_2.setObjectName("line_2") self.gridLayout.addWidget(self.line_2, 7, 2, 1, 1) self.listWidget = QtWidgets.QListWidget(self.dockWidget) self.listWidget.setObjectName("listWidget") self.gridLayout.addWidget(self.listWidget, 9, 2, 1, 1) self.outputCheckBox = QtWidgets.QCheckBox(self.dockWidget) self.outputCheckBox.setObjectName("outputCheckBox") self.gridLayout.addWidget(self.outputCheckBox, 18, 2, 1, 1) self.line_3 = QtWidgets.QFrame(self.dockWidget) self.line_3.setFrameShape(QtWidgets.QFrame.HLine) self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_3.setObjectName("line_3") self.gridLayout.addWidget(self.line_3, 12, 2, 1, 1) spacerItem = QtWidgets.QSpacerItem(10, 10, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 9, 0, 1, 1) self.Drone_button = QtWidgets.QRadioButton(self.dockWidget) self.Drone_button.setChecked(True) self.Drone_button.setObjectName("Drone_button") self.gridLayout.addWidget(self.Drone_button, 0, 2, 1, 1) self.outputFileName = QgsFileWidget(self.dockWidget) self.outputFileName.setFileWidgetButtonVisible(False) self.outputFileName.setObjectName("outputFileName") self.gridLayout.addWidget(self.outputFileName, 22, 2, 1, 1) self.load_files = QtWidgets.QPushButton(self.dockWidget) self.load_files.setObjectName("load_files") self.gridLayout.addWidget(self.load_files, 4, 2, 1, 1) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setContentsMargins(-1, 0, -1, -1) self.horizontalLayout.setObjectName("horizontalLayout") self.label_3 = QtWidgets.QLabel(self.dockWidget) self.label_3.setMaximumSize(QtCore.QSize(140, 16777215)) self.label_3.setObjectName("label_3") self.horizontalLayout.addWidget(self.label_3) self.sampleRateSpin = QgsDoubleSpinBox(self.dockWidget) self.sampleRateSpin.setMaximumSize(QtCore.QSize(100, 16777215)) self.sampleRateSpin.setObjectName("sampleRateSpin") self.horizontalLayout.addWidget(self.sampleRateSpin) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem1) self.gridLayout.addLayout(self.horizontalLayout, 14, 2, 1, 1) self.label = QtWidgets.QLabel(self.dockWidget) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 21, 2, 1, 1) self.process_files = QtWidgets.QPushButton(self.dockWidget) self.process_files.setObjectName("process_files") self.gridLayout.addWidget(self.process_files, 13, 2, 1, 1) self.MplWindow = MatplotlibWidget(self.dockWidget) self.MplWindow.setMinimumSize(QtCore.QSize(0, 200)) self.MplWindow.setMaximumSize(QtCore.QSize(16777215, 250)) self.MplWindow.setObjectName("MplWindow") self.gridLayout.addWidget(self.MplWindow, 10, 2, 1, 1) MFAM_LoaderDockWidgetBase.setWidget(self.dockWidget) self.retranslateUi(MFAM_LoaderDockWidgetBase) QtCore.QMetaObject.connectSlotsByName(MFAM_LoaderDockWidgetBase) def retranslateUi(self, MFAM_LoaderDockWidgetBase): _translate = QtCore.QCoreApplication.translate MFAM_LoaderDockWidgetBase.setWindowTitle(_translate("MFAM_LoaderDockWidgetBase", "mfam_loader")) self.radioButton_2.setText(_translate("MFAM_LoaderDockWidgetBase", "Magview MFAM")) self.clear_List.setText(_translate("MFAM_LoaderDockWidgetBase", "Clear List")) self.label_2.setText(_translate("MFAM_LoaderDockWidgetBase", "List of Files for Processing:")) self.outputCheckBox.setText(_translate("MFAM_LoaderDockWidgetBase", "Generate an output file")) self.Drone_button.setText(_translate("MFAM_LoaderDockWidgetBase", "Drone Data")) self.load_files.setText(_translate("MFAM_LoaderDockWidgetBase", "Select MFAM file(s)")) self.label_3.setText(_translate("MFAM_LoaderDockWidgetBase", "Sampling Rate Detected (Hz):")) self.label.setText(_translate("MFAM_LoaderDockWidgetBase", "Output File (*.txt)")) self.process_files.setText(_translate("MFAM_LoaderDockWidgetBase", "Process File(s)"))
class Ui_hcmgis_centerline_form(object): def setupUi(self, hcmgis_centerline_form): hcmgis_centerline_form.setObjectName("hcmgis_centerline_form") hcmgis_centerline_form.setWindowModality(QtCore.Qt.ApplicationModal) hcmgis_centerline_form.setEnabled(True) hcmgis_centerline_form.resize(467, 394) hcmgis_centerline_form.setMouseTracking(False) self.verticalLayout = QtWidgets.QVBoxLayout(hcmgis_centerline_form) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.spinBox = QgsDoubleSpinBox(hcmgis_centerline_form) self.spinBox.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.spinBox.setDecimals(1) self.spinBox.setMinimum(0.1) self.spinBox.setMaximum(10.0) self.spinBox.setSingleStep(0.1) self.spinBox.setProperty("value", 0.5) self.spinBox.setObjectName("spinBox") self.gridLayout.addWidget(self.spinBox, 3, 0, 1, 2) self.lblsurround = QtWidgets.QLabel(hcmgis_centerline_form) self.lblsurround.setObjectName("lblsurround") self.gridLayout.addWidget(self.lblsurround, 5, 0, 1, 2) self.output_file_name = QgsFileWidget(hcmgis_centerline_form) self.output_file_name.setObjectName("output_file_name") self.gridLayout.addWidget(self.output_file_name, 9, 0, 1, 2) self.LblInput = QtWidgets.QLabel(hcmgis_centerline_form) self.LblInput.setObjectName("LblInput") self.gridLayout.addWidget(self.LblInput, 0, 0, 1, 2) self.chksurround = QtWidgets.QCheckBox(hcmgis_centerline_form) self.chksurround.setChecked(False) self.chksurround.setObjectName("chksurround") self.gridLayout.addWidget(self.chksurround, 4, 0, 1, 2) self.status = QtWidgets.QProgressBar(hcmgis_centerline_form) self.status.setProperty("value", 24) self.status.setObjectName("status") self.gridLayout.addWidget(self.status, 11, 0, 1, 2) self.CboInput = QgsMapLayerComboBox(hcmgis_centerline_form) self.CboInput.setObjectName("CboInput") self.gridLayout.addWidget(self.CboInput, 1, 0, 1, 2) self.LblOutput = QtWidgets.QLabel(hcmgis_centerline_form) self.LblOutput.setObjectName("LblOutput") self.gridLayout.addWidget(self.LblOutput, 8, 0, 1, 2) self.label = QtWidgets.QLabel(hcmgis_centerline_form) font = QtGui.QFont() font.setBold(False) font.setItalic(True) font.setWeight(50) font.setKerning(False) self.label.setFont(font) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 7, 0, 1, 2) self.LblStatus = QtWidgets.QLabel(hcmgis_centerline_form) self.LblStatus.setText("") self.LblStatus.setObjectName("LblStatus") self.gridLayout.addWidget(self.LblStatus, 10, 0, 1, 2) self.LblInput_2 = QtWidgets.QLabel(hcmgis_centerline_form) self.LblInput_2.setObjectName("LblInput_2") self.gridLayout.addWidget(self.LblInput_2, 2, 0, 1, 2) self.distance = QgsDoubleSpinBox(hcmgis_centerline_form) self.distance.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.distance.setDecimals(1) self.distance.setMinimum(0.1) self.distance.setSingleStep(0.1) self.distance.setProperty("value", 1.0) self.distance.setObjectName("distance") self.gridLayout.addWidget(self.distance, 6, 0, 1, 2) self.verticalLayout.addLayout(self.gridLayout) self.BtnApplyClose = QtWidgets.QDialogButtonBox(hcmgis_centerline_form) self.BtnApplyClose.setStandardButtons( QtWidgets.QDialogButtonBox.Apply | QtWidgets.QDialogButtonBox.Close) self.BtnApplyClose.setObjectName("BtnApplyClose") self.verticalLayout.addWidget(self.BtnApplyClose) self.retranslateUi(hcmgis_centerline_form) self.BtnApplyClose.accepted.connect(hcmgis_centerline_form.accept) self.BtnApplyClose.rejected.connect(hcmgis_centerline_form.reject) QtCore.QMetaObject.connectSlotsByName(hcmgis_centerline_form) def retranslateUi(self, hcmgis_centerline_form): _translate = QtCore.QCoreApplication.translate hcmgis_centerline_form.setWindowTitle( _translate("hcmgis_centerline_form", "Centerline in the gaps between polygons")) self.lblsurround.setText( _translate("hcmgis_centerline_form", "Distance to the bounding box of polygon (m)")) self.LblInput.setText( _translate("hcmgis_centerline_form", "Input Polygon (Ex: Block of Buildings)")) self.chksurround.setText( _translate("hcmgis_centerline_form", "Also create line surrounding the polygon")) self.LblOutput.setText(_translate("hcmgis_centerline_form", "Output")) self.label.setText( _translate("hcmgis_centerline_form", "(Notice: Output should be refined after running)")) self.LblInput_2.setText( _translate("hcmgis_centerline_form", "Density (m)"))
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName("Form") Form.resize(449, 649) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(Form.sizePolicy().hasHeightForWidth()) Form.setSizePolicy(sizePolicy) Form.setLayoutDirection(QtCore.Qt.LeftToRight) Form.setAutoFillBackground(True) self.gridLayout_5 = QtWidgets.QGridLayout(Form) self.gridLayout_5.setObjectName("gridLayout_5") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setSizeConstraint(QtWidgets.QLayout.SetNoConstraint) self.gridLayout.setObjectName("gridLayout") self.tabWidget = QtWidgets.QTabWidget(Form) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setAccessibleName("") self.tab.setAccessibleDescription("") self.tab.setObjectName("tab") self.verticalLayout = QtWidgets.QVBoxLayout(self.tab) self.verticalLayout.setObjectName("verticalLayout") self.groupBox_2 = QtWidgets.QGroupBox(self.tab) self.groupBox_2.setObjectName("groupBox_2") self.gridLayout_6 = QtWidgets.QGridLayout(self.groupBox_2) self.gridLayout_6.setObjectName("gridLayout_6") self.layersTree = QtWidgets.QTreeWidget(self.groupBox_2) self.layersTree.setObjectName("layersTree") self.layersTree.headerItem().setText(0, "1") self.gridLayout_6.addWidget(self.layersTree, 1, 0, 1, 1) self.verticalLayout.addWidget(self.groupBox_2) self.frame = QtWidgets.QFrame(self.tab) self.frame.setMinimumSize(QtCore.QSize(100, 45)) self.frame.setMaximumSize(QtCore.QSize(16777215, 45)) self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel) self.frame.setFrameShadow(QtWidgets.QFrame.Raised) self.frame.setObjectName("frame") self.gridLayout_12 = QtWidgets.QGridLayout(self.frame) self.gridLayout_12.setObjectName("gridLayout_12") spacerItem = QtWidgets.QSpacerItem(201, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_12.addItem(spacerItem, 0, 0, 1, 1) self.pushButton_2 = QtWidgets.QPushButton(self.frame) self.pushButton_2.setObjectName("pushButton_2") self.gridLayout_12.addWidget(self.pushButton_2, 0, 1, 1, 1) self.pushButton_5 = QtWidgets.QPushButton(self.frame) self.pushButton_5.setObjectName("pushButton_5") self.gridLayout_12.addWidget(self.pushButton_5, 0, 2, 1, 1) self.verticalLayout.addWidget(self.frame) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtWidgets.QWidget() self.tab_2.setObjectName("tab_2") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.tab_2) self.verticalLayout_3.setObjectName("verticalLayout_3") self.groupBox_3 = QtWidgets.QGroupBox(self.tab_2) self.groupBox_3.setObjectName("groupBox_3") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_3) self.verticalLayout_2.setObjectName("verticalLayout_2") self.ghUser = QtWidgets.QLineEdit(self.groupBox_3) self.ghUser.setMinimumSize(QtCore.QSize(200, 20)) self.ghUser.setInputMethodHints(QtCore.Qt.ImhNone) self.ghUser.setInputMask("") self.ghUser.setObjectName("ghUser") self.verticalLayout_2.addWidget(self.ghUser) self.ghPass = QgsPasswordLineEdit(self.groupBox_3) self.ghPass.setMinimumSize(QtCore.QSize(200, 20)) self.ghPass.setReadOnly(False) self.ghPass.setObjectName("ghPass") self.verticalLayout_2.addWidget(self.ghPass) self.frame_2 = QtWidgets.QFrame(self.groupBox_3) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.frame_2.sizePolicy().hasHeightForWidth()) self.frame_2.setSizePolicy(sizePolicy) self.frame_2.setMinimumSize(QtCore.QSize(200, 50)) self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel) self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised) self.frame_2.setObjectName("frame_2") self.pushButton_3 = QtWidgets.QPushButton(self.frame_2) self.pushButton_3.setGeometry(QtCore.QRect(120, 10, 75, 23)) self.pushButton_3.setObjectName("pushButton_3") self.verticalLayout_2.addWidget(self.frame_2) self.verticalLayout_3.addWidget(self.groupBox_3) self.groupBox = QtWidgets.QGroupBox(self.tab_2) self.groupBox.setObjectName("groupBox") self.gridLayout_10 = QtWidgets.QGridLayout(self.groupBox) self.gridLayout_10.setObjectName("gridLayout_10") self.frame_6 = QtWidgets.QFrame(self.groupBox) self.frame_6.setFrameShape(QtWidgets.QFrame.StyledPanel) self.frame_6.setFrameShadow(QtWidgets.QFrame.Raised) self.frame_6.setObjectName("frame_6") self.gridLayout_9 = QtWidgets.QGridLayout(self.frame_6) self.gridLayout_9.setObjectName("gridLayout_9") self.mQgsFileWidget_2 = QgsFileWidget(self.frame_6) self.mQgsFileWidget_2.setObjectName("mQgsFileWidget_2") self.gridLayout_9.addWidget(self.mQgsFileWidget_2, 0, 1, 1, 1) self.label_3 = QtWidgets.QLabel(self.frame_6) self.label_3.setObjectName("label_3") self.gridLayout_9.addWidget(self.label_3, 0, 0, 1, 1) self.gridLayout_10.addWidget(self.frame_6, 2, 0, 1, 1) self.frame_5 = QtWidgets.QFrame(self.groupBox) self.frame_5.setFrameShape(QtWidgets.QFrame.StyledPanel) self.frame_5.setFrameShadow(QtWidgets.QFrame.Raised) self.frame_5.setObjectName("frame_5") self.gridLayout_8 = QtWidgets.QGridLayout(self.frame_5) self.gridLayout_8.setObjectName("gridLayout_8") self.pushButton = QtWidgets.QPushButton(self.frame_5) self.pushButton.setObjectName("pushButton") self.gridLayout_8.addWidget(self.pushButton, 0, 2, 1, 1) self.label_2 = QtWidgets.QLabel(self.frame_5) self.label_2.setObjectName("label_2") self.gridLayout_8.addWidget(self.label_2, 0, 0, 1, 1) self.mQgsFileWidget = QgsFileWidget(self.frame_5) self.mQgsFileWidget.setObjectName("mQgsFileWidget") self.gridLayout_8.addWidget(self.mQgsFileWidget, 0, 1, 1, 1) self.gridLayout_10.addWidget(self.frame_5, 1, 0, 1, 1) self.frame_4 = QtWidgets.QFrame(self.groupBox) self.frame_4.setFrameShape(QtWidgets.QFrame.StyledPanel) self.frame_4.setFrameShadow(QtWidgets.QFrame.Raised) self.frame_4.setObjectName("frame_4") self.gridLayout_7 = QtWidgets.QGridLayout(self.frame_4) self.gridLayout_7.setObjectName("gridLayout_7") self.label = QtWidgets.QLabel(self.frame_4) self.label.setObjectName("label") self.gridLayout_7.addWidget(self.label, 0, 0, 1, 1) self.spinBox = QtWidgets.QSpinBox(self.frame_4) self.spinBox.setMaximum(13) self.spinBox.setProperty("value", 7) self.spinBox.setObjectName("spinBox") self.gridLayout_7.addWidget(self.spinBox, 0, 1, 1, 1) self.gridLayout_10.addWidget(self.frame_4, 0, 0, 1, 1) self.verticalLayout_3.addWidget(self.groupBox) self.groupBox_4 = QtWidgets.QGroupBox(self.tab_2) self.groupBox_4.setObjectName("groupBox_4") self.gridLayout_11 = QtWidgets.QGridLayout(self.groupBox_4) self.gridLayout_11.setObjectName("gridLayout_11") self.lineEdit = QtWidgets.QLineEdit(self.groupBox_4) self.lineEdit.setMinimumSize(QtCore.QSize(200, 20)) self.lineEdit.setObjectName("lineEdit") self.gridLayout_11.addWidget(self.lineEdit, 0, 0, 1, 1) self.verticalLayout_3.addWidget(self.groupBox_4) self.frame_3 = QtWidgets.QFrame(self.tab_2) self.frame_3.setMinimumSize(QtCore.QSize(100, 30)) self.frame_3.setMaximumSize(QtCore.QSize(16777215, 30)) self.frame_3.setFrameShape(QtWidgets.QFrame.StyledPanel) self.frame_3.setFrameShadow(QtWidgets.QFrame.Raised) self.frame_3.setObjectName("frame_3") self.pushButton_4 = QtWidgets.QPushButton(self.frame_3) self.pushButton_4.setGeometry(QtCore.QRect(290, 0, 75, 23)) self.pushButton_4.setObjectName("pushButton_4") self.verticalLayout_3.addWidget(self.frame_3) self.tabWidget.addTab(self.tab_2, "") self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1) self.gridLayout_5.addLayout(self.gridLayout, 0, 0, 1, 1) self.retranslateUi(Form) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): _translate = QtCore.QCoreApplication.translate Form.setWindowTitle(_translate("Form", "Form")) self.groupBox_2.setTitle(_translate("Form", "Select maps")) self.pushButton_2.setText(_translate("Form", "Advanced options")) self.pushButton_5.setText(_translate("Form", "Publish")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("Form", "Maps")) self.groupBox_3.setTitle(_translate("Form", "GitHub Account")) self.ghUser.setPlaceholderText(_translate("Form", "GitHub USERNAME")) self.ghPass.setPlaceholderText(_translate("Form", "Github PASSWORD or access key.")) self.pushButton_3.setText(_translate("Form", "Login")) self.groupBox.setTitle(_translate("Form", "Options")) self.label_3.setText(_translate("Form", "Local directory")) self.pushButton.setText(_translate("Form", "Find automatically")) self.label_2.setText(_translate("Form", "Git executable")) self.label.setText(_translate("Form", "Map max zoom")) self.spinBox.setPrefix(_translate("Form", "Max Zoom Level ")) self.groupBox_4.setTitle(_translate("Form", "Github Repository Name")) self.lineEdit.setText(_translate("Form", "Mappia_Example")) self.lineEdit.setPlaceholderText(_translate("Form", "Repository Name")) self.pushButton_4.setText(_translate("Form", "Next")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("Form", "Advanced Options"))
class Ui_hcmgis_closestpair_form(object): def setupUi(self, hcmgis_closestpair_form): hcmgis_closestpair_form.setObjectName("hcmgis_closestpair_form") hcmgis_closestpair_form.setWindowModality(QtCore.Qt.ApplicationModal) hcmgis_closestpair_form.setEnabled(True) hcmgis_closestpair_form.resize(422, 319) hcmgis_closestpair_form.setMouseTracking(False) self.verticalLayout = QtWidgets.QVBoxLayout(hcmgis_closestpair_form) self.verticalLayout.setObjectName("verticalLayout") self.LblInput = QtWidgets.QLabel(hcmgis_closestpair_form) self.LblInput.setObjectName("LblInput") self.verticalLayout.addWidget(self.LblInput) self.CboInput = QgsMapLayerComboBox(hcmgis_closestpair_form) self.CboInput.setObjectName("CboInput") self.verticalLayout.addWidget(self.CboInput) self.LblInput_2 = QtWidgets.QLabel(hcmgis_closestpair_form) self.LblInput_2.setObjectName("LblInput_2") self.verticalLayout.addWidget(self.LblInput_2) self.CboField = QgsFieldComboBox(hcmgis_closestpair_form) self.CboField.setObjectName("CboField") self.verticalLayout.addWidget(self.CboField) self.LblOutput = QtWidgets.QLabel(hcmgis_closestpair_form) self.LblOutput.setObjectName("LblOutput") self.verticalLayout.addWidget(self.LblOutput) self.closest = QgsFileWidget(hcmgis_closestpair_form) self.closest.setObjectName("closest") self.verticalLayout.addWidget(self.closest) self.label = QtWidgets.QLabel(hcmgis_closestpair_form) self.label.setObjectName("label") self.verticalLayout.addWidget(self.label) self.farthest = QgsFileWidget(hcmgis_closestpair_form) self.farthest.setObjectName("farthest") self.verticalLayout.addWidget(self.farthest) self.LblStatus = QtWidgets.QLabel(hcmgis_closestpair_form) self.LblStatus.setText("") self.LblStatus.setObjectName("LblStatus") self.verticalLayout.addWidget(self.LblStatus) self.status = QtWidgets.QProgressBar(hcmgis_closestpair_form) self.status.setProperty("value", 24) self.status.setObjectName("status") self.verticalLayout.addWidget(self.status) self.BtnApplyClose = QtWidgets.QDialogButtonBox( hcmgis_closestpair_form) self.BtnApplyClose.setStandardButtons( QtWidgets.QDialogButtonBox.Apply | QtWidgets.QDialogButtonBox.Close) self.BtnApplyClose.setObjectName("BtnApplyClose") self.verticalLayout.addWidget(self.BtnApplyClose) self.retranslateUi(hcmgis_closestpair_form) self.BtnApplyClose.accepted.connect(hcmgis_closestpair_form.accept) self.BtnApplyClose.rejected.connect(hcmgis_closestpair_form.reject) QtCore.QMetaObject.connectSlotsByName(hcmgis_closestpair_form) def retranslateUi(self, hcmgis_closestpair_form): _translate = QtCore.QCoreApplication.translate hcmgis_closestpair_form.setWindowTitle( _translate("hcmgis_closestpair_form", "Closest/farthest pair of Points")) self.LblInput.setText( _translate("hcmgis_closestpair_form", "Input Point Layer")) self.LblInput_2.setText( _translate("hcmgis_closestpair_form", "Unique Field")) self.LblOutput.setText( _translate("hcmgis_closestpair_form", "Closest pair of Points")) self.label.setText( _translate("hcmgis_closestpair_form", "Farthest pair of Points"))
class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(433, 261) icon = QtGui.QIcon() icon.addPixmap( QtGui.QPixmap( "../../../../Users/Avimar/Downloads/icon_pansharpen_plugin.svg" ), QtGui.QIcon.Normal, QtGui.QIcon.Off) Dialog.setWindowIcon(icon) self.groupBox = QtWidgets.QGroupBox(Dialog) self.groupBox.setGeometry(QtCore.QRect(10, 10, 411, 241)) self.groupBox.setAutoFillBackground(True) self.groupBox.setTitle("") self.groupBox.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignTop) self.groupBox.setFlat(False) self.groupBox.setCheckable(False) self.groupBox.setObjectName("groupBox") self.panImage = QgsFileWidget(self.groupBox) self.panImage.setGeometry(QtCore.QRect(210, 50, 171, 27)) self.panImage.setAccessibleName("") self.panImage.setObjectName("panImage") self.multImage = QgsFileWidget(self.groupBox) self.multImage.setEnabled(True) self.multImage.setGeometry(QtCore.QRect(210, 100, 171, 27)) self.multImage.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu) self.multImage.setLayoutDirection(QtCore.Qt.LeftToRight) self.multImage.setFileWidgetButtonVisible(True) self.multImage.setFullUrl(True) self.multImage.setFilter("") self.multImage.setDefaultRoot("") self.multImage.setObjectName("multImage") self.panImageLabel = QtWidgets.QLabel(self.groupBox) self.panImageLabel.setGeometry(QtCore.QRect(30, 50, 161, 20)) self.panImageLabel.setObjectName("panImageLabel") self.multImageLabel = QtWidgets.QLabel(self.groupBox) self.multImageLabel.setEnabled(True) self.multImageLabel.setGeometry(QtCore.QRect(30, 100, 161, 20)) self.multImageLabel.setAcceptDrops(False) self.multImageLabel.setFrameShape(QtWidgets.QFrame.NoFrame) self.multImageLabel.setFrameShadow(QtWidgets.QFrame.Plain) self.multImageLabel.setLineWidth(1) self.multImageLabel.setWordWrap(False) self.multImageLabel.setObjectName("multImageLabel") self.btnPansharpen = QtWidgets.QPushButton(self.groupBox) self.btnPansharpen.setGeometry(QtCore.QRect(230, 160, 91, 31)) self.btnPansharpen.setTabletTracking(False) self.btnPansharpen.setObjectName("btnPansharpen") self.retranslateUi(Dialog) QtCore.QMetaObject.connectSlotsByName(Dialog) def retranslateUi(self, Dialog): _translate = QtCore.QCoreApplication.translate Dialog.setWindowTitle(_translate("Dialog", "Qgis Pansharpen Plugin")) self.panImage.setDialogTitle(_translate("Dialog", "arquivo")) self.multImage.setDialogTitle(_translate("Dialog", "arquivo")) self.panImageLabel.setText( _translate("Dialog", "Panchromatic Image (.tiff)")) self.multImageLabel.setText( _translate("Dialog", "Multispectral Image (.tiff)")) self.btnPansharpen.setText(_translate("Dialog", "Pansharpen"))
class Ui_dlg_form_auth_prompt(object): def setupUi(self, dlg_form_auth_prompt): dlg_form_auth_prompt.setObjectName("dlg_form_auth_prompt") dlg_form_auth_prompt.resize(800, 400) dlg_form_auth_prompt.setMinimumSize(QtCore.QSize(800, 400)) dlg_form_auth_prompt.setMaximumSize(QtCore.QSize(800, 400)) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/plugins/Isogeo/resources/users.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off) dlg_form_auth_prompt.setWindowIcon(icon) dlg_form_auth_prompt.setLocale( QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) dlg_form_auth_prompt.setModal(False) self.verticalLayout = QtWidgets.QVBoxLayout(dlg_form_auth_prompt) self.verticalLayout.setObjectName("verticalLayout") self.msgbar_vlayout = QtWidgets.QVBoxLayout() self.msgbar_vlayout.setObjectName("msgbar_vlayout") self.verticalLayout.addLayout(self.msgbar_vlayout) self.grb_connection_ready = QtWidgets.QGroupBox(dlg_form_auth_prompt) self.grb_connection_ready.setMinimumSize(QtCore.QSize(500, 150)) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.grb_connection_ready.setFont(font) self.grb_connection_ready.setAutoFillBackground(True) self.grb_connection_ready.setLocale( QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) self.grb_connection_ready.setFlat(True) self.grb_connection_ready.setObjectName("grb_connection_ready") self.gridLayout_2 = QtWidgets.QGridLayout(self.grb_connection_ready) self.gridLayout_2.setObjectName("gridLayout_2") spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem, 1, 3, 1, 1) self.ent_app_id = QtWidgets.QLineEdit(self.grb_connection_ready) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(1) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.ent_app_id.sizePolicy().hasHeightForWidth()) self.ent_app_id.setSizePolicy(sizePolicy) self.ent_app_id.setMinimumSize(QtCore.QSize(475, 25)) self.ent_app_id.setMaximumSize(QtCore.QSize(800, 30)) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.ent_app_id.setFont(font) self.ent_app_id.setToolTip("") self.ent_app_id.setAutoFillBackground(True) self.ent_app_id.setText("") self.ent_app_id.setMaxLength(100) self.ent_app_id.setFrame(True) self.ent_app_id.setReadOnly(True) self.ent_app_id.setCursorMoveStyle(QtCore.Qt.LogicalMoveStyle) self.ent_app_id.setObjectName("ent_app_id") self.gridLayout_2.addWidget(self.ent_app_id, 2, 3, 1, 1) self.lbl_app_secret = QtWidgets.QLabel(self.grb_connection_ready) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lbl_app_secret.sizePolicy().hasHeightForWidth()) self.lbl_app_secret.setSizePolicy(sizePolicy) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.lbl_app_secret.setFont(font) self.lbl_app_secret.setAutoFillBackground(True) self.lbl_app_secret.setLocale( QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) self.lbl_app_secret.setScaledContents(True) self.lbl_app_secret.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.lbl_app_secret.setObjectName("lbl_app_secret") self.gridLayout_2.addWidget(self.lbl_app_secret, 3, 1, 1, 1) self.chb_isogeo_editor = QtWidgets.QCheckBox(self.grb_connection_ready) self.chb_isogeo_editor.setMinimumSize(QtCore.QSize(300, 20)) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.chb_isogeo_editor.setFont(font) self.chb_isogeo_editor.setLayoutDirection(QtCore.Qt.LeftToRight) self.chb_isogeo_editor.setAutoFillBackground(True) icon1 = QtGui.QIcon() icon1.addPixmap( QtGui.QPixmap( ":/plugins/Isogeo/resources/authentication/user.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.chb_isogeo_editor.setIcon(icon1) self.chb_isogeo_editor.setTristate(False) self.chb_isogeo_editor.setObjectName("chb_isogeo_editor") self.gridLayout_2.addWidget(self.chb_isogeo_editor, 5, 3, 1, 1) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem1, 0, 4, 1, 1) self.lbl_browse_credentials = QtWidgets.QLabel( self.grb_connection_ready) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.lbl_browse_credentials.setFont(font) self.lbl_browse_credentials.setAutoFillBackground(True) self.lbl_browse_credentials.setScaledContents(True) self.lbl_browse_credentials.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.lbl_browse_credentials.setObjectName("lbl_browse_credentials") self.gridLayout_2.addWidget(self.lbl_browse_credentials, 0, 1, 1, 1) self.btn_ok_cancel = QtWidgets.QDialogButtonBox( self.grb_connection_ready) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(1) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth( self.btn_ok_cancel.sizePolicy().hasHeightForWidth()) self.btn_ok_cancel.setSizePolicy(sizePolicy) self.btn_ok_cancel.setMinimumSize(QtCore.QSize(30, 30)) self.btn_ok_cancel.setMaximumSize(QtCore.QSize(16777215, 100)) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.btn_ok_cancel.setFont(font) self.btn_ok_cancel.setAutoFillBackground(True) self.btn_ok_cancel.setOrientation(QtCore.Qt.Horizontal) self.btn_ok_cancel.setStandardButtons( QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Save) self.btn_ok_cancel.setCenterButtons(True) self.btn_ok_cancel.setObjectName("btn_ok_cancel") self.gridLayout_2.addWidget(self.btn_ok_cancel, 6, 0, 1, 7) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem2, 2, 4, 1, 1) self.lbl_app_id = QtWidgets.QLabel(self.grb_connection_ready) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lbl_app_id.sizePolicy().hasHeightForWidth()) self.lbl_app_id.setSizePolicy(sizePolicy) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.lbl_app_id.setFont(font) self.lbl_app_id.setAutoFillBackground(True) self.lbl_app_id.setLocale( QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) self.lbl_app_id.setScaledContents(True) self.lbl_app_id.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.lbl_app_id.setObjectName("lbl_app_id") self.gridLayout_2.addWidget(self.lbl_app_id, 2, 1, 1, 1) self.ent_app_secret = QtWidgets.QLineEdit(self.grb_connection_ready) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.ent_app_secret.sizePolicy().hasHeightForWidth()) self.ent_app_secret.setSizePolicy(sizePolicy) self.ent_app_secret.setMinimumSize(QtCore.QSize(475, 25)) self.ent_app_secret.setMaximumSize(QtCore.QSize(800, 30)) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.ent_app_secret.setFont(font) self.ent_app_secret.setFocusPolicy(QtCore.Qt.NoFocus) self.ent_app_secret.setAutoFillBackground(True) self.ent_app_secret.setText("") self.ent_app_secret.setMaxLength(64) self.ent_app_secret.setEchoMode(QtWidgets.QLineEdit.PasswordEchoOnEdit) self.ent_app_secret.setReadOnly(True) self.ent_app_secret.setPlaceholderText( "*******************************************") self.ent_app_secret.setObjectName("ent_app_secret") self.gridLayout_2.addWidget(self.ent_app_secret, 3, 3, 1, 1) self.lbl_api_url = QtWidgets.QLabel(self.grb_connection_ready) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.lbl_api_url.setFont(font) self.lbl_api_url.setAutoFillBackground(True) self.lbl_api_url.setScaledContents(True) self.lbl_api_url.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.lbl_api_url.setObjectName("lbl_api_url") self.gridLayout_2.addWidget(self.lbl_api_url, 4, 1, 1, 1) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem3, 3, 4, 1, 1) self.btn_browse_credentials = QgsFileWidget(self.grb_connection_ready) self.btn_browse_credentials.setEnabled(True) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btn_browse_credentials.sizePolicy().hasHeightForWidth()) self.btn_browse_credentials.setSizePolicy(sizePolicy) self.btn_browse_credentials.setMinimumSize(QtCore.QSize(475, 30)) self.btn_browse_credentials.setMaximumSize(QtCore.QSize(800, 30)) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.btn_browse_credentials.setFont(font) self.btn_browse_credentials.setFocusPolicy(QtCore.Qt.StrongFocus) self.btn_browse_credentials.setAcceptDrops(False) self.btn_browse_credentials.setFileWidgetButtonVisible(True) self.btn_browse_credentials.setUseLink(False) self.btn_browse_credentials.setFullUrl(False) self.btn_browse_credentials.setFilter("*.json;*.ini") self.btn_browse_credentials.setDefaultRoot("") self.btn_browse_credentials.setObjectName("btn_browse_credentials") self.gridLayout_2.addWidget(self.btn_browse_credentials, 0, 3, 1, 1) self.lbl_api_url_value = QtWidgets.QLabel(self.grb_connection_ready) font = QtGui.QFont() font.setBold(False) font.setItalic(False) font.setWeight(50) font.setKerning(True) self.lbl_api_url_value.setFont(font) self.lbl_api_url_value.setCursor(QtGui.QCursor(QtCore.Qt.IBeamCursor)) self.lbl_api_url_value.setAutoFillBackground(True) self.lbl_api_url_value.setFrameShape(QtWidgets.QFrame.NoFrame) self.lbl_api_url_value.setText("https://v1.api.isogeo.com/") self.lbl_api_url_value.setOpenExternalLinks(True) self.lbl_api_url_value.setObjectName("lbl_api_url_value") self.gridLayout_2.addWidget(self.lbl_api_url_value, 4, 3, 1, 1) self.ent_app_id.raise_() self.ent_app_secret.raise_() self.lbl_app_id.raise_() self.lbl_app_secret.raise_() self.btn_ok_cancel.raise_() self.chb_isogeo_editor.raise_() self.btn_browse_credentials.raise_() self.lbl_browse_credentials.raise_() self.lbl_api_url_value.raise_() self.lbl_api_url.raise_() self.verticalLayout.addWidget(self.grb_connection_ready) self.grb_need_account = QtWidgets.QGroupBox(dlg_form_auth_prompt) self.grb_need_account.setMinimumSize(QtCore.QSize(200, 100)) self.grb_need_account.setMaximumSize(QtCore.QSize(16777215, 200)) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.grb_need_account.setFont(font) self.grb_need_account.setAutoFillBackground(True) self.grb_need_account.setLocale( QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) self.grb_need_account.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignVCenter) self.grb_need_account.setFlat(True) self.grb_need_account.setObjectName("grb_need_account") self.gridLayout = QtWidgets.QGridLayout(self.grb_need_account) self.gridLayout.setObjectName("gridLayout") self.btn_rdv_isogeo = QtWidgets.QPushButton(self.grb_need_account) self.btn_rdv_isogeo.setMinimumSize(QtCore.QSize(200, 30)) self.btn_rdv_isogeo.setMaximumSize(QtCore.QSize(700, 30)) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.btn_rdv_isogeo.setFont(font) self.btn_rdv_isogeo.setCursor( QtGui.QCursor(QtCore.Qt.PointingHandCursor)) self.btn_rdv_isogeo.setAutoFillBackground(True) self.btn_rdv_isogeo.setDefault(True) self.btn_rdv_isogeo.setObjectName("btn_rdv_isogeo") self.gridLayout.addWidget(self.btn_rdv_isogeo, 2, 1, 1, 1) self.btn_free_test = QtWidgets.QPushButton(self.grb_need_account) self.btn_free_test.setMinimumSize(QtCore.QSize(200, 30)) self.btn_free_test.setMaximumSize(QtCore.QSize(700, 30)) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.btn_free_test.setFont(font) self.btn_free_test.setCursor( QtGui.QCursor(QtCore.Qt.PointingHandCursor)) self.btn_free_test.setAutoFillBackground(True) self.btn_free_test.setDefault(True) self.btn_free_test.setObjectName("btn_free_test") self.gridLayout.addWidget(self.btn_free_test, 2, 0, 1, 1) self.lbl_access_conditions = QtWidgets.QLabel(self.grb_need_account) self.lbl_access_conditions.setMaximumSize( QtCore.QSize(16777215, 16777215)) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.lbl_access_conditions.setFont(font) self.lbl_access_conditions.setTextFormat(QtCore.Qt.RichText) self.lbl_access_conditions.setObjectName("lbl_access_conditions") self.gridLayout.addWidget(self.lbl_access_conditions, 1, 0, 1, 2) self.verticalLayout.addWidget(self.grb_need_account) self.retranslateUi(dlg_form_auth_prompt) self.btn_ok_cancel.accepted.connect(dlg_form_auth_prompt.accept) self.btn_ok_cancel.rejected.connect(dlg_form_auth_prompt.reject) QtCore.QMetaObject.connectSlotsByName(dlg_form_auth_prompt) def retranslateUi(self, dlg_form_auth_prompt): _translate = QtCore.QCoreApplication.translate dlg_form_auth_prompt.setWindowTitle( _translate("dlg_form_auth_prompt", "Isogeo authentication settings")) self.grb_connection_ready.setTitle( _translate( "dlg_form_auth_prompt", "I already have Isogeo ID and SECRET for this application")) self.ent_app_id.setPlaceholderText( _translate("dlg_form_auth_prompt", "plugin-qgis-org-a1b23c4d5f6g7h8i9j10kl11mn13op14")) self.lbl_app_secret.setText( _translate("dlg_form_auth_prompt", "Application SECRET:")) self.chb_isogeo_editor.setToolTip( _translate("dlg_form_auth_prompt", "I\'ve got the power hey yeah heh!")) self.chb_isogeo_editor.setText( _translate("dlg_form_auth_prompt", "I\'ve got edition rights on app.isogeo.com")) self.lbl_browse_credentials.setText( _translate("dlg_form_auth_prompt", "From a file:")) self.lbl_app_id.setText( _translate("dlg_form_auth_prompt", "Application ID:")) self.lbl_api_url.setToolTip( _translate("dlg_form_auth_prompt", "Only for information, the Isogeo API base URL")) self.lbl_api_url.setText( _translate("dlg_form_auth_prompt", "API location:")) self.btn_browse_credentials.setToolTip( _translate("dlg_form_auth_prompt", "Pick your credentials file")) self.btn_browse_credentials.setDialogTitle( _translate("dlg_form_auth_prompt", "Locate the Isogeo API credentials file")) self.grb_need_account.setTitle( _translate("dlg_form_auth_prompt", "Don\'t have an account yet ?")) self.btn_rdv_isogeo.setText( _translate("dlg_form_auth_prompt", "Make an appointment with Isogeo team")) self.btn_free_test.setText( _translate("dlg_form_auth_prompt", "Test the Isogeo QGIS Plugin for free")) self.lbl_access_conditions.setText( _translate( "dlg_form_auth_prompt", "<html><head/><body><p>It is simple and free to test the Isogeo QGIS Plugin on a sample of data : </p></body></html>" ))
class Ui_ElevationTileDownloaderDialogBase(object): def setupUi(self, ElevationTileDownloaderDialogBase): ElevationTileDownloaderDialogBase.setObjectName( "ElevationTileDownloaderDialogBase" ) ElevationTileDownloaderDialogBase.resize(400, 134) self.verticalLayout = QtWidgets.QVBoxLayout( ElevationTileDownloaderDialogBase ) self.verticalLayout.setObjectName("verticalLayout") self.formLayout_2 = QtWidgets.QFormLayout() self.formLayout_2.setObjectName("formLayout_2") self.label = QtWidgets.QLabel(ElevationTileDownloaderDialogBase) self.label.setObjectName("label") self.formLayout_2.setWidget( 0, QtWidgets.QFormLayout.LabelRole, self.label ) self.label_2 = QtWidgets.QLabel(ElevationTileDownloaderDialogBase) self.label_2.setObjectName("label_2") self.formLayout_2.setWidget( 1, QtWidgets.QFormLayout.LabelRole, self.label_2 ) self.output_dir = QgsFileWidget(ElevationTileDownloaderDialogBase) self.output_dir.setStorageMode(QgsFileWidget.GetDirectory) self.output_dir.setOptions(QtWidgets.QFileDialog.ShowDirsOnly) self.output_dir.setObjectName("output_dir") self.formLayout_2.setWidget( 1, QtWidgets.QFormLayout.FieldRole, self.output_dir ) self.layer_choice = QgsMapLayerComboBox( ElevationTileDownloaderDialogBase ) self.layer_choice.setObjectName("layer_choice") self.formLayout_2.setWidget( 0, QtWidgets.QFormLayout.FieldRole, self.layer_choice ) self.verticalLayout.addLayout(self.formLayout_2) self.button_box = QtWidgets.QDialogButtonBox( ElevationTileDownloaderDialogBase ) self.button_box.setOrientation(QtCore.Qt.Horizontal) self.button_box.setStandardButtons( QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok ) self.button_box.setObjectName("button_box") self.verticalLayout.addWidget(self.button_box) self.retranslateUi(ElevationTileDownloaderDialogBase) self.button_box.accepted.connect( ElevationTileDownloaderDialogBase.accept ) self.button_box.rejected.connect( ElevationTileDownloaderDialogBase.reject ) QtCore.QMetaObject.connectSlotsByName( ElevationTileDownloaderDialogBase ) def retranslateUi(self, ElevationTileDownloaderDialogBase): _translate = QtCore.QCoreApplication.translate ElevationTileDownloaderDialogBase.setWindowTitle( _translate( "ElevationTileDownloaderDialogBase", "Elevation Tile Downloader", ) ) self.label.setText( _translate("ElevationTileDownloaderDialogBase", "Cllip Layer") ) self.label_2.setText( _translate("ElevationTileDownloaderDialogBase", "Output Directory") )
class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(397, 148) self.gridLayoutWidget_2 = QtWidgets.QWidget(Dialog) self.gridLayoutWidget_2.setGeometry(QtCore.QRect(30, 20, 351, 57)) self.gridLayoutWidget_2.setObjectName("gridLayoutWidget_2") self.gridLayout_2 = QtWidgets.QGridLayout(self.gridLayoutWidget_2) self.gridLayout_2.setContentsMargins(0, 0, 0, 0) self.gridLayout_2.setObjectName("gridLayout_2") self.mQgsFileWidget = QgsFileWidget(self.gridLayoutWidget_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(2) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mQgsFileWidget.sizePolicy().hasHeightForWidth()) self.mQgsFileWidget.setSizePolicy(sizePolicy) self.mQgsFileWidget.setStorageMode(QgsFileWidget.SaveFile) self.mQgsFileWidget.setObjectName("mQgsFileWidget") self.gridLayout_2.addWidget(self.mQgsFileWidget, 1, 1, 1, 1) self.label_2 = QtWidgets.QLabel(self.gridLayoutWidget_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(1) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.label_2.sizePolicy().hasHeightForWidth()) self.label_2.setSizePolicy(sizePolicy) self.label_2.setObjectName("label_2") self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1) self.label_1 = QtWidgets.QLabel(self.gridLayoutWidget_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(1) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.label_1.sizePolicy().hasHeightForWidth()) self.label_1.setSizePolicy(sizePolicy) self.label_1.setObjectName("label_1") self.gridLayout_2.addWidget(self.label_1, 2, 0, 1, 1) self.mQgsProjectionSelectionWidget = QgsProjectionSelectionWidget( self.gridLayoutWidget_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(2) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.mQgsProjectionSelectionWidget. sizePolicy().hasHeightForWidth()) self.mQgsProjectionSelectionWidget.setSizePolicy(sizePolicy) self.mQgsProjectionSelectionWidget.setObjectName( "mQgsProjectionSelectionWidget") self.gridLayout_2.addWidget(self.mQgsProjectionSelectionWidget, 2, 1, 1, 1) self.gridLayoutWidget = QtWidgets.QWidget(Dialog) self.gridLayoutWidget.setGeometry(QtCore.QRect(100, 90, 195, 51)) self.gridLayoutWidget.setObjectName("gridLayoutWidget") self.gridLayout = QtWidgets.QGridLayout(self.gridLayoutWidget) self.gridLayout.setContentsMargins(0, 0, 0, 0) self.gridLayout.setObjectName("gridLayout") self.btn_ok = QtWidgets.QPushButton(self.gridLayoutWidget) self.btn_ok.setObjectName("btn_ok") self.gridLayout.addWidget(self.btn_ok, 0, 0, 1, 1) self.btn_cancel = QtWidgets.QPushButton(self.gridLayoutWidget) self.btn_cancel.setObjectName("btn_cancel") self.gridLayout.addWidget(self.btn_cancel, 0, 1, 1, 1) self.retranslateUi(Dialog) QtCore.QMetaObject.connectSlotsByName(Dialog) def retranslateUi(self, Dialog): _translate = QtCore.QCoreApplication.translate Dialog.setWindowTitle(_translate("Dialog", "Dialog")) self.label_2.setText(_translate("Dialog", "選擇輸出檔名:")) self.label_1.setText(_translate("Dialog", "選擇座標系統:")) self.btn_ok.setText(_translate("Dialog", "確定")) self.btn_cancel.setText(_translate("Dialog", "重置"))