class Ui_ULDK_GUGIKDialogBase(object): def setupUi(self, ULDK_GUGIKDialogBase): ULDK_GUGIKDialogBase.setObjectName("ULDK_GUGIKDialogBase") ULDK_GUGIKDialogBase.setEnabled(True) ULDK_GUGIKDialogBase.resize(800, 514) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/plugins/uldk_gugik/images/icon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) ULDK_GUGIKDialogBase.setWindowIcon(icon) self.lbl_pluginVersion = QtWidgets.QLabel(ULDK_GUGIKDialogBase) self.lbl_pluginVersion.setGeometry(QtCore.QRect(20, 490, 161, 20)) self.lbl_pluginVersion.setObjectName("lbl_pluginVersion") self.lbl_copyrights = QtWidgets.QLabel(ULDK_GUGIKDialogBase) self.lbl_copyrights.setGeometry(QtCore.QRect(290, 490, 201, 20)) self.lbl_copyrights.setTextFormat(QtCore.Qt.RichText) self.lbl_copyrights.setOpenExternalLinks(True) self.lbl_copyrights.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction) self.lbl_copyrights.setObjectName("lbl_copyrights") self.lbl_email = QtWidgets.QLabel(ULDK_GUGIKDialogBase) self.lbl_email.setGeometry(QtCore.QRect(620, 490, 151, 20)) self.lbl_email.setTextFormat(QtCore.Qt.RichText) self.lbl_email.setOpenExternalLinks(True) self.lbl_email.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction) self.lbl_email.setObjectName("lbl_email") self.tabWidget = QtWidgets.QTabWidget(ULDK_GUGIKDialogBase) self.tabWidget.setEnabled(True) self.tabWidget.setGeometry(QtCore.QRect(190, 90, 581, 341)) self.tabWidget.setObjectName("tabWidget") self.tab1 = QtWidgets.QWidget() self.tab1.setEnabled(True) self.tab1.setObjectName("tab1") self.img_tab1 = QtWidgets.QLabel(self.tab1) self.img_tab1.setGeometry(QtCore.QRect(430, 0, 121, 111)) self.img_tab1.setText("") self.img_tab1.setPixmap(QtGui.QPixmap("../AppData/Roaming/QGIS/QGIS3/profiles/default/python/plugins/uldk-master/images/icon_uldk2.png")) self.img_tab1.setScaledContents(True) self.img_tab1.setObjectName("img_tab1") self.lbl_desc_tab1 = QtWidgets.QLabel(self.tab1) self.lbl_desc_tab1.setGeometry(QtCore.QRect(10, 10, 410, 22)) font = QtGui.QFont() font.setPointSize(11) self.lbl_desc_tab1.setFont(font) self.lbl_desc_tab1.setObjectName("lbl_desc_tab1") self.label = QtWidgets.QLabel(self.tab1) self.label.setGeometry(QtCore.QRect(20, 60, 421, 51)) self.label.setObjectName("label") self.edit_id = QtWidgets.QLineEdit(self.tab1) self.edit_id.setGeometry(QtCore.QRect(20, 100, 411, 31)) self.edit_id.setObjectName("edit_id") self.btn_download_tab1 = QtWidgets.QPushButton(self.tab1) self.btn_download_tab1.setEnabled(True) self.btn_download_tab1.setGeometry(QtCore.QRect(450, 250, 93, 28)) self.btn_download_tab1.setObjectName("btn_download_tab1") self.label_2 = QtWidgets.QLabel(self.tab1) self.label_2.setGeometry(QtCore.QRect(20, 150, 241, 21)) self.label_2.setWordWrap(True) self.label_2.setObjectName("label_2") self.label_3 = QtWidgets.QLabel(self.tab1) self.label_3.setGeometry(QtCore.QRect(20, 180, 411, 21)) self.label_3.setWordWrap(True) self.label_3.setObjectName("label_3") self.label_4 = QtWidgets.QLabel(self.tab1) self.label_4.setGeometry(QtCore.QRect(20, 200, 411, 21)) self.label_4.setWordWrap(True) self.label_4.setObjectName("label_4") self.label_5 = QtWidgets.QLabel(self.tab1) self.label_5.setGeometry(QtCore.QRect(20, 220, 411, 21)) self.label_5.setWordWrap(True) self.label_5.setObjectName("label_5") self.label_6 = QtWidgets.QLabel(self.tab1) self.label_6.setGeometry(QtCore.QRect(20, 240, 411, 21)) self.label_6.setWordWrap(True) self.label_6.setObjectName("label_6") self.label_7 = QtWidgets.QLabel(self.tab1) self.label_7.setGeometry(QtCore.QRect(20, 260, 411, 21)) self.label_7.setWordWrap(True) self.label_7.setObjectName("label_7") self.tabWidget.addTab(self.tab1, "") self.tab2 = QtWidgets.QWidget() self.tab2.setEnabled(True) self.tab2.setObjectName("tab2") self.lbl_desc_tab2 = QtWidgets.QLabel(self.tab2) self.lbl_desc_tab2.setEnabled(True) self.lbl_desc_tab2.setGeometry(QtCore.QRect(10, 10, 421, 31)) font = QtGui.QFont() font.setPointSize(11) self.lbl_desc_tab2.setFont(font) self.lbl_desc_tab2.setObjectName("lbl_desc_tab2") self.img_tab2 = QtWidgets.QLabel(self.tab2) self.img_tab2.setGeometry(QtCore.QRect(310, 60, 141, 141)) self.img_tab2.setText("") self.img_tab2.setPixmap(QtGui.QPixmap("images/coords.png")) self.img_tab2.setScaledContents(True) self.img_tab2.setObjectName("img_tab2") self.btn_download_tab2 = QtWidgets.QPushButton(self.tab2) self.btn_download_tab2.setEnabled(True) self.btn_download_tab2.setGeometry(QtCore.QRect(450, 250, 93, 28)) self.btn_download_tab2.setObjectName("btn_download_tab2") self.btn_frommap = QtWidgets.QPushButton(self.tab2) self.btn_frommap.setEnabled(True) self.btn_frommap.setGeometry(QtCore.QRect(20, 260, 271, 27)) self.btn_frommap.setObjectName("btn_frommap") self.label_12 = QtWidgets.QLabel(self.tab2) self.label_12.setGeometry(QtCore.QRect(80, 230, 55, 16)) self.label_12.setObjectName("label_12") self.groupBox_2 = QtWidgets.QGroupBox(self.tab2) self.groupBox_2.setEnabled(True) self.groupBox_2.setGeometry(QtCore.QRect(20, 50, 271, 171)) self.groupBox_2.setTitle("") self.groupBox_2.setObjectName("groupBox_2") self.label_11 = QtWidgets.QLabel(self.groupBox_2) self.label_11.setGeometry(QtCore.QRect(20, 20, 151, 16)) self.label_11.setObjectName("label_11") self.doubleSpinBoxY = QtWidgets.QDoubleSpinBox(self.groupBox_2) self.doubleSpinBoxY.setGeometry(QtCore.QRect(50, 80, 101, 22)) self.doubleSpinBoxY.setFrame(True) self.doubleSpinBoxY.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) self.doubleSpinBoxY.setDecimals(6) self.doubleSpinBoxY.setMaximum(10000000.0) self.doubleSpinBoxY.setObjectName("doubleSpinBoxY") self.projectionWidget = QgsProjectionSelectionWidget(self.groupBox_2) self.projectionWidget.setGeometry(QtCore.QRect(10, 120, 221, 27)) self.projectionWidget.setLayoutDirection(QtCore.Qt.RightToLeft) self.projectionWidget.setObjectName("projectionWidget") self.doubleSpinBoxX = QtWidgets.QDoubleSpinBox(self.groupBox_2) self.doubleSpinBoxX.setGeometry(QtCore.QRect(50, 50, 101, 22)) self.doubleSpinBoxX.setFrame(True) self.doubleSpinBoxX.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) self.doubleSpinBoxX.setDecimals(6) self.doubleSpinBoxX.setMaximum(10000000.0) self.doubleSpinBoxX.setObjectName("doubleSpinBoxX") self.label_9 = QtWidgets.QLabel(self.groupBox_2) self.label_9.setGeometry(QtCore.QRect(20, 80, 16, 16)) self.label_9.setObjectName("label_9") self.label_8 = QtWidgets.QLabel(self.groupBox_2) self.label_8.setGeometry(QtCore.QRect(20, 50, 16, 16)) self.label_8.setObjectName("label_8") self.tabWidget.addTab(self.tab2, "") self.tab3 = QtWidgets.QWidget() self.tab3.setEnabled(False) self.tab3.setObjectName("tab3") self.lbl_desc_tab3 = QtWidgets.QLabel(self.tab3) self.lbl_desc_tab3.setGeometry(QtCore.QRect(10, 10, 421, 31)) font = QtGui.QFont() font.setPointSize(11) self.lbl_desc_tab3.setFont(font) self.lbl_desc_tab3.setObjectName("lbl_desc_tab3") self.btn_download_tab3 = QtWidgets.QPushButton(self.tab3) self.btn_download_tab3.setEnabled(False) self.btn_download_tab3.setGeometry(QtCore.QRect(450, 250, 93, 28)) self.btn_download_tab3.setObjectName("btn_download_tab3") self.label_10 = QtWidgets.QLabel(self.tab3) self.label_10.setGeometry(QtCore.QRect(10, 50, 421, 51)) self.label_10.setObjectName("label_10") self.label_13 = QtWidgets.QLabel(self.tab3) self.label_13.setGeometry(QtCore.QRect(10, 130, 421, 51)) self.label_13.setObjectName("label_13") self.edit_id_3 = QtWidgets.QLineEdit(self.tab3) self.edit_id_3.setGeometry(QtCore.QRect(10, 170, 411, 31)) self.edit_id_3.setText("") self.edit_id_3.setObjectName("edit_id_3") self.comboBox = QtWidgets.QComboBox(self.tab3) self.comboBox.setEnabled(False) self.comboBox.setGeometry(QtCore.QRect(10, 90, 411, 31)) self.comboBox.setAcceptDrops(False) self.comboBox.setEditable(True) self.comboBox.setObjectName("comboBox") self.tabWidget.addTab(self.tab3, "") self.groupBox = QtWidgets.QGroupBox(ULDK_GUGIKDialogBase) self.groupBox.setGeometry(QtCore.QRect(10, 90, 151, 171)) self.groupBox.setObjectName("groupBox") self.layoutWidget = QtWidgets.QWidget(self.groupBox) self.layoutWidget.setGeometry(QtCore.QRect(10, 30, 110, 130)) self.layoutWidget.setObjectName("layoutWidget") self.verticalLayout = QtWidgets.QVBoxLayout(self.layoutWidget) self.verticalLayout.setContentsMargins(0, 0, 0, 0) self.verticalLayout.setObjectName("verticalLayout") self.rdb_dz = QtWidgets.QRadioButton(self.layoutWidget) self.rdb_dz.setChecked(True) self.rdb_dz.setObjectName("rdb_dz") self.verticalLayout.addWidget(self.rdb_dz) self.rdb_ob = QtWidgets.QRadioButton(self.layoutWidget) self.rdb_ob.setObjectName("rdb_ob") self.verticalLayout.addWidget(self.rdb_ob) self.rdb_gm = QtWidgets.QRadioButton(self.layoutWidget) self.rdb_gm.setObjectName("rdb_gm") self.verticalLayout.addWidget(self.rdb_gm) self.rdb_pw = QtWidgets.QRadioButton(self.layoutWidget) self.rdb_pw.setObjectName("rdb_pw") self.verticalLayout.addWidget(self.rdb_pw) self.rdb_wo = QtWidgets.QRadioButton(self.layoutWidget) self.rdb_wo.setObjectName("rdb_wo") self.verticalLayout.addWidget(self.rdb_wo) self.lbl_title = QtWidgets.QLabel(ULDK_GUGIKDialogBase) self.lbl_title.setGeometry(QtCore.QRect(230, 30, 471, 41)) font = QtGui.QFont() font.setPointSize(14) self.lbl_title.setFont(font) self.lbl_title.setObjectName("lbl_title") self.img_main = QtWidgets.QLabel(ULDK_GUGIKDialogBase) self.img_main.setGeometry(QtCore.QRect(20, 310, 121, 111)) self.img_main.setText("") self.img_main.setPixmap(QtGui.QPixmap("images/icon_uldk2.png")) self.img_main.setScaledContents(True) self.img_main.setObjectName("img_main") self.retranslateUi(ULDK_GUGIKDialogBase) self.tabWidget.setCurrentIndex(1) QtCore.QMetaObject.connectSlotsByName(ULDK_GUGIKDialogBase) def retranslateUi(self, ULDK_GUGIKDialogBase): _translate = QtCore.QCoreApplication.translate ULDK_GUGIKDialogBase.setWindowTitle(_translate("ULDK_GUGIKDialogBase", "ULDK GUGiK 1.0")) self.lbl_pluginVersion.setText(_translate("ULDK_GUGIKDialogBase", "ULDK GUGiK 1.0")) self.lbl_copyrights.setText(_translate("ULDK_GUGIKDialogBase", "© 2019 <a href=\"http://www.envirosolutions.pl/\">EnviroSolutions Sp. z o.o.</a>")) self.lbl_email.setText(_translate("ULDK_GUGIKDialogBase", "<a href=\"mailto:[email protected]\">[email protected]</a>")) self.lbl_desc_tab1.setText(_translate("ULDK_GUGIKDialogBase", "Wybór obiektu przez pełny identyfikator (np działki)")) self.label.setText(_translate("ULDK_GUGIKDialogBase", "Wprowadź identyfikator obiektu (np. dla działki: 141201_1.0001.6509)")) self.btn_download_tab1.setText(_translate("ULDK_GUGIKDialogBase", "Pobierz")) self.label_2.setText(_translate("ULDK_GUGIKDialogBase", "Formaty identyfikatorów:")) self.label_3.setText(_translate("ULDK_GUGIKDialogBase", "- dla działki: WWPPGG_R.OOOO.[AR_NR].NR_DZ")) self.label_4.setText(_translate("ULDK_GUGIKDialogBase", "- dla obrębu: WWPPGG_R.OOOO")) self.label_5.setText(_translate("ULDK_GUGIKDialogBase", "- dla gminy: WWPPGG_R")) self.label_6.setText(_translate("ULDK_GUGIKDialogBase", "- dla powiatu: WWPP")) self.label_7.setText(_translate("ULDK_GUGIKDialogBase", "- dla województwa: WW")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab1), _translate("ULDK_GUGIKDialogBase", "Wybór przez ID")) self.lbl_desc_tab2.setText(_translate("ULDK_GUGIKDialogBase", "Wybór obiektu przez współrzędne")) self.btn_download_tab2.setText(_translate("ULDK_GUGIKDialogBase", "Pobierz")) self.btn_frommap.setText(_translate("ULDK_GUGIKDialogBase", "Wskaż punkt na mapie (ALT + D)")) self.label_12.setText(_translate("ULDK_GUGIKDialogBase", "lub")) self.label_11.setText(_translate("ULDK_GUGIKDialogBase", "Wprowadź współrzędne")) self.label_9.setText(_translate("ULDK_GUGIKDialogBase", "Y")) self.label_8.setText(_translate("ULDK_GUGIKDialogBase", "X")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab2), _translate("ULDK_GUGIKDialogBase", "Wybór przez współrzędne")) self.lbl_desc_tab3.setText(_translate("ULDK_GUGIKDialogBase", "Wybór obiektu przez nazwę obrębu i numer działki")) self.btn_download_tab3.setText(_translate("ULDK_GUGIKDialogBase", "Pobierz")) self.label_10.setText(_translate("ULDK_GUGIKDialogBase", "Wprowadź nazwę obrębu (np. Mińsk Mazowiecki):")) self.label_13.setText(_translate("ULDK_GUGIKDialogBase", "Wprowadź numer działki (np. 6509):")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab3), _translate("ULDK_GUGIKDialogBase", "Wybór przez nazwę obrębu i numer działki")) self.groupBox.setTitle(_translate("ULDK_GUGIKDialogBase", "Warstwa do pobrania")) self.rdb_dz.setText(_translate("ULDK_GUGIKDialogBase", "Działka")) self.rdb_ob.setText(_translate("ULDK_GUGIKDialogBase", "Obręb")) self.rdb_gm.setText(_translate("ULDK_GUGIKDialogBase", "Gmina")) self.rdb_pw.setText(_translate("ULDK_GUGIKDialogBase", "Powiat")) self.rdb_wo.setText(_translate("ULDK_GUGIKDialogBase", "Województwo")) self.lbl_title.setText(_translate("ULDK_GUGIKDialogBase", "Wybierz sposób wyszukania i pobrania obrysu"))
class modelDialog(QtWidgets.QDialog, FORM_CLASS): #closingPlugin = pyqtSignal() def __init__(self, parent=None): """Constructor.""" super(modelDialog, self).__init__(parent) self.setupUi(self) self.iface = iface #self.tabs.blockSignals(False) #now listen the currentChanged signal self.comboExtentChoiche = comboExtent(self) self.comboExtentChoiche.setObjectName("extent_choice") self.gridLayout_2.addWidget(self.comboExtentChoiche, 47, 2, 1, 1) self.crsChoice = QgsProjectionSelectionWidget() self.crsChoice.setObjectName("crs_choice") self.gridLayout_2.addWidget(self.crsChoice, 64, 2, 1, 1) self.comboExtentChoiche.setCurrentIndex(0) self.crsChoice.setCrs(QgsCoordinateReferenceSystem('EPSG:3857')) self.ext = self.comboExtentChoiche.currentExtent() self.mMapLayerComboBox_2.setFilters(QgsMapLayerProxyModel.PointLayer) self.checkBox.setEnabled(True) self.checkBox.setChecked(True) self.mMapLayerComboBox.setFilters(QgsMapLayerProxyModel.PolygonLayer) self.checkBox.toggled.connect(self.mMapLayerComboBox.setEnabled) self.mMapLayerComboBox_4.setFilters(QgsMapLayerProxyModel.RasterLayer) self.checkBox_6.setEnabled(True) self.checkBox_6.setChecked(True) self.mMapLayerComboBox_6.setFilters(QgsMapLayerProxyModel.RasterLayer) self.checkBox_6.toggled.connect(self.mMapLayerComboBox_6.setEnabled) self.checkBox_6.toggled.connect(self.lineEdit_7.setEnabled) self.checkBox_6.toggled.connect(self.pushButton_7.setEnabled) self.checkBox_8.setEnabled(True) self.checkBox_8.setChecked(True) self.mMapLayerComboBox_8.setFilters(QgsMapLayerProxyModel.RasterLayer) self.checkBox_8.toggled.connect(self.mMapLayerComboBox_8.setEnabled) self.checkBox_8.toggled.connect(self.lineEdit_8.setEnabled) self.checkBox_8.toggled.connect(self.pushButton_8.setEnabled) self.checkBox_10.setEnabled(True) self.checkBox_10.setChecked(True) self.mMapLayerComboBox_10.setFilters(QgsMapLayerProxyModel.RasterLayer) self.checkBox_10.toggled.connect(self.mMapLayerComboBox_10.setEnabled) self.checkBox_10.toggled.connect(self.lineEdit_9.setEnabled) self.checkBox_10.toggled.connect(self.pushButton_9.setEnabled) self.checkBox_2.setEnabled(True) self.checkBox_2.setChecked(False) self.lineEdit_16.setEnabled(False) self.pushButton_12.setEnabled(False) self.checkBox_2.toggled.connect(self.lineEdit_16.setEnabled) self.checkBox_2.toggled.connect(self.pushButton_12.setEnabled) self.mMapLayerComboBox_3.setFilters(QgsMapLayerProxyModel.VectorLayer) self.mMapLayerComboBox_5.setFilters(QgsMapLayerProxyModel.RasterLayer) self.mMapLayerComboBox_7.setFilters(QgsMapLayerProxyModel.VectorLayer) self.mMapLayerComboBox_9.setFilters(QgsMapLayerProxyModel.VectorLayer) self.indice = 0 self.methodindice = 0 #self.tabs = QTabWidget() #self.tabs.blockSignals(True) #just for not showing the initial message self.tabWidget.currentChanged.connect(self.onChange) #changed! self.comboBox.addItem("Weight of Evidence", 0) self.comboBox.addItem("Frequency Ratio", 1) self.comboBox.currentIndexChanged.connect(self.selectionchange) self.ii = 0 self.groupBoxlista = {} self.mMapLayerComboBoxlista = {} self.pushButtonlista = {} self.lineEditlista = {} self.lineEditname = {} #self.pushButton_2.clicked.connect(self.clickMethod) #self.second_start = True self.checkBox_3.setEnabled(True) self.checkBox_3.setChecked(False) self.lineEdit_2.setEnabled(False) self.pushButton_3.setEnabled(False) self.checkBox_3.toggled.connect(self.lineEdit_2.setEnabled) self.checkBox_3.toggled.connect(self.pushButton_3.setEnabled) def clickMethod(self): causenumber = self.ii self.groupBoxlista[self.ii] = 'groupBox' + str(self.ii) self.mMapLayerComboBoxlista[self.ii] = 'mMapLayerComboBox' + str( self.ii) self.pushButtonlista[self.ii] = 'pushButton' + str(self.ii) self.lineEditlista[self.ii] = 'lineEdit' + str(self.ii) self.lineEditname[self.ii] = 'lineEdit' + str(self.ii) self.groupBoxlista[self.ii] = QtWidgets.QGroupBox( self.scrollAreaWidgetContents) self.groupBoxlista[self.ii].setAutoFillBackground(True) self.groupBoxlista[self.ii].setFlat(False) self.groupBoxlista[self.ii].setObjectName("groupBox" + str(self.ii)) self.gridLayout_n = QtWidgets.QGridLayout(self.groupBoxlista[self.ii]) self.gridLayout_n.setObjectName("gridLayout_" + str(self.ii)) self.pushButtonlista[self.ii] = QtWidgets.QPushButton( self.groupBoxlista[self.ii]) self.pushButtonlista[self.ii].setObjectName("pushButton_" + str(self.ii)) self.gridLayout_n.addWidget(self.pushButtonlista[self.ii], 2, 1, 1, 1) self.lineEditlista[self.ii] = QtWidgets.QLineEdit( self.groupBoxlista[self.ii]) self.lineEditlista[self.ii].setObjectName("lineEdit_" + str(self.ii)) self.gridLayout_n.addWidget(self.lineEditlista[self.ii], 2, 0, 1, 1) self.label_n = QtWidgets.QLabel(self.groupBoxlista[self.ii]) self.label_n.setObjectName("label_" + str(self.ii)) self.gridLayout_n.addWidget(self.label_n, 1, 0, 1, 1) self.mMapLayerComboBoxlista[self.ii] = gui.QgsMapLayerComboBox( self.groupBoxlista[self.ii]) self.mMapLayerComboBoxlista[self.ii].setObjectName( "mMapLayerComboBox_" + str(self.ii)) self.gridLayout_n.addWidget(self.mMapLayerComboBoxlista[self.ii], 0, 0, 1, 1) self.gridLayout_2.addWidget(self.groupBoxlista[self.ii], 23 + self.ii, 2, 1, 1) self.groupBoxlista[self.ii].setTitle( QtCore.QCoreApplication.translate("WoEDialogBase", "Cause " + str(self.ii + 5))) self.pushButtonlista[self.ii].setText( QtCore.QCoreApplication.translate("WoEDialogBase", "...")) self.label_n.setText( QtCore.QCoreApplication.translate( "WoEDialogBase", "Cause " + str(self.ii + 5) + " classes")) self.lineEditlista[self.ii].clear() self.pushButtonlista[self.ii].clicked.connect(self.selecttxt) self.ii += 1 def selecttxt(self): filename, _ = QFileDialog.getOpenFileName( self, "Select input classes cause " + str(self.ii + 4), "", '*.txt') self.lineEditlista[self.ii - 1].setText(filename) def selectionchange(self, i): self.methodindice = i print("Items in the list are :") for count in range(self.comboBox.count()): print(self.comboBox.itemText(count)) print("Current index", i, "selection changed ", self.comboBox.currentText()) def onChange(self, i): #changed! self.indice = i QgsMessageLog.logMessage(str(i), tag="WoE") def closeEvent(self, event): #self.reset_form() for y in range(self.ii): self.groupBoxlista[y].setParent(None) self.ii = 0
class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(373, 186) Dialog.setMinimumSize(QtCore.QSize(373, 186)) Dialog.setMaximumSize(QtCore.QSize(373, 186)) Dialog.setSizeGripEnabled(False) Dialog.setModal(True) self.verticalLayout_3 = QtGui.QVBoxLayout(Dialog) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.label = QtGui.QLabel(Dialog) self.label.setObjectName(_fromUtf8("label")) self.verticalLayout_3.addWidget(self.label) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.verticalLayout_2 = QtGui.QVBoxLayout() self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.label_2 = QtGui.QLabel(Dialog) self.label_2.setObjectName(_fromUtf8("label_2")) self.verticalLayout_2.addWidget(self.label_2) self.label_3 = QtGui.QLabel(Dialog) self.label_3.setObjectName(_fromUtf8("label_3")) self.verticalLayout_2.addWidget(self.label_3) self.label_4 = QtGui.QLabel(Dialog) self.label_4.setObjectName(_fromUtf8("label_4")) self.verticalLayout_2.addWidget(self.label_4) self.horizontalLayout.addLayout(self.verticalLayout_2) self.verticalLayout = QtGui.QVBoxLayout() self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.latitudeEdit = QtGui.QLineEdit(Dialog) self.latitudeEdit.setPlaceholderText(_fromUtf8("")) self.latitudeEdit.setObjectName(_fromUtf8("latitudeEdit")) self.verticalLayout.addWidget(self.latitudeEdit) self.longitudeEdit = QtGui.QLineEdit(Dialog) self.longitudeEdit.setObjectName(_fromUtf8("longitudeEdit")) self.verticalLayout.addWidget(self.longitudeEdit) self.projectionCombo = QgsProjectionSelectionWidget(Dialog) self.projectionCombo.setMinimumSize(QtCore.QSize(129, 0)) self.projectionCombo.setObjectName(_fromUtf8("projectionCombo")) self.verticalLayout.addWidget(self.projectionCombo) self.horizontalLayout.addLayout(self.verticalLayout) self.verticalLayout_3.addLayout(self.horizontalLayout) self.buttonBox = QtGui.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.verticalLayout_3.addWidget(self.buttonBox) self.retranslateUi(Dialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog) def retranslateUi(self, Dialog): Dialog.setWindowTitle(_translate("Dialog", "Mover ponto", None)) self.label.setText( _translate("Dialog", "Digite as novas coordenadas do ponto", None)) self.label_2.setText(_translate("Dialog", "Latitude (Y)", None)) self.label_3.setText(_translate("Dialog", "Longitude (X)", None)) self.label_4.setText(_translate("Dialog", "SRC", None)) self.latitudeEdit.setInputMask( _translate("Dialog", "########.######; ", None)) self.longitudeEdit.setInputMask( _translate("Dialog", "########.######; ", None))
class Ui_PreferencesWizard(object): def setupUi(self, PreferencesWizard): PreferencesWizard.setObjectName(_fromUtf8("PreferencesWizard")) PreferencesWizard.resize(771, 443) PreferencesWizard.setOptions(QtGui.QWizard.CancelButtonOnLeft|QtGui.QWizard.NoBackButtonOnStartPage|QtGui.QWizard.NoDefaultButton) self.welcomePage = QtGui.QWizardPage() self.welcomePage.setObjectName(_fromUtf8("welcomePage")) self.gridLayout = QtGui.QGridLayout(self.welcomePage) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.label = QtGui.QLabel(self.welcomePage) self.label.setText(_fromUtf8("")) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 0, 0, 1, 1) PreferencesWizard.addPage(self.welcomePage) self.preferencesPage = PreferencesWizardPage() self.preferencesPage.setObjectName(_fromUtf8("preferencesPage")) self.gridLayout_2 = QtGui.QGridLayout(self.preferencesPage) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.preferencesWidget = PreferencesWidget(self.preferencesPage) self.preferencesWidget.setObjectName(_fromUtf8("preferencesWidget")) self.gridLayout_2.addWidget(self.preferencesWidget, 0, 0, 1, 1) PreferencesWizard.addPage(self.preferencesPage) self.serverPage = ServerWizardPage() self.serverPage.setObjectName(_fromUtf8("serverPage")) self.serverLayout = QtGui.QGridLayout(self.serverPage) self.serverLayout.setObjectName(_fromUtf8("serverLayout")) self.serverWidget = ServerWidget(self.serverPage) self.serverWidget.setObjectName(_fromUtf8("serverWidget")) self.serverLayout.addWidget(self.serverWidget, 0, 0, 1, 1) PreferencesWizard.addPage(self.serverPage) self.globalPage = GlobalPreferencesPage() self.globalPage.setObjectName(_fromUtf8("globalPage")) self.gridLayout_3 = QtGui.QGridLayout(self.globalPage) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.crsWidget = QgsProjectionSelectionWidget(self.globalPage) self.crsWidget.setObjectName(_fromUtf8("crsWidget")) self.gridLayout_3.addWidget(self.crsWidget, 0, 1, 1, 2) self.fontCombo = QtGui.QFontComboBox(self.globalPage) self.fontCombo.setObjectName(_fromUtf8("fontCombo")) self.gridLayout_3.addWidget(self.fontCombo, 3, 1, 1, 2) self.snappingUnitCombo = QtGui.QComboBox(self.globalPage) self.snappingUnitCombo.setObjectName(_fromUtf8("snappingUnitCombo")) self.gridLayout_3.addWidget(self.snappingUnitCombo, 4, 2, 1, 1) self.snappingToleranceSpin = QtGui.QDoubleSpinBox(self.globalPage) self.snappingToleranceSpin.setObjectName(_fromUtf8("snappingToleranceSpin")) self.gridLayout_3.addWidget(self.snappingToleranceSpin, 4, 1, 1, 1) self.crsAuthidLabel = QtGui.QLabel(self.globalPage) self.crsAuthidLabel.setObjectName(_fromUtf8("crsAuthidLabel")) self.gridLayout_3.addWidget(self.crsAuthidLabel, 0, 0, 1, 1) self.forceCrsCheck = QtGui.QCheckBox(self.globalPage) self.forceCrsCheck.setText(_fromUtf8("")) self.forceCrsCheck.setChecked(True) self.forceCrsCheck.setObjectName(_fromUtf8("forceCrsCheck")) self.gridLayout_3.addWidget(self.forceCrsCheck, 1, 1, 1, 2) self.fontLabel = QtGui.QLabel(self.globalPage) self.fontLabel.setObjectName(_fromUtf8("fontLabel")) self.gridLayout_3.addWidget(self.fontLabel, 3, 0, 1, 1) self.snappingLabel = QtGui.QLabel(self.globalPage) self.snappingLabel.setObjectName(_fromUtf8("snappingLabel")) self.gridLayout_3.addWidget(self.snappingLabel, 4, 0, 1, 1) self.forceOtfCheck = QtGui.QCheckBox(self.globalPage) self.forceOtfCheck.setText(_fromUtf8("")) self.forceOtfCheck.setChecked(True) self.forceOtfCheck.setObjectName(_fromUtf8("forceOtfCheck")) self.gridLayout_3.addWidget(self.forceOtfCheck, 2, 1, 1, 2) self.forceOtfLabel = QtGui.QLabel(self.globalPage) self.forceOtfLabel.setObjectName(_fromUtf8("forceOtfLabel")) self.gridLayout_3.addWidget(self.forceOtfLabel, 2, 0, 1, 1) self.forceCrsLabel = QtGui.QLabel(self.globalPage) self.forceCrsLabel.setObjectName(_fromUtf8("forceCrsLabel")) self.gridLayout_3.addWidget(self.forceCrsLabel, 1, 0, 1, 1) PreferencesWizard.addPage(self.globalPage) self.retranslateUi(PreferencesWizard) QtCore.QMetaObject.connectSlotsByName(PreferencesWizard) def retranslateUi(self, PreferencesWizard): PreferencesWizard.setWindowTitle(_translate("PreferencesWizard", "ARKspatial Preferences Wizard", None)) self.welcomePage.setTitle(_translate("PreferencesWizard", "ARKspatial Preferences Wizard", None)) self.welcomePage.setSubTitle(_translate("PreferencesWizard", "This is the first time you have run ARKspatial, so we need to set up some default settings first before creating a new project.", None)) self.preferencesPage.setTitle(_translate("PreferencesWizard", "Project Preferences", None)) self.preferencesPage.setSubTitle(_translate("PreferencesWizard", "Enter the default location for saving your projects, and your personal details for recording metadata.", None)) self.serverPage.setTitle(_translate("PreferencesWizard", "ARK Server Settings", None)) self.serverPage.setSubTitle(_translate("PreferencesWizard", "If you use an ARK database for project management or site recording, enter the server details to enable automatic population of your project details.", None)) self.globalPage.setTitle(_translate("PreferencesWizard", "QGIS Preferences", None)) self.globalPage.setSubTitle(_translate("PreferencesWizard", "We recommend you set some sensible defaults for your QGIS preferences.", None)) self.crsAuthidLabel.setText(_translate("PreferencesWizard", "Default CRS:", None)) self.fontLabel.setText(_translate("PreferencesWizard", "Font:", None)) self.snappingLabel.setText(_translate("PreferencesWizard", "Snapping:", None)) self.forceOtfLabel.setText(_translate("PreferencesWizard", "Force OTF Reprojection:", None)) self.forceCrsLabel.setText(_translate("PreferencesWizard", "Force Default CRS:", None))
class Ui_hcmgis_reprojection_form(object): def setupUi(self, hcmgis_reprojection_form): hcmgis_reprojection_form.setObjectName("hcmgis_reprojection_form") hcmgis_reprojection_form.setWindowModality(QtCore.Qt.ApplicationModal) hcmgis_reprojection_form.setEnabled(True) hcmgis_reprojection_form.resize(370, 288) hcmgis_reprojection_form.setMouseTracking(False) self.verticalLayout = QtWidgets.QVBoxLayout(hcmgis_reprojection_form) self.verticalLayout.setSpacing(7) self.verticalLayout.setObjectName("verticalLayout") self.LblInput = QtWidgets.QLabel(hcmgis_reprojection_form) self.LblInput.setObjectName("LblInput") self.verticalLayout.addWidget(self.LblInput) self.CboInput = QgsMapLayerComboBox(hcmgis_reprojection_form) self.CboInput.setShowCrs(True) self.CboInput.setObjectName("CboInput") self.verticalLayout.addWidget(self.CboInput) self.LblOutput_4 = QtWidgets.QLabel(hcmgis_reprojection_form) self.LblOutput_4.setObjectName("LblOutput_4") self.verticalLayout.addWidget(self.LblOutput_4) self.crs = QgsProjectionSelectionWidget(hcmgis_reprojection_form) self.crs.setObjectName("crs") self.verticalLayout.addWidget(self.crs) self.LblOutput_3 = QtWidgets.QLabel(hcmgis_reprojection_form) self.LblOutput_3.setObjectName("LblOutput_3") self.verticalLayout.addWidget(self.LblOutput_3) self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.LinOutput = QtWidgets.QLineEdit(hcmgis_reprojection_form) self.LinOutput.setEnabled(True) self.LinOutput.setMouseTracking(True) self.LinOutput.setFocusPolicy(QtCore.Qt.StrongFocus) self.LinOutput.setAcceptDrops(False) self.LinOutput.setText("") self.LinOutput.setReadOnly(False) self.LinOutput.setObjectName("LinOutput") self.gridLayout.addWidget(self.LinOutput, 0, 0, 1, 1) self.BtnOutput = QtWidgets.QPushButton(hcmgis_reprojection_form) self.BtnOutput.setEnabled(True) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.BtnOutput.setFont(font) self.BtnOutput.setObjectName("BtnOutput") self.gridLayout.addWidget(self.BtnOutput, 0, 1, 1, 1) self.verticalLayout.addLayout(self.gridLayout) self.BtnOKCancel = QtWidgets.QDialogButtonBox(hcmgis_reprojection_form) self.BtnOKCancel.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok) self.BtnOKCancel.setObjectName("BtnOKCancel") self.verticalLayout.addWidget(self.BtnOKCancel) self.retranslateUi(hcmgis_reprojection_form) self.BtnOKCancel.accepted.connect(hcmgis_reprojection_form.accept) self.BtnOKCancel.rejected.connect(hcmgis_reprojection_form.reject) QtCore.QMetaObject.connectSlotsByName(hcmgis_reprojection_form) def retranslateUi(self, hcmgis_reprojection_form): _translate = QtCore.QCoreApplication.translate hcmgis_reprojection_form.setWindowTitle( _translate("hcmgis_reprojection_form", "Layer Reprojection")) self.LblInput.setText( _translate("hcmgis_reprojection_form", "Input Layer")) self.LblOutput_4.setText( _translate("hcmgis_reprojection_form", "Target CRS")) self.LblOutput_3.setText( _translate("hcmgis_reprojection_form", "Output Shapefile")) self.BtnOutput.setText( _translate("hcmgis_reprojection_form", "Browse..."))
class Ui_QgsNewVectorLayerDialogBase(object): def setupUi(self, QgsNewVectorLayerDialogBase): QgsNewVectorLayerDialogBase.setObjectName(_fromUtf8("QgsNewVectorLayerDialogBase")) QgsNewVectorLayerDialogBase.resize(444, 578) QgsNewVectorLayerDialogBase.setModal(True) self.gridlayout = QtGui.QGridLayout(QgsNewVectorLayerDialogBase) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.mFileEncoding = QtGui.QComboBox(QgsNewVectorLayerDialogBase) self.mFileEncoding.setEnabled(True) self.mFileEncoding.setObjectName(_fromUtf8("mFileEncoding")) self.gridlayout.addWidget(self.mFileEncoding, 5, 1, 1, 2) self.mFileFormatLabel = QtGui.QLabel(QgsNewVectorLayerDialogBase) self.mFileFormatLabel.setEnabled(True) self.mFileFormatLabel.setObjectName(_fromUtf8("mFileFormatLabel")) self.gridlayout.addWidget(self.mFileFormatLabel, 6, 0, 1, 1) self.mFileFormatComboBox = QtGui.QComboBox(QgsNewVectorLayerDialogBase) self.mFileFormatComboBox.setEnabled(True) self.mFileFormatComboBox.setObjectName(_fromUtf8("mFileFormatComboBox")) self.gridlayout.addWidget(self.mFileFormatComboBox, 6, 1, 1, 2) self.mFileFormatLabel_2 = QtGui.QLabel(QgsNewVectorLayerDialogBase) self.mFileFormatLabel_2.setEnabled(True) self.mFileFormatLabel_2.setObjectName(_fromUtf8("mFileFormatLabel_2")) self.gridlayout.addWidget(self.mFileFormatLabel_2, 5, 0, 1, 1) self.mCrsSelector = QgsProjectionSelectionWidget(QgsNewVectorLayerDialogBase) self.mCrsSelector.setFocusPolicy(QtCore.Qt.StrongFocus) self.mCrsSelector.setObjectName(_fromUtf8("mCrsSelector")) self.gridlayout.addWidget(self.mCrsSelector, 9, 0, 1, 3) self.buttonGroup1 = QtGui.QGroupBox(QgsNewVectorLayerDialogBase) self.buttonGroup1.setObjectName(_fromUtf8("buttonGroup1")) self.horizontalLayout = QtGui.QHBoxLayout(self.buttonGroup1) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.mPointRadioButton = QtGui.QRadioButton(self.buttonGroup1) self.mPointRadioButton.setObjectName(_fromUtf8("mPointRadioButton")) self.horizontalLayout.addWidget(self.mPointRadioButton) self.mLineRadioButton = QtGui.QRadioButton(self.buttonGroup1) self.mLineRadioButton.setObjectName(_fromUtf8("mLineRadioButton")) self.horizontalLayout.addWidget(self.mLineRadioButton) self.mPolygonRadioButton = QtGui.QRadioButton(self.buttonGroup1) self.mPolygonRadioButton.setObjectName(_fromUtf8("mPolygonRadioButton")) self.horizontalLayout.addWidget(self.mPolygonRadioButton) self.gridlayout.addWidget(self.buttonGroup1, 2, 0, 1, 3) self.buttonBox = QtGui.QDialogButtonBox(QgsNewVectorLayerDialogBase) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Help|QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridlayout.addWidget(self.buttonBox, 14, 0, 1, 3) self.groupBox = QtGui.QGroupBox(QgsNewVectorLayerDialogBase) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridlayout1 = QtGui.QGridLayout(self.groupBox) self.gridlayout1.setObjectName(_fromUtf8("gridlayout1")) self.textLabel1 = QtGui.QLabel(self.groupBox) self.textLabel1.setObjectName(_fromUtf8("textLabel1")) self.gridlayout1.addWidget(self.textLabel1, 0, 0, 1, 1) self.mNameEdit = QtGui.QLineEdit(self.groupBox) self.mNameEdit.setObjectName(_fromUtf8("mNameEdit")) self.gridlayout1.addWidget(self.mNameEdit, 0, 1, 1, 4) self.textLabel2 = QtGui.QLabel(self.groupBox) self.textLabel2.setObjectName(_fromUtf8("textLabel2")) self.gridlayout1.addWidget(self.textLabel2, 1, 0, 1, 1) self.mTypeBox = QtGui.QComboBox(self.groupBox) self.mTypeBox.setObjectName(_fromUtf8("mTypeBox")) self.gridlayout1.addWidget(self.mTypeBox, 1, 1, 1, 4) self.label = QtGui.QLabel(self.groupBox) self.label.setObjectName(_fromUtf8("label")) self.gridlayout1.addWidget(self.label, 2, 0, 1, 1) self.mWidth = QtGui.QLineEdit(self.groupBox) self.mWidth.setObjectName(_fromUtf8("mWidth")) self.mWidth.setText("0") self.gridlayout1.addWidget(self.mWidth, 2, 1, 1, 2) self.label_2 = QtGui.QLabel(self.groupBox) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridlayout1.addWidget(self.label_2, 2, 3, 1, 1) self.mPrecision = QtGui.QLineEdit(self.groupBox) self.mPrecision.setObjectName(_fromUtf8("mPrecision")) self.gridlayout1.addWidget(self.mPrecision, 2, 4, 1, 1) self.mAddAttributeButton = QtGui.QToolButton(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.mAddAttributeButton.sizePolicy().hasHeightForWidth()) self.mAddAttributeButton.setSizePolicy(sizePolicy) self.mAddAttributeButton.setLayoutDirection(QtCore.Qt.LeftToRight) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8("Resource/images/themes/default/mActionNewAttribute.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.mAddAttributeButton.setIcon(icon) self.mAddAttributeButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextBesideIcon) self.mAddAttributeButton.setObjectName(_fromUtf8("mAddAttributeButton")) self.gridlayout1.addWidget(self.mAddAttributeButton, 4, 4, 1, 1) self.gridlayout.addWidget(self.groupBox, 10, 0, 1, 3) self.groupBox_2 = QtGui.QGroupBox(QgsNewVectorLayerDialogBase) self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) self.gridlayout2 = QtGui.QGridLayout(self.groupBox_2) self.gridlayout2.setObjectName(_fromUtf8("gridlayout2")) self.mAttributeView = QtGui.QTreeWidget(self.groupBox_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.mAttributeView.sizePolicy().hasHeightForWidth()) self.mAttributeView.setSizePolicy(sizePolicy) self.mAttributeView.setAlternatingRowColors(True) self.mAttributeView.setRootIsDecorated(False) self.mAttributeView.setColumnCount(4) self.mAttributeView.setObjectName(_fromUtf8("mAttributeView")) self.gridlayout2.addWidget(self.mAttributeView, 2, 0, 1, 2) spacerItem = QtGui.QSpacerItem(121, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout2.addItem(spacerItem, 3, 0, 1, 1) self.mRemoveAttributeButton = QtGui.QToolButton(self.groupBox_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.mRemoveAttributeButton.sizePolicy().hasHeightForWidth()) self.mRemoveAttributeButton.setSizePolicy(sizePolicy) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(_fromUtf8("Resource/images/themes/default/mActionDeleteAttribute.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.mRemoveAttributeButton.setIcon(icon1) self.mRemoveAttributeButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextBesideIcon) self.mRemoveAttributeButton.setObjectName(_fromUtf8("mRemoveAttributeButton")) self.gridlayout2.addWidget(self.mRemoveAttributeButton, 3, 1, 1, 1) self.gridlayout.addWidget(self.groupBox_2, 12, 0, 1, 3) self.mFileFormatLabel.setBuddy(self.mFileFormatComboBox) self.mFileFormatLabel_2.setBuddy(self.mFileFormatComboBox) self.textLabel1.setBuddy(self.mNameEdit) self.textLabel2.setBuddy(self.mTypeBox) self.label.setBuddy(self.mWidth) self.label_2.setBuddy(self.mPrecision) self.mOkButton = self.buttonBox.button( QtGui.QDialogButtonBox.Ok ) self.retranslateUi(QgsNewVectorLayerDialogBase) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), QgsNewVectorLayerDialogBase.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), QgsNewVectorLayerDialogBase.reject) QtCore.QMetaObject.connectSlotsByName(QgsNewVectorLayerDialogBase) QgsNewVectorLayerDialogBase.setTabOrder(self.mPointRadioButton, self.mLineRadioButton) QgsNewVectorLayerDialogBase.setTabOrder(self.mLineRadioButton, self.mPolygonRadioButton) QgsNewVectorLayerDialogBase.setTabOrder(self.mPolygonRadioButton, self.mFileEncoding) QgsNewVectorLayerDialogBase.setTabOrder(self.mFileEncoding, self.mFileFormatComboBox) QgsNewVectorLayerDialogBase.setTabOrder(self.mFileFormatComboBox, self.mCrsSelector) QgsNewVectorLayerDialogBase.setTabOrder(self.mCrsSelector, self.mNameEdit) QgsNewVectorLayerDialogBase.setTabOrder(self.mNameEdit, self.mTypeBox) QgsNewVectorLayerDialogBase.setTabOrder(self.mTypeBox, self.mWidth) QgsNewVectorLayerDialogBase.setTabOrder(self.mWidth, self.mPrecision) QgsNewVectorLayerDialogBase.setTabOrder(self.mPrecision, self.mAddAttributeButton) QgsNewVectorLayerDialogBase.setTabOrder(self.mAddAttributeButton, self.mAttributeView) QgsNewVectorLayerDialogBase.setTabOrder(self.mAttributeView, self.mRemoveAttributeButton) QgsNewVectorLayerDialogBase.setTabOrder(self.mRemoveAttributeButton, self.buttonBox) def retranslateUi(self, QgsNewVectorLayerDialogBase): QgsNewVectorLayerDialogBase.setWindowTitle(_translate("QgsNewVectorLayerDialogBase", "New Shapefile Layer", None)) self.mFileFormatLabel.setText(_translate("QgsNewVectorLayerDialogBase", "File format", None)) self.mFileFormatLabel_2.setText(_translate("QgsNewVectorLayerDialogBase", "File encoding", None)) self.buttonGroup1.setTitle(_translate("QgsNewVectorLayerDialogBase", "Type", None)) self.mPointRadioButton.setText(_translate("QgsNewVectorLayerDialogBase", "Point", None)) self.mLineRadioButton.setText(_translate("QgsNewVectorLayerDialogBase", "Line", None)) self.mPolygonRadioButton.setText(_translate("QgsNewVectorLayerDialogBase", "Polygon", None)) self.groupBox.setTitle(_translate("QgsNewVectorLayerDialogBase", "New field", None)) self.textLabel1.setText(_translate("QgsNewVectorLayerDialogBase", "Name", None)) self.textLabel2.setText(_translate("QgsNewVectorLayerDialogBase", "Type", None)) self.label.setText(_translate("QgsNewVectorLayerDialogBase", "Length", None)) self.label_2.setText(_translate("QgsNewVectorLayerDialogBase", "Precision", None)) self.mAddAttributeButton.setToolTip(_translate("QgsNewVectorLayerDialogBase", "Add field to list", None)) self.mAddAttributeButton.setText(_translate("QgsNewVectorLayerDialogBase", "Add to fields list", None)) self.groupBox_2.setTitle(_translate("QgsNewVectorLayerDialogBase", "Fields list", None)) self.mAttributeView.headerItem().setText(0, _translate("QgsNewVectorLayerDialogBase", "Name", None)) self.mAttributeView.headerItem().setText(1, _translate("QgsNewVectorLayerDialogBase", "Type", None)) self.mAttributeView.headerItem().setText(2, _translate("QgsNewVectorLayerDialogBase", "Length", None)) self.mAttributeView.headerItem().setText(3, _translate("QgsNewVectorLayerDialogBase", "Precision", None)) self.mRemoveAttributeButton.setToolTip(_translate("QgsNewVectorLayerDialogBase", "Delete selected field", None)) self.mRemoveAttributeButton.setText(_translate("QgsNewVectorLayerDialogBase", "Remove field", None))
class Ui_hcmgis_reprojection_form(object): def setupUi(self, hcmgis_reprojection_form): hcmgis_reprojection_form.setObjectName("hcmgis_reprojection_form") hcmgis_reprojection_form.setWindowModality(QtCore.Qt.ApplicationModal) hcmgis_reprojection_form.setEnabled(True) hcmgis_reprojection_form.resize(341, 194) hcmgis_reprojection_form.setMouseTracking(False) self.BtnOKCancel = QtWidgets.QDialogButtonBox(hcmgis_reprojection_form) self.BtnOKCancel.setGeometry(QtCore.QRect(175, 160, 156, 31)) self.BtnOKCancel.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok) self.BtnOKCancel.setObjectName("BtnOKCancel") self.LblInput = QtWidgets.QLabel(hcmgis_reprojection_form) self.LblInput.setGeometry(QtCore.QRect(10, 7, 321, 16)) self.LblInput.setObjectName("LblInput") self.CboInput = QgsMapLayerComboBox(hcmgis_reprojection_form) self.CboInput.setGeometry(QtCore.QRect(10, 24, 321, 21)) self.CboInput.setShowCrs(True) self.CboInput.setObjectName("CboInput") self.LblOutput_3 = QtWidgets.QLabel(hcmgis_reprojection_form) self.LblOutput_3.setGeometry(QtCore.QRect(10, 112, 321, 16)) self.LblOutput_3.setObjectName("LblOutput_3") self.LinOutput = QtWidgets.QLineEdit(hcmgis_reprojection_form) self.LinOutput.setEnabled(True) self.LinOutput.setGeometry(QtCore.QRect(10, 130, 241, 20)) self.LinOutput.setMouseTracking(True) self.LinOutput.setFocusPolicy(QtCore.Qt.StrongFocus) self.LinOutput.setAcceptDrops(False) self.LinOutput.setText("") self.LinOutput.setReadOnly(False) self.LinOutput.setObjectName("LinOutput") self.BtnOutput = QtWidgets.QPushButton(hcmgis_reprojection_form) self.BtnOutput.setEnabled(True) self.BtnOutput.setGeometry(QtCore.QRect(260, 130, 71, 21)) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.BtnOutput.setFont(font) self.BtnOutput.setObjectName("BtnOutput") self.LblOutput_4 = QtWidgets.QLabel(hcmgis_reprojection_form) self.LblOutput_4.setGeometry(QtCore.QRect(10, 55, 321, 16)) self.LblOutput_4.setObjectName("LblOutput_4") self.crs = QgsProjectionSelectionWidget(hcmgis_reprojection_form) self.crs.setGeometry(QtCore.QRect(10, 73, 321, 27)) self.crs.setObjectName("crs") self.retranslateUi(hcmgis_reprojection_form) self.BtnOKCancel.accepted.connect(hcmgis_reprojection_form.accept) self.BtnOKCancel.rejected.connect(hcmgis_reprojection_form.reject) QtCore.QMetaObject.connectSlotsByName(hcmgis_reprojection_form) def retranslateUi(self, hcmgis_reprojection_form): _translate = QtCore.QCoreApplication.translate hcmgis_reprojection_form.setWindowTitle( _translate("hcmgis_reprojection_form", "Layer Reprojection")) self.LblInput.setText( _translate("hcmgis_reprojection_form", "Input Layer")) self.LblOutput_3.setText( _translate("hcmgis_reprojection_form", "Output Shapefile")) self.BtnOutput.setText( _translate("hcmgis_reprojection_form", "Browse...")) self.LblOutput_4.setText( _translate("hcmgis_reprojection_form", "Target CRS"))
class Ui_Biorec(object): def setupUi(self, Biorec): Biorec.setObjectName(_fromUtf8("Biorec")) Biorec.resize(395, 573) self.verticalLayout = QtGui.QVBoxLayout(Biorec) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.tabWidget = QtGui.QTabWidget(Biorec) 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.butBrowse = QtGui.QPushButton(self.tab) self.butBrowse.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butBrowse.sizePolicy().hasHeightForWidth()) self.butBrowse.setSizePolicy(sizePolicy) self.butBrowse.setObjectName(_fromUtf8("butBrowse")) self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.butBrowse) self.lblLayer = QtGui.QLabel(self.tab) self.lblLayer.setObjectName(_fromUtf8("lblLayer")) self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.lblLayer) self.mlcbSourceLayer = QgsMapLayerComboBox(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.mlcbSourceLayer.sizePolicy().hasHeightForWidth()) self.mlcbSourceLayer.setSizePolicy(sizePolicy) self.mlcbSourceLayer.setObjectName(_fromUtf8("mlcbSourceLayer")) self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.mlcbSourceLayer) self.lblGridRefCol = QtGui.QLabel(self.tab) self.lblGridRefCol.setObjectName(_fromUtf8("lblGridRefCol")) self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.lblGridRefCol) self.fcbGridRefCol = QgsFieldComboBox(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.fcbGridRefCol.sizePolicy().hasHeightForWidth()) self.fcbGridRefCol.setSizePolicy(sizePolicy) self.fcbGridRefCol.setObjectName(_fromUtf8("fcbGridRefCol")) self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.fcbGridRefCol) self.lblXCol = QtGui.QLabel(self.tab) self.lblXCol.setObjectName(_fromUtf8("lblXCol")) self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.lblXCol) self.fcbXCol = QgsFieldComboBox(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.fcbXCol.sizePolicy().hasHeightForWidth()) self.fcbXCol.setSizePolicy(sizePolicy) self.fcbXCol.setObjectName(_fromUtf8("fcbXCol")) self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.fcbXCol) self.lblYCol = QtGui.QLabel(self.tab) self.lblYCol.setObjectName(_fromUtf8("lblYCol")) self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.lblYCol) self.fcbYCol = QgsFieldComboBox(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.fcbYCol.sizePolicy().hasHeightForWidth()) self.fcbYCol.setSizePolicy(sizePolicy) self.fcbYCol.setObjectName(_fromUtf8("fcbYCol")) self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.fcbYCol) self.lblAbundanceColumn = QtGui.QLabel(self.tab) self.lblAbundanceColumn.setObjectName(_fromUtf8("lblAbundanceColumn")) self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.lblAbundanceColumn) self.cboAbundanceCol = QtGui.QComboBox(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cboAbundanceCol.sizePolicy().hasHeightForWidth()) self.cboAbundanceCol.setSizePolicy(sizePolicy) self.cboAbundanceCol.setObjectName(_fromUtf8("cboAbundanceCol")) self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.cboAbundanceCol) self.lblTaxonCol = QtGui.QLabel(self.tab) self.lblTaxonCol.setObjectName(_fromUtf8("lblTaxonCol")) self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.lblTaxonCol) self.cboTaxonCol = QtGui.QComboBox(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cboTaxonCol.sizePolicy().hasHeightForWidth()) self.cboTaxonCol.setSizePolicy(sizePolicy) self.cboTaxonCol.setObjectName(_fromUtf8("cboTaxonCol")) self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.cboTaxonCol) self.cbIsScientific = QtGui.QCheckBox(self.tab) self.cbIsScientific.setEnabled(False) self.cbIsScientific.setChecked(False) self.cbIsScientific.setObjectName(_fromUtf8("cbIsScientific")) self.formLayout.setWidget(7, QtGui.QFormLayout.FieldRole, self.cbIsScientific) self.lblGroupingCol = QtGui.QLabel(self.tab) self.lblGroupingCol.setEnabled(False) self.lblGroupingCol.setObjectName(_fromUtf8("lblGroupingCol")) self.formLayout.setWidget(8, QtGui.QFormLayout.LabelRole, self.lblGroupingCol) self.cboGroupingCol = QtGui.QComboBox(self.tab) self.cboGroupingCol.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cboGroupingCol.sizePolicy().hasHeightForWidth()) self.cboGroupingCol.setSizePolicy(sizePolicy) self.cboGroupingCol.setObjectName(_fromUtf8("cboGroupingCol")) self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.cboGroupingCol) self.lblInputCRS = QtGui.QLabel(self.tab) self.lblInputCRS.setObjectName(_fromUtf8("lblInputCRS")) self.formLayout.setWidget(9, QtGui.QFormLayout.LabelRole, self.lblInputCRS) self.pswInputCRS = QgsProjectionSelectionWidget(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pswInputCRS.sizePolicy().hasHeightForWidth()) self.pswInputCRS.setSizePolicy(sizePolicy) self.pswInputCRS.setObjectName(_fromUtf8("pswInputCRS")) self.formLayout.setWidget(9, QtGui.QFormLayout.FieldRole, self.pswInputCRS) self.lblOutputCRS = QtGui.QLabel(self.tab) self.lblOutputCRS.setObjectName(_fromUtf8("lblOutputCRS")) self.formLayout.setWidget(10, QtGui.QFormLayout.LabelRole, self.lblOutputCRS) self.pswOutputCRS = QgsProjectionSelectionWidget(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pswOutputCRS.sizePolicy().hasHeightForWidth()) self.pswOutputCRS.setSizePolicy(sizePolicy) self.pswOutputCRS.setObjectName(_fromUtf8("pswOutputCRS")) self.formLayout.setWidget(10, QtGui.QFormLayout.FieldRole, self.pswOutputCRS) self.cbMatchCRS = QtGui.QCheckBox(self.tab) self.cbMatchCRS.setEnabled(True) self.cbMatchCRS.setChecked(False) self.cbMatchCRS.setObjectName(_fromUtf8("cbMatchCRS")) self.formLayout.setWidget(11, QtGui.QFormLayout.FieldRole, self.cbMatchCRS) spacerItem = QtGui.QSpacerItem(20, 84, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.formLayout.setItem(12, QtGui.QFormLayout.LabelRole, spacerItem) self.tabWidget.addTab(self.tab, _fromUtf8("")) self.tab_3 = QtGui.QWidget() self.tab_3.setObjectName(_fromUtf8("tab_3")) self.verticalLayout_3 = QtGui.QVBoxLayout(self.tab_3) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.tvTaxa = QtGui.QTreeView(self.tab_3) self.tvTaxa.setToolTip(_fromUtf8("")) self.tvTaxa.setObjectName(_fromUtf8("tvTaxa")) self.tvTaxa.header().setVisible(False) self.verticalLayout_3.addWidget(self.tvTaxa) self.frame_2 = QtGui.QFrame(self.tab_3) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.frame_2.sizePolicy().hasHeightForWidth()) self.frame_2.setSizePolicy(sizePolicy) self.frame_2.setFrameShape(QtGui.QFrame.NoFrame) self.frame_2.setFrameShadow(QtGui.QFrame.Raised) self.frame_2.setObjectName(_fromUtf8("frame_2")) self.horizontalLayout = QtGui.QHBoxLayout(self.frame_2) self.horizontalLayout.setSpacing(2) self.horizontalLayout.setMargin(0) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.butContract = QtGui.QPushButton(self.frame_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butContract.sizePolicy().hasHeightForWidth()) self.butContract.setSizePolicy(sizePolicy) self.butContract.setMinimumSize(QtCore.QSize(25, 0)) self.butContract.setMaximumSize(QtCore.QSize(25, 16777215)) self.butContract.setObjectName(_fromUtf8("butContract")) self.horizontalLayout.addWidget(self.butContract) self.butExpand = QtGui.QPushButton(self.frame_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butExpand.sizePolicy().hasHeightForWidth()) self.butExpand.setSizePolicy(sizePolicy) self.butExpand.setMinimumSize(QtCore.QSize(25, 0)) self.butExpand.setMaximumSize(QtCore.QSize(25, 16777215)) self.butExpand.setObjectName(_fromUtf8("butExpand")) self.horizontalLayout.addWidget(self.butExpand) self.butCheckAll = QtGui.QPushButton(self.frame_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butCheckAll.sizePolicy().hasHeightForWidth()) self.butCheckAll.setSizePolicy(sizePolicy) self.butCheckAll.setMinimumSize(QtCore.QSize(55, 0)) self.butCheckAll.setMaximumSize(QtCore.QSize(55, 16777215)) self.butCheckAll.setObjectName(_fromUtf8("butCheckAll")) self.horizontalLayout.addWidget(self.butCheckAll) self.butUncheckAll = QtGui.QPushButton(self.frame_2) self.butUncheckAll.setMinimumSize(QtCore.QSize(65, 0)) self.butUncheckAll.setMaximumSize(QtCore.QSize(65, 16777215)) self.butUncheckAll.setObjectName(_fromUtf8("butUncheckAll")) self.horizontalLayout.addWidget(self.butUncheckAll) spacerItem1 = QtGui.QSpacerItem(200, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem1) self.butGenTree = QtGui.QPushButton(self.frame_2) self.butGenTree.setObjectName(_fromUtf8("butGenTree")) self.horizontalLayout.addWidget(self.butGenTree) self.verticalLayout_3.addWidget(self.frame_2) self.tabWidget.addTab(self.tab_3, _fromUtf8("")) self.tab_5 = QtGui.QWidget() self.tab_5.setObjectName(_fromUtf8("tab_5")) self.verticalLayout_5 = QtGui.QVBoxLayout(self.tab_5) self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5")) self.cboBatchMode = QtGui.QComboBox(self.tab_5) self.cboBatchMode.setMinimumSize(QtCore.QSize(130, 0)) self.cboBatchMode.setMaximumSize(QtCore.QSize(130, 16777215)) self.cboBatchMode.setObjectName(_fromUtf8("cboBatchMode")) self.cboBatchMode.addItem(_fromUtf8("")) self.cboBatchMode.addItem(_fromUtf8("")) self.verticalLayout_5.addWidget(self.cboBatchMode) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.leStyleFile = QtGui.QLineEdit(self.tab_5) self.leStyleFile.setObjectName(_fromUtf8("leStyleFile")) self.horizontalLayout_4.addWidget(self.leStyleFile) self.pbBrowseStyleFile = QtGui.QPushButton(self.tab_5) self.pbBrowseStyleFile.setMinimumSize(QtCore.QSize(105, 0)) self.pbBrowseStyleFile.setObjectName(_fromUtf8("pbBrowseStyleFile")) self.horizontalLayout_4.addWidget(self.pbBrowseStyleFile) self.verticalLayout_5.addLayout(self.horizontalLayout_4) self.cbApplyStyle = QtGui.QCheckBox(self.tab_5) self.cbApplyStyle.setObjectName(_fromUtf8("cbApplyStyle")) self.verticalLayout_5.addWidget(self.cbApplyStyle) self.horizontalLayout_8 = QtGui.QHBoxLayout() self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8")) self.label_2 = QtGui.QLabel(self.tab_5) self.label_2.setObjectName(_fromUtf8("label_2")) self.horizontalLayout_8.addWidget(self.label_2) self.hsLayerTransparency = QtGui.QSlider(self.tab_5) self.hsLayerTransparency.setOrientation(QtCore.Qt.Horizontal) self.hsLayerTransparency.setTickPosition(QtGui.QSlider.TicksBelow) self.hsLayerTransparency.setTickInterval(10) self.hsLayerTransparency.setObjectName(_fromUtf8("hsLayerTransparency")) self.horizontalLayout_8.addWidget(self.hsLayerTransparency) self.verticalLayout_5.addLayout(self.horizontalLayout_8) self.mGroupBox = QgsCollapsibleGroupBox(self.tab_5) self.mGroupBox.setObjectName(_fromUtf8("mGroupBox")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.mGroupBox) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.horizontalLayout_9 = QtGui.QHBoxLayout() self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9")) self.label = QtGui.QLabel(self.mGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth()) self.label.setSizePolicy(sizePolicy) self.label.setMinimumSize(QtCore.QSize(34, 0)) self.label.setMaximumSize(QtCore.QSize(34, 16777215)) self.label.setObjectName(_fromUtf8("label")) self.horizontalLayout_9.addWidget(self.label) self.cboOutputFormat = QtGui.QComboBox(self.mGroupBox) self.cboOutputFormat.setEditable(False) self.cboOutputFormat.setObjectName(_fromUtf8("cboOutputFormat")) self.cboOutputFormat.addItem(_fromUtf8("")) self.cboOutputFormat.addItem(_fromUtf8("")) self.cboOutputFormat.addItem(_fromUtf8("")) self.cboOutputFormat.addItem(_fromUtf8("")) self.cboOutputFormat.addItem(_fromUtf8("")) self.horizontalLayout_9.addWidget(self.cboOutputFormat) self.verticalLayout_2.addLayout(self.horizontalLayout_9) self.qgsOutputCRS = QgsProjectionSelectionWidget(self.mGroupBox) self.qgsOutputCRS.setObjectName(_fromUtf8("qgsOutputCRS")) self.verticalLayout_2.addWidget(self.qgsOutputCRS) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.leImageFolder = QtGui.QLineEdit(self.mGroupBox) self.leImageFolder.setObjectName(_fromUtf8("leImageFolder")) self.horizontalLayout_3.addWidget(self.leImageFolder) self.pbBrowseImageFolder = QtGui.QPushButton(self.mGroupBox) self.pbBrowseImageFolder.setObjectName(_fromUtf8("pbBrowseImageFolder")) self.horizontalLayout_3.addWidget(self.pbBrowseImageFolder) self.verticalLayout_2.addLayout(self.horizontalLayout_3) self.horizontalLayout_10 = QtGui.QHBoxLayout() self.horizontalLayout_10.setObjectName(_fromUtf8("horizontalLayout_10")) self.cbTaxonMetaData = QtGui.QCheckBox(self.mGroupBox) self.cbTaxonMetaData.setMinimumSize(QtCore.QSize(131, 0)) self.cbTaxonMetaData.setMaximumSize(QtCore.QSize(131, 16777215)) self.cbTaxonMetaData.setObjectName(_fromUtf8("cbTaxonMetaData")) self.horizontalLayout_10.addWidget(self.cbTaxonMetaData) self.mlcbTaxonMetaDataLayer = QgsMapLayerComboBox(self.mGroupBox) self.mlcbTaxonMetaDataLayer.setObjectName(_fromUtf8("mlcbTaxonMetaDataLayer")) self.horizontalLayout_10.addWidget(self.mlcbTaxonMetaDataLayer) self.verticalLayout_2.addLayout(self.horizontalLayout_10) self.verticalLayout_5.addWidget(self.mGroupBox) self.horizontalLayout_7 = QtGui.QHBoxLayout() self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.butHelp = QtGui.QPushButton(self.tab_5) self.butHelp.setMinimumSize(QtCore.QSize(32, 32)) self.butHelp.setMaximumSize(QtCore.QSize(32, 32)) self.butHelp.setText(_fromUtf8("")) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8("images/bang.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butHelp.setIcon(icon) self.butHelp.setIconSize(QtCore.QSize(26, 26)) self.butHelp.setObjectName(_fromUtf8("butHelp")) self.horizontalLayout_7.addWidget(self.butHelp) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_7.addItem(spacerItem2) self.verticalLayout_5.addLayout(self.horizontalLayout_7) spacerItem3 = QtGui.QSpacerItem(20, 52, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout_5.addItem(spacerItem3) self.tabWidget.addTab(self.tab_5, _fromUtf8("")) self.tab_4 = QtGui.QWidget() self.tab_4.setObjectName(_fromUtf8("tab_4")) self.verticalLayout_4 = QtGui.QVBoxLayout(self.tab_4) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.pteLog = QtGui.QPlainTextEdit(self.tab_4) self.pteLog.setObjectName(_fromUtf8("pteLog")) self.verticalLayout_4.addWidget(self.pteLog) self.tabWidget.addTab(self.tab_4, _fromUtf8("")) self.verticalLayout.addWidget(self.tabWidget) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.progBatch = QtGui.QProgressBar(Biorec) self.progBatch.setProperty("value", 0) self.progBatch.setObjectName(_fromUtf8("progBatch")) self.horizontalLayout_6.addWidget(self.progBatch) self.pbCancel = QtGui.QPushButton(Biorec) self.pbCancel.setObjectName(_fromUtf8("pbCancel")) self.horizontalLayout_6.addWidget(self.pbCancel) self.verticalLayout.addLayout(self.horizontalLayout_6) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.cboSymbol = QtGui.QComboBox(Biorec) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cboSymbol.sizePolicy().hasHeightForWidth()) self.cboSymbol.setSizePolicy(sizePolicy) self.cboSymbol.setMinimumSize(QtCore.QSize(90, 0)) self.cboSymbol.setMaximumSize(QtCore.QSize(90, 16777215)) self.cboSymbol.setObjectName(_fromUtf8("cboSymbol")) self.cboSymbol.addItem(_fromUtf8("")) self.cboSymbol.addItem(_fromUtf8("")) self.horizontalLayout_5.addWidget(self.cboSymbol) self.cboMapType = QtGui.QComboBox(Biorec) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cboMapType.sizePolicy().hasHeightForWidth()) self.cboMapType.setSizePolicy(sizePolicy) self.cboMapType.setObjectName(_fromUtf8("cboMapType")) self.cboMapType.addItem(_fromUtf8("")) self.cboMapType.addItem(_fromUtf8("")) self.cboMapType.addItem(_fromUtf8("")) self.cboMapType.addItem(_fromUtf8("")) self.cboMapType.addItem(_fromUtf8("")) self.cboMapType.addItem(_fromUtf8("")) self.cboMapType.addItem(_fromUtf8("")) self.cboMapType.addItem(_fromUtf8("")) self.cboMapType.addItem(_fromUtf8("")) self.horizontalLayout_5.addWidget(self.cboMapType) self.dsbGridSize = QtGui.QDoubleSpinBox(Biorec) self.dsbGridSize.setDecimals(3) self.dsbGridSize.setMaximum(100000000.0) self.dsbGridSize.setSingleStep(100.0) self.dsbGridSize.setObjectName(_fromUtf8("dsbGridSize")) self.horizontalLayout_5.addWidget(self.dsbGridSize) self.verticalLayout.addLayout(self.horizontalLayout_5) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.butMap = QtGui.QPushButton(Biorec) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butMap.sizePolicy().hasHeightForWidth()) self.butMap.setSizePolicy(sizePolicy) self.butMap.setMinimumSize(QtCore.QSize(32, 32)) self.butMap.setMaximumSize(QtCore.QSize(32, 32)) self.butMap.setText(_fromUtf8("")) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(_fromUtf8("images/maptaxa.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butMap.setIcon(icon1) self.butMap.setIconSize(QtCore.QSize(30, 30)) self.butMap.setObjectName(_fromUtf8("butMap")) self.horizontalLayout_2.addWidget(self.butMap) self.butSaveImage = QtGui.QPushButton(Biorec) self.butSaveImage.setMinimumSize(QtCore.QSize(32, 32)) self.butSaveImage.setMaximumSize(QtCore.QSize(32, 32)) self.butSaveImage.setText(_fromUtf8("")) icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(_fromUtf8("images/saveimage.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butSaveImage.setIcon(icon2) self.butSaveImage.setIconSize(QtCore.QSize(28, 28)) self.butSaveImage.setObjectName(_fromUtf8("butSaveImage")) self.horizontalLayout_2.addWidget(self.butSaveImage) self.butShowAll = QtGui.QPushButton(Biorec) self.butShowAll.setMinimumSize(QtCore.QSize(32, 32)) self.butShowAll.setMaximumSize(QtCore.QSize(32, 32)) self.butShowAll.setText(_fromUtf8("")) icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap(_fromUtf8("images/layershow.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butShowAll.setIcon(icon3) self.butShowAll.setIconSize(QtCore.QSize(26, 26)) self.butShowAll.setObjectName(_fromUtf8("butShowAll")) self.horizontalLayout_2.addWidget(self.butShowAll) self.butHideAll = QtGui.QPushButton(Biorec) self.butHideAll.setMinimumSize(QtCore.QSize(32, 32)) self.butHideAll.setMaximumSize(QtCore.QSize(32, 32)) self.butHideAll.setText(_fromUtf8("")) icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap(_fromUtf8("images/layerhide.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butHideAll.setIcon(icon4) self.butHideAll.setIconSize(QtCore.QSize(26, 26)) self.butHideAll.setObjectName(_fromUtf8("butHideAll")) self.horizontalLayout_2.addWidget(self.butHideAll) self.butRemoveMap = QtGui.QPushButton(Biorec) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butRemoveMap.sizePolicy().hasHeightForWidth()) self.butRemoveMap.setSizePolicy(sizePolicy) self.butRemoveMap.setMinimumSize(QtCore.QSize(32, 32)) self.butRemoveMap.setMaximumSize(QtCore.QSize(32, 32)) self.butRemoveMap.setText(_fromUtf8("")) icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap(_fromUtf8("images/removelayer.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butRemoveMap.setIcon(icon5) self.butRemoveMap.setIconSize(QtCore.QSize(30, 30)) self.butRemoveMap.setObjectName(_fromUtf8("butRemoveMap")) self.horizontalLayout_2.addWidget(self.butRemoveMap) self.butRemoveMaps = QtGui.QPushButton(Biorec) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.butRemoveMaps.sizePolicy().hasHeightForWidth()) self.butRemoveMaps.setSizePolicy(sizePolicy) self.butRemoveMaps.setMinimumSize(QtCore.QSize(32, 32)) self.butRemoveMaps.setMaximumSize(QtCore.QSize(32, 32)) self.butRemoveMaps.setText(_fromUtf8("")) icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap(_fromUtf8("images/removelayers.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butRemoveMaps.setIcon(icon6) self.butRemoveMaps.setIconSize(QtCore.QSize(30, 30)) self.butRemoveMaps.setObjectName(_fromUtf8("butRemoveMaps")) self.horizontalLayout_2.addWidget(self.butRemoveMaps) spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem4) self.verticalLayout.addLayout(self.horizontalLayout_2) self.retranslateUi(Biorec) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(Biorec) def retranslateUi(self, Biorec): Biorec.setWindowTitle(_translate("Biorec", "TomBio", None)) self.butBrowse.setToolTip(_translate("Biorec", "Browse for CSV file", None)) self.butBrowse.setText(_translate("Biorec", "Create new source layer from CSV", None)) self.lblLayer.setText(_translate("Biorec", "Source layer", None)) self.lblGridRefCol.setText(_translate("Biorec", "OS Grid Ref Column", None)) self.lblXCol.setText(_translate("Biorec", "X Column", None)) self.lblYCol.setText(_translate("Biorec", "Y Column", None)) self.lblAbundanceColumn.setText(_translate("Biorec", "Abundance Column", None)) self.cboAbundanceCol.setToolTip(_translate("Biorec", "Optional column with abundance data", None)) self.lblTaxonCol.setText(_translate("Biorec", "Taxon Column", None)) self.cboTaxonCol.setToolTip(_translate("Biorec", "Select column with species names", None)) self.cbIsScientific.setToolTip(_translate("Biorec", "Select if taxon column contains scientific binomials", None)) self.cbIsScientific.setText(_translate("Biorec", "Scientific names", None)) self.lblGroupingCol.setText(_translate("Biorec", "Grouping Column", None)) self.cboGroupingCol.setToolTip(_translate("Biorec", "Optionally select a grouping column", None)) self.lblInputCRS.setText(_translate("Biorec", "Input CRS", None)) self.lblOutputCRS.setText(_translate("Biorec", "Output CRS", None)) self.cbMatchCRS.setToolTip(_translate("Biorec", "Select if taxon column contains scientific binomials", None)) self.cbMatchCRS.setText(_translate("Biorec", "Match to input CRS", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("Biorec", "Data specification", None)) self.butContract.setToolTip(_translate("Biorec", "Contract all items", None)) self.butContract.setText(_translate("Biorec", "-", None)) self.butExpand.setToolTip(_translate("Biorec", "Expand all items", None)) self.butExpand.setText(_translate("Biorec", "+", None)) self.butCheckAll.setToolTip(_translate("Biorec", "Check all items", None)) self.butCheckAll.setText(_translate("Biorec", "Check all", None)) self.butUncheckAll.setToolTip(_translate("Biorec", "Uncheck all items", None)) self.butUncheckAll.setText(_translate("Biorec", "Uncheck all", None)) self.butGenTree.setToolTip(_translate("Biorec", "Create/recreate species tree", None)) self.butGenTree.setText(_translate("Biorec", "Load taxa", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("Biorec", "Taxa", None)) self.cboBatchMode.setToolTip(_translate("Biorec", "Single or batch mode?", None)) self.cboBatchMode.setItemText(0, _translate("Biorec", "Single map mode", None)) self.cboBatchMode.setItemText(1, _translate("Biorec", "Batch map mode", None)) self.leStyleFile.setToolTip(_translate("Biorec", "Path of style file to apply to created maps", None)) self.pbBrowseStyleFile.setText(_translate("Biorec", "Browse style file", None)) self.cbApplyStyle.setText(_translate("Biorec", "Apply style", None)) self.label_2.setText(_translate("Biorec", "Transparency", None)) self.mGroupBox.setTitle(_translate("Biorec", "Output options", None)) self.label.setText(_translate("Biorec", "Format", None)) self.cboOutputFormat.setItemText(0, _translate("Biorec", "Image", None)) self.cboOutputFormat.setItemText(1, _translate("Biorec", "Shapefile", None)) self.cboOutputFormat.setItemText(2, _translate("Biorec", "GeoJSON", None)) self.cboOutputFormat.setItemText(3, _translate("Biorec", "Composer image", None)) self.cboOutputFormat.setItemText(4, _translate("Biorec", "Composer PDF", None)) self.leImageFolder.setToolTip(_translate("Biorec", "Folder for atlas images", None)) self.pbBrowseImageFolder.setText(_translate("Biorec", "Browse output folder", None)) self.cbTaxonMetaData.setText(_translate("Biorec", "Taxon Metadata Layer", None)) self.butHelp.setToolTip(_translate("Biorec", "Tips and help", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("Biorec", "Options", None)) self.pteLog.setToolTip(_translate("Biorec", "Information messages generated during map layer creation", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("Biorec", "Log", None)) self.progBatch.setToolTip(_translate("Biorec", "Shows progress in batch mode", None)) self.pbCancel.setToolTip(_translate("Biorec", "Cancel batch process", None)) self.pbCancel.setText(_translate("Biorec", "Cancel", None)) self.cboSymbol.setToolTip(_translate("Biorec", "Squares or circles?", None)) self.cboSymbol.setItemText(0, _translate("Biorec", "Atlas squares", None)) self.cboSymbol.setItemText(1, _translate("Biorec", "Atlas circles", None)) self.cboMapType.setToolTip(_translate("Biorec", "Type of map", None)) self.cboMapType.setItemText(0, _translate("Biorec", "Records as points", None)) self.cboMapType.setItemText(1, _translate("Biorec", "Records as grid squares", None)) self.cboMapType.setItemText(2, _translate("Biorec", "10 m atlas (8 fig gr)", None)) self.cboMapType.setItemText(3, _translate("Biorec", "100 m atlas (6 fig gr)", None)) self.cboMapType.setItemText(4, _translate("Biorec", "1 km atlas (monads)", None)) self.cboMapType.setItemText(5, _translate("Biorec", "2 km atlas (tetrads)", None)) self.cboMapType.setItemText(6, _translate("Biorec", "5 km atlas (quadrants)", None)) self.cboMapType.setItemText(7, _translate("Biorec", "10 km atlas (hectads)", None)) self.cboMapType.setItemText(8, _translate("Biorec", "User-defined atlas size:", None)) self.dsbGridSize.setToolTip(_translate("Biorec", "<html><head/><body><p>Grid size for atlas - specify in units used by output CRS</p></body></html>", None)) self.butMap.setToolTip(_translate("Biorec", "Create map layer", None)) self.butSaveImage.setToolTip(_translate("Biorec", "Save temporary map layers as images or permanent layers", None)) self.butShowAll.setToolTip(_translate("Biorec", "Show all generated map layers", None)) self.butHideAll.setToolTip(_translate("Biorec", "Hide all generated map layers", None)) self.butRemoveMap.setToolTip(_translate("Biorec", "Remove last map layer", None)) self.butRemoveMaps.setToolTip(_translate("Biorec", "Remove all map layers", None))
class Ui_RiverGIS(object): def setupUi(self, RiverGIS): RiverGIS.setObjectName(_fromUtf8("RiverGIS")) RiverGIS.setEnabled(True) RiverGIS.resize(617, 438) icon = QtGui.QIcon() icon.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/rivergis_big.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) RiverGIS.setWindowIcon(icon) RiverGIS.setIconSize(QtCore.QSize(24, 24)) self.centralwidget = QtGui.QWidget(RiverGIS) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.gridLayout_2 = QtGui.QGridLayout(self.centralwidget) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.labelCurSchema = QtGui.QLabel(self.centralwidget) self.labelCurSchema.setObjectName(_fromUtf8("labelCurSchema")) self.gridLayout.addWidget(self.labelCurSchema, 0, 3, 1, 1) self.labelCurDatabase = QtGui.QLabel(self.centralwidget) self.labelCurDatabase.setObjectName(_fromUtf8("labelCurDatabase")) self.gridLayout.addWidget(self.labelCurDatabase, 0, 0, 1, 1) self.schemasCbo = QtGui.QComboBox(self.centralwidget) self.schemasCbo.setMinimumSize(QtCore.QSize(200, 0)) self.schemasCbo.setObjectName(_fromUtf8("schemasCbo")) self.gridLayout.addWidget(self.schemasCbo, 0, 4, 1, 1) self.connsCbo = QtGui.QComboBox(self.centralwidget) self.connsCbo.setMinimumSize(QtCore.QSize(200, 0)) self.connsCbo.setObjectName(_fromUtf8("connsCbo")) self.gridLayout.addWidget(self.connsCbo, 0, 1, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 0, 2, 1, 1) self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1) self.textEdit = QtGui.QTextEdit(self.centralwidget) self.textEdit.setReadOnly(True) self.textEdit.setObjectName(_fromUtf8("textEdit")) self.gridLayout_2.addWidget(self.textEdit, 1, 0, 1, 1) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setContentsMargins(-1, 0, -1, -1) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem1) self.label = QtGui.QLabel(self.centralwidget) self.label.setObjectName(_fromUtf8("label")) self.horizontalLayout.addWidget(self.label) self.crsWidget = QgsProjectionSelectionWidget(self.centralwidget) self.crsWidget.setMinimumSize(QtCore.QSize(300, 0)) self.crsWidget.setMaximumSize(QtCore.QSize(400, 16777215)) self.crsWidget.setObjectName(_fromUtf8("crsWidget")) self.horizontalLayout.addWidget(self.crsWidget) self.gridLayout_2.addLayout(self.horizontalLayout, 2, 0, 1, 1) RiverGIS.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(RiverGIS) self.menubar.setGeometry(QtCore.QRect(0, 0, 617, 18)) self.menubar.setObjectName(_fromUtf8("menubar")) self.menuHelp = QtGui.QMenu(self.menubar) self.menuHelp.setObjectName(_fromUtf8("menuHelp")) self.menu_Geometry = QtGui.QMenu(self.menubar) self.menu_Geometry.setObjectName(_fromUtf8("menu_Geometry")) self.menuXS_Cut_Line_Attributes = QtGui.QMenu(self.menu_Geometry) icon1 = QtGui.QIcon() icon1.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/ras1dXs.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.menuXS_Cut_Line_Attributes.setIcon(icon1) self.menuXS_Cut_Line_Attributes.setObjectName( _fromUtf8("menuXS_Cut_Line_Attributes")) self.menuStreamCenterlineAttributes = QtGui.QMenu(self.menu_Geometry) icon2 = QtGui.QIcon() icon2.addPixmap( QtGui.QPixmap( _fromUtf8(":/rivergis/icons/ras1dStreamCenterlines.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.menuStreamCenterlineAttributes.setIcon(icon2) self.menuStreamCenterlineAttributes.setObjectName( _fromUtf8("menuStreamCenterlineAttributes")) self.menuBridges_Culverts = QtGui.QMenu(self.menu_Geometry) icon3 = QtGui.QIcon() icon3.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/ras1dBridges.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.menuBridges_Culverts.setIcon(icon3) self.menuBridges_Culverts.setObjectName( _fromUtf8("menuBridges_Culverts")) self.menuInline_Structures = QtGui.QMenu(self.menu_Geometry) icon4 = QtGui.QIcon() icon4.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/ras1dInlineStruct.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.menuInline_Structures.setIcon(icon4) self.menuInline_Structures.setObjectName( _fromUtf8("menuInline_Structures")) self.menuLateral_Structures = QtGui.QMenu(self.menu_Geometry) icon5 = QtGui.QIcon() icon5.addPixmap( QtGui.QPixmap( _fromUtf8(":/rivergis/icons/ras1dLateralStruct.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.menuLateral_Structures.setIcon(icon5) self.menuLateral_Structures.setObjectName( _fromUtf8("menuLateral_Structures")) self.menuStorage_Areas = QtGui.QMenu(self.menu_Geometry) icon6 = QtGui.QIcon() icon6.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/ras1dStorageAreas.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.menuStorage_Areas.setIcon(icon6) self.menuStorage_Areas.setObjectName(_fromUtf8("menuStorage_Areas")) self.menuStorage_Areas_Connections = QtGui.QMenu(self.menu_Geometry) icon7 = QtGui.QIcon() icon7.addPixmap( QtGui.QPixmap( _fromUtf8(":/rivergis/icons/ras1dSAConnections.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.menuStorage_Areas_Connections.setIcon(icon7) self.menuStorage_Areas_Connections.setObjectName( _fromUtf8("menuStorage_Areas_Connections")) self.menuDB = QtGui.QMenu(self.menubar) self.menuDB.setObjectName(_fromUtf8("menuDB")) self.menuSettings = QtGui.QMenu(self.menubar) self.menuSettings.setObjectName(_fromUtf8("menuSettings")) RiverGIS.setMenuBar(self.menubar) self.dbToolBar = QtGui.QToolBar(RiverGIS) self.dbToolBar.setObjectName(_fromUtf8("dbToolBar")) RiverGIS.addToolBar(QtCore.Qt.TopToolBarArea, self.dbToolBar) self.settingsToolBar = QtGui.QToolBar(RiverGIS) self.settingsToolBar.setObjectName(_fromUtf8("settingsToolBar")) RiverGIS.addToolBar(QtCore.Qt.TopToolBarArea, self.settingsToolBar) self.rasGeomToolBar = QtGui.QToolBar(RiverGIS) self.rasGeomToolBar.setObjectName(_fromUtf8("rasGeomToolBar")) RiverGIS.addToolBar(QtCore.Qt.TopToolBarArea, self.rasGeomToolBar) self.rasOptGeomToolBar = QtGui.QToolBar(RiverGIS) self.rasOptGeomToolBar.setObjectName(_fromUtf8("rasOptGeomToolBar")) RiverGIS.addToolBar(QtCore.Qt.TopToolBarArea, self.rasOptGeomToolBar) RiverGIS.insertToolBarBreak(self.rasOptGeomToolBar) self.rasStructuresToolBar = QtGui.QToolBar(RiverGIS) self.rasStructuresToolBar.setObjectName( _fromUtf8("rasStructuresToolBar")) RiverGIS.addToolBar(QtCore.Qt.TopToolBarArea, self.rasStructuresToolBar) self.rasSAToolBar = QtGui.QToolBar(RiverGIS) self.rasSAToolBar.setObjectName(_fromUtf8("rasSAToolBar")) RiverGIS.addToolBar(QtCore.Qt.TopToolBarArea, self.rasSAToolBar) self.ras2dToolBar = QtGui.QToolBar(RiverGIS) self.ras2dToolBar.setObjectName(_fromUtf8("ras2dToolBar")) RiverGIS.addToolBar(QtCore.Qt.TopToolBarArea, self.ras2dToolBar) self.rasImportExportToolBar = QtGui.QToolBar(RiverGIS) self.rasImportExportToolBar.setObjectName( _fromUtf8("rasImportExportToolBar")) RiverGIS.addToolBar(QtCore.Qt.TopToolBarArea, self.rasImportExportToolBar) self.actionRASCreate2dAreaPoints = QtGui.QAction(RiverGIS) icon8 = QtGui.QIcon() icon8.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/ras2dareaCreate.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASCreate2dAreaPoints.setIcon(icon8) self.actionRASCreate2dAreaPoints.setObjectName( _fromUtf8("actionRASCreate2dAreaPoints")) self.actionHelpContents = QtGui.QAction(RiverGIS) icon9 = QtGui.QIcon() icon9.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/helpContents.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionHelpContents.setIcon(icon9) self.actionHelpContents.setObjectName(_fromUtf8("actionHelpContents")) self.actionRASWaterSurfaceGeneration = QtGui.QAction(RiverGIS) self.actionRASWaterSurfaceGeneration.setEnabled(True) icon10 = QtGui.QIcon() icon10.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/createWselRaster.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASWaterSurfaceGeneration.setIcon(icon10) self.actionRASWaterSurfaceGeneration.setObjectName( _fromUtf8("actionRASWaterSurfaceGeneration")) self.actionRefreshConnections = QtGui.QAction(RiverGIS) icon11 = QtGui.QIcon() icon11.addPixmap( QtGui.QPixmap( _fromUtf8(":/rivergis/icons/refreshConnections.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRefreshConnections.setIcon(icon11) self.actionRefreshConnections.setObjectName( _fromUtf8("actionRefreshConnections")) self.actionRASSave2DPointsToHECRASGeometry = QtGui.QAction(RiverGIS) icon12 = QtGui.QIcon() icon12.addPixmap( QtGui.QPixmap( _fromUtf8(":/rivergis/icons/ras2dareaSaveToGeo.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASSave2DPointsToHECRASGeometry.setIcon(icon12) self.actionRASSave2DPointsToHECRASGeometry.setObjectName( _fromUtf8("actionRASSave2DPointsToHECRASGeometry")) self.actionRASPreview2DMesh = QtGui.QAction(RiverGIS) self.actionRASPreview2DMesh.setEnabled(True) icon13 = QtGui.QIcon() icon13.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/ras2dareaPreview.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASPreview2DMesh.setIcon(icon13) self.actionRASPreview2DMesh.setObjectName( _fromUtf8("actionRASPreview2DMesh")) self.actionRASCreateRdbTables = QtGui.QAction(RiverGIS) icon14 = QtGui.QIcon() icon14.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/dbCreateRasTables.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASCreateRdbTables.setIcon(icon14) self.actionRASCreateRdbTables.setObjectName( _fromUtf8("actionRASCreateRdbTables")) self.actionRASManningsNValues = QtGui.QAction(RiverGIS) icon15 = QtGui.QIcon() icon15.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/ras1dXsMannings.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASManningsNValues.setIcon(icon15) self.actionRASManningsNValues.setObjectName( _fromUtf8("actionRASManningsNValues")) self.actionRASCreateRASGISImport = QtGui.QAction(RiverGIS) icon16 = QtGui.QIcon() icon16.addPixmap( QtGui.QPixmap( _fromUtf8(":/rivergis/icons/ras1dCreateRASImport.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASCreateRASGISImport.setIcon(icon16) self.actionRASCreateRASGISImport.setObjectName( _fromUtf8("actionRASCreateRASGISImport")) self.actionRASTopology1D = QtGui.QAction(RiverGIS) icon17 = QtGui.QIcon() icon17.addPixmap( QtGui.QPixmap( _fromUtf8( ":/rivergis/icons/ras1dStreamCenterlinesTopology.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASTopology1D.setIcon(icon17) self.actionRASTopology1D.setObjectName( _fromUtf8("actionRASTopology1D")) self.actionRASLengthsStations = QtGui.QAction(RiverGIS) icon18 = QtGui.QIcon() icon18.addPixmap( QtGui.QPixmap( _fromUtf8( ":/rivergis/icons/ras1dStreamCenterlinesLengthsStations.svg" )), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASLengthsStations.setIcon(icon18) self.actionRASLengthsStations.setObjectName( _fromUtf8("actionRASLengthsStations")) self.actionRASStreamCenterlineAll = QtGui.QAction(RiverGIS) icon19 = QtGui.QIcon() icon19.addPixmap( QtGui.QPixmap( _fromUtf8(":/rivergis/icons/ras1dStreamCenterlinesAll.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASStreamCenterlineAll.setIcon(icon19) self.actionRASStreamCenterlineAll.setObjectName( _fromUtf8("actionRASStreamCenterlineAll")) self.actionRASXSRiverReachNames = QtGui.QAction(RiverGIS) icon20 = QtGui.QIcon() icon20.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/ras1dXsRiverNames.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASXSRiverReachNames.setIcon(icon20) self.actionRASXSRiverReachNames.setObjectName( _fromUtf8("actionRASXSRiverReachNames")) self.actionRASXSStationing = QtGui.QAction(RiverGIS) icon21 = QtGui.QIcon() icon21.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/ras1dXsStationing.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASXSStationing.setIcon(icon21) self.actionRASXSStationing.setObjectName( _fromUtf8("actionRASXSStationing")) self.actionRASXSBankStations = QtGui.QAction(RiverGIS) icon22 = QtGui.QIcon() icon22.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/ras1dXsBanks.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASXSBankStations.setIcon(icon22) self.actionRASXSBankStations.setObjectName( _fromUtf8("actionRASXSBankStations")) self.actionRASXSDownstreamReachLengths = QtGui.QAction(RiverGIS) icon23 = QtGui.QIcon() icon23.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/ras1dXsDSLengths.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASXSDownstreamReachLengths.setIcon(icon23) self.actionRASXSDownstreamReachLengths.setObjectName( _fromUtf8("actionRASXSDownstreamReachLengths")) self.actionRASXSElevations = QtGui.QAction(RiverGIS) icon24 = QtGui.QIcon() icon24.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/ras1dXsElevations.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASXSElevations.setIcon(icon24) self.actionRASXSElevations.setObjectName( _fromUtf8("actionRASXSElevations")) self.actionRASXSAll = QtGui.QAction(RiverGIS) icon25 = QtGui.QIcon() icon25.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/ras1dXsAll.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASXSAll.setIcon(icon25) self.actionRASXSAll.setObjectName(_fromUtf8("actionRASXSAll")) self.actionRASImportLayersIntoRdbTables = QtGui.QAction(RiverGIS) icon26 = QtGui.QIcon() icon26.addPixmap( QtGui.QPixmap( _fromUtf8(":/rivergis/icons/importLayersIntoRdb.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASImportLayersIntoRdbTables.setIcon(icon26) self.actionRASImportLayersIntoRdbTables.setObjectName( _fromUtf8("actionRASImportLayersIntoRdbTables")) self.actionRASLevees = QtGui.QAction(RiverGIS) icon27 = QtGui.QIcon() icon27.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/ras1dXsLevees.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASLevees.setIcon(icon27) self.actionRASLevees.setObjectName(_fromUtf8("actionRASLevees")) self.actionRASIneffectiveFlowAreas = QtGui.QAction(RiverGIS) icon28 = QtGui.QIcon() icon28.addPixmap( QtGui.QPixmap( _fromUtf8(":/rivergis/icons/ras1dXsIneffective.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASIneffectiveFlowAreas.setIcon(icon28) self.actionRASIneffectiveFlowAreas.setObjectName( _fromUtf8("actionRASIneffectiveFlowAreas")) self.actionRASBlockedObstructions = QtGui.QAction(RiverGIS) icon29 = QtGui.QIcon() icon29.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/ras1dXsBlockedObs.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASBlockedObstructions.setIcon(icon29) self.actionRASBlockedObstructions.setObjectName( _fromUtf8("actionRASBlockedObstructions")) self.actionRASLoadRdbTablesIntoQGIS = QtGui.QAction(RiverGIS) icon30 = QtGui.QIcon() icon30.addPixmap( QtGui.QPixmap( _fromUtf8(":/rivergis/icons/loadRdbTablesIntoQgis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASLoadRdbTablesIntoQGIS.setIcon(icon30) self.actionRASLoadRdbTablesIntoQGIS.setObjectName( _fromUtf8("actionRASLoadRdbTablesIntoQGIS")) self.actionOptions = QtGui.QAction(RiverGIS) icon31 = QtGui.QIcon() icon31.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/options.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionOptions.setIcon(icon31) self.actionOptions.setObjectName(_fromUtf8("actionOptions")) self.actionDebugMode = QtGui.QAction(RiverGIS) self.actionDebugMode.setCheckable(True) self.actionDebugMode.setChecked(False) self.actionDebugMode.setObjectName(_fromUtf8("actionDebugMode")) self.actionCopyStreamCenterlines2Flowpaths = QtGui.QAction(RiverGIS) self.actionCopyStreamCenterlines2Flowpaths.setObjectName( _fromUtf8("actionCopyStreamCenterlines2Flowpaths")) self.actionAlwaysOnTop = QtGui.QAction(RiverGIS) self.actionAlwaysOnTop.setCheckable(True) self.actionAlwaysOnTop.setObjectName(_fromUtf8("actionAlwaysOnTop")) self.actionRASXSUpdateInsertMeasuredPoints = QtGui.QAction(RiverGIS) icon32 = QtGui.QIcon() icon32.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/ras1dXsUpdate.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASXSUpdateInsertMeasuredPoints.setIcon(icon32) self.actionRASXSUpdateInsertMeasuredPoints.setObjectName( _fromUtf8("actionRASXSUpdateInsertMeasuredPoints")) self.actionRASBRRiverReachNames = QtGui.QAction(RiverGIS) self.actionRASBRRiverReachNames.setObjectName( _fromUtf8("actionRASBRRiverReachNames")) self.actionRASBRStationing = QtGui.QAction(RiverGIS) self.actionRASBRStationing.setObjectName( _fromUtf8("actionRASBRStationing")) self.actionRASBRElevations = QtGui.QAction(RiverGIS) self.actionRASBRElevations.setEnabled(True) self.actionRASBRElevations.setObjectName( _fromUtf8("actionRASBRElevations")) self.actionRASBRAll = QtGui.QAction(RiverGIS) self.actionRASBRAll.setIcon(icon3) self.actionRASBRAll.setObjectName(_fromUtf8("actionRASBRAll")) self.actionRASInlRiverReachNames = QtGui.QAction(RiverGIS) self.actionRASInlRiverReachNames.setObjectName( _fromUtf8("actionRASInlRiverReachNames")) self.actionRASInlStationing = QtGui.QAction(RiverGIS) self.actionRASInlStationing.setObjectName( _fromUtf8("actionRASInlStationing")) self.actionRASInlElevations = QtGui.QAction(RiverGIS) self.actionRASInlElevations.setEnabled(True) self.actionRASInlElevations.setObjectName( _fromUtf8("actionRASInlElevations")) self.actionRASInlAll = QtGui.QAction(RiverGIS) self.actionRASInlAll.setIcon(icon4) self.actionRASInlAll.setObjectName(_fromUtf8("actionRASInlAll")) self.actionRASLatRiverReachNames = QtGui.QAction(RiverGIS) self.actionRASLatRiverReachNames.setObjectName( _fromUtf8("actionRASLatRiverReachNames")) self.actionRASLatStationing = QtGui.QAction(RiverGIS) self.actionRASLatStationing.setObjectName( _fromUtf8("actionRASLatStationing")) self.actionRASLatElevations = QtGui.QAction(RiverGIS) self.actionRASLatElevations.setEnabled(True) self.actionRASLatElevations.setObjectName( _fromUtf8("actionRASLatElevations")) self.actionRASLatAll = QtGui.QAction(RiverGIS) self.actionRASLatAll.setIcon(icon5) self.actionRASLatAll.setObjectName(_fromUtf8("actionRASLatAll")) self.actionRASSAElevationVolumeData = QtGui.QAction(RiverGIS) icon33 = QtGui.QIcon() icon33.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/ras1dSAElevVolume.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASSAElevationVolumeData.setIcon(icon33) self.actionRASSAElevationVolumeData.setObjectName( _fromUtf8("actionRASSAElevationVolumeData")) self.actionRASSATerrainPointExtraction = QtGui.QAction(RiverGIS) icon34 = QtGui.QIcon() icon34.addPixmap( QtGui.QPixmap( _fromUtf8(":/rivergis/icons/ras1dSATerPtExtract.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionRASSATerrainPointExtraction.setIcon(icon34) self.actionRASSATerrainPointExtraction.setObjectName( _fromUtf8("actionRASSATerrainPointExtraction")) self.actionRASSAAll = QtGui.QAction(RiverGIS) self.actionRASSAAll.setIcon(icon6) self.actionRASSAAll.setObjectName(_fromUtf8("actionRASSAAll")) self.actionRASSacAssignNearestSA = QtGui.QAction(RiverGIS) self.actionRASSacAssignNearestSA.setObjectName( _fromUtf8("actionRASSacAssignNearestSA")) self.actionRASSacElevations = QtGui.QAction(RiverGIS) self.actionRASSacElevations.setObjectName( _fromUtf8("actionRASSacElevations")) self.actionRASSacAll = QtGui.QAction(RiverGIS) self.actionRASSacAll.setIcon(icon7) self.actionRASSacAll.setObjectName(_fromUtf8("actionRASSacAll")) self.actionWebsite = QtGui.QAction(RiverGIS) icon35 = QtGui.QIcon() icon35.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/webSite.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionWebsite.setIcon(icon35) self.actionWebsite.setObjectName(_fromUtf8("actionWebsite")) self.actionAbout = QtGui.QAction(RiverGIS) icon36 = QtGui.QIcon() icon36.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/rivergis.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionAbout.setIcon(icon36) self.actionAbout.setObjectName(_fromUtf8("actionAbout")) self.actionRestoreDefaultOptions = QtGui.QAction(RiverGIS) self.actionRestoreDefaultOptions.setObjectName( _fromUtf8("actionRestoreDefaultOptions")) self.actionCreateNewSchema = QtGui.QAction(RiverGIS) icon37 = QtGui.QIcon() icon37.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/dbCreateSchema.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionCreateNewSchema.setIcon(icon37) self.actionCreateNewSchema.setObjectName( _fromUtf8("actionCreateNewSchema")) self.actionDeleteSchema = QtGui.QAction(RiverGIS) icon38 = QtGui.QIcon() icon38.addPixmap( QtGui.QPixmap(_fromUtf8(":/rivergis/icons/dbDeleteSchema.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionDeleteSchema.setIcon(icon38) self.actionDeleteSchema.setObjectName(_fromUtf8("actionDeleteSchema")) self.menuHelp.addAction(self.actionHelpContents) self.menuHelp.addAction(self.actionWebsite) self.menuHelp.addAction(self.actionAbout) self.menuXS_Cut_Line_Attributes.addAction( self.actionRASXSRiverReachNames) self.menuXS_Cut_Line_Attributes.addAction(self.actionRASXSStationing) self.menuXS_Cut_Line_Attributes.addAction(self.actionRASXSBankStations) self.menuXS_Cut_Line_Attributes.addAction( self.actionRASXSDownstreamReachLengths) self.menuXS_Cut_Line_Attributes.addSeparator() self.menuXS_Cut_Line_Attributes.addAction(self.actionRASXSElevations) self.menuXS_Cut_Line_Attributes.addSeparator() self.menuXS_Cut_Line_Attributes.addAction(self.actionRASXSAll) self.menuXS_Cut_Line_Attributes.addSeparator() self.menuXS_Cut_Line_Attributes.addAction( self.actionRASXSUpdateInsertMeasuredPoints) self.menuStreamCenterlineAttributes.addAction(self.actionRASTopology1D) self.menuStreamCenterlineAttributes.addAction( self.actionRASLengthsStations) self.menuStreamCenterlineAttributes.addSeparator() self.menuStreamCenterlineAttributes.addAction( self.actionRASStreamCenterlineAll) self.menuStreamCenterlineAttributes.addSeparator() self.menuStreamCenterlineAttributes.addAction( self.actionCopyStreamCenterlines2Flowpaths) self.menuBridges_Culverts.addAction(self.actionRASBRRiverReachNames) self.menuBridges_Culverts.addAction(self.actionRASBRStationing) self.menuBridges_Culverts.addSeparator() self.menuBridges_Culverts.addAction(self.actionRASBRElevations) self.menuBridges_Culverts.addSeparator() self.menuBridges_Culverts.addAction(self.actionRASBRAll) self.menuInline_Structures.addAction(self.actionRASInlRiverReachNames) self.menuInline_Structures.addAction(self.actionRASInlStationing) self.menuInline_Structures.addSeparator() self.menuInline_Structures.addAction(self.actionRASInlElevations) self.menuInline_Structures.addSeparator() self.menuInline_Structures.addAction(self.actionRASInlAll) self.menuLateral_Structures.addAction(self.actionRASLatRiverReachNames) self.menuLateral_Structures.addAction(self.actionRASLatStationing) self.menuLateral_Structures.addSeparator() self.menuLateral_Structures.addAction(self.actionRASLatElevations) self.menuLateral_Structures.addSeparator() self.menuLateral_Structures.addAction(self.actionRASLatAll) self.menuStorage_Areas.addAction( self.actionRASSATerrainPointExtraction) self.menuStorage_Areas.addAction(self.actionRASSAElevationVolumeData) self.menuStorage_Areas.addSeparator() self.menuStorage_Areas.addAction(self.actionRASSAAll) self.menuStorage_Areas_Connections.addAction( self.actionRASSacAssignNearestSA) self.menuStorage_Areas_Connections.addAction( self.actionRASSacElevations) self.menuStorage_Areas_Connections.addSeparator() self.menuStorage_Areas_Connections.addAction(self.actionRASSacAll) self.menu_Geometry.addAction( self.menuStreamCenterlineAttributes.menuAction()) self.menu_Geometry.addAction( self.menuXS_Cut_Line_Attributes.menuAction()) self.menu_Geometry.addAction(self.actionRASManningsNValues) self.menu_Geometry.addAction(self.actionRASLevees) self.menu_Geometry.addAction(self.actionRASIneffectiveFlowAreas) self.menu_Geometry.addAction(self.actionRASBlockedObstructions) self.menu_Geometry.addSeparator() self.menu_Geometry.addAction(self.menuBridges_Culverts.menuAction()) self.menu_Geometry.addAction(self.menuInline_Structures.menuAction()) self.menu_Geometry.addAction(self.menuLateral_Structures.menuAction()) self.menu_Geometry.addAction(self.menuStorage_Areas.menuAction()) self.menu_Geometry.addAction( self.menuStorage_Areas_Connections.menuAction()) self.menu_Geometry.addSeparator() self.menu_Geometry.addAction(self.actionRASCreateRASGISImport) self.menu_Geometry.addSeparator() self.menu_Geometry.addAction(self.actionRASCreate2dAreaPoints) self.menu_Geometry.addAction(self.actionRASPreview2DMesh) self.menu_Geometry.addAction( self.actionRASSave2DPointsToHECRASGeometry) self.menuDB.addAction(self.actionRefreshConnections) self.menuDB.addAction(self.actionCreateNewSchema) self.menuDB.addAction(self.actionDeleteSchema) self.menuDB.addAction(self.actionRASCreateRdbTables) self.menuDB.addAction(self.actionRASImportLayersIntoRdbTables) self.menuDB.addAction(self.actionRASLoadRdbTablesIntoQGIS) self.menuSettings.addAction(self.actionOptions) self.menuSettings.addAction(self.actionRestoreDefaultOptions) self.menubar.addAction(self.menuDB.menuAction()) self.menubar.addAction(self.menuSettings.menuAction()) self.menubar.addAction(self.menu_Geometry.menuAction()) self.menubar.addAction(self.menuHelp.menuAction()) self.dbToolBar.addAction(self.actionRefreshConnections) self.dbToolBar.addAction(self.actionCreateNewSchema) self.dbToolBar.addAction(self.actionDeleteSchema) self.dbToolBar.addAction(self.actionRASCreateRdbTables) self.dbToolBar.addAction(self.actionRASImportLayersIntoRdbTables) self.dbToolBar.addAction(self.actionRASLoadRdbTablesIntoQGIS) self.settingsToolBar.addAction(self.actionOptions) self.rasGeomToolBar.addAction(self.actionRASTopology1D) self.rasGeomToolBar.addAction(self.actionRASLengthsStations) self.rasGeomToolBar.addAction(self.actionRASStreamCenterlineAll) self.rasGeomToolBar.addAction(self.actionRASXSRiverReachNames) self.rasGeomToolBar.addAction(self.actionRASXSStationing) self.rasGeomToolBar.addAction(self.actionRASXSBankStations) self.rasGeomToolBar.addAction(self.actionRASXSDownstreamReachLengths) self.rasGeomToolBar.addAction(self.actionRASXSElevations) self.rasGeomToolBar.addAction(self.actionRASXSAll) self.rasOptGeomToolBar.addAction(self.actionRASManningsNValues) self.rasOptGeomToolBar.addAction(self.actionRASLevees) self.rasOptGeomToolBar.addAction(self.actionRASIneffectiveFlowAreas) self.rasOptGeomToolBar.addAction(self.actionRASBlockedObstructions) self.rasOptGeomToolBar.addAction( self.actionRASXSUpdateInsertMeasuredPoints) self.rasStructuresToolBar.addAction(self.actionRASBRAll) self.rasStructuresToolBar.addAction(self.actionRASInlAll) self.rasStructuresToolBar.addAction(self.actionRASLatAll) self.rasStructuresToolBar.addAction(self.actionRASSAAll) self.rasStructuresToolBar.addAction(self.actionRASSacAll) self.rasSAToolBar.addAction(self.actionRASSATerrainPointExtraction) self.rasSAToolBar.addAction(self.actionRASSAElevationVolumeData) self.ras2dToolBar.addAction(self.actionRASCreate2dAreaPoints) self.ras2dToolBar.addAction(self.actionRASPreview2DMesh) self.ras2dToolBar.addAction(self.actionRASSave2DPointsToHECRASGeometry) self.rasImportExportToolBar.addAction(self.actionRASCreateRASGISImport) self.retranslateUi(RiverGIS) QtCore.QMetaObject.connectSlotsByName(RiverGIS) def retranslateUi(self, RiverGIS): RiverGIS.setWindowTitle(_translate("RiverGIS", "RiverGIS", None)) self.labelCurSchema.setText(_translate("RiverGIS", "Schema:", None)) self.labelCurDatabase.setText( _translate("RiverGIS", "DB Connection:", None)) self.label.setText(_translate("RiverGIS", "Projection", None)) self.menuHelp.setTitle(_translate("RiverGIS", "Help", None)) self.menu_Geometry.setTitle( _translate("RiverGIS", "RAS Geometry", None)) self.menuXS_Cut_Line_Attributes.setTitle( _translate("RiverGIS", "XS Cut Line Attributes", None)) self.menuStreamCenterlineAttributes.setTitle( _translate("RiverGIS", "Stream Centerline Attributes", None)) self.menuBridges_Culverts.setTitle( _translate("RiverGIS", "Bridges/Culverts", None)) self.menuInline_Structures.setTitle( _translate("RiverGIS", "Inline Structures", None)) self.menuLateral_Structures.setTitle( _translate("RiverGIS", "Lateral Structures", None)) self.menuStorage_Areas.setTitle( _translate("RiverGIS", "Storage Areas", None)) self.menuStorage_Areas_Connections.setTitle( _translate("RiverGIS", "Storage Area Connections", None)) self.menuDB.setTitle(_translate("RiverGIS", "Database", None)) self.menuSettings.setTitle(_translate("RiverGIS", "Settings", None)) self.dbToolBar.setWindowTitle(_translate("RiverGIS", "toolBar", None)) self.settingsToolBar.setWindowTitle( _translate("RiverGIS", "toolBar", None)) self.rasGeomToolBar.setWindowTitle( _translate("RiverGIS", "toolBar", None)) self.rasOptGeomToolBar.setWindowTitle( _translate("RiverGIS", "toolBar", None)) self.rasStructuresToolBar.setWindowTitle( _translate("RiverGIS", "toolBar", None)) self.rasSAToolBar.setWindowTitle( _translate("RiverGIS", "toolBar", None)) self.ras2dToolBar.setWindowTitle( _translate("RiverGIS", "toolBar", None)) self.rasImportExportToolBar.setWindowTitle( _translate("RiverGIS", "toolBar", None)) self.actionRASCreate2dAreaPoints.setText( _translate("RiverGIS", "Create 2D Computational Points", None)) self.actionHelpContents.setText( _translate("RiverGIS", "Contents", None)) self.actionRASWaterSurfaceGeneration.setText( _translate("RiverGIS", "Water Surface Generation", None)) self.actionRefreshConnections.setText( _translate("RiverGIS", "Refresh Connections List", None)) self.actionRASSave2DPointsToHECRASGeometry.setText( _translate("RiverGIS", "Save 2D Points to HEC-RAS Geometry", None)) self.actionRASPreview2DMesh.setText( _translate("RiverGIS", "Preview 2D Mesh", None)) self.actionRASCreateRdbTables.setText( _translate("RiverGIS", "Create River Database Tables", None)) self.actionRASCreateRdbTables.setToolTip( _translate("RiverGIS", "RAS 1D Create River Database Tables", None)) self.actionRASManningsNValues.setText( _translate("RiverGIS", "Extract Manning\'s n Values", None)) self.actionRASManningsNValues.setToolTip( _translate("RiverGIS", "RAS 1D Extract Manning\'s n Values", None)) self.actionRASCreateRASGISImport.setText( _translate("RiverGIS", "Create RAS GIS Import File", None)) self.actionRASTopology1D.setText( _translate("RiverGIS", "Topology", None)) self.actionRASTopology1D.setToolTip( _translate("RiverGIS", "RAS 1D Stream Centerlines Topology", None)) self.actionRASLengthsStations.setText( _translate("RiverGIS", "Lengths/Stations", None)) self.actionRASLengthsStations.setToolTip( _translate("RiverGIS", "RAS 1D Stream Centerlines Lengths/Stations", None)) self.actionRASStreamCenterlineAll.setText( _translate("RiverGIS", "All", None)) self.actionRASStreamCenterlineAll.setToolTip( _translate("RiverGIS", "RAS 1D Stream Centerlines All", None)) self.actionRASXSRiverReachNames.setText( _translate("RiverGIS", "River/Reach Names", None)) self.actionRASXSRiverReachNames.setToolTip( _translate("RiverGIS", "RAS 1D Cross-sections River/Reach Names", None)) self.actionRASXSStationing.setText( _translate("RiverGIS", "Stationing", None)) self.actionRASXSStationing.setToolTip( _translate("RiverGIS", "RAS 1D Cross-sections Stationing", None)) self.actionRASXSBankStations.setText( _translate("RiverGIS", "Bank Stations", None)) self.actionRASXSBankStations.setToolTip( _translate("RiverGIS", "RAS 1D Cross-sections Bank Stations", None)) self.actionRASXSDownstreamReachLengths.setText( _translate("RiverGIS", "Downstream Reach Lengths", None)) self.actionRASXSDownstreamReachLengths.setToolTip( _translate("RiverGIS", "RAS 1D Cross-sections Downstream Reach Lengths", None)) self.actionRASXSElevations.setText( _translate("RiverGIS", "Elevations", None)) self.actionRASXSElevations.setToolTip( _translate("RiverGIS", "RAS 1D Cross-sections Elevations", None)) self.actionRASXSAll.setText(_translate("RiverGIS", "All", None)) self.actionRASXSAll.setToolTip( _translate("RiverGIS", "RAS 1D Cross-sections All", None)) self.actionRASImportLayersIntoRdbTables.setText( _translate("RiverGIS", "Import Layers Into River Database Tables", None)) self.actionRASImportLayersIntoRdbTables.setToolTip( _translate("RiverGIS", "RAS 1D Import Layers Into River Database Tables", None)) self.actionRASLevees.setText(_translate("RiverGIS", "Levees", None)) self.actionRASLevees.setToolTip( _translate("RiverGIS", "RAS 1D Levees", None)) self.actionRASIneffectiveFlowAreas.setText( _translate("RiverGIS", "Ineffective Flow Areas", None)) self.actionRASIneffectiveFlowAreas.setToolTip( _translate("RiverGIS", "RAS 1D Ineffective Flow Areas", None)) self.actionRASBlockedObstructions.setText( _translate("RiverGIS", "Blocked Obstructions", None)) self.actionRASBlockedObstructions.setToolTip( _translate("RiverGIS", "RAS 1D Blocked Obstructions", None)) self.actionRASLoadRdbTablesIntoQGIS.setText( _translate("RiverGIS", "Load River Database Tables Into QGIS", None)) self.actionRASLoadRdbTablesIntoQGIS.setToolTip( _translate("RiverGIS", "RAS 1D Load River Database Tables Into QGIS", None)) self.actionOptions.setText(_translate("RiverGIS", "Options", None)) self.actionDebugMode.setText(_translate("RiverGIS", "Debug mode", None)) self.actionCopyStreamCenterlines2Flowpaths.setText( _translate("RiverGIS", "Copy Stream Centerlines to Flowpaths", None)) self.actionAlwaysOnTop.setText( _translate("RiverGIS", "Always on top", None)) self.actionRASXSUpdateInsertMeasuredPoints.setText( _translate("RiverGIS", "Update Elevations", None)) self.actionRASBRRiverReachNames.setText( _translate("RiverGIS", "River/Reach Names", None)) self.actionRASBRRiverReachNames.setToolTip( _translate("RiverGIS", "Bridges/Culverts River Reach Names", None)) self.actionRASBRStationing.setText( _translate("RiverGIS", "Stationing", None)) self.actionRASBRStationing.setToolTip( _translate("RiverGIS", "Bridges/Culverts Stationing", None)) self.actionRASBRElevations.setText( _translate("RiverGIS", "Elevations", None)) self.actionRASBRElevations.setToolTip( _translate("RiverGIS", "Bridges/Culverts Elevations", None)) self.actionRASBRAll.setText(_translate("RiverGIS", "All", None)) self.actionRASBRAll.setToolTip( _translate("RiverGIS", "RAS 1D Bridges/Culverts - All", None)) self.actionRASInlRiverReachNames.setText( _translate("RiverGIS", "River/Reach Names", None)) self.actionRASInlRiverReachNames.setToolTip( _translate("RiverGIS", "RAS 1D Inline Structures River/Reach Names", None)) self.actionRASInlStationing.setText( _translate("RiverGIS", "Stationing", None)) self.actionRASInlStationing.setToolTip( _translate("RiverGIS", "RAS 1D Inline Structures Stationing", None)) self.actionRASInlElevations.setText( _translate("RiverGIS", "Elevations", None)) self.actionRASInlElevations.setToolTip( _translate("RiverGIS", "RAS 1D Inline Structures Elevations", None)) self.actionRASInlAll.setText(_translate("RiverGIS", "All", None)) self.actionRASInlAll.setToolTip( _translate("RiverGIS", "RAS 1D Inline Structures - All", None)) self.actionRASLatRiverReachNames.setText( _translate("RiverGIS", "River/Reach Names", None)) self.actionRASLatRiverReachNames.setToolTip( _translate("RiverGIS", "RAS 1D Lateral Structures River/Reach Names", None)) self.actionRASLatStationing.setText( _translate("RiverGIS", "Stationing", None)) self.actionRASLatStationing.setToolTip( _translate("RiverGIS", "RAS 1D Lateral Structures Stationing", None)) self.actionRASLatElevations.setText( _translate("RiverGIS", "Elevations", None)) self.actionRASLatElevations.setToolTip( _translate("RiverGIS", "RAS 1D Lateral Structures Elevations", None)) self.actionRASLatAll.setText(_translate("RiverGIS", "All", None)) self.actionRASLatAll.setToolTip( _translate("RiverGIS", "RAS 1D Lateral Structures - All", None)) self.actionRASSAElevationVolumeData.setText( _translate("RiverGIS", "Elevation-Volume Data", None)) self.actionRASSAElevationVolumeData.setIconText( _translate("RiverGIS", "SA Elevation-Volume Data", None)) self.actionRASSAElevationVolumeData.setToolTip( _translate("RiverGIS", "RAS 1D SA Elevation-Volume Data", None)) self.actionRASSATerrainPointExtraction.setText( _translate("RiverGIS", "Terrain Point Extraction", None)) self.actionRASSATerrainPointExtraction.setIconText( _translate("RiverGIS", "SA Terrain Point Extraction", None)) self.actionRASSATerrainPointExtraction.setToolTip( _translate("RiverGIS", "RAS 1D SA Terrain Point Extraction", None)) self.actionRASSAAll.setText(_translate("RiverGIS", "All", None)) self.actionRASSAAll.setToolTip( _translate("RiverGIS", "RAS 1D Storage Areas - All", None)) self.actionRASSacAssignNearestSA.setText( _translate("RiverGIS", "Assign Nearest SA", None)) self.actionRASSacAssignNearestSA.setToolTip( _translate("RiverGIS", "RAS 1D SA Conn Assign Nearest SA", None)) self.actionRASSacElevations.setText( _translate("RiverGIS", "Elevations", None)) self.actionRASSacElevations.setToolTip( _translate("RiverGIS", "RAS 1D SA Conn - Elevations", None)) self.actionRASSacAll.setText(_translate("RiverGIS", "All", None)) self.actionRASSacAll.setToolTip( _translate("RiverGIS", "RAS 1D SA Connections - All", None)) self.actionWebsite.setText(_translate("RiverGIS", "Web site", None)) self.actionAbout.setText(_translate("RiverGIS", "About", None)) self.actionRestoreDefaultOptions.setText( _translate("RiverGIS", "Restore Default Options", None)) self.actionCreateNewSchema.setText( _translate("RiverGIS", "Create New Schema", None)) self.actionDeleteSchema.setText( _translate("RiverGIS", "Delete Schema", None))
class Ui_PreferencesWizard(object): def setupUi(self, PreferencesWizard): PreferencesWizard.setObjectName(_fromUtf8("PreferencesWizard")) PreferencesWizard.resize(771, 443) PreferencesWizard.setOptions(QtGui.QWizard.CancelButtonOnLeft | QtGui.QWizard.NoBackButtonOnStartPage | QtGui.QWizard.NoDefaultButton) self.welcomePage = QtGui.QWizardPage() self.welcomePage.setObjectName(_fromUtf8("welcomePage")) self.gridLayout = QtGui.QGridLayout(self.welcomePage) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.label = QtGui.QLabel(self.welcomePage) self.label.setText(_fromUtf8("")) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 0, 0, 1, 1) PreferencesWizard.addPage(self.welcomePage) self.preferencesPage = PreferencesWizardPage() self.preferencesPage.setObjectName(_fromUtf8("preferencesPage")) self.gridLayout_2 = QtGui.QGridLayout(self.preferencesPage) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.preferencesWidget = PreferencesWidget(self.preferencesPage) self.preferencesWidget.setObjectName(_fromUtf8("preferencesWidget")) self.gridLayout_2.addWidget(self.preferencesWidget, 0, 0, 1, 1) PreferencesWizard.addPage(self.preferencesPage) self.serverPage = ServerWizardPage() self.serverPage.setObjectName(_fromUtf8("serverPage")) self.serverLayout = QtGui.QGridLayout(self.serverPage) self.serverLayout.setObjectName(_fromUtf8("serverLayout")) self.serverWidget = ServerWidget(self.serverPage) self.serverWidget.setObjectName(_fromUtf8("serverWidget")) self.serverLayout.addWidget(self.serverWidget, 0, 0, 1, 1) PreferencesWizard.addPage(self.serverPage) self.globalPage = GlobalPreferencesPage() self.globalPage.setObjectName(_fromUtf8("globalPage")) self.gridLayout_3 = QtGui.QGridLayout(self.globalPage) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.crsWidget = QgsProjectionSelectionWidget(self.globalPage) self.crsWidget.setObjectName(_fromUtf8("crsWidget")) self.gridLayout_3.addWidget(self.crsWidget, 0, 1, 1, 2) self.fontCombo = QtGui.QFontComboBox(self.globalPage) self.fontCombo.setObjectName(_fromUtf8("fontCombo")) self.gridLayout_3.addWidget(self.fontCombo, 3, 1, 1, 2) self.snappingUnitCombo = QtGui.QComboBox(self.globalPage) self.snappingUnitCombo.setObjectName(_fromUtf8("snappingUnitCombo")) self.gridLayout_3.addWidget(self.snappingUnitCombo, 4, 2, 1, 1) self.snappingToleranceSpin = QtGui.QDoubleSpinBox(self.globalPage) self.snappingToleranceSpin.setObjectName( _fromUtf8("snappingToleranceSpin")) self.gridLayout_3.addWidget(self.snappingToleranceSpin, 4, 1, 1, 1) self.crsAuthidLabel = QtGui.QLabel(self.globalPage) self.crsAuthidLabel.setObjectName(_fromUtf8("crsAuthidLabel")) self.gridLayout_3.addWidget(self.crsAuthidLabel, 0, 0, 1, 1) self.forceCrsCheck = QtGui.QCheckBox(self.globalPage) self.forceCrsCheck.setText(_fromUtf8("")) self.forceCrsCheck.setChecked(True) self.forceCrsCheck.setObjectName(_fromUtf8("forceCrsCheck")) self.gridLayout_3.addWidget(self.forceCrsCheck, 1, 1, 1, 2) self.fontLabel = QtGui.QLabel(self.globalPage) self.fontLabel.setObjectName(_fromUtf8("fontLabel")) self.gridLayout_3.addWidget(self.fontLabel, 3, 0, 1, 1) self.snappingLabel = QtGui.QLabel(self.globalPage) self.snappingLabel.setObjectName(_fromUtf8("snappingLabel")) self.gridLayout_3.addWidget(self.snappingLabel, 4, 0, 1, 1) self.forceOtfCheck = QtGui.QCheckBox(self.globalPage) self.forceOtfCheck.setText(_fromUtf8("")) self.forceOtfCheck.setChecked(True) self.forceOtfCheck.setObjectName(_fromUtf8("forceOtfCheck")) self.gridLayout_3.addWidget(self.forceOtfCheck, 2, 1, 1, 2) self.forceOtfLabel = QtGui.QLabel(self.globalPage) self.forceOtfLabel.setObjectName(_fromUtf8("forceOtfLabel")) self.gridLayout_3.addWidget(self.forceOtfLabel, 2, 0, 1, 1) self.forceCrsLabel = QtGui.QLabel(self.globalPage) self.forceCrsLabel.setObjectName(_fromUtf8("forceCrsLabel")) self.gridLayout_3.addWidget(self.forceCrsLabel, 1, 0, 1, 1) PreferencesWizard.addPage(self.globalPage) self.retranslateUi(PreferencesWizard) QtCore.QMetaObject.connectSlotsByName(PreferencesWizard) def retranslateUi(self, PreferencesWizard): PreferencesWizard.setWindowTitle( _translate("PreferencesWizard", "ARKspatial Preferences Wizard", None)) self.welcomePage.setTitle( _translate("PreferencesWizard", "ARKspatial Preferences Wizard", None)) self.welcomePage.setSubTitle( _translate( "PreferencesWizard", "This is the first time you have run ARKspatial, so we need to set up some default settings first before creating a new project.", None)) self.preferencesPage.setTitle( _translate("PreferencesWizard", "Project Preferences", None)) self.preferencesPage.setSubTitle( _translate( "PreferencesWizard", "Enter the default location for saving your projects, and your personal details for recording metadata.", None)) self.serverPage.setTitle( _translate("PreferencesWizard", "ARK Server Settings", None)) self.serverPage.setSubTitle( _translate( "PreferencesWizard", "If you use an ARK database for project management or site recording, enter the server details to enable automatic population of your project details.", None)) self.globalPage.setTitle( _translate("PreferencesWizard", "QGIS Preferences", None)) self.globalPage.setSubTitle( _translate( "PreferencesWizard", "We recommend you set some sensible defaults for your QGIS preferences.", None)) self.crsAuthidLabel.setText( _translate("PreferencesWizard", "Default CRS:", None)) self.fontLabel.setText(_translate("PreferencesWizard", "Font:", None)) self.snappingLabel.setText( _translate("PreferencesWizard", "Snapping:", None)) self.forceOtfLabel.setText( _translate("PreferencesWizard", "Force OTF Reprojection:", None)) self.forceCrsLabel.setText( _translate("PreferencesWizard", "Force Default CRS:", None))