def setupUi(self, ORStoolsDialogAdvancedBase): ORStoolsDialogAdvancedBase.setObjectName("ORStoolsDialogAdvancedBase") ORStoolsDialogAdvancedBase.resize(400, 208) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( ORStoolsDialogAdvancedBase.sizePolicy().hasHeightForWidth()) ORStoolsDialogAdvancedBase.setSizePolicy(sizePolicy) self.verticalLayout = QtWidgets.QVBoxLayout(ORStoolsDialogAdvancedBase) self.verticalLayout.setSizeConstraint( QtWidgets.QLayout.SetMinAndMaxSize) self.verticalLayout.setObjectName("verticalLayout") self.routing_avoid_tags_group = QgsCollapsibleGroupBox( ORStoolsDialogAdvancedBase) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.routing_avoid_tags_group.sizePolicy().hasHeightForWidth()) self.routing_avoid_tags_group.setSizePolicy(sizePolicy) self.routing_avoid_tags_group.setCheckable(True) self.routing_avoid_tags_group.setObjectName("routing_avoid_tags_group") self.gridLayout = QtWidgets.QGridLayout(self.routing_avoid_tags_group) self.gridLayout.setObjectName("gridLayout") self.routing_avoid_highways = QtWidgets.QCheckBox( self.routing_avoid_tags_group) self.routing_avoid_highways.setObjectName("routing_avoid_highways") self.gridLayout.addWidget(self.routing_avoid_highways, 0, 0, 1, 1) self.routing_avoid_toll = QtWidgets.QCheckBox( self.routing_avoid_tags_group) self.routing_avoid_toll.setObjectName("routing_avoid_toll") self.gridLayout.addWidget(self.routing_avoid_toll, 0, 1, 1, 1) self.routing_avoid_ferries = QtWidgets.QCheckBox( self.routing_avoid_tags_group) self.routing_avoid_ferries.setObjectName("routing_avoid_ferries") self.gridLayout.addWidget(self.routing_avoid_ferries, 1, 0, 1, 1) self.routing_avoid_fords = QtWidgets.QCheckBox( self.routing_avoid_tags_group) self.routing_avoid_fords.setObjectName("routing_avoid_fords") self.gridLayout.addWidget(self.routing_avoid_fords, 1, 1, 1, 1) self.routing_avoid_tracks = QtWidgets.QCheckBox( self.routing_avoid_tags_group) self.routing_avoid_tracks.setObjectName("routing_avoid_tracks") self.gridLayout.addWidget(self.routing_avoid_tracks, 2, 0, 1, 1) self.verticalLayout.addWidget(self.routing_avoid_tags_group) self.buttonBox = QtWidgets.QDialogButtonBox(ORStoolsDialogAdvancedBase) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setObjectName("buttonBox") self.verticalLayout.addWidget(self.buttonBox) self.retranslateUi(ORStoolsDialogAdvancedBase) self.buttonBox.accepted.connect(ORStoolsDialogAdvancedBase.accept) self.buttonBox.rejected.connect(ORStoolsDialogAdvancedBase.reject) QtCore.QMetaObject.connectSlotsByName(ORStoolsDialogAdvancedBase)
def setupUi(self, MapDialog): MapDialog.setObjectName("MapDialog") MapDialog.resize(652, 545) self.verticalLayout = QtWidgets.QVBoxLayout(MapDialog) self.verticalLayout.setObjectName("verticalLayout") self.tabWidget = QtWidgets.QTabWidget(MapDialog) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.tab) self.verticalLayout_6.setObjectName("verticalLayout_6") self.radLayoutDefault = QtWidgets.QRadioButton(self.tab) self.radLayoutDefault.setChecked(True) self.radLayoutDefault.setObjectName("radLayoutDefault") self.buttonGroup = QtWidgets.QButtonGroup(MapDialog) self.buttonGroup.setObjectName("buttonGroup") self.buttonGroup.addButton(self.radLayoutDefault) self.verticalLayout_6.addWidget(self.radLayoutDefault) self.scrollArea = QtWidgets.QScrollArea(self.tab) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 591, 1635)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.gridLayout_12 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents) self.gridLayout_12.setObjectName("gridLayout_12") self.groupScaleBar = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupScaleBar.setCheckable(True) self.groupScaleBar.setChecked(False) self.groupScaleBar.setObjectName("groupScaleBar") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.groupScaleBar) self.verticalLayout_5.setObjectName("verticalLayout_5") self.gridLayout_8 = QtWidgets.QGridLayout() self.gridLayout_8.setObjectName("gridLayout_8") self.cbScaleBarFrame = QtWidgets.QCheckBox(self.groupScaleBar) self.cbScaleBarFrame.setObjectName("cbScaleBarFrame") self.gridLayout_8.addWidget(self.cbScaleBarFrame, 2, 0, 1, 3) self.cboPosScaleBar = QtWidgets.QComboBox(self.groupScaleBar) self.cboPosScaleBar.setObjectName("cboPosScaleBar") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.gridLayout_8.addWidget(self.cboPosScaleBar, 3, 1, 1, 1) self.cbScaleBarBackground = QtWidgets.QCheckBox(self.groupScaleBar) self.cbScaleBarBackground.setObjectName("cbScaleBarBackground") self.gridLayout_8.addWidget(self.cbScaleBarBackground, 1, 0, 1, 3) self.colorScaleBarBackground = QgsColorButton(self.groupScaleBar) self.colorScaleBarBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorScaleBarBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorScaleBarBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorScaleBarBackground.setObjectName("colorScaleBarBackground") self.gridLayout_8.addWidget(self.colorScaleBarBackground, 1, 3, 1, 1) self.label_24 = QtWidgets.QLabel(self.groupScaleBar) self.label_24.setObjectName("label_24") self.gridLayout_8.addWidget(self.label_24, 3, 0, 1, 1) self.colorScaleBarFrame = QgsColorButton(self.groupScaleBar) self.colorScaleBarFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorScaleBarFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorScaleBarFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorScaleBarFrame.setObjectName("colorScaleBarFrame") self.gridLayout_8.addWidget(self.colorScaleBarFrame, 2, 3, 1, 1) self.label_8 = QtWidgets.QLabel(self.groupScaleBar) self.label_8.setObjectName("label_8") self.gridLayout_8.addWidget(self.label_8, 0, 0, 1, 1) self.fbtnScaleBar = QgsFontButton(self.groupScaleBar) self.fbtnScaleBar.setMinimumSize(QtCore.QSize(0, 21)) self.fbtnScaleBar.setMode(QgsFontButton.ModeQFont) self.fbtnScaleBar.setObjectName("fbtnScaleBar") self.gridLayout_8.addWidget(self.fbtnScaleBar, 0, 1, 1, 1) self.colorScaleBarText = QgsColorButton(self.groupScaleBar) self.colorScaleBarText.setMinimumSize(QtCore.QSize(24, 21)) self.colorScaleBarText.setColor(QtGui.QColor(0, 0, 0)) self.colorScaleBarText.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorScaleBarText.setObjectName("colorScaleBarText") self.gridLayout_8.addWidget(self.colorScaleBarText, 0, 3, 1, 1) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_8.addItem(spacerItem, 0, 2, 1, 1) self.verticalLayout_5.addLayout(self.gridLayout_8) self.gridLayout_12.addWidget(self.groupScaleBar, 2, 1, 1, 1) self.groupNorthArrow = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupNorthArrow.setCheckable(True) self.groupNorthArrow.setChecked(False) self.groupNorthArrow.setObjectName("groupNorthArrow") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupNorthArrow) self.verticalLayout_7.setObjectName("verticalLayout_7") self.gridLayout_9 = QtWidgets.QGridLayout() self.gridLayout_9.setObjectName("gridLayout_9") self.cbNorthArrowBackground = QtWidgets.QCheckBox(self.groupNorthArrow) self.cbNorthArrowBackground.setObjectName("cbNorthArrowBackground") self.gridLayout_9.addWidget(self.cbNorthArrowBackground, 0, 0, 1, 3) self.label_25 = QtWidgets.QLabel(self.groupNorthArrow) self.label_25.setObjectName("label_25") self.gridLayout_9.addWidget(self.label_25, 2, 0, 1, 1) self.colorNorthArrowBackground = QgsColorButton(self.groupNorthArrow) self.colorNorthArrowBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorNorthArrowBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorNorthArrowBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorNorthArrowBackground.setObjectName("colorNorthArrowBackground") self.gridLayout_9.addWidget(self.colorNorthArrowBackground, 0, 3, 1, 1) self.cboPosNorthArrow = QtWidgets.QComboBox(self.groupNorthArrow) self.cboPosNorthArrow.setObjectName("cboPosNorthArrow") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.gridLayout_9.addWidget(self.cboPosNorthArrow, 2, 1, 1, 1) self.cbNorthArrowFrame = QtWidgets.QCheckBox(self.groupNorthArrow) self.cbNorthArrowFrame.setObjectName("cbNorthArrowFrame") self.gridLayout_9.addWidget(self.cbNorthArrowFrame, 1, 0, 1, 3) self.colorNorthArrowFrame = QgsColorButton(self.groupNorthArrow) self.colorNorthArrowFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorNorthArrowFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorNorthArrowFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorNorthArrowFrame.setObjectName("colorNorthArrowFrame") self.gridLayout_9.addWidget(self.colorNorthArrowFrame, 1, 3, 1, 1) self.verticalLayout_7.addLayout(self.gridLayout_9) self.gridLayout_12.addWidget(self.groupNorthArrow, 3, 1, 1, 1) self.groupLegend = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupLegend.setCheckable(True) self.groupLegend.setChecked(False) self.groupLegend.setObjectName("groupLegend") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupLegend) self.verticalLayout_3.setObjectName("verticalLayout_3") self.gridLayout_7 = QtWidgets.QGridLayout() self.gridLayout_7.setObjectName("gridLayout_7") self.label_22 = QtWidgets.QLabel(self.groupLegend) self.label_22.setObjectName("label_22") self.gridLayout_7.addWidget(self.label_22, 4, 0, 1, 1) self.colorLegendText = QgsColorButton(self.groupLegend) self.colorLegendText.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendText.setColor(QtGui.QColor(0, 0, 0)) self.colorLegendText.setObjectName("colorLegendText") self.gridLayout_7.addWidget(self.colorLegendText, 1, 3, 1, 1) self.cboPosLegend = QtWidgets.QComboBox(self.groupLegend) self.cboPosLegend.setObjectName("cboPosLegend") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.gridLayout_7.addWidget(self.cboPosLegend, 4, 1, 1, 1) self.label_20 = QtWidgets.QLabel(self.groupLegend) self.label_20.setObjectName("label_20") self.gridLayout_7.addWidget(self.label_20, 0, 0, 1, 1) self.colorLegendBackground = QgsColorButton(self.groupLegend) self.colorLegendBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorLegendBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorLegendBackground.setObjectName("colorLegendBackground") self.gridLayout_7.addWidget(self.colorLegendBackground, 2, 3, 1, 1) self.label_21 = QtWidgets.QLabel(self.groupLegend) self.label_21.setObjectName("label_21") self.gridLayout_7.addWidget(self.label_21, 1, 0, 1, 1) self.cbLegendBackground = QtWidgets.QCheckBox(self.groupLegend) self.cbLegendBackground.setObjectName("cbLegendBackground") self.gridLayout_7.addWidget(self.cbLegendBackground, 2, 0, 1, 3) self.labelLegend = QtWidgets.QLineEdit(self.groupLegend) self.labelLegend.setObjectName("labelLegend") self.gridLayout_7.addWidget(self.labelLegend, 0, 1, 1, 3) self.fbtnLegend = QgsFontButton(self.groupLegend) self.fbtnLegend.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnLegend.setFont(font) self.fbtnLegend.setMode(QgsFontButton.ModeQFont) self.fbtnLegend.setObjectName("fbtnLegend") self.gridLayout_7.addWidget(self.fbtnLegend, 1, 1, 1, 1) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_7.addItem(spacerItem1, 1, 2, 1, 1) self.cbLegendFrame = QtWidgets.QCheckBox(self.groupLegend) self.cbLegendFrame.setObjectName("cbLegendFrame") self.gridLayout_7.addWidget(self.cbLegendFrame, 3, 0, 1, 3) self.colorLegendFrame = QgsColorButton(self.groupLegend) self.colorLegendFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorLegendFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorLegendFrame.setObjectName("colorLegendFrame") self.gridLayout_7.addWidget(self.colorLegendFrame, 3, 3, 1, 1) self.verticalLayout_3.addLayout(self.gridLayout_7) self.gridLayout_12.addWidget(self.groupLegend, 1, 1, 1, 1) self.groupPlot = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupPlot.setCheckable(True) self.groupPlot.setChecked(False) self.groupPlot.setCollapsed(False) self.groupPlot.setObjectName("groupPlot") self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.groupPlot) self.verticalLayout_10.setObjectName("verticalLayout_10") self.gridLayout_5 = QtWidgets.QGridLayout() self.gridLayout_5.setObjectName("gridLayout_5") self.btnPlotUp = QtWidgets.QToolButton(self.groupPlot) self.btnPlotUp.setObjectName("btnPlotUp") self.gridLayout_5.addWidget(self.btnPlotUp, 0, 2, 1, 1) self.btnAddPlot = QtWidgets.QToolButton(self.groupPlot) self.btnAddPlot.setObjectName("btnAddPlot") self.gridLayout_5.addWidget(self.btnAddPlot, 0, 0, 1, 1) self.btnRemovePlot = QtWidgets.QToolButton(self.groupPlot) self.btnRemovePlot.setObjectName("btnRemovePlot") self.gridLayout_5.addWidget(self.btnRemovePlot, 0, 1, 1, 1) self.tablePlots = QtWidgets.QTableWidget(self.groupPlot) self.tablePlots.setMinimumSize(QtCore.QSize(0, 150)) self.tablePlots.setObjectName("tablePlots") self.tablePlots.setColumnCount(4) self.tablePlots.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(3, item) self.tablePlots.horizontalHeader().setVisible(False) self.tablePlots.horizontalHeader().setCascadingSectionResizes(False) self.tablePlots.horizontalHeader().setDefaultSectionSize(110) self.tablePlots.horizontalHeader().setMinimumSectionSize(80) self.tablePlots.verticalHeader().setDefaultSectionSize(20) self.gridLayout_5.addWidget(self.tablePlots, 1, 0, 1, 5) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem2, 0, 4, 1, 1) self.btnPlotDown = QtWidgets.QToolButton(self.groupPlot) self.btnPlotDown.setObjectName("btnPlotDown") self.gridLayout_5.addWidget(self.btnPlotDown, 0, 3, 1, 1) self.tableGraphics = QtWidgets.QTableWidget(self.groupPlot) self.tableGraphics.setMinimumSize(QtCore.QSize(0, 150)) self.tableGraphics.setObjectName("tableGraphics") self.tableGraphics.setColumnCount(4) self.tableGraphics.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(3, item) self.tableGraphics.horizontalHeader().setVisible(False) self.tableGraphics.horizontalHeader().setDefaultSectionSize(110) self.tableGraphics.verticalHeader().setDefaultSectionSize(20) self.tableGraphics.verticalHeader().setMinimumSectionSize(20) self.gridLayout_5.addWidget(self.tableGraphics, 3, 0, 1, 5) self.label_28 = QtWidgets.QLabel(self.groupPlot) self.label_28.setObjectName("label_28") self.gridLayout_5.addWidget(self.label_28, 2, 0, 1, 5) self.verticalLayout_10.addLayout(self.gridLayout_5) self.gridLayout_12.addWidget(self.groupPlot, 5, 1, 1, 1) self.groupLabel = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupLabel.setCheckable(True) self.groupLabel.setChecked(False) self.groupLabel.setObjectName("groupLabel") self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.groupLabel) self.verticalLayout_9.setObjectName("verticalLayout_9") self.gridLayout_10 = QtWidgets.QGridLayout() self.gridLayout_10.setObjectName("gridLayout_10") self.fbtnLabel = QgsFontButton(self.groupLabel) self.fbtnLabel.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnLabel.setFont(font) self.fbtnLabel.setMode(QgsFontButton.ModeQFont) self.fbtnLabel.setObjectName("fbtnLabel") self.gridLayout_10.addWidget(self.fbtnLabel, 1, 1, 1, 1) self.colorLabelBackground = QgsColorButton(self.groupLabel) self.colorLabelBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorLabelBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorLabelBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorLabelBackground.setObjectName("colorLabelBackground") self.gridLayout_10.addWidget(self.colorLabelBackground, 2, 3, 1, 1) self.label_26 = QtWidgets.QLabel(self.groupLabel) self.label_26.setObjectName("label_26") self.gridLayout_10.addWidget(self.label_26, 4, 0, 1, 1) self.cbLabelBackground = QtWidgets.QCheckBox(self.groupLabel) self.cbLabelBackground.setObjectName("cbLabelBackground") self.gridLayout_10.addWidget(self.cbLabelBackground, 2, 0, 1, 3) self.colorLabelText = QgsColorButton(self.groupLabel) self.colorLabelText.setMinimumSize(QtCore.QSize(24, 21)) self.colorLabelText.setColor(QtGui.QColor(0, 0, 0)) self.colorLabelText.setObjectName("colorLabelText") self.gridLayout_10.addWidget(self.colorLabelText, 1, 3, 1, 1) self.label_23 = QtWidgets.QLabel(self.groupLabel) self.label_23.setObjectName("label_23") self.gridLayout_10.addWidget(self.label_23, 0, 0, 1, 1) self.label_27 = QtWidgets.QLabel(self.groupLabel) self.label_27.setObjectName("label_27") self.gridLayout_10.addWidget(self.label_27, 1, 0, 1, 1) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_10.addItem(spacerItem3, 1, 2, 1, 1) self.labelInput = QtWidgets.QTextEdit(self.groupLabel) self.labelInput.setObjectName("labelInput") self.gridLayout_10.addWidget(self.labelInput, 0, 1, 1, 2) self.cboPosLabel = QtWidgets.QComboBox(self.groupLabel) self.cboPosLabel.setObjectName("cboPosLabel") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.gridLayout_10.addWidget(self.cboPosLabel, 4, 1, 1, 1) self.gridLayout_4 = QtWidgets.QGridLayout() self.gridLayout_4.setObjectName("gridLayout_4") self.pbMapNo = QtWidgets.QPushButton(self.groupLabel) self.pbMapNo.setObjectName("pbMapNo") self.gridLayout_4.addWidget(self.pbMapNo, 0, 0, 1, 1) self.pbResultType = QtWidgets.QPushButton(self.groupLabel) self.pbResultType.setObjectName("pbResultType") self.gridLayout_4.addWidget(self.pbResultType, 2, 0, 1, 1) spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_4.addItem(spacerItem4, 5, 0, 1, 1) self.pbWorkspaceLoc = QtWidgets.QPushButton(self.groupLabel) self.pbWorkspaceLoc.setObjectName("pbWorkspaceLoc") self.gridLayout_4.addWidget(self.pbWorkspaceLoc, 4, 0, 1, 1) self.pbResultName = QtWidgets.QPushButton(self.groupLabel) self.pbResultName.setObjectName("pbResultName") self.gridLayout_4.addWidget(self.pbResultName, 1, 0, 1, 1) self.pbDate = QtWidgets.QPushButton(self.groupLabel) self.pbDate.setObjectName("pbDate") self.gridLayout_4.addWidget(self.pbDate, 3, 0, 1, 1) self.gridLayout_10.addLayout(self.gridLayout_4, 0, 3, 1, 1) self.cbLabelFrame = QtWidgets.QCheckBox(self.groupLabel) self.cbLabelFrame.setObjectName("cbLabelFrame") self.gridLayout_10.addWidget(self.cbLabelFrame, 3, 0, 1, 3) self.colorLabelFrame = QgsColorButton(self.groupLabel) self.colorLabelFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorLabelFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorLabelFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorLabelFrame.setObjectName("colorLabelFrame") self.gridLayout_10.addWidget(self.colorLabelFrame, 3, 3, 1, 1) self.verticalLayout_9.addLayout(self.gridLayout_10) self.gridLayout_12.addWidget(self.groupLabel, 4, 1, 1, 1) self.groupImages = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupImages.setCheckable(True) self.groupImages.setChecked(False) self.groupImages.setCollapsed(False) self.groupImages.setObjectName("groupImages") self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.groupImages) self.verticalLayout_8.setObjectName("verticalLayout_8") self.gridLayout_6 = QtWidgets.QGridLayout() self.gridLayout_6.setObjectName("gridLayout_6") self.btnImageUp = QtWidgets.QToolButton(self.groupImages) self.btnImageUp.setObjectName("btnImageUp") self.gridLayout_6.addWidget(self.btnImageUp, 0, 2, 1, 1) self.btnRemoveImage = QtWidgets.QToolButton(self.groupImages) self.btnRemoveImage.setObjectName("btnRemoveImage") self.gridLayout_6.addWidget(self.btnRemoveImage, 0, 1, 1, 1) self.btnAddImage = QtWidgets.QToolButton(self.groupImages) self.btnAddImage.setObjectName("btnAddImage") self.gridLayout_6.addWidget(self.btnAddImage, 0, 0, 1, 1) self.btnImageDown = QtWidgets.QToolButton(self.groupImages) self.btnImageDown.setObjectName("btnImageDown") self.gridLayout_6.addWidget(self.btnImageDown, 0, 3, 1, 1) spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_6.addItem(spacerItem5, 0, 4, 1, 1) self.tableImages = QtWidgets.QTableWidget(self.groupImages) self.tableImages.setMinimumSize(QtCore.QSize(0, 150)) self.tableImages.setObjectName("tableImages") self.tableImages.setColumnCount(3) self.tableImages.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(2, item) self.tableImages.horizontalHeader().setDefaultSectionSize(130) self.tableImages.horizontalHeader().setMinimumSectionSize(39) self.tableImages.verticalHeader().setDefaultSectionSize(20) self.gridLayout_6.addWidget(self.tableImages, 1, 0, 1, 5) self.verticalLayout_8.addLayout(self.gridLayout_6) self.gridLayout_12.addWidget(self.groupImages, 6, 1, 1, 1) self.mGroupBox = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.mGroupBox.setCollapsed(False) self.mGroupBox.setObjectName("mGroupBox") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.mGroupBox) self.verticalLayout_2.setObjectName("verticalLayout_2") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.label_6 = QtWidgets.QLabel(self.mGroupBox) self.label_6.setObjectName("label_6") self.gridLayout.addWidget(self.label_6, 0, 0, 1, 1) self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") self.sbHeight = QtWidgets.QDoubleSpinBox(self.mGroupBox) self.sbHeight.setMinimumSize(QtCore.QSize(150, 0)) self.sbHeight.setMinimum(1.0) self.sbHeight.setMaximum(99999.0) self.sbHeight.setObjectName("sbHeight") self.gridLayout_2.addWidget(self.sbHeight, 1, 0, 1, 1) self.sbWidth = QtWidgets.QDoubleSpinBox(self.mGroupBox) self.sbWidth.setMinimumSize(QtCore.QSize(150, 0)) self.sbWidth.setMinimum(1.0) self.sbWidth.setMaximum(99999.0) self.sbWidth.setObjectName("sbWidth") self.gridLayout_2.addWidget(self.sbWidth, 0, 0, 1, 1) self.cboUnits = QtWidgets.QComboBox(self.mGroupBox) self.cboUnits.setObjectName("cboUnits") self.cboUnits.addItem("") self.cboUnits.addItem("") self.gridLayout_2.addWidget(self.cboUnits, 0, 1, 2, 1) spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem6, 0, 2, 2, 1) self.gridLayout.addLayout(self.gridLayout_2, 1, 1, 2, 1) self.label_2 = QtWidgets.QLabel(self.mGroupBox) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1) self.label = QtWidgets.QLabel(self.mGroupBox) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 1, 0, 1, 1) self.cboPageSize = QtWidgets.QComboBox(self.mGroupBox) self.cboPageSize.setObjectName("cboPageSize") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.gridLayout.addWidget(self.cboPageSize, 0, 1, 1, 1) self.label_7 = QtWidgets.QLabel(self.mGroupBox) self.label_7.setObjectName("label_7") self.gridLayout.addWidget(self.label_7, 3, 0, 1, 1) self.label_4 = QtWidgets.QLabel(self.mGroupBox) self.label_4.setObjectName("label_4") self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1) self.cboOrientation = QtWidgets.QComboBox(self.mGroupBox) self.cboOrientation.setObjectName("cboOrientation") self.cboOrientation.addItem("") self.cboOrientation.addItem("") self.gridLayout.addWidget(self.cboOrientation, 3, 1, 1, 1) self.sbDpi = QtWidgets.QSpinBox(self.mGroupBox) self.sbDpi.setMinimum(1) self.sbDpi.setMaximum(99999) self.sbDpi.setProperty("value", 300) self.sbDpi.setObjectName("sbDpi") self.gridLayout.addWidget(self.sbDpi, 4, 1, 1, 1) self.sbPageFrameThickness = QtWidgets.QDoubleSpinBox(self.mGroupBox) self.sbPageFrameThickness.setDecimals(1) self.sbPageFrameThickness.setMinimum(0.1) self.sbPageFrameThickness.setProperty("value", 0.3) self.sbPageFrameThickness.setObjectName("sbPageFrameThickness") self.gridLayout.addWidget(self.sbPageFrameThickness, 5, 3, 1, 1) self.label_9 = QtWidgets.QLabel(self.mGroupBox) self.label_9.setObjectName("label_9") self.gridLayout.addWidget(self.label_9, 5, 2, 1, 1) self.cbPageFrame = QtWidgets.QCheckBox(self.mGroupBox) self.cbPageFrame.setObjectName("cbPageFrame") self.gridLayout.addWidget(self.cbPageFrame, 5, 0, 1, 2) self.colorPageFrame = QgsColorButton(self.mGroupBox) self.colorPageFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorPageFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorPageFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorPageFrame.setObjectName("colorPageFrame") self.gridLayout.addWidget(self.colorPageFrame, 5, 4, 1, 1) self.groupBox = QtWidgets.QGroupBox(self.mGroupBox) self.groupBox.setMinimumSize(QtCore.QSize(0, 100)) self.groupBox.setObjectName("groupBox") self.gridLayout_13 = QtWidgets.QGridLayout(self.groupBox) self.gridLayout_13.setObjectName("gridLayout_13") self.sbPageMarginTop = QtWidgets.QDoubleSpinBox(self.groupBox) self.sbPageMarginTop.setDecimals(1) self.sbPageMarginTop.setProperty("value", 10.0) self.sbPageMarginTop.setObjectName("sbPageMarginTop") self.gridLayout_13.addWidget(self.sbPageMarginTop, 0, 2, 1, 1) self.label_11 = QtWidgets.QLabel(self.groupBox) self.label_11.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_11.setObjectName("label_11") self.gridLayout_13.addWidget(self.label_11, 0, 1, 1, 1) self.label_12 = QtWidgets.QLabel(self.groupBox) self.label_12.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_12.setObjectName("label_12") self.gridLayout_13.addWidget(self.label_12, 1, 0, 1, 1) self.sbPageMarginLeft = QtWidgets.QDoubleSpinBox(self.groupBox) self.sbPageMarginLeft.setDecimals(1) self.sbPageMarginLeft.setProperty("value", 10.0) self.sbPageMarginLeft.setObjectName("sbPageMarginLeft") self.gridLayout_13.addWidget(self.sbPageMarginLeft, 1, 1, 1, 1) self.label_14 = QtWidgets.QLabel(self.groupBox) self.label_14.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_14.setObjectName("label_14") self.gridLayout_13.addWidget(self.label_14, 2, 1, 1, 1) self.sbPageMarginBottom = QtWidgets.QDoubleSpinBox(self.groupBox) self.sbPageMarginBottom.setDecimals(1) self.sbPageMarginBottom.setProperty("value", 10.0) self.sbPageMarginBottom.setObjectName("sbPageMarginBottom") self.gridLayout_13.addWidget(self.sbPageMarginBottom, 2, 2, 1, 1) self.sbPageMarginRight = QtWidgets.QDoubleSpinBox(self.groupBox) self.sbPageMarginRight.setDecimals(1) self.sbPageMarginRight.setProperty("value", 10.0) self.sbPageMarginRight.setObjectName("sbPageMarginRight") self.gridLayout_13.addWidget(self.sbPageMarginRight, 1, 3, 1, 1) self.label_13 = QtWidgets.QLabel(self.groupBox) self.label_13.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_13.setObjectName("label_13") self.gridLayout_13.addWidget(self.label_13, 1, 2, 1, 1) spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) self.gridLayout_13.addItem(spacerItem7, 1, 4, 1, 1) self.gridLayout.addWidget(self.groupBox, 6, 0, 1, 5) spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem8, 1, 2, 1, 3) self.verticalLayout_2.addLayout(self.gridLayout) self.gridLayout_12.addWidget(self.mGroupBox, 0, 1, 1, 1) spacerItem9 = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_12.addItem(spacerItem9, 0, 0, 3, 1) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout_6.addWidget(self.scrollArea) self.radLayoutCustom = QtWidgets.QRadioButton(self.tab) self.radLayoutCustom.setChecked(False) self.radLayoutCustom.setObjectName("radLayoutCustom") self.buttonGroup.addButton(self.radLayoutCustom) self.verticalLayout_6.addWidget(self.radLayoutCustom) self.gridLayout_11 = QtWidgets.QGridLayout() self.gridLayout_11.setObjectName("gridLayout_11") self.btnBrowseTemplate = QtWidgets.QToolButton(self.tab) self.btnBrowseTemplate.setObjectName("btnBrowseTemplate") self.gridLayout_11.addWidget(self.btnBrowseTemplate, 0, 3, 1, 1) self.label_5 = QtWidgets.QLabel(self.tab) self.label_5.setObjectName("label_5") self.gridLayout_11.addWidget(self.label_5, 0, 1, 1, 1) self.editTemplate = QtWidgets.QLineEdit(self.tab) self.editTemplate.setObjectName("editTemplate") self.gridLayout_11.addWidget(self.editTemplate, 0, 2, 1, 1) self.label_10 = QtWidgets.QLabel(self.tab) self.label_10.setText("") self.label_10.setObjectName("label_10") self.gridLayout_11.addWidget(self.label_10, 1, 1, 1, 3) spacerItem10 = QtWidgets.QSpacerItem(28, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_11.addItem(spacerItem10, 0, 0, 2, 1) self.verticalLayout_6.addLayout(self.gridLayout_11) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtWidgets.QWidget() self.tab_2.setObjectName("tab_2") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.tab_2) self.verticalLayout_4.setObjectName("verticalLayout_4") self.gridLayout_3 = QtWidgets.QGridLayout() self.gridLayout_3.setObjectName("gridLayout_3") self.btnMapDown = QtWidgets.QToolButton(self.tab_2) self.btnMapDown.setObjectName("btnMapDown") self.gridLayout_3.addWidget(self.btnMapDown, 2, 3, 1, 1) self.btnAddMap = QtWidgets.QToolButton(self.tab_2) self.btnAddMap.setObjectName("btnAddMap") self.gridLayout_3.addWidget(self.btnAddMap, 2, 0, 1, 1) self.btnRemoveMap = QtWidgets.QToolButton(self.tab_2) self.btnRemoveMap.setObjectName("btnRemoveMap") self.gridLayout_3.addWidget(self.btnRemoveMap, 2, 1, 1, 1) self.btnMapUp = QtWidgets.QToolButton(self.tab_2) self.btnMapUp.setObjectName("btnMapUp") self.gridLayout_3.addWidget(self.btnMapUp, 2, 2, 1, 1) self.tableMaps = QtWidgets.QTableWidget(self.tab_2) self.tableMaps.setMinimumSize(QtCore.QSize(0, 300)) self.tableMaps.setObjectName("tableMaps") self.tableMaps.setColumnCount(5) self.tableMaps.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(3, item) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(4, item) self.tableMaps.horizontalHeader().setDefaultSectionSize(120) self.tableMaps.verticalHeader().setDefaultSectionSize(20) self.gridLayout_3.addWidget(self.tableMaps, 3, 0, 1, 6) self.label_3 = QtWidgets.QLabel(self.tab_2) self.label_3.setObjectName("label_3") self.gridLayout_3.addWidget(self.label_3, 1, 0, 1, 4) self.cbSaveTemplates = QtWidgets.QCheckBox(self.tab_2) self.cbSaveTemplates.setObjectName("cbSaveTemplates") self.gridLayout_3.addWidget(self.cbSaveTemplates, 0, 0, 1, 4) self.leTemplateOut = QtWidgets.QLineEdit(self.tab_2) self.leTemplateOut.setObjectName("leTemplateOut") self.gridLayout_3.addWidget(self.leTemplateOut, 0, 5, 1, 1) self.btnBrowseTemplateOut = QtWidgets.QToolButton(self.tab_2) self.btnBrowseTemplateOut.setObjectName("btnBrowseTemplateOut") self.gridLayout_3.addWidget(self.btnBrowseTemplateOut, 0, 4, 1, 1) spacerItem11 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem11, 2, 4, 1, 2) self.verticalLayout_4.addLayout(self.gridLayout_3) self.tabWidget.addTab(self.tab_2, "") self.verticalLayout.addWidget(self.tabWidget) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.progress = QtWidgets.QProgressBar(MapDialog) self.progress.setProperty("value", 0) self.progress.setObjectName("progress") self.horizontalLayout_4.addWidget(self.progress) self.pbPreview = QtWidgets.QPushButton(MapDialog) self.pbPreview.setObjectName("pbPreview") self.horizontalLayout_4.addWidget(self.pbPreview) self.buttonBox = QtWidgets.QDialogButtonBox(MapDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setObjectName("buttonBox") self.horizontalLayout_4.addWidget(self.buttonBox) self.verticalLayout.addLayout(self.horizontalLayout_4) self.retranslateUi(MapDialog) self.tabWidget.setCurrentIndex(0) self.cboPageSize.setCurrentIndex(4) QtCore.QMetaObject.connectSlotsByName(MapDialog)
def setupUi(self, Biorec): Biorec.setObjectName("Biorec") Biorec.resize(383, 607) self.verticalLayout_7 = QtWidgets.QVBoxLayout(Biorec) self.verticalLayout_7.setObjectName("verticalLayout_7") self.tabWidget = QtWidgets.QTabWidget(Biorec) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.verticalLayout = QtWidgets.QVBoxLayout(self.tab) self.verticalLayout.setObjectName("verticalLayout") self.horizontalLayout_12 = QtWidgets.QHBoxLayout() self.horizontalLayout_12.setObjectName("horizontalLayout_12") self.cboDatasource = QtWidgets.QComboBox(self.tab) self.cboDatasource.setObjectName("cboDatasource") self.cboDatasource.addItem("") self.cboDatasource.addItem("") self.horizontalLayout_12.addWidget(self.cboDatasource) self.butBrowse = QtWidgets.QPushButton(self.tab) self.butBrowse.setEnabled(True) self.butBrowse.setMinimumSize(QtCore.QSize(30, 0)) self.butBrowse.setMaximumSize(QtCore.QSize(30, 16777215)) self.butBrowse.setObjectName("butBrowse") self.horizontalLayout_12.addWidget(self.butBrowse) self.verticalLayout.addLayout(self.horizontalLayout_12) self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.lblLayer = QtWidgets.QLabel(self.tab) self.lblLayer.setObjectName("lblLayer") self.gridLayout.addWidget(self.lblLayer, 0, 0, 1, 1) self.mlcbSourceLayer = QgsMapLayerComboBox(self.tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.mlcbSourceLayer.sizePolicy().hasHeightForWidth()) self.mlcbSourceLayer.setSizePolicy(sizePolicy) self.mlcbSourceLayer.setAllowEmptyLayer(True) self.mlcbSourceLayer.setObjectName("mlcbSourceLayer") self.gridLayout.addWidget(self.mlcbSourceLayer, 0, 1, 1, 1) self.lblGridRefCol = QtWidgets.QLabel(self.tab) self.lblGridRefCol.setObjectName("lblGridRefCol") self.gridLayout.addWidget(self.lblGridRefCol, 1, 0, 1, 1) self.fcbGridRefCol = QgsFieldComboBox(self.tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.fcbGridRefCol.sizePolicy().hasHeightForWidth()) self.fcbGridRefCol.setSizePolicy(sizePolicy) self.fcbGridRefCol.setEditable(False) self.fcbGridRefCol.setAllowEmptyFieldName(True) self.fcbGridRefCol.setObjectName("fcbGridRefCol") self.gridLayout.addWidget(self.fcbGridRefCol, 1, 1, 1, 1) self.lblXCol = QtWidgets.QLabel(self.tab) self.lblXCol.setObjectName("lblXCol") self.gridLayout.addWidget(self.lblXCol, 2, 0, 1, 1) self.fcbXCol = QgsFieldComboBox(self.tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.fcbXCol.sizePolicy().hasHeightForWidth()) self.fcbXCol.setSizePolicy(sizePolicy) self.fcbXCol.setAllowEmptyFieldName(True) self.fcbXCol.setObjectName("fcbXCol") self.gridLayout.addWidget(self.fcbXCol, 2, 1, 1, 1) self.lblYCol = QtWidgets.QLabel(self.tab) self.lblYCol.setObjectName("lblYCol") self.gridLayout.addWidget(self.lblYCol, 3, 0, 1, 1) self.fcbYCol = QgsFieldComboBox(self.tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.fcbYCol.sizePolicy().hasHeightForWidth()) self.fcbYCol.setSizePolicy(sizePolicy) self.fcbYCol.setAllowEmptyFieldName(True) self.fcbYCol.setObjectName("fcbYCol") self.gridLayout.addWidget(self.fcbYCol, 3, 1, 1, 1) self.label_3 = QtWidgets.QLabel(self.tab) self.label_3.setObjectName("label_3") self.gridLayout.addWidget(self.label_3, 4, 0, 1, 1) self.fcbDateCol = QgsFieldComboBox(self.tab) self.fcbDateCol.setAllowEmptyFieldName(True) self.fcbDateCol.setObjectName("fcbDateCol") self.gridLayout.addWidget(self.fcbDateCol, 4, 1, 1, 1) self.label_4 = QtWidgets.QLabel(self.tab) self.label_4.setObjectName("label_4") self.gridLayout.addWidget(self.label_4, 5, 0, 1, 1) self.fcbDate2Col = QgsFieldComboBox(self.tab) self.fcbDate2Col.setAllowEmptyFieldName(True) self.fcbDate2Col.setObjectName("fcbDate2Col") self.gridLayout.addWidget(self.fcbDate2Col, 5, 1, 1, 1) self.lblAbundanceColumn = QtWidgets.QLabel(self.tab) self.lblAbundanceColumn.setObjectName("lblAbundanceColumn") self.gridLayout.addWidget(self.lblAbundanceColumn, 6, 0, 1, 1) self.fcbAbundanceCol = QgsFieldComboBox(self.tab) self.fcbAbundanceCol.setAllowEmptyFieldName(True) self.fcbAbundanceCol.setObjectName("fcbAbundanceCol") self.gridLayout.addWidget(self.fcbAbundanceCol, 6, 1, 1, 1) self.lblGroupingCol = QtWidgets.QLabel(self.tab) self.lblGroupingCol.setEnabled(True) self.lblGroupingCol.setObjectName("lblGroupingCol") self.gridLayout.addWidget(self.lblGroupingCol, 7, 0, 1, 1) self.fcbGroupingCol = QgsFieldComboBox(self.tab) self.fcbGroupingCol.setAllowEmptyFieldName(True) self.fcbGroupingCol.setObjectName("fcbGroupingCol") self.gridLayout.addWidget(self.fcbGroupingCol, 7, 1, 1, 1) self.lblTaxonCol = QtWidgets.QLabel(self.tab) self.lblTaxonCol.setObjectName("lblTaxonCol") self.gridLayout.addWidget(self.lblTaxonCol, 8, 0, 1, 1) self.fcbTaxonCol = QgsFieldComboBox(self.tab) self.fcbTaxonCol.setAllowEmptyFieldName(True) self.fcbTaxonCol.setObjectName("fcbTaxonCol") self.gridLayout.addWidget(self.fcbTaxonCol, 8, 1, 1, 1) self.horizontalLayout_13 = QtWidgets.QHBoxLayout() self.horizontalLayout_13.setObjectName("horizontalLayout_13") self.cbLoadTaxa = QtWidgets.QCheckBox(self.tab) self.cbLoadTaxa.setEnabled(True) self.cbLoadTaxa.setChecked(True) self.cbLoadTaxa.setObjectName("cbLoadTaxa") self.horizontalLayout_13.addWidget(self.cbLoadTaxa) spacerItem = QtWidgets.QSpacerItem(18, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_13.addItem(spacerItem) self.gridLayout.addLayout(self.horizontalLayout_13, 9, 1, 1, 1) self.cbIsScientific = QtWidgets.QCheckBox(self.tab) self.cbIsScientific.setEnabled(False) self.cbIsScientific.setChecked(False) self.cbIsScientific.setObjectName("cbIsScientific") self.gridLayout.addWidget(self.cbIsScientific, 9, 0, 1, 1) self.verticalLayout.addLayout(self.gridLayout) self.groupBox_2 = QtWidgets.QGroupBox(self.tab) self.groupBox_2.setObjectName("groupBox_2") self.horizontalLayout_11 = QtWidgets.QHBoxLayout(self.groupBox_2) self.horizontalLayout_11.setObjectName("horizontalLayout_11") self.pswInputCRS = QgsProjectionSelectionWidget(self.groupBox_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pswInputCRS.sizePolicy().hasHeightForWidth()) self.pswInputCRS.setSizePolicy(sizePolicy) self.pswInputCRS.setObjectName("pswInputCRS") self.horizontalLayout_11.addWidget(self.pswInputCRS) self.verticalLayout.addWidget(self.groupBox_2) self.groupBox = QtWidgets.QGroupBox(self.tab) self.groupBox.setObjectName("groupBox") self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox) self.verticalLayout_6.setObjectName("verticalLayout_6") self.horizontalLayout_7 = QtWidgets.QHBoxLayout() self.horizontalLayout_7.setObjectName("horizontalLayout_7") self.rbOutCrsBritish = QtWidgets.QRadioButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.rbOutCrsBritish.sizePolicy().hasHeightForWidth()) self.rbOutCrsBritish.setSizePolicy(sizePolicy) self.rbOutCrsBritish.setMinimumSize(QtCore.QSize(50, 0)) self.rbOutCrsBritish.setChecked(True) self.rbOutCrsBritish.setObjectName("rbOutCrsBritish") self.horizontalLayout_7.addWidget(self.rbOutCrsBritish) self.rbOutCrsIrish = QtWidgets.QRadioButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.rbOutCrsIrish.sizePolicy().hasHeightForWidth()) self.rbOutCrsIrish.setSizePolicy(sizePolicy) self.rbOutCrsIrish.setMinimumSize(QtCore.QSize(50, 0)) self.rbOutCrsIrish.setObjectName("rbOutCrsIrish") self.horizontalLayout_7.addWidget(self.rbOutCrsIrish) self.rbOutCrsInput = QtWidgets.QRadioButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.rbOutCrsInput.sizePolicy().hasHeightForWidth()) self.rbOutCrsInput.setSizePolicy(sizePolicy) self.rbOutCrsInput.setMinimumSize(QtCore.QSize(50, 0)) self.rbOutCrsInput.setObjectName("rbOutCrsInput") self.horizontalLayout_7.addWidget(self.rbOutCrsInput) self.rbOutCrsOther = QtWidgets.QRadioButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.rbOutCrsOther.sizePolicy().hasHeightForWidth()) self.rbOutCrsOther.setSizePolicy(sizePolicy) self.rbOutCrsOther.setMinimumSize(QtCore.QSize(50, 0)) self.rbOutCrsOther.setObjectName("rbOutCrsOther") self.horizontalLayout_7.addWidget(self.rbOutCrsOther) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_7.addItem(spacerItem1) self.verticalLayout_6.addLayout(self.horizontalLayout_7) self.pswOutputCRS = QgsProjectionSelectionWidget(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pswOutputCRS.sizePolicy().hasHeightForWidth()) self.pswOutputCRS.setSizePolicy(sizePolicy) self.pswOutputCRS.setObjectName("pswOutputCRS") self.verticalLayout_6.addWidget(self.pswOutputCRS) self.verticalLayout.addWidget(self.groupBox) spacerItem2 = QtWidgets.QSpacerItem(20, 84, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem2) self.tabWidget.addTab(self.tab, "") self.tab_3 = QtWidgets.QWidget() self.tab_3.setObjectName("tab_3") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.tab_3) self.verticalLayout_3.setObjectName("verticalLayout_3") self.tvTaxa = QtWidgets.QTreeView(self.tab_3) self.tvTaxa.setToolTip("") self.tvTaxa.setObjectName("tvTaxa") self.tvTaxa.header().setVisible(False) self.verticalLayout_3.addWidget(self.tvTaxa) self.frame_2 = QtWidgets.QFrame(self.tab_3) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.frame_2.sizePolicy().hasHeightForWidth()) self.frame_2.setSizePolicy(sizePolicy) self.frame_2.setFrameShape(QtWidgets.QFrame.NoFrame) self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised) self.frame_2.setObjectName("frame_2") self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame_2) self.horizontalLayout.setContentsMargins(0, 0, 0, 0) self.horizontalLayout.setSpacing(2) self.horizontalLayout.setObjectName("horizontalLayout") self.butContract = QtWidgets.QPushButton(self.frame_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("butContract") self.horizontalLayout.addWidget(self.butContract) self.butExpand = QtWidgets.QPushButton(self.frame_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("butExpand") self.horizontalLayout.addWidget(self.butExpand) self.butCheckAll = QtWidgets.QPushButton(self.frame_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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(200, 16777215)) self.butCheckAll.setObjectName("butCheckAll") self.horizontalLayout.addWidget(self.butCheckAll) self.butUncheckAll = QtWidgets.QPushButton(self.frame_2) self.butUncheckAll.setMinimumSize(QtCore.QSize(65, 0)) self.butUncheckAll.setMaximumSize(QtCore.QSize(200, 16777215)) self.butUncheckAll.setObjectName("butUncheckAll") self.horizontalLayout.addWidget(self.butUncheckAll) spacerItem3 = QtWidgets.QSpacerItem(200, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem3) self.butGenTree = QtWidgets.QPushButton(self.frame_2) self.butGenTree.setObjectName("butGenTree") self.horizontalLayout.addWidget(self.butGenTree) self.verticalLayout_3.addWidget(self.frame_2) self.tabWidget.addTab(self.tab_3, "") self.tab_5 = QtWidgets.QWidget() self.tab_5.setObjectName("tab_5") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.tab_5) self.verticalLayout_5.setObjectName("verticalLayout_5") self.cboBatchMode = QtWidgets.QComboBox(self.tab_5) self.cboBatchMode.setMinimumSize(QtCore.QSize(130, 0)) self.cboBatchMode.setMaximumSize(QtCore.QSize(130, 16777215)) self.cboBatchMode.setObjectName("cboBatchMode") self.cboBatchMode.addItem("") self.cboBatchMode.addItem("") self.verticalLayout_5.addWidget(self.cboBatchMode) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.leStyleFile = QtWidgets.QLineEdit(self.tab_5) self.leStyleFile.setObjectName("leStyleFile") self.horizontalLayout_4.addWidget(self.leStyleFile) self.pbBrowseStyleFile = QtWidgets.QPushButton(self.tab_5) self.pbBrowseStyleFile.setMinimumSize(QtCore.QSize(0, 0)) self.pbBrowseStyleFile.setObjectName("pbBrowseStyleFile") self.horizontalLayout_4.addWidget(self.pbBrowseStyleFile) self.verticalLayout_5.addLayout(self.horizontalLayout_4) self.cbApplyStyle = QtWidgets.QCheckBox(self.tab_5) self.cbApplyStyle.setObjectName("cbApplyStyle") self.verticalLayout_5.addWidget(self.cbApplyStyle) self.horizontalLayout_8 = QtWidgets.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") self.label_2 = QtWidgets.QLabel(self.tab_5) self.label_2.setObjectName("label_2") self.horizontalLayout_8.addWidget(self.label_2) self.hsLayerTransparency = QtWidgets.QSlider(self.tab_5) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.hsLayerTransparency.sizePolicy().hasHeightForWidth()) self.hsLayerTransparency.setSizePolicy(sizePolicy) self.hsLayerTransparency.setOrientation(QtCore.Qt.Horizontal) self.hsLayerTransparency.setTickPosition(QtWidgets.QSlider.TicksBelow) self.hsLayerTransparency.setTickInterval(10) self.hsLayerTransparency.setObjectName("hsLayerTransparency") self.horizontalLayout_8.addWidget(self.hsLayerTransparency) self.verticalLayout_5.addLayout(self.horizontalLayout_8) self.mGroupBox = QgsCollapsibleGroupBox(self.tab_5) self.mGroupBox.setObjectName("mGroupBox") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.mGroupBox) self.verticalLayout_2.setObjectName("verticalLayout_2") self.horizontalLayout_9 = QtWidgets.QHBoxLayout() self.horizontalLayout_9.setObjectName("horizontalLayout_9") self.label = QtWidgets.QLabel(self.mGroupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth()) self.label.setSizePolicy(sizePolicy) self.label.setMinimumSize(QtCore.QSize(0, 0)) self.label.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.label.setObjectName("label") self.horizontalLayout_9.addWidget(self.label) self.cboOutputFormat = QtWidgets.QComboBox(self.mGroupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cboOutputFormat.sizePolicy().hasHeightForWidth()) self.cboOutputFormat.setSizePolicy(sizePolicy) self.cboOutputFormat.setEditable(False) self.cboOutputFormat.setObjectName("cboOutputFormat") self.cboOutputFormat.addItem("") self.cboOutputFormat.addItem("") self.cboOutputFormat.addItem("") self.cboOutputFormat.addItem("") self.cboOutputFormat.addItem("") self.horizontalLayout_9.addWidget(self.cboOutputFormat) self.verticalLayout_2.addLayout(self.horizontalLayout_9) self.qgsOutputCRS = QgsProjectionSelectionWidget(self.mGroupBox) self.qgsOutputCRS.setObjectName("qgsOutputCRS") self.verticalLayout_2.addWidget(self.qgsOutputCRS) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.leImageFolder = QtWidgets.QLineEdit(self.mGroupBox) self.leImageFolder.setObjectName("leImageFolder") self.horizontalLayout_3.addWidget(self.leImageFolder) self.pbBrowseImageFolder = QtWidgets.QPushButton(self.mGroupBox) self.pbBrowseImageFolder.setObjectName("pbBrowseImageFolder") self.horizontalLayout_3.addWidget(self.pbBrowseImageFolder) self.verticalLayout_2.addLayout(self.horizontalLayout_3) self.horizontalLayout_10 = QtWidgets.QHBoxLayout() self.horizontalLayout_10.setObjectName("horizontalLayout_10") self.cbTaxonMetaData = QtWidgets.QCheckBox(self.mGroupBox) self.cbTaxonMetaData.setMinimumSize(QtCore.QSize(0, 0)) self.cbTaxonMetaData.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.cbTaxonMetaData.setObjectName("cbTaxonMetaData") self.horizontalLayout_10.addWidget(self.cbTaxonMetaData) self.mlcbTaxonMetaDataLayer = QgsMapLayerComboBox(self.mGroupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.mlcbTaxonMetaDataLayer.sizePolicy().hasHeightForWidth()) self.mlcbTaxonMetaDataLayer.setSizePolicy(sizePolicy) self.mlcbTaxonMetaDataLayer.setObjectName("mlcbTaxonMetaDataLayer") self.horizontalLayout_10.addWidget(self.mlcbTaxonMetaDataLayer) self.verticalLayout_2.addLayout(self.horizontalLayout_10) self.verticalLayout_5.addWidget(self.mGroupBox) spacerItem4 = QtWidgets.QSpacerItem(20, 52, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_5.addItem(spacerItem4) self.cboBatchMode.raise_() self.cbApplyStyle.raise_() self.mGroupBox.raise_() self.tabWidget.addTab(self.tab_5, "") self.tab_4 = QtWidgets.QWidget() self.tab_4.setObjectName("tab_4") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.tab_4) self.verticalLayout_4.setObjectName("verticalLayout_4") self.pteLog = QtWidgets.QPlainTextEdit(self.tab_4) self.pteLog.setObjectName("pteLog") self.verticalLayout_4.addWidget(self.pteLog) self.tabWidget.addTab(self.tab_4, "") self.verticalLayout_7.addWidget(self.tabWidget) self.horizontalLayout_6 = QtWidgets.QHBoxLayout() self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.progBatch = QtWidgets.QProgressBar(Biorec) self.progBatch.setProperty("value", 0) self.progBatch.setObjectName("progBatch") self.horizontalLayout_6.addWidget(self.progBatch) self.pbCancel = QtWidgets.QPushButton(Biorec) self.pbCancel.setObjectName("pbCancel") self.horizontalLayout_6.addWidget(self.pbCancel) self.verticalLayout_7.addLayout(self.horizontalLayout_6) self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.cboSymbol = QtWidgets.QComboBox(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cboSymbol.sizePolicy().hasHeightForWidth()) self.cboSymbol.setSizePolicy(sizePolicy) self.cboSymbol.setMinimumSize(QtCore.QSize(0, 0)) self.cboSymbol.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.cboSymbol.setObjectName("cboSymbol") self.cboSymbol.addItem("") self.cboSymbol.addItem("") self.horizontalLayout_5.addWidget(self.cboSymbol) self.cboMapType = QtWidgets.QComboBox(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cboMapType.sizePolicy().hasHeightForWidth()) self.cboMapType.setSizePolicy(sizePolicy) self.cboMapType.setObjectName("cboMapType") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.horizontalLayout_5.addWidget(self.cboMapType) self.dsbGridSize = QtWidgets.QDoubleSpinBox(Biorec) self.dsbGridSize.setDecimals(3) self.dsbGridSize.setMaximum(100000000.0) self.dsbGridSize.setSingleStep(100.0) self.dsbGridSize.setObjectName("dsbGridSize") self.horizontalLayout_5.addWidget(self.dsbGridSize) self.verticalLayout_7.addLayout(self.horizontalLayout_5) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.butMap = QtWidgets.QPushButton(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap("images/maptaxa.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butMap.setIcon(icon) self.butMap.setIconSize(QtCore.QSize(30, 30)) self.butMap.setObjectName("butMap") self.horizontalLayout_2.addWidget(self.butMap) self.butSaveImage = QtWidgets.QPushButton(Biorec) self.butSaveImage.setMinimumSize(QtCore.QSize(32, 32)) self.butSaveImage.setMaximumSize(QtCore.QSize(32, 32)) self.butSaveImage.setText("") icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap("images/saveimage.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butSaveImage.setIcon(icon1) self.butSaveImage.setIconSize(QtCore.QSize(28, 28)) self.butSaveImage.setObjectName("butSaveImage") self.horizontalLayout_2.addWidget(self.butSaveImage) self.butShowAll = QtWidgets.QPushButton(Biorec) self.butShowAll.setMinimumSize(QtCore.QSize(32, 32)) self.butShowAll.setMaximumSize(QtCore.QSize(32, 32)) self.butShowAll.setText("") icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap("images/layershow.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butShowAll.setIcon(icon2) self.butShowAll.setIconSize(QtCore.QSize(26, 26)) self.butShowAll.setObjectName("butShowAll") self.horizontalLayout_2.addWidget(self.butShowAll) self.butHideAll = QtWidgets.QPushButton(Biorec) self.butHideAll.setMinimumSize(QtCore.QSize(32, 32)) self.butHideAll.setMaximumSize(QtCore.QSize(32, 32)) self.butHideAll.setText("") icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap("images/layerhide.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butHideAll.setIcon(icon3) self.butHideAll.setIconSize(QtCore.QSize(26, 26)) self.butHideAll.setObjectName("butHideAll") self.horizontalLayout_2.addWidget(self.butHideAll) self.butRemoveMap = QtWidgets.QPushButton(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("") icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap("images/removelayer.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butRemoveMap.setIcon(icon4) self.butRemoveMap.setIconSize(QtCore.QSize(30, 30)) self.butRemoveMap.setObjectName("butRemoveMap") self.horizontalLayout_2.addWidget(self.butRemoveMap) self.butRemoveMaps = QtWidgets.QPushButton(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("") icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap("images/removelayers.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butRemoveMaps.setIcon(icon5) self.butRemoveMaps.setIconSize(QtCore.QSize(30, 30)) self.butRemoveMaps.setObjectName("butRemoveMaps") self.horizontalLayout_2.addWidget(self.butRemoveMaps) spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem5) self.butHelp = QtWidgets.QPushButton(Biorec) self.butHelp.setMinimumSize(QtCore.QSize(30, 30)) self.butHelp.setMaximumSize(QtCore.QSize(30, 30)) self.butHelp.setText("") icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap("images/info.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butHelp.setIcon(icon6) self.butHelp.setIconSize(QtCore.QSize(24, 24)) self.butHelp.setObjectName("butHelp") self.horizontalLayout_2.addWidget(self.butHelp) self.butGithub = QtWidgets.QPushButton(Biorec) self.butGithub.setMinimumSize(QtCore.QSize(30, 30)) self.butGithub.setMaximumSize(QtCore.QSize(30, 30)) self.butGithub.setText("") icon7 = QtGui.QIcon() icon7.addPixmap(QtGui.QPixmap("images/github.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butGithub.setIcon(icon7) self.butGithub.setIconSize(QtCore.QSize(24, 24)) self.butGithub.setObjectName("butGithub") self.horizontalLayout_2.addWidget(self.butGithub) self.verticalLayout_7.addLayout(self.horizontalLayout_2) self.retranslateUi(Biorec) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(Biorec)
class Ui_Biorec(object): def setupUi(self, Biorec): Biorec.setObjectName("Biorec") Biorec.resize(383, 607) self.verticalLayout_7 = QtWidgets.QVBoxLayout(Biorec) self.verticalLayout_7.setObjectName("verticalLayout_7") self.tabWidget = QtWidgets.QTabWidget(Biorec) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.verticalLayout = QtWidgets.QVBoxLayout(self.tab) self.verticalLayout.setObjectName("verticalLayout") self.horizontalLayout_12 = QtWidgets.QHBoxLayout() self.horizontalLayout_12.setObjectName("horizontalLayout_12") self.cboDatasource = QtWidgets.QComboBox(self.tab) self.cboDatasource.setObjectName("cboDatasource") self.cboDatasource.addItem("") self.cboDatasource.addItem("") self.horizontalLayout_12.addWidget(self.cboDatasource) self.butBrowse = QtWidgets.QPushButton(self.tab) self.butBrowse.setEnabled(True) self.butBrowse.setMinimumSize(QtCore.QSize(30, 0)) self.butBrowse.setMaximumSize(QtCore.QSize(30, 16777215)) self.butBrowse.setObjectName("butBrowse") self.horizontalLayout_12.addWidget(self.butBrowse) self.verticalLayout.addLayout(self.horizontalLayout_12) self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.lblLayer = QtWidgets.QLabel(self.tab) self.lblLayer.setObjectName("lblLayer") self.gridLayout.addWidget(self.lblLayer, 0, 0, 1, 1) self.mlcbSourceLayer = QgsMapLayerComboBox(self.tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.mlcbSourceLayer.sizePolicy().hasHeightForWidth()) self.mlcbSourceLayer.setSizePolicy(sizePolicy) self.mlcbSourceLayer.setAllowEmptyLayer(True) self.mlcbSourceLayer.setObjectName("mlcbSourceLayer") self.gridLayout.addWidget(self.mlcbSourceLayer, 0, 1, 1, 1) self.lblGridRefCol = QtWidgets.QLabel(self.tab) self.lblGridRefCol.setObjectName("lblGridRefCol") self.gridLayout.addWidget(self.lblGridRefCol, 1, 0, 1, 1) self.fcbGridRefCol = QgsFieldComboBox(self.tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.fcbGridRefCol.sizePolicy().hasHeightForWidth()) self.fcbGridRefCol.setSizePolicy(sizePolicy) self.fcbGridRefCol.setEditable(False) self.fcbGridRefCol.setAllowEmptyFieldName(True) self.fcbGridRefCol.setObjectName("fcbGridRefCol") self.gridLayout.addWidget(self.fcbGridRefCol, 1, 1, 1, 1) self.lblXCol = QtWidgets.QLabel(self.tab) self.lblXCol.setObjectName("lblXCol") self.gridLayout.addWidget(self.lblXCol, 2, 0, 1, 1) self.fcbXCol = QgsFieldComboBox(self.tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.fcbXCol.sizePolicy().hasHeightForWidth()) self.fcbXCol.setSizePolicy(sizePolicy) self.fcbXCol.setAllowEmptyFieldName(True) self.fcbXCol.setObjectName("fcbXCol") self.gridLayout.addWidget(self.fcbXCol, 2, 1, 1, 1) self.lblYCol = QtWidgets.QLabel(self.tab) self.lblYCol.setObjectName("lblYCol") self.gridLayout.addWidget(self.lblYCol, 3, 0, 1, 1) self.fcbYCol = QgsFieldComboBox(self.tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.fcbYCol.sizePolicy().hasHeightForWidth()) self.fcbYCol.setSizePolicy(sizePolicy) self.fcbYCol.setAllowEmptyFieldName(True) self.fcbYCol.setObjectName("fcbYCol") self.gridLayout.addWidget(self.fcbYCol, 3, 1, 1, 1) self.label_3 = QtWidgets.QLabel(self.tab) self.label_3.setObjectName("label_3") self.gridLayout.addWidget(self.label_3, 4, 0, 1, 1) self.fcbDateCol = QgsFieldComboBox(self.tab) self.fcbDateCol.setAllowEmptyFieldName(True) self.fcbDateCol.setObjectName("fcbDateCol") self.gridLayout.addWidget(self.fcbDateCol, 4, 1, 1, 1) self.label_4 = QtWidgets.QLabel(self.tab) self.label_4.setObjectName("label_4") self.gridLayout.addWidget(self.label_4, 5, 0, 1, 1) self.fcbDate2Col = QgsFieldComboBox(self.tab) self.fcbDate2Col.setAllowEmptyFieldName(True) self.fcbDate2Col.setObjectName("fcbDate2Col") self.gridLayout.addWidget(self.fcbDate2Col, 5, 1, 1, 1) self.lblAbundanceColumn = QtWidgets.QLabel(self.tab) self.lblAbundanceColumn.setObjectName("lblAbundanceColumn") self.gridLayout.addWidget(self.lblAbundanceColumn, 6, 0, 1, 1) self.fcbAbundanceCol = QgsFieldComboBox(self.tab) self.fcbAbundanceCol.setAllowEmptyFieldName(True) self.fcbAbundanceCol.setObjectName("fcbAbundanceCol") self.gridLayout.addWidget(self.fcbAbundanceCol, 6, 1, 1, 1) self.lblGroupingCol = QtWidgets.QLabel(self.tab) self.lblGroupingCol.setEnabled(True) self.lblGroupingCol.setObjectName("lblGroupingCol") self.gridLayout.addWidget(self.lblGroupingCol, 7, 0, 1, 1) self.fcbGroupingCol = QgsFieldComboBox(self.tab) self.fcbGroupingCol.setAllowEmptyFieldName(True) self.fcbGroupingCol.setObjectName("fcbGroupingCol") self.gridLayout.addWidget(self.fcbGroupingCol, 7, 1, 1, 1) self.lblTaxonCol = QtWidgets.QLabel(self.tab) self.lblTaxonCol.setObjectName("lblTaxonCol") self.gridLayout.addWidget(self.lblTaxonCol, 8, 0, 1, 1) self.fcbTaxonCol = QgsFieldComboBox(self.tab) self.fcbTaxonCol.setAllowEmptyFieldName(True) self.fcbTaxonCol.setObjectName("fcbTaxonCol") self.gridLayout.addWidget(self.fcbTaxonCol, 8, 1, 1, 1) self.horizontalLayout_13 = QtWidgets.QHBoxLayout() self.horizontalLayout_13.setObjectName("horizontalLayout_13") self.cbLoadTaxa = QtWidgets.QCheckBox(self.tab) self.cbLoadTaxa.setEnabled(True) self.cbLoadTaxa.setChecked(True) self.cbLoadTaxa.setObjectName("cbLoadTaxa") self.horizontalLayout_13.addWidget(self.cbLoadTaxa) spacerItem = QtWidgets.QSpacerItem(18, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_13.addItem(spacerItem) self.gridLayout.addLayout(self.horizontalLayout_13, 9, 1, 1, 1) self.cbIsScientific = QtWidgets.QCheckBox(self.tab) self.cbIsScientific.setEnabled(False) self.cbIsScientific.setChecked(False) self.cbIsScientific.setObjectName("cbIsScientific") self.gridLayout.addWidget(self.cbIsScientific, 9, 0, 1, 1) self.verticalLayout.addLayout(self.gridLayout) self.groupBox_2 = QtWidgets.QGroupBox(self.tab) self.groupBox_2.setObjectName("groupBox_2") self.horizontalLayout_11 = QtWidgets.QHBoxLayout(self.groupBox_2) self.horizontalLayout_11.setObjectName("horizontalLayout_11") self.pswInputCRS = QgsProjectionSelectionWidget(self.groupBox_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pswInputCRS.sizePolicy().hasHeightForWidth()) self.pswInputCRS.setSizePolicy(sizePolicy) self.pswInputCRS.setObjectName("pswInputCRS") self.horizontalLayout_11.addWidget(self.pswInputCRS) self.verticalLayout.addWidget(self.groupBox_2) self.groupBox = QtWidgets.QGroupBox(self.tab) self.groupBox.setObjectName("groupBox") self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox) self.verticalLayout_6.setObjectName("verticalLayout_6") self.horizontalLayout_7 = QtWidgets.QHBoxLayout() self.horizontalLayout_7.setObjectName("horizontalLayout_7") self.rbOutCrsBritish = QtWidgets.QRadioButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.rbOutCrsBritish.sizePolicy().hasHeightForWidth()) self.rbOutCrsBritish.setSizePolicy(sizePolicy) self.rbOutCrsBritish.setMinimumSize(QtCore.QSize(50, 0)) self.rbOutCrsBritish.setChecked(True) self.rbOutCrsBritish.setObjectName("rbOutCrsBritish") self.horizontalLayout_7.addWidget(self.rbOutCrsBritish) self.rbOutCrsIrish = QtWidgets.QRadioButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.rbOutCrsIrish.sizePolicy().hasHeightForWidth()) self.rbOutCrsIrish.setSizePolicy(sizePolicy) self.rbOutCrsIrish.setMinimumSize(QtCore.QSize(50, 0)) self.rbOutCrsIrish.setObjectName("rbOutCrsIrish") self.horizontalLayout_7.addWidget(self.rbOutCrsIrish) self.rbOutCrsInput = QtWidgets.QRadioButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.rbOutCrsInput.sizePolicy().hasHeightForWidth()) self.rbOutCrsInput.setSizePolicy(sizePolicy) self.rbOutCrsInput.setMinimumSize(QtCore.QSize(50, 0)) self.rbOutCrsInput.setObjectName("rbOutCrsInput") self.horizontalLayout_7.addWidget(self.rbOutCrsInput) self.rbOutCrsOther = QtWidgets.QRadioButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.rbOutCrsOther.sizePolicy().hasHeightForWidth()) self.rbOutCrsOther.setSizePolicy(sizePolicy) self.rbOutCrsOther.setMinimumSize(QtCore.QSize(50, 0)) self.rbOutCrsOther.setObjectName("rbOutCrsOther") self.horizontalLayout_7.addWidget(self.rbOutCrsOther) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_7.addItem(spacerItem1) self.verticalLayout_6.addLayout(self.horizontalLayout_7) self.pswOutputCRS = QgsProjectionSelectionWidget(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.pswOutputCRS.sizePolicy().hasHeightForWidth()) self.pswOutputCRS.setSizePolicy(sizePolicy) self.pswOutputCRS.setObjectName("pswOutputCRS") self.verticalLayout_6.addWidget(self.pswOutputCRS) self.verticalLayout.addWidget(self.groupBox) spacerItem2 = QtWidgets.QSpacerItem(20, 84, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem2) self.tabWidget.addTab(self.tab, "") self.tab_3 = QtWidgets.QWidget() self.tab_3.setObjectName("tab_3") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.tab_3) self.verticalLayout_3.setObjectName("verticalLayout_3") self.tvTaxa = QtWidgets.QTreeView(self.tab_3) self.tvTaxa.setToolTip("") self.tvTaxa.setObjectName("tvTaxa") self.tvTaxa.header().setVisible(False) self.verticalLayout_3.addWidget(self.tvTaxa) self.frame_2 = QtWidgets.QFrame(self.tab_3) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.frame_2.sizePolicy().hasHeightForWidth()) self.frame_2.setSizePolicy(sizePolicy) self.frame_2.setFrameShape(QtWidgets.QFrame.NoFrame) self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised) self.frame_2.setObjectName("frame_2") self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame_2) self.horizontalLayout.setContentsMargins(0, 0, 0, 0) self.horizontalLayout.setSpacing(2) self.horizontalLayout.setObjectName("horizontalLayout") self.butContract = QtWidgets.QPushButton(self.frame_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("butContract") self.horizontalLayout.addWidget(self.butContract) self.butExpand = QtWidgets.QPushButton(self.frame_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("butExpand") self.horizontalLayout.addWidget(self.butExpand) self.butCheckAll = QtWidgets.QPushButton(self.frame_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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(200, 16777215)) self.butCheckAll.setObjectName("butCheckAll") self.horizontalLayout.addWidget(self.butCheckAll) self.butUncheckAll = QtWidgets.QPushButton(self.frame_2) self.butUncheckAll.setMinimumSize(QtCore.QSize(65, 0)) self.butUncheckAll.setMaximumSize(QtCore.QSize(200, 16777215)) self.butUncheckAll.setObjectName("butUncheckAll") self.horizontalLayout.addWidget(self.butUncheckAll) spacerItem3 = QtWidgets.QSpacerItem(200, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem3) self.butGenTree = QtWidgets.QPushButton(self.frame_2) self.butGenTree.setObjectName("butGenTree") self.horizontalLayout.addWidget(self.butGenTree) self.verticalLayout_3.addWidget(self.frame_2) self.tabWidget.addTab(self.tab_3, "") self.tab_5 = QtWidgets.QWidget() self.tab_5.setObjectName("tab_5") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.tab_5) self.verticalLayout_5.setObjectName("verticalLayout_5") self.cboBatchMode = QtWidgets.QComboBox(self.tab_5) self.cboBatchMode.setMinimumSize(QtCore.QSize(130, 0)) self.cboBatchMode.setMaximumSize(QtCore.QSize(130, 16777215)) self.cboBatchMode.setObjectName("cboBatchMode") self.cboBatchMode.addItem("") self.cboBatchMode.addItem("") self.verticalLayout_5.addWidget(self.cboBatchMode) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.leStyleFile = QtWidgets.QLineEdit(self.tab_5) self.leStyleFile.setObjectName("leStyleFile") self.horizontalLayout_4.addWidget(self.leStyleFile) self.pbBrowseStyleFile = QtWidgets.QPushButton(self.tab_5) self.pbBrowseStyleFile.setMinimumSize(QtCore.QSize(0, 0)) self.pbBrowseStyleFile.setObjectName("pbBrowseStyleFile") self.horizontalLayout_4.addWidget(self.pbBrowseStyleFile) self.verticalLayout_5.addLayout(self.horizontalLayout_4) self.cbApplyStyle = QtWidgets.QCheckBox(self.tab_5) self.cbApplyStyle.setObjectName("cbApplyStyle") self.verticalLayout_5.addWidget(self.cbApplyStyle) self.horizontalLayout_8 = QtWidgets.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") self.label_2 = QtWidgets.QLabel(self.tab_5) self.label_2.setObjectName("label_2") self.horizontalLayout_8.addWidget(self.label_2) self.hsLayerTransparency = QtWidgets.QSlider(self.tab_5) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.hsLayerTransparency.sizePolicy().hasHeightForWidth()) self.hsLayerTransparency.setSizePolicy(sizePolicy) self.hsLayerTransparency.setOrientation(QtCore.Qt.Horizontal) self.hsLayerTransparency.setTickPosition(QtWidgets.QSlider.TicksBelow) self.hsLayerTransparency.setTickInterval(10) self.hsLayerTransparency.setObjectName("hsLayerTransparency") self.horizontalLayout_8.addWidget(self.hsLayerTransparency) self.verticalLayout_5.addLayout(self.horizontalLayout_8) self.mGroupBox = QgsCollapsibleGroupBox(self.tab_5) self.mGroupBox.setObjectName("mGroupBox") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.mGroupBox) self.verticalLayout_2.setObjectName("verticalLayout_2") self.horizontalLayout_9 = QtWidgets.QHBoxLayout() self.horizontalLayout_9.setObjectName("horizontalLayout_9") self.label = QtWidgets.QLabel(self.mGroupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth()) self.label.setSizePolicy(sizePolicy) self.label.setMinimumSize(QtCore.QSize(0, 0)) self.label.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.label.setObjectName("label") self.horizontalLayout_9.addWidget(self.label) self.cboOutputFormat = QtWidgets.QComboBox(self.mGroupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cboOutputFormat.sizePolicy().hasHeightForWidth()) self.cboOutputFormat.setSizePolicy(sizePolicy) self.cboOutputFormat.setEditable(False) self.cboOutputFormat.setObjectName("cboOutputFormat") self.cboOutputFormat.addItem("") self.cboOutputFormat.addItem("") self.cboOutputFormat.addItem("") self.cboOutputFormat.addItem("") self.cboOutputFormat.addItem("") self.horizontalLayout_9.addWidget(self.cboOutputFormat) self.verticalLayout_2.addLayout(self.horizontalLayout_9) self.qgsOutputCRS = QgsProjectionSelectionWidget(self.mGroupBox) self.qgsOutputCRS.setObjectName("qgsOutputCRS") self.verticalLayout_2.addWidget(self.qgsOutputCRS) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.leImageFolder = QtWidgets.QLineEdit(self.mGroupBox) self.leImageFolder.setObjectName("leImageFolder") self.horizontalLayout_3.addWidget(self.leImageFolder) self.pbBrowseImageFolder = QtWidgets.QPushButton(self.mGroupBox) self.pbBrowseImageFolder.setObjectName("pbBrowseImageFolder") self.horizontalLayout_3.addWidget(self.pbBrowseImageFolder) self.verticalLayout_2.addLayout(self.horizontalLayout_3) self.horizontalLayout_10 = QtWidgets.QHBoxLayout() self.horizontalLayout_10.setObjectName("horizontalLayout_10") self.cbTaxonMetaData = QtWidgets.QCheckBox(self.mGroupBox) self.cbTaxonMetaData.setMinimumSize(QtCore.QSize(0, 0)) self.cbTaxonMetaData.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.cbTaxonMetaData.setObjectName("cbTaxonMetaData") self.horizontalLayout_10.addWidget(self.cbTaxonMetaData) self.mlcbTaxonMetaDataLayer = QgsMapLayerComboBox(self.mGroupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.mlcbTaxonMetaDataLayer.sizePolicy().hasHeightForWidth()) self.mlcbTaxonMetaDataLayer.setSizePolicy(sizePolicy) self.mlcbTaxonMetaDataLayer.setObjectName("mlcbTaxonMetaDataLayer") self.horizontalLayout_10.addWidget(self.mlcbTaxonMetaDataLayer) self.verticalLayout_2.addLayout(self.horizontalLayout_10) self.verticalLayout_5.addWidget(self.mGroupBox) spacerItem4 = QtWidgets.QSpacerItem(20, 52, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_5.addItem(spacerItem4) self.cboBatchMode.raise_() self.cbApplyStyle.raise_() self.mGroupBox.raise_() self.tabWidget.addTab(self.tab_5, "") self.tab_4 = QtWidgets.QWidget() self.tab_4.setObjectName("tab_4") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.tab_4) self.verticalLayout_4.setObjectName("verticalLayout_4") self.pteLog = QtWidgets.QPlainTextEdit(self.tab_4) self.pteLog.setObjectName("pteLog") self.verticalLayout_4.addWidget(self.pteLog) self.tabWidget.addTab(self.tab_4, "") self.verticalLayout_7.addWidget(self.tabWidget) self.horizontalLayout_6 = QtWidgets.QHBoxLayout() self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.progBatch = QtWidgets.QProgressBar(Biorec) self.progBatch.setProperty("value", 0) self.progBatch.setObjectName("progBatch") self.horizontalLayout_6.addWidget(self.progBatch) self.pbCancel = QtWidgets.QPushButton(Biorec) self.pbCancel.setObjectName("pbCancel") self.horizontalLayout_6.addWidget(self.pbCancel) self.verticalLayout_7.addLayout(self.horizontalLayout_6) self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.cboSymbol = QtWidgets.QComboBox(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cboSymbol.sizePolicy().hasHeightForWidth()) self.cboSymbol.setSizePolicy(sizePolicy) self.cboSymbol.setMinimumSize(QtCore.QSize(0, 0)) self.cboSymbol.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.cboSymbol.setObjectName("cboSymbol") self.cboSymbol.addItem("") self.cboSymbol.addItem("") self.horizontalLayout_5.addWidget(self.cboSymbol) self.cboMapType = QtWidgets.QComboBox(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cboMapType.sizePolicy().hasHeightForWidth()) self.cboMapType.setSizePolicy(sizePolicy) self.cboMapType.setObjectName("cboMapType") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.horizontalLayout_5.addWidget(self.cboMapType) self.dsbGridSize = QtWidgets.QDoubleSpinBox(Biorec) self.dsbGridSize.setDecimals(3) self.dsbGridSize.setMaximum(100000000.0) self.dsbGridSize.setSingleStep(100.0) self.dsbGridSize.setObjectName("dsbGridSize") self.horizontalLayout_5.addWidget(self.dsbGridSize) self.verticalLayout_7.addLayout(self.horizontalLayout_5) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.butMap = QtWidgets.QPushButton(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap("images/maptaxa.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butMap.setIcon(icon) self.butMap.setIconSize(QtCore.QSize(30, 30)) self.butMap.setObjectName("butMap") self.horizontalLayout_2.addWidget(self.butMap) self.butSaveImage = QtWidgets.QPushButton(Biorec) self.butSaveImage.setMinimumSize(QtCore.QSize(32, 32)) self.butSaveImage.setMaximumSize(QtCore.QSize(32, 32)) self.butSaveImage.setText("") icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap("images/saveimage.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butSaveImage.setIcon(icon1) self.butSaveImage.setIconSize(QtCore.QSize(28, 28)) self.butSaveImage.setObjectName("butSaveImage") self.horizontalLayout_2.addWidget(self.butSaveImage) self.butShowAll = QtWidgets.QPushButton(Biorec) self.butShowAll.setMinimumSize(QtCore.QSize(32, 32)) self.butShowAll.setMaximumSize(QtCore.QSize(32, 32)) self.butShowAll.setText("") icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap("images/layershow.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butShowAll.setIcon(icon2) self.butShowAll.setIconSize(QtCore.QSize(26, 26)) self.butShowAll.setObjectName("butShowAll") self.horizontalLayout_2.addWidget(self.butShowAll) self.butHideAll = QtWidgets.QPushButton(Biorec) self.butHideAll.setMinimumSize(QtCore.QSize(32, 32)) self.butHideAll.setMaximumSize(QtCore.QSize(32, 32)) self.butHideAll.setText("") icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap("images/layerhide.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butHideAll.setIcon(icon3) self.butHideAll.setIconSize(QtCore.QSize(26, 26)) self.butHideAll.setObjectName("butHideAll") self.horizontalLayout_2.addWidget(self.butHideAll) self.butRemoveMap = QtWidgets.QPushButton(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("") icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap("images/removelayer.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butRemoveMap.setIcon(icon4) self.butRemoveMap.setIconSize(QtCore.QSize(30, 30)) self.butRemoveMap.setObjectName("butRemoveMap") self.horizontalLayout_2.addWidget(self.butRemoveMap) self.butRemoveMaps = QtWidgets.QPushButton(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("") icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap("images/removelayers.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butRemoveMaps.setIcon(icon5) self.butRemoveMaps.setIconSize(QtCore.QSize(30, 30)) self.butRemoveMaps.setObjectName("butRemoveMaps") self.horizontalLayout_2.addWidget(self.butRemoveMaps) spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem5) self.butHelp = QtWidgets.QPushButton(Biorec) self.butHelp.setMinimumSize(QtCore.QSize(30, 30)) self.butHelp.setMaximumSize(QtCore.QSize(30, 30)) self.butHelp.setText("") icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap("images/info.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butHelp.setIcon(icon6) self.butHelp.setIconSize(QtCore.QSize(24, 24)) self.butHelp.setObjectName("butHelp") self.horizontalLayout_2.addWidget(self.butHelp) self.butGithub = QtWidgets.QPushButton(Biorec) self.butGithub.setMinimumSize(QtCore.QSize(30, 30)) self.butGithub.setMaximumSize(QtCore.QSize(30, 30)) self.butGithub.setText("") icon7 = QtGui.QIcon() icon7.addPixmap(QtGui.QPixmap("images/github.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butGithub.setIcon(icon7) self.butGithub.setIconSize(QtCore.QSize(24, 24)) self.butGithub.setObjectName("butGithub") self.horizontalLayout_2.addWidget(self.butGithub) self.verticalLayout_7.addLayout(self.horizontalLayout_2) self.retranslateUi(Biorec) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(Biorec) def retranslateUi(self, Biorec): _translate = QtCore.QCoreApplication.translate Biorec.setWindowTitle(_translate("Biorec", "FSC QGIS plugin")) self.cboDatasource.setItemText(0, _translate("Biorec", "Create source from CSV file")) self.cboDatasource.setItemText(1, _translate("Biorec", "Create source from R6 database")) self.butBrowse.setToolTip(_translate("Biorec", "Define data source")) self.butBrowse.setText(_translate("Biorec", "...")) self.lblLayer.setText(_translate("Biorec", "Source layer")) self.lblGridRefCol.setText(_translate("Biorec", "OS Grid Ref Column")) self.lblXCol.setText(_translate("Biorec", "X Column")) self.lblYCol.setText(_translate("Biorec", "Y Column")) self.label_3.setText(_translate("Biorec", "Start Date Column")) self.label_4.setText(_translate("Biorec", "End Date Column")) self.lblAbundanceColumn.setText(_translate("Biorec", "Abundance Column")) self.lblGroupingCol.setText(_translate("Biorec", "Grouping Column")) self.lblTaxonCol.setText(_translate("Biorec", "Taxon Column")) self.cbLoadTaxa.setToolTip(_translate("Biorec", "Select if taxon column contains scientific binomials")) self.cbLoadTaxa.setText(_translate("Biorec", "Load taxa on source selection")) self.cbIsScientific.setToolTip(_translate("Biorec", "Select if taxon column contains scientific binomials")) self.cbIsScientific.setText(_translate("Biorec", "Scientific names")) self.groupBox_2.setTitle(_translate("Biorec", "Input CRS")) self.groupBox.setTitle(_translate("Biorec", "Output CRS")) self.rbOutCrsBritish.setText(_translate("Biorec", "British")) self.rbOutCrsIrish.setText(_translate("Biorec", "Irish")) self.rbOutCrsInput.setText(_translate("Biorec", "Input")) self.rbOutCrsOther.setText(_translate("Biorec", "Other")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("Biorec", "Data specification")) self.butContract.setToolTip(_translate("Biorec", "Contract all items")) self.butContract.setText(_translate("Biorec", "-")) self.butExpand.setToolTip(_translate("Biorec", "Expand all items")) self.butExpand.setText(_translate("Biorec", "+")) self.butCheckAll.setToolTip(_translate("Biorec", "Check all items")) self.butCheckAll.setText(_translate("Biorec", "Check all")) self.butUncheckAll.setToolTip(_translate("Biorec", "Uncheck all items")) self.butUncheckAll.setText(_translate("Biorec", "Uncheck all")) self.butGenTree.setToolTip(_translate("Biorec", "Create/recreate species tree")) self.butGenTree.setText(_translate("Biorec", "Reload taxa")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("Biorec", "Taxa")) self.cboBatchMode.setToolTip(_translate("Biorec", "Single or batch mode?")) self.cboBatchMode.setItemText(0, _translate("Biorec", "Single map mode")) self.cboBatchMode.setItemText(1, _translate("Biorec", "Batch map mode")) self.leStyleFile.setToolTip(_translate("Biorec", "Path of style file to apply to created maps")) self.pbBrowseStyleFile.setText(_translate("Biorec", "Browse style file")) self.cbApplyStyle.setText(_translate("Biorec", "Apply style")) self.label_2.setText(_translate("Biorec", "Transparency")) self.mGroupBox.setTitle(_translate("Biorec", "Output options")) self.label.setText(_translate("Biorec", "Format")) self.cboOutputFormat.setItemText(0, _translate("Biorec", "Image")) self.cboOutputFormat.setItemText(1, _translate("Biorec", "Shapefile")) self.cboOutputFormat.setItemText(2, _translate("Biorec", "GeoJSON")) self.cboOutputFormat.setItemText(3, _translate("Biorec", "Composer image")) self.cboOutputFormat.setItemText(4, _translate("Biorec", "Composer PDF")) self.leImageFolder.setToolTip(_translate("Biorec", "Folder for atlas images")) self.pbBrowseImageFolder.setText(_translate("Biorec", "Browse output folder")) self.cbTaxonMetaData.setText(_translate("Biorec", "Taxon Metadata Layer")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("Biorec", "Options")) self.pteLog.setToolTip(_translate("Biorec", "Information messages generated during map layer creation")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("Biorec", "Log")) self.progBatch.setToolTip(_translate("Biorec", "Shows progress in batch mode")) self.pbCancel.setToolTip(_translate("Biorec", "Cancel batch process")) self.pbCancel.setText(_translate("Biorec", "Cancel")) self.cboSymbol.setToolTip(_translate("Biorec", "Squares or circles?")) self.cboSymbol.setItemText(0, _translate("Biorec", "Atlas squares")) self.cboSymbol.setItemText(1, _translate("Biorec", "Atlas circles")) self.cboMapType.setToolTip(_translate("Biorec", "Type of map")) self.cboMapType.setItemText(0, _translate("Biorec", "Records as points")) self.cboMapType.setItemText(1, _translate("Biorec", "Records as grid squares")) self.cboMapType.setItemText(2, _translate("Biorec", "1 m atlas (10 fig gr)")) self.cboMapType.setItemText(3, _translate("Biorec", "10 m atlas (8 fig gr)")) self.cboMapType.setItemText(4, _translate("Biorec", "100 m atlas (6 fig gr)")) self.cboMapType.setItemText(5, _translate("Biorec", "1 km atlas (monads)")) self.cboMapType.setItemText(6, _translate("Biorec", "2 km atlas (tetrads)")) self.cboMapType.setItemText(7, _translate("Biorec", "5 km atlas (quadrants)")) self.cboMapType.setItemText(8, _translate("Biorec", "10 km atlas (hectads)")) self.cboMapType.setItemText(9, _translate("Biorec", "User-defined atlas size:")) self.dsbGridSize.setToolTip(_translate("Biorec", "<html><head/><body><p>Grid size for atlas - specify in units used by output CRS</p></body></html>")) self.butMap.setToolTip(_translate("Biorec", "Create map layer")) self.butSaveImage.setToolTip(_translate("Biorec", "Save temporary map layers as images or permanent layers")) self.butShowAll.setToolTip(_translate("Biorec", "Show all generated map layers")) self.butHideAll.setToolTip(_translate("Biorec", "Hide all generated map layers")) self.butRemoveMap.setToolTip(_translate("Biorec", "Remove last map layer")) self.butRemoveMaps.setToolTip(_translate("Biorec", "Remove all map layers")) self.butHelp.setToolTip(_translate("Biorec", "<html><head/><body><p><span style=\" font-size:12pt;\">Get more information about this tool and help on using it. This links to a webpage with up-to-date information about the tool. </span></p></body></html>")) self.butGithub.setToolTip(_translate("Biorec", "<html><head/><body><p><span style=\" font-size:12pt; font-weight:600;\">Report an issue with this tool.</span><span style=\" font-size:12pt;\"> Using this channel is the best way to get attention quickly. Issues can be bug reports, enhancement requests or just questions. Anyone can view current issues, but to add a new issue you will need to sign up for a free Github account (very easy).</span></p></body></html>"))
def setupUi(self, QgsCompositionWidgetBase): QgsCompositionWidgetBase.setObjectName( _fromUtf8("QgsCompositionWidgetBase")) QgsCompositionWidgetBase.resize(345, 506) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( QgsCompositionWidgetBase.sizePolicy().hasHeightForWidth()) QgsCompositionWidgetBase.setSizePolicy(sizePolicy) self.verticalLayout = QtGui.QVBoxLayout(QgsCompositionWidgetBase) self.verticalLayout.setSpacing(0) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.scrollArea = QtGui.QScrollArea(QgsCompositionWidgetBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.scrollArea.sizePolicy().hasHeightForWidth()) self.scrollArea.setSizePolicy(sizePolicy) self.scrollArea.setFocusPolicy(QtCore.Qt.WheelFocus) self.scrollArea.setFrameShape(QtGui.QFrame.StyledPanel) self.scrollArea.setFrameShadow(QtGui.QFrame.Plain) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect( 0, 0, 327, 1085)) self.scrollAreaWidgetContents.setObjectName( _fromUtf8("scrollAreaWidgetContents")) self.verticalLayout_2 = QtGui.QVBoxLayout( self.scrollAreaWidgetContents) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.groupBox = QgsCollapsibleGroupBoxBasic( self.scrollAreaWidgetContents) self.groupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.groupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.groupBox.setProperty("collapsed", False) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout = QtGui.QGridLayout(self.groupBox) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.textLabel7 = QtGui.QLabel(self.groupBox) self.textLabel7.setWordWrap(True) self.textLabel7.setObjectName(_fromUtf8("textLabel7")) self.gridLayout.addWidget(self.textLabel7, 4, 0, 1, 1) self.label_2 = QtGui.QLabel(self.groupBox) self.label_2.setWordWrap(True) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1) self.mPaperUnitsComboBox = QtGui.QComboBox(self.groupBox) self.mPaperUnitsComboBox.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mPaperUnitsComboBox.sizePolicy().hasHeightForWidth()) self.mPaperUnitsComboBox.setSizePolicy(sizePolicy) self.mPaperUnitsComboBox.setObjectName( _fromUtf8("mPaperUnitsComboBox")) self.gridLayout.addWidget(self.mPaperUnitsComboBox, 3, 1, 1, 1) self.label_3 = QtGui.QLabel(self.groupBox) self.label_3.setWordWrap(True) self.label_3.setObjectName(_fromUtf8("label_3")) self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1) self.textLabel3 = QtGui.QLabel(self.groupBox) self.textLabel3.setWordWrap(True) self.textLabel3.setObjectName(_fromUtf8("textLabel3")) self.gridLayout.addWidget(self.textLabel3, 0, 0, 1, 1) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.mPaperHeightDoubleSpinBox = QgsDoubleSpinBox(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mPaperHeightDoubleSpinBox.sizePolicy().hasHeightForWidth()) self.mPaperHeightDoubleSpinBox.setSizePolicy(sizePolicy) self.mPaperHeightDoubleSpinBox.setPrefix(_fromUtf8("")) self.mPaperHeightDoubleSpinBox.setSuffix(_fromUtf8("")) self.mPaperHeightDoubleSpinBox.setMaximum(99999.0) self.mPaperHeightDoubleSpinBox.setProperty("showClearButton", False) self.mPaperHeightDoubleSpinBox.setObjectName( _fromUtf8("mPaperHeightDoubleSpinBox")) self.horizontalLayout_3.addWidget(self.mPaperHeightDoubleSpinBox) self.mPaperHeightDDBtn = QgsDataDefinedButton(self.groupBox) self.mPaperHeightDDBtn.setObjectName(_fromUtf8("mPaperHeightDDBtn")) self.horizontalLayout_3.addWidget(self.mPaperHeightDDBtn) self.gridLayout.addLayout(self.horizontalLayout_3, 2, 1, 1, 1) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.mPaperWidthDoubleSpinBox = QgsDoubleSpinBox(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mPaperWidthDoubleSpinBox.sizePolicy().hasHeightForWidth()) self.mPaperWidthDoubleSpinBox.setSizePolicy(sizePolicy) self.mPaperWidthDoubleSpinBox.setPrefix(_fromUtf8("")) self.mPaperWidthDoubleSpinBox.setSuffix(_fromUtf8("")) self.mPaperWidthDoubleSpinBox.setMaximum(99999.0) self.mPaperWidthDoubleSpinBox.setProperty("showClearButton", False) self.mPaperWidthDoubleSpinBox.setObjectName( _fromUtf8("mPaperWidthDoubleSpinBox")) self.horizontalLayout_2.addWidget(self.mPaperWidthDoubleSpinBox) self.mPaperWidthDDBtn = QgsDataDefinedButton(self.groupBox) self.mPaperWidthDDBtn.setObjectName(_fromUtf8("mPaperWidthDDBtn")) self.horizontalLayout_2.addWidget(self.mPaperWidthDDBtn) self.gridLayout.addLayout(self.horizontalLayout_2, 1, 1, 1, 1) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.mPaperSizeComboBox = QtGui.QComboBox(self.groupBox) self.mPaperSizeComboBox.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mPaperSizeComboBox.sizePolicy().hasHeightForWidth()) self.mPaperSizeComboBox.setSizePolicy(sizePolicy) self.mPaperSizeComboBox.setObjectName(_fromUtf8("mPaperSizeComboBox")) self.horizontalLayout.addWidget(self.mPaperSizeComboBox) self.mPaperSizeDDBtn = QgsDataDefinedButton(self.groupBox) self.mPaperSizeDDBtn.setObjectName(_fromUtf8("mPaperSizeDDBtn")) self.horizontalLayout.addWidget(self.mPaperSizeDDBtn) self.gridLayout.addLayout(self.horizontalLayout, 0, 1, 1, 1) self.label = QtGui.QLabel(self.groupBox) self.label.setWordWrap(True) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 1, 0, 1, 1) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.mPaperOrientationComboBox = QtGui.QComboBox(self.groupBox) self.mPaperOrientationComboBox.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mPaperOrientationComboBox.sizePolicy().hasHeightForWidth()) self.mPaperOrientationComboBox.setSizePolicy(sizePolicy) self.mPaperOrientationComboBox.setObjectName( _fromUtf8("mPaperOrientationComboBox")) self.horizontalLayout_5.addWidget(self.mPaperOrientationComboBox) self.mPaperOrientationDDBtn = QgsDataDefinedButton(self.groupBox) self.mPaperOrientationDDBtn.setObjectName( _fromUtf8("mPaperOrientationDDBtn")) self.horizontalLayout_5.addWidget(self.mPaperOrientationDDBtn) self.gridLayout.addLayout(self.horizontalLayout_5, 4, 1, 1, 1) self.verticalLayout_2.addWidget(self.groupBox) self.groupBox_5 = QgsCollapsibleGroupBoxBasic( self.scrollAreaWidgetContents) self.groupBox_5.setObjectName(_fromUtf8("groupBox_5")) self.verticalLayout_5 = QtGui.QVBoxLayout(self.groupBox_5) self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5")) self.gridLayout_5 = QtGui.QGridLayout() self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.label_4 = QtGui.QLabel(self.groupBox_5) self.label_4.setObjectName(_fromUtf8("label_4")) self.gridLayout_5.addWidget(self.label_4, 0, 1, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem, 0, 0, 1, 1) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem1, 0, 3, 1, 1) self.mTopMarginSpinBox = QgsDoubleSpinBox(self.groupBox_5) self.mTopMarginSpinBox.setSingleStep(0.1) self.mTopMarginSpinBox.setObjectName(_fromUtf8("mTopMarginSpinBox")) self.gridLayout_5.addWidget(self.mTopMarginSpinBox, 0, 2, 1, 1) self.horizontalLayout_7 = QtGui.QHBoxLayout() self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.label_5 = QtGui.QLabel(self.groupBox_5) self.label_5.setObjectName(_fromUtf8("label_5")) self.horizontalLayout_7.addWidget(self.label_5) self.mLeftMarginSpinBox = QgsDoubleSpinBox(self.groupBox_5) self.mLeftMarginSpinBox.setSingleStep(0.1) self.mLeftMarginSpinBox.setObjectName(_fromUtf8("mLeftMarginSpinBox")) self.horizontalLayout_7.addWidget(self.mLeftMarginSpinBox) self.label_11 = QtGui.QLabel(self.groupBox_5) self.label_11.setObjectName(_fromUtf8("label_11")) self.horizontalLayout_7.addWidget(self.label_11) self.mRightMarginSpinBox = QgsDoubleSpinBox(self.groupBox_5) self.mRightMarginSpinBox.setSingleStep(0.1) self.mRightMarginSpinBox.setObjectName( _fromUtf8("mRightMarginSpinBox")) self.horizontalLayout_7.addWidget(self.mRightMarginSpinBox) self.gridLayout_5.addLayout(self.horizontalLayout_7, 1, 0, 1, 4) self.label_12 = QtGui.QLabel(self.groupBox_5) self.label_12.setObjectName(_fromUtf8("label_12")) self.gridLayout_5.addWidget(self.label_12, 2, 1, 1, 1) self.mBottomMarginSpinBox = QgsDoubleSpinBox(self.groupBox_5) self.mBottomMarginSpinBox.setSingleStep(0.1) self.mBottomMarginSpinBox.setObjectName( _fromUtf8("mBottomMarginSpinBox")) self.gridLayout_5.addWidget(self.mBottomMarginSpinBox, 2, 2, 1, 1) self.mResizePageButton = QtGui.QPushButton(self.groupBox_5) self.mResizePageButton.setObjectName(_fromUtf8("mResizePageButton")) self.gridLayout_5.addWidget(self.mResizePageButton, 3, 1, 1, 2) self.verticalLayout_5.addLayout(self.gridLayout_5) self.verticalLayout_2.addWidget(self.groupBox_5) self.groupBox_4 = QgsCollapsibleGroupBoxBasic( self.scrollAreaWidgetContents) self.groupBox_4.setObjectName(_fromUtf8("groupBox_4")) self.gridLayout_4 = QtGui.QGridLayout(self.groupBox_4) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.mNumPagesLabel = QtGui.QLabel(self.groupBox_4) self.mNumPagesLabel.setWordWrap(True) self.mNumPagesLabel.setObjectName(_fromUtf8("mNumPagesLabel")) self.gridLayout_4.addWidget(self.mNumPagesLabel, 0, 0, 1, 1) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.mNumPagesSpinBox = QgsSpinBox(self.groupBox_4) self.mNumPagesSpinBox.setMinimum(1) self.mNumPagesSpinBox.setProperty("showClearButton", False) self.mNumPagesSpinBox.setObjectName(_fromUtf8("mNumPagesSpinBox")) self.horizontalLayout_4.addWidget(self.mNumPagesSpinBox) self.mNumPagesDDBtn = QgsDataDefinedButton(self.groupBox_4) self.mNumPagesDDBtn.setObjectName(_fromUtf8("mNumPagesDDBtn")) self.horizontalLayout_4.addWidget(self.mNumPagesDDBtn) self.gridLayout_4.addLayout(self.horizontalLayout_4, 0, 1, 1, 1) self.label_10 = QtGui.QLabel(self.groupBox_4) self.label_10.setObjectName(_fromUtf8("label_10")) self.gridLayout_4.addWidget(self.label_10, 1, 0, 1, 1) self.mPageStyleButton = QtGui.QPushButton(self.groupBox_4) self.mPageStyleButton.setObjectName(_fromUtf8("mPageStyleButton")) self.gridLayout_4.addWidget(self.mPageStyleButton, 1, 1, 1, 1) self.verticalLayout_2.addWidget(self.groupBox_4) self.groupBox_3 = QgsCollapsibleGroupBoxBasic( self.scrollAreaWidgetContents) self.groupBox_3.setObjectName(_fromUtf8("groupBox_3")) self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_3) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.mResolutionSpinBox = QgsSpinBox(self.groupBox_3) self.mResolutionSpinBox.setPrefix(_fromUtf8("")) self.mResolutionSpinBox.setMaximum(3000) self.mResolutionSpinBox.setProperty("showClearButton", False) self.mResolutionSpinBox.setObjectName(_fromUtf8("mResolutionSpinBox")) self.gridLayout_3.addWidget(self.mResolutionSpinBox, 1, 1, 1, 1) self.mPrintAsRasterCheckBox = QtGui.QCheckBox(self.groupBox_3) self.mPrintAsRasterCheckBox.setCheckable(True) self.mPrintAsRasterCheckBox.setChecked(False) self.mPrintAsRasterCheckBox.setObjectName( _fromUtf8("mPrintAsRasterCheckBox")) self.gridLayout_3.addWidget(self.mPrintAsRasterCheckBox, 2, 0, 1, 1) self.mWorldFileMapComboBox = QtGui.QComboBox(self.groupBox_3) self.mWorldFileMapComboBox.setEnabled(False) self.mWorldFileMapComboBox.setEditable(False) self.mWorldFileMapComboBox.setObjectName( _fromUtf8("mWorldFileMapComboBox")) self.gridLayout_3.addWidget(self.mWorldFileMapComboBox, 3, 1, 1, 1) self.mGenerateWorldFileCheckBox = QtGui.QCheckBox(self.groupBox_3) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mGenerateWorldFileCheckBox.sizePolicy().hasHeightForWidth()) self.mGenerateWorldFileCheckBox.setSizePolicy(sizePolicy) self.mGenerateWorldFileCheckBox.setObjectName( _fromUtf8("mGenerateWorldFileCheckBox")) self.gridLayout_3.addWidget(self.mGenerateWorldFileCheckBox, 3, 0, 1, 1) self.label_9 = QtGui.QLabel(self.groupBox_3) self.label_9.setObjectName(_fromUtf8("label_9")) self.gridLayout_3.addWidget(self.label_9, 1, 0, 1, 1) self.verticalLayout_2.addWidget(self.groupBox_3) self.mSnapToGridGroupCheckBox = QgsCollapsibleGroupBoxBasic( self.scrollAreaWidgetContents) self.mSnapToGridGroupCheckBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.mSnapToGridGroupCheckBox.setCheckable(False) self.mSnapToGridGroupCheckBox.setChecked(False) self.mSnapToGridGroupCheckBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mSnapToGridGroupCheckBox.setProperty("collapsed", True) self.mSnapToGridGroupCheckBox.setObjectName( _fromUtf8("mSnapToGridGroupCheckBox")) self.gridLayout_2 = QtGui.QGridLayout(self.mSnapToGridGroupCheckBox) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.label_8 = QtGui.QLabel(self.mSnapToGridGroupCheckBox) self.label_8.setWordWrap(True) self.label_8.setObjectName(_fromUtf8("label_8")) self.gridLayout_2.addWidget(self.label_8, 0, 0, 1, 1) self.mGridResolutionSpinBox = QgsDoubleSpinBox( self.mSnapToGridGroupCheckBox) self.mGridResolutionSpinBox.setPrefix(_fromUtf8("")) self.mGridResolutionSpinBox.setMinimum(0.5) self.mGridResolutionSpinBox.setMaximum(9999.0) self.mGridResolutionSpinBox.setProperty("showClearButton", False) self.mGridResolutionSpinBox.setObjectName( _fromUtf8("mGridResolutionSpinBox")) self.gridLayout_2.addWidget(self.mGridResolutionSpinBox, 0, 1, 1, 1) self.label_6 = QtGui.QLabel(self.mSnapToGridGroupCheckBox) self.label_6.setWordWrap(True) self.label_6.setObjectName(_fromUtf8("label_6")) self.gridLayout_2.addWidget(self.label_6, 1, 0, 1, 1) self.verticalLayout_3 = QtGui.QVBoxLayout() self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.mOffsetXSpinBox = QgsDoubleSpinBox(self.mSnapToGridGroupCheckBox) self.mOffsetXSpinBox.setMaximum(9999.0) self.mOffsetXSpinBox.setObjectName(_fromUtf8("mOffsetXSpinBox")) self.verticalLayout_3.addWidget(self.mOffsetXSpinBox) self.mOffsetYSpinBox = QgsDoubleSpinBox(self.mSnapToGridGroupCheckBox) self.mOffsetYSpinBox.setMaximum(9999.0) self.mOffsetYSpinBox.setObjectName(_fromUtf8("mOffsetYSpinBox")) self.verticalLayout_3.addWidget(self.mOffsetYSpinBox) self.gridLayout_2.addLayout(self.verticalLayout_3, 1, 1, 1, 1) self.label_7 = QtGui.QLabel(self.mSnapToGridGroupCheckBox) self.label_7.setObjectName(_fromUtf8("label_7")) self.gridLayout_2.addWidget(self.label_7, 2, 0, 1, 1) self.mSnapToleranceSpinBox = QgsSpinBox(self.mSnapToGridGroupCheckBox) self.mSnapToleranceSpinBox.setMaximum(200) self.mSnapToleranceSpinBox.setProperty("showClearButton", False) self.mSnapToleranceSpinBox.setObjectName( _fromUtf8("mSnapToleranceSpinBox")) self.gridLayout_2.addWidget(self.mSnapToleranceSpinBox, 2, 1, 1, 1) self.gridLayout_2.setColumnStretch(1, 1) self.verticalLayout_2.addWidget(self.mSnapToGridGroupCheckBox) self.groupBox_2 = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBox_2) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.mVariableEditor = QgsVariableEditorWidget(self.groupBox_2) self.mVariableEditor.setMinimumSize(QtCore.QSize(0, 200)) self.mVariableEditor.setObjectName(_fromUtf8("mVariableEditor")) self.verticalLayout_4.addWidget(self.mVariableEditor) self.verticalLayout_2.addWidget(self.groupBox_2) spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem2) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout.addWidget(self.scrollArea) self.textLabel7.setBuddy(self.mPaperOrientationComboBox) self.textLabel3.setBuddy(self.mPaperSizeComboBox) self.retranslateUi(QgsCompositionWidgetBase) QtCore.QMetaObject.connectSlotsByName(QgsCompositionWidgetBase) QgsCompositionWidgetBase.setTabOrder(self.scrollArea, self.groupBox) QgsCompositionWidgetBase.setTabOrder(self.groupBox, self.mPaperSizeComboBox) QgsCompositionWidgetBase.setTabOrder(self.mPaperSizeComboBox, self.mPaperSizeDDBtn) QgsCompositionWidgetBase.setTabOrder(self.mPaperSizeDDBtn, self.mPaperWidthDoubleSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mPaperWidthDoubleSpinBox, self.mPaperWidthDDBtn) QgsCompositionWidgetBase.setTabOrder(self.mPaperWidthDDBtn, self.mPaperHeightDoubleSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mPaperHeightDoubleSpinBox, self.mPaperHeightDDBtn) QgsCompositionWidgetBase.setTabOrder(self.mPaperHeightDDBtn, self.mPaperUnitsComboBox) QgsCompositionWidgetBase.setTabOrder(self.mPaperUnitsComboBox, self.mPaperOrientationComboBox) QgsCompositionWidgetBase.setTabOrder(self.mPaperOrientationComboBox, self.mPaperOrientationDDBtn) QgsCompositionWidgetBase.setTabOrder(self.mPaperOrientationDDBtn, self.mTopMarginSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mTopMarginSpinBox, self.mLeftMarginSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mLeftMarginSpinBox, self.mRightMarginSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mRightMarginSpinBox, self.mBottomMarginSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mBottomMarginSpinBox, self.mResizePageButton) QgsCompositionWidgetBase.setTabOrder(self.mResizePageButton, self.mNumPagesSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mNumPagesSpinBox, self.mNumPagesDDBtn) QgsCompositionWidgetBase.setTabOrder(self.mNumPagesDDBtn, self.mPageStyleButton) QgsCompositionWidgetBase.setTabOrder(self.mPageStyleButton, self.mResolutionSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mResolutionSpinBox, self.mPrintAsRasterCheckBox) QgsCompositionWidgetBase.setTabOrder(self.mPrintAsRasterCheckBox, self.mGenerateWorldFileCheckBox) QgsCompositionWidgetBase.setTabOrder(self.mGenerateWorldFileCheckBox, self.mWorldFileMapComboBox) QgsCompositionWidgetBase.setTabOrder(self.mWorldFileMapComboBox, self.mSnapToGridGroupCheckBox) QgsCompositionWidgetBase.setTabOrder(self.mSnapToGridGroupCheckBox, self.mGridResolutionSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mGridResolutionSpinBox, self.mOffsetXSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mOffsetXSpinBox, self.mOffsetYSpinBox) QgsCompositionWidgetBase.setTabOrder(self.mOffsetYSpinBox, self.mSnapToleranceSpinBox)
class Ui_IntegrityTool(object): def setupUi(self, IntegrityTool): IntegrityTool.setObjectName("IntegrityTool") IntegrityTool.resize(625, 814) self.dockWidgetContents = QtWidgets.QWidget() self.dockWidgetContents.setObjectName("dockWidgetContents") self.verticalLayout = QtWidgets.QVBoxLayout(self.dockWidgetContents) self.verticalLayout.setObjectName("verticalLayout") self.scrollArea = QtWidgets.QScrollArea(self.dockWidgetContents) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 588, 991)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents) self.verticalLayout_8.setObjectName("verticalLayout_8") self.gbLines = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.gbLines.setCollapsed(False) self.gbLines.setSaveCollapsedState(False) self.gbLines.setObjectName("gbLines") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.gbLines) self.verticalLayout_3.setObjectName("verticalLayout_3") self.InputLineLayout = QtWidgets.QVBoxLayout() self.InputLineLayout.setObjectName("InputLineLayout") self.label = QtWidgets.QLabel(self.gbLines) self.label.setObjectName("label") self.InputLineLayout.addWidget(self.label) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.browseInputLines = QtWidgets.QToolButton(self.gbLines) self.browseInputLines.setObjectName("browseInputLines") self.horizontalLayout.addWidget(self.browseInputLines) self.cboInputLines = QtWidgets.QComboBox(self.gbLines) self.cboInputLines.setEditable(True) self.cboInputLines.setObjectName("cboInputLines") self.horizontalLayout.addWidget(self.cboInputLines) self.btnAddLines = QtWidgets.QToolButton(self.gbLines) self.btnAddLines.setObjectName("btnAddLines") self.horizontalLayout.addWidget(self.btnAddLines) self.btnRemoveLines = QtWidgets.QToolButton(self.gbLines) self.btnRemoveLines.setObjectName("btnRemoveLines") self.horizontalLayout.addWidget(self.btnRemoveLines) self.InputLineLayout.addLayout(self.horizontalLayout) self.lwLines = QtWidgets.QListWidget(self.gbLines) self.lwLines.setMaximumSize(QtCore.QSize(16777215, 100)) self.lwLines.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection) self.lwLines.setObjectName("lwLines") self.InputLineLayout.addWidget(self.lwLines) self.verticalLayout_3.addLayout(self.InputLineLayout) spacerItem = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_3.addItem(spacerItem) self.verticalLayout_8.addWidget(self.gbLines) self.gbPoints = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.gbPoints.setCollapsed(True) self.gbPoints.setObjectName("gbPoints") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.gbPoints) self.verticalLayout_2.setObjectName("verticalLayout_2") self.InputPointLayout = QtWidgets.QVBoxLayout() self.InputPointLayout.setObjectName("InputPointLayout") self.label_2 = QtWidgets.QLabel(self.gbPoints) self.label_2.setObjectName("label_2") self.InputPointLayout.addWidget(self.label_2) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.browseInputPoints = QtWidgets.QToolButton(self.gbPoints) self.browseInputPoints.setObjectName("browseInputPoints") self.horizontalLayout_2.addWidget(self.browseInputPoints) self.cboInputPoints = QtWidgets.QComboBox(self.gbPoints) self.cboInputPoints.setEditable(True) self.cboInputPoints.setObjectName("cboInputPoints") self.horizontalLayout_2.addWidget(self.cboInputPoints) self.btnAddPoints = QtWidgets.QToolButton(self.gbPoints) self.btnAddPoints.setObjectName("btnAddPoints") self.horizontalLayout_2.addWidget(self.btnAddPoints) self.btnRemovePoints = QtWidgets.QToolButton(self.gbPoints) self.btnRemovePoints.setObjectName("btnRemovePoints") self.horizontalLayout_2.addWidget(self.btnRemovePoints) self.InputPointLayout.addLayout(self.horizontalLayout_2) self.lwPoints = QtWidgets.QListWidget(self.gbPoints) self.lwPoints.setMaximumSize(QtCore.QSize(16777215, 100)) self.lwPoints.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection) self.lwPoints.setObjectName("lwPoints") self.InputPointLayout.addWidget(self.lwPoints) self.verticalLayout_2.addLayout(self.InputPointLayout) spacerItem1 = QtWidgets.QSpacerItem(20, 42, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem1) self.verticalLayout_8.addWidget(self.gbPoints) self.gbTables = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.gbTables.setCollapsed(True) self.gbTables.setObjectName("gbTables") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.gbTables) self.verticalLayout_4.setObjectName("verticalLayout_4") self.InputTableLayout = QtWidgets.QVBoxLayout() self.InputTableLayout.setObjectName("InputTableLayout") self.label_3 = QtWidgets.QLabel(self.gbTables) self.label_3.setObjectName("label_3") self.InputTableLayout.addWidget(self.label_3) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.browseInputTables = QtWidgets.QToolButton(self.gbTables) self.browseInputTables.setObjectName("browseInputTables") self.horizontalLayout_3.addWidget(self.browseInputTables) self.cboInputTables = QtWidgets.QComboBox(self.gbTables) self.cboInputTables.setEditable(True) self.cboInputTables.setObjectName("cboInputTables") self.horizontalLayout_3.addWidget(self.cboInputTables) self.btnAddTables = QtWidgets.QToolButton(self.gbTables) self.btnAddTables.setObjectName("btnAddTables") self.horizontalLayout_3.addWidget(self.btnAddTables) self.btnRemoveTables = QtWidgets.QToolButton(self.gbTables) self.btnRemoveTables.setObjectName("btnRemoveTables") self.horizontalLayout_3.addWidget(self.btnRemoveTables) self.InputTableLayout.addLayout(self.horizontalLayout_3) self.lwTables = QtWidgets.QListWidget(self.gbTables) self.lwTables.setMaximumSize(QtCore.QSize(16777215, 100)) self.lwTables.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection) self.lwTables.setObjectName("lwTables") self.InputTableLayout.addWidget(self.lwTables) self.verticalLayout_4.addLayout(self.InputTableLayout) spacerItem2 = QtWidgets.QSpacerItem(20, 42, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_4.addItem(spacerItem2) self.verticalLayout_8.addWidget(self.gbTables) self.gbDem = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.gbDem.setCheckable(True) self.gbDem.setChecked(False) self.gbDem.setCollapsed(True) self.gbDem.setObjectName("gbDem") self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.gbDem) self.verticalLayout_10.setObjectName("verticalLayout_10") self.horizontalLayout_20 = QtWidgets.QHBoxLayout() self.horizontalLayout_20.setObjectName("horizontalLayout_20") self.label_11 = QtWidgets.QLabel(self.gbDem) self.label_11.setObjectName("label_11") self.horizontalLayout_20.addWidget(self.label_11) self.cboDem = QtWidgets.QComboBox(self.gbDem) self.cboDem.setMinimumSize(QtCore.QSize(150, 0)) self.cboDem.setObjectName("cboDem") self.horizontalLayout_20.addWidget(self.cboDem) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_20.addItem(spacerItem3) self.verticalLayout_10.addLayout(self.horizontalLayout_20) self.verticalLayout_8.addWidget(self.gbDem) self.tabWidget = QtWidgets.QTabWidget(self.scrollAreaWidgetContents) self.tabWidget.setObjectName("tabWidget") self.Snapping = QtWidgets.QWidget() self.Snapping.setObjectName("Snapping") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.Snapping) self.verticalLayout_5.setObjectName("verticalLayout_5") self.rbSnapping = QtWidgets.QRadioButton(self.Snapping) self.rbSnapping.setObjectName("rbSnapping") self.verticalLayout_5.addWidget(self.rbSnapping) self.label_5 = QtWidgets.QLabel(self.Snapping) self.label_5.setWordWrap(True) self.label_5.setObjectName("label_5") self.verticalLayout_5.addWidget(self.label_5) self.horizontalLayout_8 = QtWidgets.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") spacerItem4 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_8.addItem(spacerItem4) self.cbExclRadius = QtWidgets.QCheckBox(self.Snapping) self.cbExclRadius.setChecked(True) self.cbExclRadius.setObjectName("cbExclRadius") self.horizontalLayout_8.addWidget(self.cbExclRadius) self.verticalLayout_5.addLayout(self.horizontalLayout_8) self.horizontalLayout_22 = QtWidgets.QHBoxLayout() self.horizontalLayout_22.setObjectName("horizontalLayout_22") spacerItem5 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_22.addItem(spacerItem5) self.label_19 = QtWidgets.QLabel(self.Snapping) self.label_19.setWordWrap(True) self.label_19.setObjectName("label_19") self.horizontalLayout_22.addWidget(self.label_19) self.verticalLayout_5.addLayout(self.horizontalLayout_22) self.horizontalLayout_21 = QtWidgets.QHBoxLayout() self.horizontalLayout_21.setObjectName("horizontalLayout_21") spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_21.addItem(spacerItem6) self.sbExclRadius = QtWidgets.QDoubleSpinBox(self.Snapping) self.sbExclRadius.setDecimals(1) self.sbExclRadius.setMaximum(99999.0) self.sbExclRadius.setProperty("value", 10.0) self.sbExclRadius.setObjectName("sbExclRadius") self.horizontalLayout_21.addWidget(self.sbExclRadius) self.label_16 = QtWidgets.QLabel(self.Snapping) self.label_16.setObjectName("label_16") self.horizontalLayout_21.addWidget(self.label_16) spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_21.addItem(spacerItem7) self.verticalLayout_5.addLayout(self.horizontalLayout_21) self.horizontalLayout_7 = QtWidgets.QHBoxLayout() self.horizontalLayout_7.setObjectName("horizontalLayout_7") spacerItem8 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_7.addItem(spacerItem8) self.cbAutoSnap = QtWidgets.QCheckBox(self.Snapping) self.cbAutoSnap.setObjectName("cbAutoSnap") self.horizontalLayout_7.addWidget(self.cbAutoSnap) self.verticalLayout_5.addLayout(self.horizontalLayout_7) self.horizontalLayout_6 = QtWidgets.QHBoxLayout() self.horizontalLayout_6.setObjectName("horizontalLayout_6") spacerItem9 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_6.addItem(spacerItem9) self.sbAutoSnapSearchRadius = QtWidgets.QDoubleSpinBox(self.Snapping) self.sbAutoSnapSearchRadius.setDecimals(3) self.sbAutoSnapSearchRadius.setMinimum(0.001) self.sbAutoSnapSearchRadius.setMaximum(99999.0) self.sbAutoSnapSearchRadius.setProperty("value", 1.5) self.sbAutoSnapSearchRadius.setObjectName("sbAutoSnapSearchRadius") self.horizontalLayout_6.addWidget(self.sbAutoSnapSearchRadius) self.label_4 = QtWidgets.QLabel(self.Snapping) self.label_4.setEnabled(True) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.label_4.setFont(font) self.label_4.setObjectName("label_4") self.horizontalLayout_6.addWidget(self.label_4) spacerItem10 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_6.addItem(spacerItem10) self.verticalLayout_5.addLayout(self.horizontalLayout_6) spacerItem11 = QtWidgets.QSpacerItem(20, 396, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_5.addItem(spacerItem11) self.tabWidget.addTab(self.Snapping, "") self.PipeDirection = QtWidgets.QWidget() self.PipeDirection.setObjectName("PipeDirection") self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.PipeDirection) self.verticalLayout_6.setObjectName("verticalLayout_6") self.rbPipeDirection = QtWidgets.QRadioButton(self.PipeDirection) self.rbPipeDirection.setObjectName("rbPipeDirection") self.verticalLayout_6.addWidget(self.rbPipeDirection) self.label_6 = QtWidgets.QLabel(self.PipeDirection) self.label_6.setWordWrap(True) self.label_6.setObjectName("label_6") self.verticalLayout_6.addWidget(self.label_6) self.horizontalLayout_9 = QtWidgets.QHBoxLayout() self.horizontalLayout_9.setObjectName("horizontalLayout_9") spacerItem12 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_9.addItem(spacerItem12) self.cbBasedOnInverts = QtWidgets.QCheckBox(self.PipeDirection) self.cbBasedOnInverts.setObjectName("cbBasedOnInverts") self.horizontalLayout_9.addWidget(self.cbBasedOnInverts) self.verticalLayout_6.addLayout(self.horizontalLayout_9) self.horizontalLayout_10 = QtWidgets.QHBoxLayout() self.horizontalLayout_10.setObjectName("horizontalLayout_10") spacerItem13 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_10.addItem(spacerItem13) self.cbBasedOnContinuity = QtWidgets.QCheckBox(self.PipeDirection) self.cbBasedOnContinuity.setObjectName("cbBasedOnContinuity") self.horizontalLayout_10.addWidget(self.cbBasedOnContinuity) self.verticalLayout_6.addLayout(self.horizontalLayout_10) spacerItem14 = QtWidgets.QSpacerItem(20, 450, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_6.addItem(spacerItem14) self.tabWidget.addTab(self.PipeDirection, "") self.Continuity = QtWidgets.QWidget() self.Continuity.setObjectName("Continuity") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.Continuity) self.verticalLayout_7.setObjectName("verticalLayout_7") self.rbContinuity = QtWidgets.QRadioButton(self.Continuity) self.rbContinuity.setObjectName("rbContinuity") self.verticalLayout_7.addWidget(self.rbContinuity) self.label_12 = QtWidgets.QLabel(self.Continuity) self.label_12.setWordWrap(True) self.label_12.setObjectName("label_12") self.verticalLayout_7.addWidget(self.label_12) self.horizontalLayout_11 = QtWidgets.QHBoxLayout() self.horizontalLayout_11.setObjectName("horizontalLayout_11") spacerItem15 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_11.addItem(spacerItem15) self.cbContinuityArea = QtWidgets.QCheckBox(self.Continuity) self.cbContinuityArea.setObjectName("cbContinuityArea") self.horizontalLayout_11.addWidget(self.cbContinuityArea) self.verticalLayout_7.addLayout(self.horizontalLayout_11) self.gridLayout_7 = QtWidgets.QGridLayout() self.gridLayout_7.setObjectName("gridLayout_7") self.label_22 = QtWidgets.QLabel(self.Continuity) self.label_22.setWordWrap(True) self.label_22.setObjectName("label_22") self.gridLayout_7.addWidget(self.label_22, 0, 1, 1, 2) spacerItem16 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_7.addItem(spacerItem16, 1, 2, 1, 1) self.sbContinuityArea = QtWidgets.QSpinBox(self.Continuity) self.sbContinuityArea.setProperty("value", 20) self.sbContinuityArea.setObjectName("sbContinuityArea") self.gridLayout_7.addWidget(self.sbContinuityArea, 1, 1, 1, 1) spacerItem17 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_7.addItem(spacerItem17, 1, 0, 1, 1) self.verticalLayout_7.addLayout(self.gridLayout_7) self.horizontalLayout_12 = QtWidgets.QHBoxLayout() self.horizontalLayout_12.setObjectName("horizontalLayout_12") spacerItem18 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_12.addItem(spacerItem18) self.cbContinuityInverts = QtWidgets.QCheckBox(self.Continuity) self.cbContinuityInverts.setObjectName("cbContinuityInverts") self.horizontalLayout_12.addWidget(self.cbContinuityInverts) self.verticalLayout_7.addLayout(self.horizontalLayout_12) self.horizontalLayout_13 = QtWidgets.QHBoxLayout() self.horizontalLayout_13.setObjectName("horizontalLayout_13") spacerItem19 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_13.addItem(spacerItem19) self.cbContinuityAngle = QtWidgets.QCheckBox(self.Continuity) self.cbContinuityAngle.setObjectName("cbContinuityAngle") self.horizontalLayout_13.addWidget(self.cbContinuityAngle) self.verticalLayout_7.addLayout(self.horizontalLayout_13) self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") spacerItem20 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem20, 1, 2, 1, 1) self.sbContinuityAngle = QtWidgets.QSpinBox(self.Continuity) self.sbContinuityAngle.setMaximum(360) self.sbContinuityAngle.setProperty("value", 70) self.sbContinuityAngle.setObjectName("sbContinuityAngle") self.gridLayout.addWidget(self.sbContinuityAngle, 1, 1, 1, 1) spacerItem21 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem21, 0, 0, 1, 1) self.label_7 = QtWidgets.QLabel(self.Continuity) self.label_7.setObjectName("label_7") self.gridLayout.addWidget(self.label_7, 0, 1, 1, 2) self.verticalLayout_7.addLayout(self.gridLayout) self.horizontalLayout_14 = QtWidgets.QHBoxLayout() self.horizontalLayout_14.setObjectName("horizontalLayout_14") spacerItem22 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_14.addItem(spacerItem22) self.cbContinuityCover = QtWidgets.QCheckBox(self.Continuity) self.cbContinuityCover.setObjectName("cbContinuityCover") self.horizontalLayout_14.addWidget(self.cbContinuityCover) self.verticalLayout_7.addLayout(self.horizontalLayout_14) self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") spacerItem23 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem23, 0, 0, 1, 1) self.label_9 = QtWidgets.QLabel(self.Continuity) self.label_9.setObjectName("label_9") self.gridLayout_2.addWidget(self.label_9, 0, 1, 1, 2) self.sbContinuityCover = QtWidgets.QDoubleSpinBox(self.Continuity) self.sbContinuityCover.setDecimals(1) self.sbContinuityCover.setMaximum(9999999.0) self.sbContinuityCover.setProperty("value", 0.5) self.sbContinuityCover.setObjectName("sbContinuityCover") self.gridLayout_2.addWidget(self.sbContinuityCover, 1, 1, 1, 1) spacerItem24 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem24, 1, 2, 1, 1) self.verticalLayout_7.addLayout(self.gridLayout_2) spacerItem25 = QtWidgets.QSpacerItem(20, 286, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_7.addItem(spacerItem25) self.tabWidget.addTab(self.Continuity, "") self.FlowTrace = QtWidgets.QWidget() self.FlowTrace.setObjectName("FlowTrace") self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.FlowTrace) self.verticalLayout_9.setObjectName("verticalLayout_9") self.rbFlowTrace = QtWidgets.QRadioButton(self.FlowTrace) self.rbFlowTrace.setObjectName("rbFlowTrace") self.verticalLayout_9.addWidget(self.rbFlowTrace) self.label_18 = QtWidgets.QLabel(self.FlowTrace) self.label_18.setWordWrap(True) self.label_18.setObjectName("label_18") self.verticalLayout_9.addWidget(self.label_18) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") spacerItem26 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem26) self.cbFlowTraceArea = QtWidgets.QCheckBox(self.FlowTrace) self.cbFlowTraceArea.setObjectName("cbFlowTraceArea") self.horizontalLayout_4.addWidget(self.cbFlowTraceArea) self.verticalLayout_9.addLayout(self.horizontalLayout_4) self.gridLayout_6 = QtWidgets.QGridLayout() self.gridLayout_6.setObjectName("gridLayout_6") self.label_21 = QtWidgets.QLabel(self.FlowTrace) self.label_21.setWordWrap(True) self.label_21.setObjectName("label_21") self.gridLayout_6.addWidget(self.label_21, 0, 1, 1, 2) spacerItem27 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_6.addItem(spacerItem27, 1, 2, 1, 1) self.sbFlowTraceArea = QtWidgets.QSpinBox(self.FlowTrace) self.sbFlowTraceArea.setProperty("value", 20) self.sbFlowTraceArea.setObjectName("sbFlowTraceArea") self.gridLayout_6.addWidget(self.sbFlowTraceArea, 1, 1, 1, 1) spacerItem28 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_6.addItem(spacerItem28, 1, 0, 1, 1) self.verticalLayout_9.addLayout(self.gridLayout_6) self.horizontalLayout_17 = QtWidgets.QHBoxLayout() self.horizontalLayout_17.setObjectName("horizontalLayout_17") spacerItem29 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_17.addItem(spacerItem29) self.cbFlowTraceInverts = QtWidgets.QCheckBox(self.FlowTrace) self.cbFlowTraceInverts.setObjectName("cbFlowTraceInverts") self.horizontalLayout_17.addWidget(self.cbFlowTraceInverts) self.verticalLayout_9.addLayout(self.horizontalLayout_17) self.horizontalLayout_15 = QtWidgets.QHBoxLayout() self.horizontalLayout_15.setObjectName("horizontalLayout_15") spacerItem30 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_15.addItem(spacerItem30) self.cbFlowTraceAngle = QtWidgets.QCheckBox(self.FlowTrace) self.cbFlowTraceAngle.setObjectName("cbFlowTraceAngle") self.horizontalLayout_15.addWidget(self.cbFlowTraceAngle) self.verticalLayout_9.addLayout(self.horizontalLayout_15) self.gridLayout_3 = QtWidgets.QGridLayout() self.gridLayout_3.setObjectName("gridLayout_3") self.label_14 = QtWidgets.QLabel(self.FlowTrace) self.label_14.setObjectName("label_14") self.gridLayout_3.addWidget(self.label_14, 0, 1, 1, 2) spacerItem31 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem31, 1, 2, 1, 1) self.sbFlowTraceAngle = QtWidgets.QSpinBox(self.FlowTrace) self.sbFlowTraceAngle.setMaximum(360) self.sbFlowTraceAngle.setProperty("value", 70) self.sbFlowTraceAngle.setObjectName("sbFlowTraceAngle") self.gridLayout_3.addWidget(self.sbFlowTraceAngle, 1, 1, 1, 1) spacerItem32 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem32, 0, 0, 1, 1) self.verticalLayout_9.addLayout(self.gridLayout_3) self.horizontalLayout_16 = QtWidgets.QHBoxLayout() self.horizontalLayout_16.setObjectName("horizontalLayout_16") spacerItem33 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_16.addItem(spacerItem33) self.cbFlowTraceCover = QtWidgets.QCheckBox(self.FlowTrace) self.cbFlowTraceCover.setObjectName("cbFlowTraceCover") self.horizontalLayout_16.addWidget(self.cbFlowTraceCover) self.verticalLayout_9.addLayout(self.horizontalLayout_16) self.gridLayout_4 = QtWidgets.QGridLayout() self.gridLayout_4.setObjectName("gridLayout_4") self.label_17 = QtWidgets.QLabel(self.FlowTrace) self.label_17.setObjectName("label_17") self.gridLayout_4.addWidget(self.label_17, 0, 1, 1, 2) self.sbFlowTraceCover = QtWidgets.QDoubleSpinBox(self.FlowTrace) self.sbFlowTraceCover.setPrefix("") self.sbFlowTraceCover.setDecimals(1) self.sbFlowTraceCover.setMaximum(9999999.0) self.sbFlowTraceCover.setProperty("value", 0.5) self.sbFlowTraceCover.setObjectName("sbFlowTraceCover") self.gridLayout_4.addWidget(self.sbFlowTraceCover, 1, 1, 1, 1) spacerItem34 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_4.addItem(spacerItem34, 0, 0, 1, 1) spacerItem35 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_4.addItem(spacerItem35, 1, 2, 1, 1) self.verticalLayout_9.addLayout(self.gridLayout_4) self.horizontalLayout_19 = QtWidgets.QHBoxLayout() self.horizontalLayout_19.setObjectName("horizontalLayout_19") spacerItem36 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_19.addItem(spacerItem36) self.cbFlowTraceLongPlots = QtWidgets.QCheckBox(self.FlowTrace) self.cbFlowTraceLongPlots.setObjectName("cbFlowTraceLongPlots") self.horizontalLayout_19.addWidget(self.cbFlowTraceLongPlots) self.verticalLayout_9.addLayout(self.horizontalLayout_19) spacerItem37 = QtWidgets.QSpacerItem(20, 19, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_9.addItem(spacerItem37) self.tabWidget.addTab(self.FlowTrace, "") self.verticalLayout_8.addWidget(self.tabWidget) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout.addWidget(self.scrollArea) self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.progressBar = QtWidgets.QProgressBar(self.dockWidgetContents) self.progressBar.setProperty("value", 0) self.progressBar.setObjectName("progressBar") self.horizontalLayout_5.addWidget(self.progressBar) self.runStatus = QtWidgets.QLabel(self.dockWidgetContents) self.runStatus.setMinimumSize(QtCore.QSize(300, 0)) self.runStatus.setObjectName("runStatus") self.horizontalLayout_5.addWidget(self.runStatus) self.pbRun = QtWidgets.QPushButton(self.dockWidgetContents) self.pbRun.setObjectName("pbRun") self.horizontalLayout_5.addWidget(self.pbRun) self.verticalLayout.addLayout(self.horizontalLayout_5) IntegrityTool.setWidget(self.dockWidgetContents) self.retranslateUi(IntegrityTool) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(IntegrityTool) def retranslateUi(self, IntegrityTool): _translate = QtCore.QCoreApplication.translate IntegrityTool.setWindowTitle(_translate("IntegrityTool", "1D Integrity Tool")) self.gbLines.setTitle(_translate("IntegrityTool", "Input Network Lines")) self.label.setText(_translate("IntegrityTool", "1D Network Line Layers (1d_nwk_L.shp)")) self.browseInputLines.setText(_translate("IntegrityTool", "...")) self.btnAddLines.setText(_translate("IntegrityTool", "...")) self.btnRemoveLines.setText(_translate("IntegrityTool", "...")) self.gbPoints.setTitle(_translate("IntegrityTool", "Input Network Points")) self.label_2.setText(_translate("IntegrityTool", "1D Point Layers (1d_nwk_P.shp)")) self.browseInputPoints.setText(_translate("IntegrityTool", "...")) self.btnAddPoints.setText(_translate("IntegrityTool", "...")) self.btnRemovePoints.setText(_translate("IntegrityTool", "...")) self.gbTables.setTitle(_translate("IntegrityTool", "Input Tables")) self.label_3.setText(_translate("IntegrityTool", "1d Table Layers (1d_tab, 1d_xs, 1d_cs)")) self.browseInputTables.setText(_translate("IntegrityTool", "...")) self.btnAddTables.setText(_translate("IntegrityTool", "...")) self.btnRemoveTables.setText(_translate("IntegrityTool", "...")) self.gbDem.setTitle(_translate("IntegrityTool", "Input DEM")) self.label_11.setText(_translate("IntegrityTool", "DEM:")) self.rbSnapping.setText(_translate("IntegrityTool", "Use Snapping Integrity Check")) self.label_5.setText(_translate("IntegrityTool", "<html><head/><body><p>Checks snapping at all input 1D network lines and 1D network points. For lines it will check both the upstream and downstream end of the line are snapped to the upstream or downstream end of another line. If there is no connection point within the user defined exclusion radius it will assume that the line is the most upstream element in the network, or the most downstream, and will not flag an error. For points it wil check that each point is snapped to either an upstream or downstream end of a line. Auto snap will automatically find the closest connection within the radius and snap them together for both lines and points. The tool will output a temporary shp layer and will not edit the input layer.</p></body></html>")) self.cbExclRadius.setText(_translate("IntegrityTool", "Use Exclusion Radius When Checking For Snapping")) self.label_19.setText(_translate("IntegrityTool", "If there are no other network vertexes within exclusion radius, no snapping error will be produced for current vertex (useful to stop the most upstream or downstream pipe being flagged as \'unsnapped\')")) self.label_16.setText(_translate("IntegrityTool", "Exclusion radius (map units)")) self.cbAutoSnap.setText(_translate("IntegrityTool", "Auto Snap")) self.label_4.setText(_translate("IntegrityTool", "Search radius (map units)")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.Snapping), _translate("IntegrityTool", "Snapping")) self.rbPipeDirection.setText(_translate("IntegrityTool", "Use Pipe Direction Integrity Check")) self.label_6.setText(_translate("IntegrityTool", "Checks pipe direction and will correct based on the selected rule(s). Based on inverts will check the gradient of the pipe is in the direction of flow. If there is a negative gradient, the tool will switch the pipe direction. Based on pipe direction continuity will do a basic check on places where the pipe direction does not appear to be continuous. It will ignore pipes that connect to junctions with 3 or more other pipes as these can be ambiguous in determining continuity.")) self.cbBasedOnInverts.setText(_translate("IntegrityTool", "Based on inverts - will correct if pipe gradient is adverse")) self.cbBasedOnContinuity.setText(_translate("IntegrityTool", "Based on pipe direction continuity - will check upstream and downstream pipe directions for continuity")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.PipeDirection), _translate("IntegrityTool", "Pipe Direction")) self.rbContinuity.setText(_translate("IntegrityTool", "Use Continuity Integrity Check")) self.label_12.setText(_translate("IntegrityTool", "Will check all 1D inputs for continuity based on the selected options. Check inverts will check both pipe gradient and pipe junctions. Outlet angle convention assumes a straight connection has an angle = 180 deg and anything less than 180 deg has a sharper outlet bend. This tool will output a temporary shape file with all flagged locations. Cross sections snapped to the ends of channels and mid cross sections will be considered.")) self.cbContinuityArea.setText(_translate("IntegrityTool", "Flow Area Check: check downstream flow area does not decrease")) self.label_22.setText(_translate("IntegrityTool", "Where 2 or more pipes enter 1 pipe, flag where there is % decrease greater than: (this is to stop side pipes entering trunk drainage from being flagged - where there is only one pipe entering the downstream pipe this percentage is ignored)")) self.sbContinuityArea.setSuffix(_translate("IntegrityTool", "%")) self.cbContinuityInverts.setText(_translate("IntegrityTool", "Invert Check: check for adverse gradients and downstream inverts are not higher")) self.cbContinuityAngle.setText(_translate("IntegrityTool", "Angle Check: check outflow angles - will not flag side pipes if trunk drain is OK")) self.sbContinuityAngle.setSuffix(_translate("IntegrityTool", " deg")) self.label_7.setText(_translate("IntegrityTool", "Flag angles less than:")) self.cbContinuityCover.setText(_translate("IntegrityTool", "Check Ground Cover")) self.label_9.setText(_translate("IntegrityTool", "Flag cover depths less than:")) self.sbContinuityCover.setSuffix(_translate("IntegrityTool", " map units")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.Continuity), _translate("IntegrityTool", "Continuity")) self.rbFlowTrace.setText(_translate("IntegrityTool", "Use Flow Trace Integrity Check")) self.label_18.setText(_translate("IntegrityTool", "<html><head/><body><p>Checks the continuity of all upstream pipes from the selected feaures. Similar to the Continuity tool except does not analyse the entire system but rather the upstream flow trace. The tool will output a temporary shape file with all flagged locations as well as creating a selection of flow trace. It also has the additional option of generating a long plot of traced system.</p></body></html>")) self.cbFlowTraceArea.setText(_translate("IntegrityTool", "Flow Area Check: check downstream flow area does not decrease")) self.label_21.setText(_translate("IntegrityTool", "Where 2 or more pipes enter 1 pipe, flag where there is % decrease greater than: (this is to stop side pipes entering trunk drainage from being flagged - where there is only one pipe entering the downstream pipe this percentage is ignored)")) self.sbFlowTraceArea.setSuffix(_translate("IntegrityTool", "%")) self.cbFlowTraceInverts.setText(_translate("IntegrityTool", "Invert Check: check for adverse gradients and downstream inverts are not higher")) self.cbFlowTraceAngle.setText(_translate("IntegrityTool", "Angle Check: check outflow angles - will not flag side pipes if trunk drain is OK")) self.label_14.setText(_translate("IntegrityTool", "Flag outflow angles less than:")) self.sbFlowTraceAngle.setSuffix(_translate("IntegrityTool", " deg")) self.cbFlowTraceCover.setText(_translate("IntegrityTool", "Cover Check: check pipe obverts against ground elevation")) self.label_17.setText(_translate("IntegrityTool", "Flag cover depths less than:")) self.sbFlowTraceCover.setSuffix(_translate("IntegrityTool", " map units")) self.cbFlowTraceLongPlots.setText(_translate("IntegrityTool", "Generate Long Plots")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.FlowTrace), _translate("IntegrityTool", "Flow Trace")) self.runStatus.setText(_translate("IntegrityTool", "Ready")) self.pbRun.setText(_translate("IntegrityTool", "Run"))
def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.setEnabled(True) Dialog.resize(487, 707) self.gridLayout_3 = QtWidgets.QGridLayout(Dialog) self.gridLayout_3.setObjectName("gridLayout_3") self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.title_lbl = QtWidgets.QLabel(Dialog) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.title_lbl.setFont(font) self.title_lbl.setObjectName("title_lbl") self.verticalLayout.addWidget(self.title_lbl) self.empty_lbl = QtWidgets.QLabel(Dialog) self.empty_lbl.setText("") self.empty_lbl.setObjectName("empty_lbl") self.verticalLayout.addWidget(self.empty_lbl) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.settings_scrollArea = QtWidgets.QScrollArea(Dialog) self.settings_scrollArea.setWidgetResizable(True) self.settings_scrollArea.setObjectName("settings_scrollArea") self.scrollAreaWidgetContents_2 = QtWidgets.QWidget() self.scrollAreaWidgetContents_2.setGeometry( QtCore.QRect(0, 0, 459, 559)) self.scrollAreaWidgetContents_2.setObjectName( "scrollAreaWidgetContents_2") self.verticalLayout_2 = QtWidgets.QVBoxLayout( self.scrollAreaWidgetContents_2) self.verticalLayout_2.setObjectName("verticalLayout_2") self.verticalGroupBox = QgsCollapsibleGroupBox( self.scrollAreaWidgetContents_2) self.verticalGroupBox.setObjectName("verticalGroupBox") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.verticalGroupBox) self.verticalLayout_4.setObjectName("verticalLayout_4") self.folder_btn = QtWidgets.QPushButton(self.verticalGroupBox) self.folder_btn.setObjectName("folder_btn") self.verticalLayout_4.addWidget(self.folder_btn) self.folder_lbl = QtWidgets.QLabel(self.verticalGroupBox) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.folder_lbl.setFont(font) self.folder_lbl.setText("") self.folder_lbl.setObjectName("folder_lbl") self.verticalLayout_4.addWidget(self.folder_lbl) self.verticalLayout_2.addWidget(self.verticalGroupBox) self.verticalGroupBox_2 = QgsCollapsibleGroupBox( self.scrollAreaWidgetContents_2) self.verticalGroupBox_2.setObjectName("verticalGroupBox_2") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.verticalGroupBox_2) self.verticalLayout_5.setObjectName("verticalLayout_5") self.gridLayout_4 = QtWidgets.QGridLayout() self.gridLayout_4.setObjectName("gridLayout_4") self.rodzajZbioru_lbl = QtWidgets.QLabel(self.verticalGroupBox_2) self.rodzajZbioru_lbl.setObjectName("rodzajZbioru_lbl") self.gridLayout_4.addWidget(self.rodzajZbioru_lbl, 3, 0, 1, 1) self.numerZbioru_lbl = QtWidgets.QLabel(self.verticalGroupBox_2) self.numerZbioru_lbl.setObjectName("numerZbioru_lbl") self.gridLayout_4.addWidget(self.numerZbioru_lbl, 1, 0, 1, 1) self.jpt_lbl = QtWidgets.QLabel(self.verticalGroupBox_2) self.jpt_lbl.setObjectName("jpt_lbl") self.gridLayout_4.addWidget(self.jpt_lbl, 2, 0, 1, 1) self.jpt_lineEdit = QgsFilterLineEdit(self.verticalGroupBox_2) self.jpt_lineEdit.setProperty("qgisRelation", "") self.jpt_lineEdit.setObjectName("jpt_lineEdit") self.gridLayout_4.addWidget(self.jpt_lineEdit, 2, 1, 1, 1) self.przestrzenNazw_lbl = QtWidgets.QLabel(self.verticalGroupBox_2) self.przestrzenNazw_lbl.setObjectName("przestrzenNazw_lbl") self.gridLayout_4.addWidget(self.przestrzenNazw_lbl, 0, 0, 1, 1) self.przestrzenNazw_lineEdit = QgsFilterLineEdit( self.verticalGroupBox_2) self.przestrzenNazw_lineEdit.setEnabled(False) self.przestrzenNazw_lineEdit.setProperty("qgisRelation", "") self.przestrzenNazw_lineEdit.setObjectName("przestrzenNazw_lineEdit") self.gridLayout_4.addWidget(self.przestrzenNazw_lineEdit, 0, 1, 1, 1) self.numerZbioru_lineEdit = QgsFilterLineEdit(self.verticalGroupBox_2) self.numerZbioru_lineEdit.setProperty("qgisRelation", "") self.numerZbioru_lineEdit.setObjectName("numerZbioru_lineEdit") self.gridLayout_4.addWidget(self.numerZbioru_lineEdit, 1, 1, 1, 1) self.rodzajZbioru_comboBox = QtWidgets.QComboBox( self.verticalGroupBox_2) self.rodzajZbioru_comboBox.setObjectName("rodzajZbioru_comboBox") self.gridLayout_4.addWidget(self.rodzajZbioru_comboBox, 3, 1, 1, 1) self.verticalLayout_5.addLayout(self.gridLayout_4) self.verticalLayout_2.addWidget(self.verticalGroupBox_2) self.verticalGroupBox1 = QgsCollapsibleGroupBox( self.scrollAreaWidgetContents_2) self.verticalGroupBox1.setObjectName("verticalGroupBox1") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.verticalGroupBox1) self.verticalLayout_3.setObjectName("verticalLayout_3") self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") self.contactMail_lineEdit = QgsFilterLineEdit(self.verticalGroupBox1) self.contactMail_lineEdit.setProperty("qgisRelation", "") self.contactMail_lineEdit.setObjectName("contactMail_lineEdit") self.gridLayout_2.addWidget(self.contactMail_lineEdit, 1, 1, 1, 1) self.contactMail_lbl = QtWidgets.QLabel(self.verticalGroupBox1) self.contactMail_lbl.setObjectName("contactMail_lbl") self.gridLayout_2.addWidget(self.contactMail_lbl, 1, 0, 1, 1) self.contactName_lbl = QtWidgets.QLabel(self.verticalGroupBox1) self.contactName_lbl.setObjectName("contactName_lbl") self.gridLayout_2.addWidget(self.contactName_lbl, 0, 0, 1, 1) self.contactName_lineEdit = QgsFilterLineEdit(self.verticalGroupBox1) self.contactName_lineEdit.setProperty("qgisRelation", "") self.contactName_lineEdit.setObjectName("contactName_lineEdit") self.gridLayout_2.addWidget(self.contactName_lineEdit, 0, 1, 1, 1) self.verticalLayout_3.addLayout(self.gridLayout_2) self.verticalLayout_2.addWidget(self.verticalGroupBox1) self.verticalGroupBox2 = QgsCollapsibleGroupBox( self.scrollAreaWidgetContents_2) self.verticalGroupBox2.setObjectName("verticalGroupBox2") self.verticalLayout_31 = QtWidgets.QVBoxLayout(self.verticalGroupBox2) self.verticalLayout_31.setObjectName("verticalLayout_31") self.gridLayout_21 = QtWidgets.QGridLayout() self.gridLayout_21.setObjectName("gridLayout_21") self.adminMail_lineEdit = QgsFilterLineEdit(self.verticalGroupBox2) self.adminMail_lineEdit.setProperty("qgisRelation", "") self.adminMail_lineEdit.setObjectName("adminMail_lineEdit") self.gridLayout_21.addWidget(self.adminMail_lineEdit, 1, 1, 1, 1) self.adminMail_lbl = QtWidgets.QLabel(self.verticalGroupBox2) self.adminMail_lbl.setObjectName("adminMail_lbl") self.gridLayout_21.addWidget(self.adminMail_lbl, 1, 0, 1, 1) self.adminName_lbl = QtWidgets.QLabel(self.verticalGroupBox2) self.adminName_lbl.setObjectName("adminName_lbl") self.gridLayout_21.addWidget(self.adminName_lbl, 0, 0, 1, 1) self.adminName_lineEdit = QgsFilterLineEdit(self.verticalGroupBox2) self.adminName_lineEdit.setProperty("qgisRelation", "") self.adminName_lineEdit.setObjectName("adminName_lineEdit") self.gridLayout_21.addWidget(self.adminName_lineEdit, 0, 1, 1, 1) self.verticalLayout_31.addLayout(self.gridLayout_21) self.verticalLayout_2.addWidget(self.verticalGroupBox2) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.smtp_btn = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2) self.smtp_btn.setObjectName("smtp_btn") self.horizontalLayout_3.addWidget(self.smtp_btn) self.csw_btn = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2) self.csw_btn.setObjectName("csw_btn") self.horizontalLayout_3.addWidget(self.csw_btn) self.verticalLayout_2.addLayout(self.horizontalLayout_3) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem) self.settings_scrollArea.setWidget(self.scrollAreaWidgetContents_2) self.horizontalLayout.addWidget(self.settings_scrollArea) self.verticalLayout.addLayout(self.horizontalLayout) self.empty2_lbl = QtWidgets.QLabel(Dialog) self.empty2_lbl.setText("") self.empty2_lbl.setObjectName("empty2_lbl") self.verticalLayout.addWidget(self.empty2_lbl) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem1) self.save_btn = QtWidgets.QPushButton(Dialog) self.save_btn.setObjectName("save_btn") self.horizontalLayout_2.addWidget(self.save_btn) self.exit_btn = QtWidgets.QPushButton(Dialog) self.exit_btn.setEnabled(True) self.exit_btn.setObjectName("exit_btn") self.horizontalLayout_2.addWidget(self.exit_btn) self.verticalLayout.addLayout(self.horizontalLayout_2) self.gridLayout_3.addLayout(self.verticalLayout, 0, 0, 1, 1) self.retranslateUi(Dialog) QtCore.QMetaObject.connectSlotsByName(Dialog)
def setupUi(self, MapDialog): MapDialog.setObjectName("MapDialog") MapDialog.resize(652, 545) self.verticalLayout = QtWidgets.QVBoxLayout(MapDialog) self.verticalLayout.setObjectName("verticalLayout") self.tabWidget = QtWidgets.QTabWidget(MapDialog) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.tab) self.verticalLayout_6.setObjectName("verticalLayout_6") self.radLayoutDefault = QtWidgets.QRadioButton(self.tab) self.radLayoutDefault.setChecked(True) self.radLayoutDefault.setObjectName("radLayoutDefault") self.buttonGroup = QtWidgets.QButtonGroup(MapDialog) self.buttonGroup.setObjectName("buttonGroup") self.buttonGroup.addButton(self.radLayoutDefault) self.verticalLayout_6.addWidget(self.radLayoutDefault) self.scrollArea = QtWidgets.QScrollArea(self.tab) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, -1222, 591, 1635)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.gridLayout_12 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents) self.gridLayout_12.setObjectName("gridLayout_12") self.groupScaleBar = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupScaleBar.setCheckable(True) self.groupScaleBar.setChecked(False) self.groupScaleBar.setObjectName("groupScaleBar") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.groupScaleBar) self.verticalLayout_5.setObjectName("verticalLayout_5") self.gridLayout_8 = QtWidgets.QGridLayout() self.gridLayout_8.setObjectName("gridLayout_8") self.cbScaleBarFrame = QtWidgets.QCheckBox(self.groupScaleBar) self.cbScaleBarFrame.setObjectName("cbScaleBarFrame") self.gridLayout_8.addWidget(self.cbScaleBarFrame, 2, 0, 1, 3) self.cboPosScaleBar = QtWidgets.QComboBox(self.groupScaleBar) self.cboPosScaleBar.setObjectName("cboPosScaleBar") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.cboPosScaleBar.addItem("") self.gridLayout_8.addWidget(self.cboPosScaleBar, 3, 1, 1, 1) self.cbScaleBarBackground = QtWidgets.QCheckBox(self.groupScaleBar) self.cbScaleBarBackground.setObjectName("cbScaleBarBackground") self.gridLayout_8.addWidget(self.cbScaleBarBackground, 1, 0, 1, 3) self.colorScaleBarBackground = QgsColorButton(self.groupScaleBar) self.colorScaleBarBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorScaleBarBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorScaleBarBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorScaleBarBackground.setObjectName("colorScaleBarBackground") self.gridLayout_8.addWidget(self.colorScaleBarBackground, 1, 3, 1, 1) self.label_24 = QtWidgets.QLabel(self.groupScaleBar) self.label_24.setObjectName("label_24") self.gridLayout_8.addWidget(self.label_24, 3, 0, 1, 1) self.colorScaleBarFrame = QgsColorButton(self.groupScaleBar) self.colorScaleBarFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorScaleBarFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorScaleBarFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorScaleBarFrame.setObjectName("colorScaleBarFrame") self.gridLayout_8.addWidget(self.colorScaleBarFrame, 2, 3, 1, 1) self.label_8 = QtWidgets.QLabel(self.groupScaleBar) self.label_8.setObjectName("label_8") self.gridLayout_8.addWidget(self.label_8, 0, 0, 1, 1) self.fbtnScaleBar = QgsFontButton(self.groupScaleBar) self.fbtnScaleBar.setMinimumSize(QtCore.QSize(0, 21)) self.fbtnScaleBar.setMode(QgsFontButton.ModeQFont) self.fbtnScaleBar.setObjectName("fbtnScaleBar") self.gridLayout_8.addWidget(self.fbtnScaleBar, 0, 1, 1, 1) self.colorScaleBarText = QgsColorButton(self.groupScaleBar) self.colorScaleBarText.setMinimumSize(QtCore.QSize(24, 21)) self.colorScaleBarText.setColor(QtGui.QColor(0, 0, 0)) self.colorScaleBarText.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorScaleBarText.setObjectName("colorScaleBarText") self.gridLayout_8.addWidget(self.colorScaleBarText, 0, 3, 1, 1) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_8.addItem(spacerItem, 0, 2, 1, 1) self.verticalLayout_5.addLayout(self.gridLayout_8) self.gridLayout_12.addWidget(self.groupScaleBar, 2, 1, 1, 1) self.groupNorthArrow = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupNorthArrow.setCheckable(True) self.groupNorthArrow.setChecked(False) self.groupNorthArrow.setObjectName("groupNorthArrow") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupNorthArrow) self.verticalLayout_7.setObjectName("verticalLayout_7") self.gridLayout_9 = QtWidgets.QGridLayout() self.gridLayout_9.setObjectName("gridLayout_9") self.cbNorthArrowBackground = QtWidgets.QCheckBox(self.groupNorthArrow) self.cbNorthArrowBackground.setObjectName("cbNorthArrowBackground") self.gridLayout_9.addWidget(self.cbNorthArrowBackground, 0, 0, 1, 3) self.label_25 = QtWidgets.QLabel(self.groupNorthArrow) self.label_25.setObjectName("label_25") self.gridLayout_9.addWidget(self.label_25, 2, 0, 1, 1) self.colorNorthArrowBackground = QgsColorButton(self.groupNorthArrow) self.colorNorthArrowBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorNorthArrowBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorNorthArrowBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorNorthArrowBackground.setObjectName("colorNorthArrowBackground") self.gridLayout_9.addWidget(self.colorNorthArrowBackground, 0, 3, 1, 1) self.cboPosNorthArrow = QtWidgets.QComboBox(self.groupNorthArrow) self.cboPosNorthArrow.setObjectName("cboPosNorthArrow") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.cboPosNorthArrow.addItem("") self.gridLayout_9.addWidget(self.cboPosNorthArrow, 2, 1, 1, 1) self.cbNorthArrowFrame = QtWidgets.QCheckBox(self.groupNorthArrow) self.cbNorthArrowFrame.setObjectName("cbNorthArrowFrame") self.gridLayout_9.addWidget(self.cbNorthArrowFrame, 1, 0, 1, 3) self.colorNorthArrowFrame = QgsColorButton(self.groupNorthArrow) self.colorNorthArrowFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorNorthArrowFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorNorthArrowFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorNorthArrowFrame.setObjectName("colorNorthArrowFrame") self.gridLayout_9.addWidget(self.colorNorthArrowFrame, 1, 3, 1, 1) self.verticalLayout_7.addLayout(self.gridLayout_9) self.gridLayout_12.addWidget(self.groupNorthArrow, 3, 1, 1, 1) self.groupLegend = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupLegend.setCheckable(True) self.groupLegend.setChecked(False) self.groupLegend.setObjectName("groupLegend") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupLegend) self.verticalLayout_3.setObjectName("verticalLayout_3") self.gridLayout_7 = QtWidgets.QGridLayout() self.gridLayout_7.setObjectName("gridLayout_7") self.label_22 = QtWidgets.QLabel(self.groupLegend) self.label_22.setObjectName("label_22") self.gridLayout_7.addWidget(self.label_22, 4, 0, 1, 1) self.colorLegendText = QgsColorButton(self.groupLegend) self.colorLegendText.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendText.setColor(QtGui.QColor(0, 0, 0)) self.colorLegendText.setObjectName("colorLegendText") self.gridLayout_7.addWidget(self.colorLegendText, 1, 3, 1, 1) self.cboPosLegend = QtWidgets.QComboBox(self.groupLegend) self.cboPosLegend.setObjectName("cboPosLegend") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.gridLayout_7.addWidget(self.cboPosLegend, 4, 1, 1, 1) self.label_20 = QtWidgets.QLabel(self.groupLegend) self.label_20.setObjectName("label_20") self.gridLayout_7.addWidget(self.label_20, 0, 0, 1, 1) self.colorLegendBackground = QgsColorButton(self.groupLegend) self.colorLegendBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorLegendBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorLegendBackground.setObjectName("colorLegendBackground") self.gridLayout_7.addWidget(self.colorLegendBackground, 2, 3, 1, 1) self.label_21 = QtWidgets.QLabel(self.groupLegend) self.label_21.setObjectName("label_21") self.gridLayout_7.addWidget(self.label_21, 1, 0, 1, 1) self.cbLegendBackground = QtWidgets.QCheckBox(self.groupLegend) self.cbLegendBackground.setObjectName("cbLegendBackground") self.gridLayout_7.addWidget(self.cbLegendBackground, 2, 0, 1, 3) self.labelLegend = QtWidgets.QLineEdit(self.groupLegend) self.labelLegend.setObjectName("labelLegend") self.gridLayout_7.addWidget(self.labelLegend, 0, 1, 1, 3) self.fbtnLegend = QgsFontButton(self.groupLegend) self.fbtnLegend.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnLegend.setFont(font) self.fbtnLegend.setMode(QgsFontButton.ModeQFont) self.fbtnLegend.setObjectName("fbtnLegend") self.gridLayout_7.addWidget(self.fbtnLegend, 1, 1, 1, 1) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_7.addItem(spacerItem1, 1, 2, 1, 1) self.cbLegendFrame = QtWidgets.QCheckBox(self.groupLegend) self.cbLegendFrame.setObjectName("cbLegendFrame") self.gridLayout_7.addWidget(self.cbLegendFrame, 3, 0, 1, 3) self.colorLegendFrame = QgsColorButton(self.groupLegend) self.colorLegendFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorLegendFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorLegendFrame.setObjectName("colorLegendFrame") self.gridLayout_7.addWidget(self.colorLegendFrame, 3, 3, 1, 1) self.verticalLayout_3.addLayout(self.gridLayout_7) self.gridLayout_12.addWidget(self.groupLegend, 1, 1, 1, 1) self.groupPlot = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupPlot.setCheckable(True) self.groupPlot.setChecked(False) self.groupPlot.setCollapsed(False) self.groupPlot.setObjectName("groupPlot") self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.groupPlot) self.verticalLayout_10.setObjectName("verticalLayout_10") self.gridLayout_5 = QtWidgets.QGridLayout() self.gridLayout_5.setObjectName("gridLayout_5") self.btnPlotUp = QtWidgets.QToolButton(self.groupPlot) self.btnPlotUp.setObjectName("btnPlotUp") self.gridLayout_5.addWidget(self.btnPlotUp, 0, 2, 1, 1) self.label_28 = QtWidgets.QLabel(self.groupPlot) self.label_28.setObjectName("label_28") self.gridLayout_5.addWidget(self.label_28, 2, 0, 1, 6) self.tablePlots = PlotItemsTable(self.groupPlot) self.tablePlots.setMinimumSize(QtCore.QSize(0, 150)) self.tablePlots.setEditTriggers(QtWidgets.QAbstractItemView.AllEditTriggers) self.tablePlots.setWordWrap(False) self.tablePlots.setObjectName("tablePlots") self.tablePlots.setColumnCount(4) self.tablePlots.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(3, item) self.tablePlots.horizontalHeader().setVisible(True) self.tablePlots.horizontalHeader().setCascadingSectionResizes(False) self.tablePlots.horizontalHeader().setDefaultSectionSize(110) self.tablePlots.horizontalHeader().setMinimumSectionSize(80) self.tablePlots.horizontalHeader().setStretchLastSection(True) self.tablePlots.verticalHeader().setDefaultSectionSize(20) self.tablePlots.verticalHeader().setMinimumSectionSize(20) self.gridLayout_5.addWidget(self.tablePlots, 1, 0, 1, 6) self.tableGraphics = GraphicItemsTable(self.groupPlot) self.tableGraphics.setMinimumSize(QtCore.QSize(0, 150)) self.tableGraphics.setEditTriggers(QtWidgets.QAbstractItemView.AllEditTriggers) self.tableGraphics.setWordWrap(False) self.tableGraphics.setObjectName("tableGraphics") self.tableGraphics.setColumnCount(4) self.tableGraphics.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(3, item) self.tableGraphics.horizontalHeader().setVisible(True) self.tableGraphics.horizontalHeader().setDefaultSectionSize(110) self.tableGraphics.horizontalHeader().setStretchLastSection(True) self.tableGraphics.verticalHeader().setDefaultSectionSize(20) self.tableGraphics.verticalHeader().setMinimumSectionSize(20) self.gridLayout_5.addWidget(self.tableGraphics, 3, 0, 1, 6) self.btnRemovePlot = QtWidgets.QToolButton(self.groupPlot) self.btnRemovePlot.setObjectName("btnRemovePlot") self.gridLayout_5.addWidget(self.btnRemovePlot, 0, 1, 1, 1) self.btnAddPlot = QtWidgets.QToolButton(self.groupPlot) self.btnAddPlot.setObjectName("btnAddPlot") self.gridLayout_5.addWidget(self.btnAddPlot, 0, 0, 1, 1) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem2, 0, 5, 1, 1) self.btnPlotDown = QtWidgets.QToolButton(self.groupPlot) self.btnPlotDown.setObjectName("btnPlotDown") self.gridLayout_5.addWidget(self.btnPlotDown, 0, 3, 1, 1) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.cbDynamicAxisLimits = QtWidgets.QCheckBox(self.groupPlot) self.cbDynamicAxisLimits.setObjectName("cbDynamicAxisLimits") self.horizontalLayout.addWidget(self.cbDynamicAxisLimits) self.gridLayout_5.addLayout(self.horizontalLayout, 0, 4, 1, 1) self.verticalLayout_10.addLayout(self.gridLayout_5) self.gridLayout_12.addWidget(self.groupPlot, 5, 1, 1, 1) self.groupLabel = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupLabel.setCheckable(True) self.groupLabel.setChecked(False) self.groupLabel.setObjectName("groupLabel") self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.groupLabel) self.verticalLayout_9.setObjectName("verticalLayout_9") self.gridLayout_10 = QtWidgets.QGridLayout() self.gridLayout_10.setObjectName("gridLayout_10") self.fbtnLabel = QgsFontButton(self.groupLabel) self.fbtnLabel.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnLabel.setFont(font) self.fbtnLabel.setMode(QgsFontButton.ModeQFont) self.fbtnLabel.setObjectName("fbtnLabel") self.gridLayout_10.addWidget(self.fbtnLabel, 1, 1, 1, 1) self.colorLabelBackground = QgsColorButton(self.groupLabel) self.colorLabelBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorLabelBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorLabelBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorLabelBackground.setObjectName("colorLabelBackground") self.gridLayout_10.addWidget(self.colorLabelBackground, 2, 3, 1, 1) self.label_26 = QtWidgets.QLabel(self.groupLabel) self.label_26.setObjectName("label_26") self.gridLayout_10.addWidget(self.label_26, 4, 0, 1, 1) self.cbLabelBackground = QtWidgets.QCheckBox(self.groupLabel) self.cbLabelBackground.setObjectName("cbLabelBackground") self.gridLayout_10.addWidget(self.cbLabelBackground, 2, 0, 1, 3) self.colorLabelText = QgsColorButton(self.groupLabel) self.colorLabelText.setMinimumSize(QtCore.QSize(24, 21)) self.colorLabelText.setColor(QtGui.QColor(0, 0, 0)) self.colorLabelText.setObjectName("colorLabelText") self.gridLayout_10.addWidget(self.colorLabelText, 1, 3, 1, 1) self.label_23 = QtWidgets.QLabel(self.groupLabel) self.label_23.setObjectName("label_23") self.gridLayout_10.addWidget(self.label_23, 0, 0, 1, 1) self.label_27 = QtWidgets.QLabel(self.groupLabel) self.label_27.setObjectName("label_27") self.gridLayout_10.addWidget(self.label_27, 1, 0, 1, 1) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_10.addItem(spacerItem3, 1, 2, 1, 1) self.labelInput = QtWidgets.QTextEdit(self.groupLabel) self.labelInput.setObjectName("labelInput") self.gridLayout_10.addWidget(self.labelInput, 0, 1, 1, 2) self.cboPosLabel = QtWidgets.QComboBox(self.groupLabel) self.cboPosLabel.setObjectName("cboPosLabel") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.cboPosLabel.addItem("") self.gridLayout_10.addWidget(self.cboPosLabel, 4, 1, 1, 1) self.gridLayout_4 = QtWidgets.QGridLayout() self.gridLayout_4.setObjectName("gridLayout_4") self.pbMapNo = QtWidgets.QPushButton(self.groupLabel) self.pbMapNo.setObjectName("pbMapNo") self.gridLayout_4.addWidget(self.pbMapNo, 0, 0, 1, 1) self.pbResultType = QtWidgets.QPushButton(self.groupLabel) self.pbResultType.setObjectName("pbResultType") self.gridLayout_4.addWidget(self.pbResultType, 2, 0, 1, 1) spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout_4.addItem(spacerItem4, 5, 0, 1, 1) self.pbWorkspaceLoc = QtWidgets.QPushButton(self.groupLabel) self.pbWorkspaceLoc.setObjectName("pbWorkspaceLoc") self.gridLayout_4.addWidget(self.pbWorkspaceLoc, 4, 0, 1, 1) self.pbResultName = QtWidgets.QPushButton(self.groupLabel) self.pbResultName.setObjectName("pbResultName") self.gridLayout_4.addWidget(self.pbResultName, 1, 0, 1, 1) self.pbDate = QtWidgets.QPushButton(self.groupLabel) self.pbDate.setObjectName("pbDate") self.gridLayout_4.addWidget(self.pbDate, 3, 0, 1, 1) self.gridLayout_10.addLayout(self.gridLayout_4, 0, 3, 1, 1) self.cbLabelFrame = QtWidgets.QCheckBox(self.groupLabel) self.cbLabelFrame.setObjectName("cbLabelFrame") self.gridLayout_10.addWidget(self.cbLabelFrame, 3, 0, 1, 3) self.colorLabelFrame = QgsColorButton(self.groupLabel) self.colorLabelFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorLabelFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorLabelFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorLabelFrame.setObjectName("colorLabelFrame") self.gridLayout_10.addWidget(self.colorLabelFrame, 3, 3, 1, 1) self.verticalLayout_9.addLayout(self.gridLayout_10) self.gridLayout_12.addWidget(self.groupLabel, 4, 1, 1, 1) self.groupImages = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupImages.setCheckable(True) self.groupImages.setChecked(False) self.groupImages.setCollapsed(False) self.groupImages.setObjectName("groupImages") self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.groupImages) self.verticalLayout_8.setObjectName("verticalLayout_8") self.gridLayout_6 = QtWidgets.QGridLayout() self.gridLayout_6.setObjectName("gridLayout_6") self.btnImageUp = QtWidgets.QToolButton(self.groupImages) self.btnImageUp.setObjectName("btnImageUp") self.gridLayout_6.addWidget(self.btnImageUp, 0, 2, 1, 1) self.btnRemoveImage = QtWidgets.QToolButton(self.groupImages) self.btnRemoveImage.setObjectName("btnRemoveImage") self.gridLayout_6.addWidget(self.btnRemoveImage, 0, 1, 1, 1) self.btnAddImage = QtWidgets.QToolButton(self.groupImages) self.btnAddImage.setObjectName("btnAddImage") self.gridLayout_6.addWidget(self.btnAddImage, 0, 0, 1, 1) self.btnImageDown = QtWidgets.QToolButton(self.groupImages) self.btnImageDown.setObjectName("btnImageDown") self.gridLayout_6.addWidget(self.btnImageDown, 0, 3, 1, 1) spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_6.addItem(spacerItem5, 0, 4, 1, 1) self.tableImages = ImageItemsTable(self.groupImages) self.tableImages.setMinimumSize(QtCore.QSize(0, 150)) self.tableImages.setEditTriggers(QtWidgets.QAbstractItemView.AllEditTriggers) self.tableImages.setWordWrap(False) self.tableImages.setObjectName("tableImages") self.tableImages.setColumnCount(3) self.tableImages.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(2, item) self.tableImages.horizontalHeader().setDefaultSectionSize(150) self.tableImages.horizontalHeader().setMinimumSectionSize(39) self.tableImages.horizontalHeader().setStretchLastSection(True) self.tableImages.verticalHeader().setDefaultSectionSize(20) self.tableImages.verticalHeader().setMinimumSectionSize(20) self.gridLayout_6.addWidget(self.tableImages, 1, 0, 1, 5) self.verticalLayout_8.addLayout(self.gridLayout_6) self.gridLayout_12.addWidget(self.groupImages, 6, 1, 1, 1) self.mGroupBox = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.mGroupBox.setCollapsed(False) self.mGroupBox.setObjectName("mGroupBox") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.mGroupBox) self.verticalLayout_2.setObjectName("verticalLayout_2") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.label_6 = QtWidgets.QLabel(self.mGroupBox) self.label_6.setObjectName("label_6") self.gridLayout.addWidget(self.label_6, 0, 0, 1, 1) self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") self.sbHeight = QtWidgets.QDoubleSpinBox(self.mGroupBox) self.sbHeight.setMinimumSize(QtCore.QSize(150, 0)) self.sbHeight.setMinimum(1.0) self.sbHeight.setMaximum(99999.0) self.sbHeight.setObjectName("sbHeight") self.gridLayout_2.addWidget(self.sbHeight, 1, 0, 1, 1) self.sbWidth = QtWidgets.QDoubleSpinBox(self.mGroupBox) self.sbWidth.setMinimumSize(QtCore.QSize(150, 0)) self.sbWidth.setMinimum(1.0) self.sbWidth.setMaximum(99999.0) self.sbWidth.setObjectName("sbWidth") self.gridLayout_2.addWidget(self.sbWidth, 0, 0, 1, 1) self.cboUnits = QtWidgets.QComboBox(self.mGroupBox) self.cboUnits.setObjectName("cboUnits") self.cboUnits.addItem("") self.cboUnits.addItem("") self.gridLayout_2.addWidget(self.cboUnits, 0, 1, 2, 1) spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem6, 0, 2, 2, 1) self.gridLayout.addLayout(self.gridLayout_2, 1, 1, 2, 1) self.label_2 = QtWidgets.QLabel(self.mGroupBox) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1) self.label = QtWidgets.QLabel(self.mGroupBox) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 1, 0, 1, 1) self.cboPageSize = QtWidgets.QComboBox(self.mGroupBox) self.cboPageSize.setObjectName("cboPageSize") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.cboPageSize.addItem("") self.gridLayout.addWidget(self.cboPageSize, 0, 1, 1, 1) self.label_7 = QtWidgets.QLabel(self.mGroupBox) self.label_7.setObjectName("label_7") self.gridLayout.addWidget(self.label_7, 3, 0, 1, 1) self.label_4 = QtWidgets.QLabel(self.mGroupBox) self.label_4.setObjectName("label_4") self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1) self.cboOrientation = QtWidgets.QComboBox(self.mGroupBox) self.cboOrientation.setObjectName("cboOrientation") self.cboOrientation.addItem("") self.cboOrientation.addItem("") self.gridLayout.addWidget(self.cboOrientation, 3, 1, 1, 1) self.sbDpi = QtWidgets.QSpinBox(self.mGroupBox) self.sbDpi.setMinimum(1) self.sbDpi.setMaximum(99999) self.sbDpi.setProperty("value", 300) self.sbDpi.setObjectName("sbDpi") self.gridLayout.addWidget(self.sbDpi, 4, 1, 1, 1) self.sbPageFrameThickness = QtWidgets.QDoubleSpinBox(self.mGroupBox) self.sbPageFrameThickness.setDecimals(1) self.sbPageFrameThickness.setMinimum(0.1) self.sbPageFrameThickness.setProperty("value", 0.3) self.sbPageFrameThickness.setObjectName("sbPageFrameThickness") self.gridLayout.addWidget(self.sbPageFrameThickness, 5, 3, 1, 1) self.label_9 = QtWidgets.QLabel(self.mGroupBox) self.label_9.setObjectName("label_9") self.gridLayout.addWidget(self.label_9, 5, 2, 1, 1) self.cbPageFrame = QtWidgets.QCheckBox(self.mGroupBox) self.cbPageFrame.setChecked(True) self.cbPageFrame.setObjectName("cbPageFrame") self.gridLayout.addWidget(self.cbPageFrame, 5, 0, 1, 2) self.colorPageFrame = QgsColorButton(self.mGroupBox) self.colorPageFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorPageFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorPageFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorPageFrame.setObjectName("colorPageFrame") self.gridLayout.addWidget(self.colorPageFrame, 5, 4, 1, 1) self.groupBox = QtWidgets.QGroupBox(self.mGroupBox) self.groupBox.setMinimumSize(QtCore.QSize(0, 100)) self.groupBox.setObjectName("groupBox") self.gridLayout_13 = QtWidgets.QGridLayout(self.groupBox) self.gridLayout_13.setObjectName("gridLayout_13") self.sbPageMarginTop = QtWidgets.QDoubleSpinBox(self.groupBox) self.sbPageMarginTop.setDecimals(1) self.sbPageMarginTop.setProperty("value", 5.0) self.sbPageMarginTop.setObjectName("sbPageMarginTop") self.gridLayout_13.addWidget(self.sbPageMarginTop, 0, 2, 1, 1) self.label_11 = QtWidgets.QLabel(self.groupBox) self.label_11.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_11.setObjectName("label_11") self.gridLayout_13.addWidget(self.label_11, 0, 1, 1, 1) self.label_12 = QtWidgets.QLabel(self.groupBox) self.label_12.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_12.setObjectName("label_12") self.gridLayout_13.addWidget(self.label_12, 1, 0, 1, 1) self.sbPageMarginLeft = QtWidgets.QDoubleSpinBox(self.groupBox) self.sbPageMarginLeft.setDecimals(1) self.sbPageMarginLeft.setProperty("value", 5.0) self.sbPageMarginLeft.setObjectName("sbPageMarginLeft") self.gridLayout_13.addWidget(self.sbPageMarginLeft, 1, 1, 1, 1) self.label_14 = QtWidgets.QLabel(self.groupBox) self.label_14.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_14.setObjectName("label_14") self.gridLayout_13.addWidget(self.label_14, 2, 1, 1, 1) self.sbPageMarginBottom = QtWidgets.QDoubleSpinBox(self.groupBox) self.sbPageMarginBottom.setDecimals(1) self.sbPageMarginBottom.setProperty("value", 5.0) self.sbPageMarginBottom.setObjectName("sbPageMarginBottom") self.gridLayout_13.addWidget(self.sbPageMarginBottom, 2, 2, 1, 1) self.sbPageMarginRight = QtWidgets.QDoubleSpinBox(self.groupBox) self.sbPageMarginRight.setDecimals(1) self.sbPageMarginRight.setProperty("value", 5.0) self.sbPageMarginRight.setObjectName("sbPageMarginRight") self.gridLayout_13.addWidget(self.sbPageMarginRight, 1, 3, 1, 1) self.label_13 = QtWidgets.QLabel(self.groupBox) self.label_13.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_13.setObjectName("label_13") self.gridLayout_13.addWidget(self.label_13, 1, 2, 1, 1) spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) self.gridLayout_13.addItem(spacerItem7, 1, 4, 1, 1) self.gridLayout.addWidget(self.groupBox, 6, 0, 1, 5) spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem8, 1, 2, 1, 3) self.verticalLayout_2.addLayout(self.gridLayout) self.gridLayout_12.addWidget(self.mGroupBox, 0, 1, 1, 1) spacerItem9 = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_12.addItem(spacerItem9, 0, 0, 3, 1) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout_6.addWidget(self.scrollArea) self.radLayoutCustom = QtWidgets.QRadioButton(self.tab) self.radLayoutCustom.setChecked(False) self.radLayoutCustom.setObjectName("radLayoutCustom") self.buttonGroup.addButton(self.radLayoutCustom) self.verticalLayout_6.addWidget(self.radLayoutCustom) self.gridLayout_11 = QtWidgets.QGridLayout() self.gridLayout_11.setObjectName("gridLayout_11") self.btnBrowseTemplate = QtWidgets.QToolButton(self.tab) self.btnBrowseTemplate.setObjectName("btnBrowseTemplate") self.gridLayout_11.addWidget(self.btnBrowseTemplate, 0, 3, 1, 1) self.label_5 = QtWidgets.QLabel(self.tab) self.label_5.setObjectName("label_5") self.gridLayout_11.addWidget(self.label_5, 0, 1, 1, 1) self.editTemplate = QtWidgets.QLineEdit(self.tab) self.editTemplate.setObjectName("editTemplate") self.gridLayout_11.addWidget(self.editTemplate, 0, 2, 1, 1) self.label_10 = QtWidgets.QLabel(self.tab) self.label_10.setText("") self.label_10.setObjectName("label_10") self.gridLayout_11.addWidget(self.label_10, 1, 1, 1, 3) spacerItem10 = QtWidgets.QSpacerItem(28, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_11.addItem(spacerItem10, 0, 0, 2, 1) self.verticalLayout_6.addLayout(self.gridLayout_11) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtWidgets.QWidget() self.tab_2.setObjectName("tab_2") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.tab_2) self.verticalLayout_4.setObjectName("verticalLayout_4") self.gridLayout_3 = QtWidgets.QGridLayout() self.gridLayout_3.setObjectName("gridLayout_3") self.btnMapUp = QtWidgets.QToolButton(self.tab_2) self.btnMapUp.setObjectName("btnMapUp") self.gridLayout_3.addWidget(self.btnMapUp, 1, 2, 1, 1) self.btnAddMap = QtWidgets.QToolButton(self.tab_2) self.btnAddMap.setObjectName("btnAddMap") self.gridLayout_3.addWidget(self.btnAddMap, 1, 0, 1, 1) self.btnRemoveMap = QtWidgets.QToolButton(self.tab_2) self.btnRemoveMap.setObjectName("btnRemoveMap") self.gridLayout_3.addWidget(self.btnRemoveMap, 1, 1, 1, 1) self.btnMapDown = QtWidgets.QToolButton(self.tab_2) self.btnMapDown.setObjectName("btnMapDown") self.gridLayout_3.addWidget(self.btnMapDown, 1, 3, 1, 1) self.label_3 = QtWidgets.QLabel(self.tab_2) self.label_3.setObjectName("label_3") self.gridLayout_3.addWidget(self.label_3, 0, 0, 1, 4) self.tableMaps = MapExportTable(self.tab_2) self.tableMaps.setMinimumSize(QtCore.QSize(0, 300)) self.tableMaps.setEditTriggers(QtWidgets.QAbstractItemView.AllEditTriggers) self.tableMaps.setObjectName("tableMaps") self.tableMaps.setColumnCount(5) self.tableMaps.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(3, item) item = QtWidgets.QTableWidgetItem() self.tableMaps.setHorizontalHeaderItem(4, item) self.tableMaps.horizontalHeader().setDefaultSectionSize(120) self.tableMaps.verticalHeader().setDefaultSectionSize(20) self.gridLayout_3.addWidget(self.tableMaps, 2, 0, 1, 6) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") spacerItem11 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem11) self.pbImport = QtWidgets.QPushButton(self.tab_2) self.pbImport.setObjectName("pbImport") self.horizontalLayout_2.addWidget(self.pbImport) self.gridLayout_3.addLayout(self.horizontalLayout_2, 1, 4, 1, 2) self.verticalLayout_4.addLayout(self.gridLayout_3) self.tabWidget.addTab(self.tab_2, "") self.verticalLayout.addWidget(self.tabWidget) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.progress = QtWidgets.QProgressBar(MapDialog) self.progress.setProperty("value", 0) self.progress.setObjectName("progress") self.horizontalLayout_4.addWidget(self.progress) self.pbPreview = QtWidgets.QPushButton(MapDialog) self.pbPreview.setObjectName("pbPreview") self.horizontalLayout_4.addWidget(self.pbPreview) self.buttonBox = QtWidgets.QDialogButtonBox(MapDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setObjectName("buttonBox") self.horizontalLayout_4.addWidget(self.buttonBox) self.verticalLayout.addLayout(self.horizontalLayout_4) self.retranslateUi(MapDialog) self.tabWidget.setCurrentIndex(0) self.cboPosScaleBar.setCurrentIndex(1) self.cboPosLegend.setCurrentIndex(3) self.cboPosLabel.setCurrentIndex(2) self.cboPageSize.setCurrentIndex(4) QtCore.QMetaObject.connectSlotsByName(MapDialog)
def setupUi(self, Biorec): Biorec.setObjectName("Biorec") Biorec.resize(768, 1020) self.verticalLayout = QtWidgets.QVBoxLayout(Biorec) self.verticalLayout.setObjectName("verticalLayout") self.tabWidget = QtWidgets.QTabWidget(Biorec) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.widget = QtWidgets.QWidget(self.tab) self.widget.setGeometry(QtCore.QRect(24, 11, 676, 735)) self.widget.setObjectName("widget") self.formLayout = QtWidgets.QFormLayout(self.widget) self.formLayout.setContentsMargins(0, 0, 0, 0) self.formLayout.setObjectName("formLayout") self.butBrowse = QtWidgets.QPushButton(self.widget) self.butBrowse.setEnabled(True) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.butBrowse.sizePolicy().hasHeightForWidth()) self.butBrowse.setSizePolicy(sizePolicy) self.butBrowse.setObjectName("butBrowse") self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.butBrowse) self.butGetR6 = QtWidgets.QPushButton(self.widget) self.butGetR6.setEnabled(True) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.butGetR6.sizePolicy().hasHeightForWidth()) self.butGetR6.setSizePolicy(sizePolicy) self.butGetR6.setObjectName("butGetR6") self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.butGetR6) self.lblLayer = QtWidgets.QLabel(self.widget) self.lblLayer.setObjectName("lblLayer") self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.lblLayer) self.mlcbSourceLayer = QgsMapLayerComboBox(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mlcbSourceLayer.sizePolicy().hasHeightForWidth()) self.mlcbSourceLayer.setSizePolicy(sizePolicy) self.mlcbSourceLayer.setObjectName("mlcbSourceLayer") self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.mlcbSourceLayer) self.lblGridRefCol = QtWidgets.QLabel(self.widget) self.lblGridRefCol.setObjectName("lblGridRefCol") self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.lblGridRefCol) self.fcbGridRefCol = QgsFieldComboBox(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.fcbGridRefCol.sizePolicy().hasHeightForWidth()) self.fcbGridRefCol.setSizePolicy(sizePolicy) self.fcbGridRefCol.setObjectName("fcbGridRefCol") self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.fcbGridRefCol) self.lblXCol = QtWidgets.QLabel(self.widget) self.lblXCol.setObjectName("lblXCol") self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.lblXCol) self.fcbXCol = QgsFieldComboBox(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.fcbXCol.sizePolicy().hasHeightForWidth()) self.fcbXCol.setSizePolicy(sizePolicy) self.fcbXCol.setObjectName("fcbXCol") self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.fcbXCol) self.lblYCol = QtWidgets.QLabel(self.widget) self.lblYCol.setObjectName("lblYCol") self.formLayout.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.lblYCol) self.fcbYCol = QgsFieldComboBox(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.fcbYCol.sizePolicy().hasHeightForWidth()) self.fcbYCol.setSizePolicy(sizePolicy) self.fcbYCol.setObjectName("fcbYCol") self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.fcbYCol) self.lblAbundanceColumn = QtWidgets.QLabel(self.widget) self.lblAbundanceColumn.setObjectName("lblAbundanceColumn") self.formLayout.setWidget(6, QtWidgets.QFormLayout.LabelRole, self.lblAbundanceColumn) self.cboAbundanceCol = QtWidgets.QComboBox(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cboAbundanceCol.sizePolicy().hasHeightForWidth()) self.cboAbundanceCol.setSizePolicy(sizePolicy) self.cboAbundanceCol.setObjectName("cboAbundanceCol") self.formLayout.setWidget(6, QtWidgets.QFormLayout.FieldRole, self.cboAbundanceCol) self.lblTaxonCol = QtWidgets.QLabel(self.widget) self.lblTaxonCol.setObjectName("lblTaxonCol") self.formLayout.setWidget(7, QtWidgets.QFormLayout.LabelRole, self.lblTaxonCol) self.cboTaxonCol = QtWidgets.QComboBox(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cboTaxonCol.sizePolicy().hasHeightForWidth()) self.cboTaxonCol.setSizePolicy(sizePolicy) self.cboTaxonCol.setObjectName("cboTaxonCol") self.formLayout.setWidget(7, QtWidgets.QFormLayout.FieldRole, self.cboTaxonCol) self.cbIsScientific = QtWidgets.QCheckBox(self.widget) self.cbIsScientific.setEnabled(False) self.cbIsScientific.setChecked(False) self.cbIsScientific.setObjectName("cbIsScientific") self.formLayout.setWidget(8, QtWidgets.QFormLayout.FieldRole, self.cbIsScientific) self.lblGroupingCol = QtWidgets.QLabel(self.widget) self.lblGroupingCol.setEnabled(False) self.lblGroupingCol.setObjectName("lblGroupingCol") self.formLayout.setWidget(9, QtWidgets.QFormLayout.LabelRole, self.lblGroupingCol) self.cboGroupingCol = QtWidgets.QComboBox(self.widget) self.cboGroupingCol.setEnabled(False) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cboGroupingCol.sizePolicy().hasHeightForWidth()) self.cboGroupingCol.setSizePolicy(sizePolicy) self.cboGroupingCol.setObjectName("cboGroupingCol") self.formLayout.setWidget(9, QtWidgets.QFormLayout.FieldRole, self.cboGroupingCol) self.lblInputCRS = QtWidgets.QLabel(self.widget) self.lblInputCRS.setObjectName("lblInputCRS") self.formLayout.setWidget(10, QtWidgets.QFormLayout.LabelRole, self.lblInputCRS) self.pswInputCRS = QgsProjectionSelectionWidget(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.pswInputCRS.sizePolicy().hasHeightForWidth()) self.pswInputCRS.setSizePolicy(sizePolicy) self.pswInputCRS.setObjectName("pswInputCRS") self.formLayout.setWidget(10, QtWidgets.QFormLayout.FieldRole, self.pswInputCRS) self.lblOutputCRS = QtWidgets.QLabel(self.widget) self.lblOutputCRS.setObjectName("lblOutputCRS") self.formLayout.setWidget(11, QtWidgets.QFormLayout.LabelRole, self.lblOutputCRS) self.pswOutputCRS = QgsProjectionSelectionWidget(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.pswOutputCRS.sizePolicy().hasHeightForWidth()) self.pswOutputCRS.setSizePolicy(sizePolicy) self.pswOutputCRS.setObjectName("pswOutputCRS") self.formLayout.setWidget(11, QtWidgets.QFormLayout.FieldRole, self.pswOutputCRS) spacerItem = QtWidgets.QSpacerItem(13, 13, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.formLayout.setItem(12, QtWidgets.QFormLayout.LabelRole, spacerItem) self.cbMatchCRS = QtWidgets.QCheckBox(self.widget) self.cbMatchCRS.setEnabled(True) self.cbMatchCRS.setChecked(False) self.cbMatchCRS.setObjectName("cbMatchCRS") self.formLayout.setWidget(12, QtWidgets.QFormLayout.FieldRole, self.cbMatchCRS) self.tabWidget.addTab(self.tab, "") self.tab_3 = QtWidgets.QWidget() self.tab_3.setObjectName("tab_3") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.tab_3) self.verticalLayout_3.setObjectName("verticalLayout_3") self.tvTaxa = QtWidgets.QTreeView(self.tab_3) self.tvTaxa.setToolTip("") self.tvTaxa.setObjectName("tvTaxa") self.tvTaxa.header().setVisible(False) self.verticalLayout_3.addWidget(self.tvTaxa) self.frame_2 = QtWidgets.QFrame(self.tab_3) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.frame_2.sizePolicy().hasHeightForWidth()) self.frame_2.setSizePolicy(sizePolicy) self.frame_2.setFrameShape(QtWidgets.QFrame.NoFrame) self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised) self.frame_2.setObjectName("frame_2") self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame_2) self.horizontalLayout.setContentsMargins(0, 0, 0, 0) self.horizontalLayout.setSpacing(2) self.horizontalLayout.setObjectName("horizontalLayout") self.butContract = QtWidgets.QPushButton(self.frame_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("butContract") self.horizontalLayout.addWidget(self.butContract) self.butExpand = QtWidgets.QPushButton(self.frame_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("butExpand") self.horizontalLayout.addWidget(self.butExpand) self.butCheckAll = QtWidgets.QPushButton(self.frame_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("butCheckAll") self.horizontalLayout.addWidget(self.butCheckAll) self.butUncheckAll = QtWidgets.QPushButton(self.frame_2) self.butUncheckAll.setMinimumSize(QtCore.QSize(65, 0)) self.butUncheckAll.setMaximumSize(QtCore.QSize(65, 16777215)) self.butUncheckAll.setObjectName("butUncheckAll") self.horizontalLayout.addWidget(self.butUncheckAll) spacerItem1 = QtWidgets.QSpacerItem(200, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem1) self.butGenTree = QtWidgets.QPushButton(self.frame_2) self.butGenTree.setObjectName("butGenTree") self.horizontalLayout.addWidget(self.butGenTree) self.verticalLayout_3.addWidget(self.frame_2) self.tabWidget.addTab(self.tab_3, "") self.tab_5 = QtWidgets.QWidget() self.tab_5.setObjectName("tab_5") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.tab_5) self.verticalLayout_5.setObjectName("verticalLayout_5") self.cboBatchMode = QtWidgets.QComboBox(self.tab_5) self.cboBatchMode.setMinimumSize(QtCore.QSize(130, 0)) self.cboBatchMode.setMaximumSize(QtCore.QSize(130, 16777215)) self.cboBatchMode.setObjectName("cboBatchMode") self.cboBatchMode.addItem("") self.cboBatchMode.addItem("") self.verticalLayout_5.addWidget(self.cboBatchMode) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.leStyleFile = QtWidgets.QLineEdit(self.tab_5) self.leStyleFile.setObjectName("leStyleFile") self.horizontalLayout_4.addWidget(self.leStyleFile) self.pbBrowseStyleFile = QtWidgets.QPushButton(self.tab_5) self.pbBrowseStyleFile.setMinimumSize(QtCore.QSize(105, 0)) self.pbBrowseStyleFile.setObjectName("pbBrowseStyleFile") self.horizontalLayout_4.addWidget(self.pbBrowseStyleFile) self.verticalLayout_5.addLayout(self.horizontalLayout_4) self.cbApplyStyle = QtWidgets.QCheckBox(self.tab_5) self.cbApplyStyle.setObjectName("cbApplyStyle") self.verticalLayout_5.addWidget(self.cbApplyStyle) self.horizontalLayout_8 = QtWidgets.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") self.label_2 = QtWidgets.QLabel(self.tab_5) self.label_2.setObjectName("label_2") self.horizontalLayout_8.addWidget(self.label_2) self.hsLayerTransparency = QtWidgets.QSlider(self.tab_5) self.hsLayerTransparency.setOrientation(QtCore.Qt.Horizontal) self.hsLayerTransparency.setTickPosition(QtWidgets.QSlider.TicksBelow) self.hsLayerTransparency.setTickInterval(10) self.hsLayerTransparency.setObjectName("hsLayerTransparency") self.horizontalLayout_8.addWidget(self.hsLayerTransparency) self.verticalLayout_5.addLayout(self.horizontalLayout_8) self.mGroupBox = QgsCollapsibleGroupBox(self.tab_5) self.mGroupBox.setObjectName("mGroupBox") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.mGroupBox) self.verticalLayout_2.setObjectName("verticalLayout_2") self.horizontalLayout_9 = QtWidgets.QHBoxLayout() self.horizontalLayout_9.setObjectName("horizontalLayout_9") self.label = QtWidgets.QLabel(self.mGroupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.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("label") self.horizontalLayout_9.addWidget(self.label) self.cboOutputFormat = QtWidgets.QComboBox(self.mGroupBox) self.cboOutputFormat.setEditable(False) self.cboOutputFormat.setObjectName("cboOutputFormat") self.cboOutputFormat.addItem("") self.cboOutputFormat.addItem("") self.cboOutputFormat.addItem("") self.cboOutputFormat.addItem("") self.cboOutputFormat.addItem("") self.horizontalLayout_9.addWidget(self.cboOutputFormat) self.verticalLayout_2.addLayout(self.horizontalLayout_9) self.qgsOutputCRS = QgsProjectionSelectionWidget(self.mGroupBox) self.qgsOutputCRS.setObjectName("qgsOutputCRS") self.verticalLayout_2.addWidget(self.qgsOutputCRS) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.leImageFolder = QtWidgets.QLineEdit(self.mGroupBox) self.leImageFolder.setObjectName("leImageFolder") self.horizontalLayout_3.addWidget(self.leImageFolder) self.pbBrowseImageFolder = QtWidgets.QPushButton(self.mGroupBox) self.pbBrowseImageFolder.setObjectName("pbBrowseImageFolder") self.horizontalLayout_3.addWidget(self.pbBrowseImageFolder) self.verticalLayout_2.addLayout(self.horizontalLayout_3) self.horizontalLayout_10 = QtWidgets.QHBoxLayout() self.horizontalLayout_10.setObjectName("horizontalLayout_10") self.cbTaxonMetaData = QtWidgets.QCheckBox(self.mGroupBox) self.cbTaxonMetaData.setMinimumSize(QtCore.QSize(131, 0)) self.cbTaxonMetaData.setMaximumSize(QtCore.QSize(131, 16777215)) self.cbTaxonMetaData.setObjectName("cbTaxonMetaData") self.horizontalLayout_10.addWidget(self.cbTaxonMetaData) self.mlcbTaxonMetaDataLayer = QgsMapLayerComboBox(self.mGroupBox) self.mlcbTaxonMetaDataLayer.setObjectName("mlcbTaxonMetaDataLayer") self.horizontalLayout_10.addWidget(self.mlcbTaxonMetaDataLayer) self.verticalLayout_2.addLayout(self.horizontalLayout_10) self.verticalLayout_5.addWidget(self.mGroupBox) spacerItem2 = QtWidgets.QSpacerItem(20, 52, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_5.addItem(spacerItem2) self.cboBatchMode.raise_() self.cbApplyStyle.raise_() self.mGroupBox.raise_() self.tabWidget.addTab(self.tab_5, "") self.tab_4 = QtWidgets.QWidget() self.tab_4.setObjectName("tab_4") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.tab_4) self.verticalLayout_4.setObjectName("verticalLayout_4") self.pteLog = QtWidgets.QPlainTextEdit(self.tab_4) self.pteLog.setObjectName("pteLog") self.verticalLayout_4.addWidget(self.pteLog) self.tabWidget.addTab(self.tab_4, "") self.verticalLayout.addWidget(self.tabWidget) self.horizontalLayout_6 = QtWidgets.QHBoxLayout() self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.progBatch = QtWidgets.QProgressBar(Biorec) self.progBatch.setProperty("value", 0) self.progBatch.setObjectName("progBatch") self.horizontalLayout_6.addWidget(self.progBatch) self.pbCancel = QtWidgets.QPushButton(Biorec) self.pbCancel.setObjectName("pbCancel") self.horizontalLayout_6.addWidget(self.pbCancel) self.verticalLayout.addLayout(self.horizontalLayout_6) self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.cboSymbol = QtWidgets.QComboBox(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("cboSymbol") self.cboSymbol.addItem("") self.cboSymbol.addItem("") self.horizontalLayout_5.addWidget(self.cboSymbol) self.cboMapType = QtWidgets.QComboBox(Biorec) sizePolicy = QtWidgets.QSizePolicy( QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cboMapType.sizePolicy().hasHeightForWidth()) self.cboMapType.setSizePolicy(sizePolicy) self.cboMapType.setObjectName("cboMapType") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.horizontalLayout_5.addWidget(self.cboMapType) self.dsbGridSize = QtWidgets.QDoubleSpinBox(Biorec) self.dsbGridSize.setDecimals(3) self.dsbGridSize.setMaximum(100000000.0) self.dsbGridSize.setSingleStep(100.0) self.dsbGridSize.setObjectName("dsbGridSize") self.horizontalLayout_5.addWidget(self.dsbGridSize) self.verticalLayout.addLayout(self.horizontalLayout_5) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.butMap = QtWidgets.QPushButton(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap("images/maptaxa.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butMap.setIcon(icon) self.butMap.setIconSize(QtCore.QSize(30, 30)) self.butMap.setObjectName("butMap") self.horizontalLayout_2.addWidget(self.butMap) self.butSaveImage = QtWidgets.QPushButton(Biorec) self.butSaveImage.setMinimumSize(QtCore.QSize(32, 32)) self.butSaveImage.setMaximumSize(QtCore.QSize(32, 32)) self.butSaveImage.setText("") icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap("images/saveimage.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butSaveImage.setIcon(icon1) self.butSaveImage.setIconSize(QtCore.QSize(28, 28)) self.butSaveImage.setObjectName("butSaveImage") self.horizontalLayout_2.addWidget(self.butSaveImage) self.butShowAll = QtWidgets.QPushButton(Biorec) self.butShowAll.setMinimumSize(QtCore.QSize(32, 32)) self.butShowAll.setMaximumSize(QtCore.QSize(32, 32)) self.butShowAll.setText("") icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap("images/layershow.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butShowAll.setIcon(icon2) self.butShowAll.setIconSize(QtCore.QSize(26, 26)) self.butShowAll.setObjectName("butShowAll") self.horizontalLayout_2.addWidget(self.butShowAll) self.butHideAll = QtWidgets.QPushButton(Biorec) self.butHideAll.setMinimumSize(QtCore.QSize(32, 32)) self.butHideAll.setMaximumSize(QtCore.QSize(32, 32)) self.butHideAll.setText("") icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap("images/layerhide.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butHideAll.setIcon(icon3) self.butHideAll.setIconSize(QtCore.QSize(26, 26)) self.butHideAll.setObjectName("butHideAll") self.horizontalLayout_2.addWidget(self.butHideAll) self.butRemoveMap = QtWidgets.QPushButton(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("") icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap("images/removelayer.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butRemoveMap.setIcon(icon4) self.butRemoveMap.setIconSize(QtCore.QSize(30, 30)) self.butRemoveMap.setObjectName("butRemoveMap") self.horizontalLayout_2.addWidget(self.butRemoveMap) self.butRemoveMaps = QtWidgets.QPushButton(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("") icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap("images/removelayers.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butRemoveMaps.setIcon(icon5) self.butRemoveMaps.setIconSize(QtCore.QSize(30, 30)) self.butRemoveMaps.setObjectName("butRemoveMaps") self.horizontalLayout_2.addWidget(self.butRemoveMaps) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem3) self.butHelp = QtWidgets.QPushButton(Biorec) self.butHelp.setMinimumSize(QtCore.QSize(30, 30)) self.butHelp.setMaximumSize(QtCore.QSize(30, 30)) self.butHelp.setText("") icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap("images/info.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butHelp.setIcon(icon6) self.butHelp.setIconSize(QtCore.QSize(24, 24)) self.butHelp.setObjectName("butHelp") self.horizontalLayout_2.addWidget(self.butHelp) self.butGithub = QtWidgets.QPushButton(Biorec) self.butGithub.setMinimumSize(QtCore.QSize(30, 30)) self.butGithub.setMaximumSize(QtCore.QSize(30, 30)) self.butGithub.setText("") icon7 = QtGui.QIcon() icon7.addPixmap(QtGui.QPixmap("images/github.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butGithub.setIcon(icon7) self.butGithub.setIconSize(QtCore.QSize(24, 24)) self.butGithub.setObjectName("butGithub") self.horizontalLayout_2.addWidget(self.butGithub) self.verticalLayout.addLayout(self.horizontalLayout_2) self.retranslateUi(Biorec) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(Biorec)
class Ui_Biorec(object): def setupUi(self, Biorec): Biorec.setObjectName("Biorec") Biorec.resize(768, 1020) self.verticalLayout = QtWidgets.QVBoxLayout(Biorec) self.verticalLayout.setObjectName("verticalLayout") self.tabWidget = QtWidgets.QTabWidget(Biorec) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.widget = QtWidgets.QWidget(self.tab) self.widget.setGeometry(QtCore.QRect(24, 11, 676, 735)) self.widget.setObjectName("widget") self.formLayout = QtWidgets.QFormLayout(self.widget) self.formLayout.setContentsMargins(0, 0, 0, 0) self.formLayout.setObjectName("formLayout") self.butBrowse = QtWidgets.QPushButton(self.widget) self.butBrowse.setEnabled(True) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.butBrowse.sizePolicy().hasHeightForWidth()) self.butBrowse.setSizePolicy(sizePolicy) self.butBrowse.setObjectName("butBrowse") self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.butBrowse) self.butGetR6 = QtWidgets.QPushButton(self.widget) self.butGetR6.setEnabled(True) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.butGetR6.sizePolicy().hasHeightForWidth()) self.butGetR6.setSizePolicy(sizePolicy) self.butGetR6.setObjectName("butGetR6") self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.butGetR6) self.lblLayer = QtWidgets.QLabel(self.widget) self.lblLayer.setObjectName("lblLayer") self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.lblLayer) self.mlcbSourceLayer = QgsMapLayerComboBox(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mlcbSourceLayer.sizePolicy().hasHeightForWidth()) self.mlcbSourceLayer.setSizePolicy(sizePolicy) self.mlcbSourceLayer.setObjectName("mlcbSourceLayer") self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.mlcbSourceLayer) self.lblGridRefCol = QtWidgets.QLabel(self.widget) self.lblGridRefCol.setObjectName("lblGridRefCol") self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.lblGridRefCol) self.fcbGridRefCol = QgsFieldComboBox(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.fcbGridRefCol.sizePolicy().hasHeightForWidth()) self.fcbGridRefCol.setSizePolicy(sizePolicy) self.fcbGridRefCol.setObjectName("fcbGridRefCol") self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.fcbGridRefCol) self.lblXCol = QtWidgets.QLabel(self.widget) self.lblXCol.setObjectName("lblXCol") self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.lblXCol) self.fcbXCol = QgsFieldComboBox(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.fcbXCol.sizePolicy().hasHeightForWidth()) self.fcbXCol.setSizePolicy(sizePolicy) self.fcbXCol.setObjectName("fcbXCol") self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.fcbXCol) self.lblYCol = QtWidgets.QLabel(self.widget) self.lblYCol.setObjectName("lblYCol") self.formLayout.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.lblYCol) self.fcbYCol = QgsFieldComboBox(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.fcbYCol.sizePolicy().hasHeightForWidth()) self.fcbYCol.setSizePolicy(sizePolicy) self.fcbYCol.setObjectName("fcbYCol") self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.fcbYCol) self.lblAbundanceColumn = QtWidgets.QLabel(self.widget) self.lblAbundanceColumn.setObjectName("lblAbundanceColumn") self.formLayout.setWidget(6, QtWidgets.QFormLayout.LabelRole, self.lblAbundanceColumn) self.cboAbundanceCol = QtWidgets.QComboBox(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cboAbundanceCol.sizePolicy().hasHeightForWidth()) self.cboAbundanceCol.setSizePolicy(sizePolicy) self.cboAbundanceCol.setObjectName("cboAbundanceCol") self.formLayout.setWidget(6, QtWidgets.QFormLayout.FieldRole, self.cboAbundanceCol) self.lblTaxonCol = QtWidgets.QLabel(self.widget) self.lblTaxonCol.setObjectName("lblTaxonCol") self.formLayout.setWidget(7, QtWidgets.QFormLayout.LabelRole, self.lblTaxonCol) self.cboTaxonCol = QtWidgets.QComboBox(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cboTaxonCol.sizePolicy().hasHeightForWidth()) self.cboTaxonCol.setSizePolicy(sizePolicy) self.cboTaxonCol.setObjectName("cboTaxonCol") self.formLayout.setWidget(7, QtWidgets.QFormLayout.FieldRole, self.cboTaxonCol) self.cbIsScientific = QtWidgets.QCheckBox(self.widget) self.cbIsScientific.setEnabled(False) self.cbIsScientific.setChecked(False) self.cbIsScientific.setObjectName("cbIsScientific") self.formLayout.setWidget(8, QtWidgets.QFormLayout.FieldRole, self.cbIsScientific) self.lblGroupingCol = QtWidgets.QLabel(self.widget) self.lblGroupingCol.setEnabled(False) self.lblGroupingCol.setObjectName("lblGroupingCol") self.formLayout.setWidget(9, QtWidgets.QFormLayout.LabelRole, self.lblGroupingCol) self.cboGroupingCol = QtWidgets.QComboBox(self.widget) self.cboGroupingCol.setEnabled(False) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cboGroupingCol.sizePolicy().hasHeightForWidth()) self.cboGroupingCol.setSizePolicy(sizePolicy) self.cboGroupingCol.setObjectName("cboGroupingCol") self.formLayout.setWidget(9, QtWidgets.QFormLayout.FieldRole, self.cboGroupingCol) self.lblInputCRS = QtWidgets.QLabel(self.widget) self.lblInputCRS.setObjectName("lblInputCRS") self.formLayout.setWidget(10, QtWidgets.QFormLayout.LabelRole, self.lblInputCRS) self.pswInputCRS = QgsProjectionSelectionWidget(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.pswInputCRS.sizePolicy().hasHeightForWidth()) self.pswInputCRS.setSizePolicy(sizePolicy) self.pswInputCRS.setObjectName("pswInputCRS") self.formLayout.setWidget(10, QtWidgets.QFormLayout.FieldRole, self.pswInputCRS) self.lblOutputCRS = QtWidgets.QLabel(self.widget) self.lblOutputCRS.setObjectName("lblOutputCRS") self.formLayout.setWidget(11, QtWidgets.QFormLayout.LabelRole, self.lblOutputCRS) self.pswOutputCRS = QgsProjectionSelectionWidget(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.pswOutputCRS.sizePolicy().hasHeightForWidth()) self.pswOutputCRS.setSizePolicy(sizePolicy) self.pswOutputCRS.setObjectName("pswOutputCRS") self.formLayout.setWidget(11, QtWidgets.QFormLayout.FieldRole, self.pswOutputCRS) spacerItem = QtWidgets.QSpacerItem(13, 13, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.formLayout.setItem(12, QtWidgets.QFormLayout.LabelRole, spacerItem) self.cbMatchCRS = QtWidgets.QCheckBox(self.widget) self.cbMatchCRS.setEnabled(True) self.cbMatchCRS.setChecked(False) self.cbMatchCRS.setObjectName("cbMatchCRS") self.formLayout.setWidget(12, QtWidgets.QFormLayout.FieldRole, self.cbMatchCRS) self.tabWidget.addTab(self.tab, "") self.tab_3 = QtWidgets.QWidget() self.tab_3.setObjectName("tab_3") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.tab_3) self.verticalLayout_3.setObjectName("verticalLayout_3") self.tvTaxa = QtWidgets.QTreeView(self.tab_3) self.tvTaxa.setToolTip("") self.tvTaxa.setObjectName("tvTaxa") self.tvTaxa.header().setVisible(False) self.verticalLayout_3.addWidget(self.tvTaxa) self.frame_2 = QtWidgets.QFrame(self.tab_3) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.frame_2.sizePolicy().hasHeightForWidth()) self.frame_2.setSizePolicy(sizePolicy) self.frame_2.setFrameShape(QtWidgets.QFrame.NoFrame) self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised) self.frame_2.setObjectName("frame_2") self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame_2) self.horizontalLayout.setContentsMargins(0, 0, 0, 0) self.horizontalLayout.setSpacing(2) self.horizontalLayout.setObjectName("horizontalLayout") self.butContract = QtWidgets.QPushButton(self.frame_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("butContract") self.horizontalLayout.addWidget(self.butContract) self.butExpand = QtWidgets.QPushButton(self.frame_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("butExpand") self.horizontalLayout.addWidget(self.butExpand) self.butCheckAll = QtWidgets.QPushButton(self.frame_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("butCheckAll") self.horizontalLayout.addWidget(self.butCheckAll) self.butUncheckAll = QtWidgets.QPushButton(self.frame_2) self.butUncheckAll.setMinimumSize(QtCore.QSize(65, 0)) self.butUncheckAll.setMaximumSize(QtCore.QSize(65, 16777215)) self.butUncheckAll.setObjectName("butUncheckAll") self.horizontalLayout.addWidget(self.butUncheckAll) spacerItem1 = QtWidgets.QSpacerItem(200, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem1) self.butGenTree = QtWidgets.QPushButton(self.frame_2) self.butGenTree.setObjectName("butGenTree") self.horizontalLayout.addWidget(self.butGenTree) self.verticalLayout_3.addWidget(self.frame_2) self.tabWidget.addTab(self.tab_3, "") self.tab_5 = QtWidgets.QWidget() self.tab_5.setObjectName("tab_5") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.tab_5) self.verticalLayout_5.setObjectName("verticalLayout_5") self.cboBatchMode = QtWidgets.QComboBox(self.tab_5) self.cboBatchMode.setMinimumSize(QtCore.QSize(130, 0)) self.cboBatchMode.setMaximumSize(QtCore.QSize(130, 16777215)) self.cboBatchMode.setObjectName("cboBatchMode") self.cboBatchMode.addItem("") self.cboBatchMode.addItem("") self.verticalLayout_5.addWidget(self.cboBatchMode) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.leStyleFile = QtWidgets.QLineEdit(self.tab_5) self.leStyleFile.setObjectName("leStyleFile") self.horizontalLayout_4.addWidget(self.leStyleFile) self.pbBrowseStyleFile = QtWidgets.QPushButton(self.tab_5) self.pbBrowseStyleFile.setMinimumSize(QtCore.QSize(105, 0)) self.pbBrowseStyleFile.setObjectName("pbBrowseStyleFile") self.horizontalLayout_4.addWidget(self.pbBrowseStyleFile) self.verticalLayout_5.addLayout(self.horizontalLayout_4) self.cbApplyStyle = QtWidgets.QCheckBox(self.tab_5) self.cbApplyStyle.setObjectName("cbApplyStyle") self.verticalLayout_5.addWidget(self.cbApplyStyle) self.horizontalLayout_8 = QtWidgets.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") self.label_2 = QtWidgets.QLabel(self.tab_5) self.label_2.setObjectName("label_2") self.horizontalLayout_8.addWidget(self.label_2) self.hsLayerTransparency = QtWidgets.QSlider(self.tab_5) self.hsLayerTransparency.setOrientation(QtCore.Qt.Horizontal) self.hsLayerTransparency.setTickPosition(QtWidgets.QSlider.TicksBelow) self.hsLayerTransparency.setTickInterval(10) self.hsLayerTransparency.setObjectName("hsLayerTransparency") self.horizontalLayout_8.addWidget(self.hsLayerTransparency) self.verticalLayout_5.addLayout(self.horizontalLayout_8) self.mGroupBox = QgsCollapsibleGroupBox(self.tab_5) self.mGroupBox.setObjectName("mGroupBox") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.mGroupBox) self.verticalLayout_2.setObjectName("verticalLayout_2") self.horizontalLayout_9 = QtWidgets.QHBoxLayout() self.horizontalLayout_9.setObjectName("horizontalLayout_9") self.label = QtWidgets.QLabel(self.mGroupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.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("label") self.horizontalLayout_9.addWidget(self.label) self.cboOutputFormat = QtWidgets.QComboBox(self.mGroupBox) self.cboOutputFormat.setEditable(False) self.cboOutputFormat.setObjectName("cboOutputFormat") self.cboOutputFormat.addItem("") self.cboOutputFormat.addItem("") self.cboOutputFormat.addItem("") self.cboOutputFormat.addItem("") self.cboOutputFormat.addItem("") self.horizontalLayout_9.addWidget(self.cboOutputFormat) self.verticalLayout_2.addLayout(self.horizontalLayout_9) self.qgsOutputCRS = QgsProjectionSelectionWidget(self.mGroupBox) self.qgsOutputCRS.setObjectName("qgsOutputCRS") self.verticalLayout_2.addWidget(self.qgsOutputCRS) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.leImageFolder = QtWidgets.QLineEdit(self.mGroupBox) self.leImageFolder.setObjectName("leImageFolder") self.horizontalLayout_3.addWidget(self.leImageFolder) self.pbBrowseImageFolder = QtWidgets.QPushButton(self.mGroupBox) self.pbBrowseImageFolder.setObjectName("pbBrowseImageFolder") self.horizontalLayout_3.addWidget(self.pbBrowseImageFolder) self.verticalLayout_2.addLayout(self.horizontalLayout_3) self.horizontalLayout_10 = QtWidgets.QHBoxLayout() self.horizontalLayout_10.setObjectName("horizontalLayout_10") self.cbTaxonMetaData = QtWidgets.QCheckBox(self.mGroupBox) self.cbTaxonMetaData.setMinimumSize(QtCore.QSize(131, 0)) self.cbTaxonMetaData.setMaximumSize(QtCore.QSize(131, 16777215)) self.cbTaxonMetaData.setObjectName("cbTaxonMetaData") self.horizontalLayout_10.addWidget(self.cbTaxonMetaData) self.mlcbTaxonMetaDataLayer = QgsMapLayerComboBox(self.mGroupBox) self.mlcbTaxonMetaDataLayer.setObjectName("mlcbTaxonMetaDataLayer") self.horizontalLayout_10.addWidget(self.mlcbTaxonMetaDataLayer) self.verticalLayout_2.addLayout(self.horizontalLayout_10) self.verticalLayout_5.addWidget(self.mGroupBox) spacerItem2 = QtWidgets.QSpacerItem(20, 52, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_5.addItem(spacerItem2) self.cboBatchMode.raise_() self.cbApplyStyle.raise_() self.mGroupBox.raise_() self.tabWidget.addTab(self.tab_5, "") self.tab_4 = QtWidgets.QWidget() self.tab_4.setObjectName("tab_4") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.tab_4) self.verticalLayout_4.setObjectName("verticalLayout_4") self.pteLog = QtWidgets.QPlainTextEdit(self.tab_4) self.pteLog.setObjectName("pteLog") self.verticalLayout_4.addWidget(self.pteLog) self.tabWidget.addTab(self.tab_4, "") self.verticalLayout.addWidget(self.tabWidget) self.horizontalLayout_6 = QtWidgets.QHBoxLayout() self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.progBatch = QtWidgets.QProgressBar(Biorec) self.progBatch.setProperty("value", 0) self.progBatch.setObjectName("progBatch") self.horizontalLayout_6.addWidget(self.progBatch) self.pbCancel = QtWidgets.QPushButton(Biorec) self.pbCancel.setObjectName("pbCancel") self.horizontalLayout_6.addWidget(self.pbCancel) self.verticalLayout.addLayout(self.horizontalLayout_6) self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.cboSymbol = QtWidgets.QComboBox(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("cboSymbol") self.cboSymbol.addItem("") self.cboSymbol.addItem("") self.horizontalLayout_5.addWidget(self.cboSymbol) self.cboMapType = QtWidgets.QComboBox(Biorec) sizePolicy = QtWidgets.QSizePolicy( QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cboMapType.sizePolicy().hasHeightForWidth()) self.cboMapType.setSizePolicy(sizePolicy) self.cboMapType.setObjectName("cboMapType") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.cboMapType.addItem("") self.horizontalLayout_5.addWidget(self.cboMapType) self.dsbGridSize = QtWidgets.QDoubleSpinBox(Biorec) self.dsbGridSize.setDecimals(3) self.dsbGridSize.setMaximum(100000000.0) self.dsbGridSize.setSingleStep(100.0) self.dsbGridSize.setObjectName("dsbGridSize") self.horizontalLayout_5.addWidget(self.dsbGridSize) self.verticalLayout.addLayout(self.horizontalLayout_5) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.butMap = QtWidgets.QPushButton(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("") icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap("images/maptaxa.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butMap.setIcon(icon) self.butMap.setIconSize(QtCore.QSize(30, 30)) self.butMap.setObjectName("butMap") self.horizontalLayout_2.addWidget(self.butMap) self.butSaveImage = QtWidgets.QPushButton(Biorec) self.butSaveImage.setMinimumSize(QtCore.QSize(32, 32)) self.butSaveImage.setMaximumSize(QtCore.QSize(32, 32)) self.butSaveImage.setText("") icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap("images/saveimage.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butSaveImage.setIcon(icon1) self.butSaveImage.setIconSize(QtCore.QSize(28, 28)) self.butSaveImage.setObjectName("butSaveImage") self.horizontalLayout_2.addWidget(self.butSaveImage) self.butShowAll = QtWidgets.QPushButton(Biorec) self.butShowAll.setMinimumSize(QtCore.QSize(32, 32)) self.butShowAll.setMaximumSize(QtCore.QSize(32, 32)) self.butShowAll.setText("") icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap("images/layershow.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butShowAll.setIcon(icon2) self.butShowAll.setIconSize(QtCore.QSize(26, 26)) self.butShowAll.setObjectName("butShowAll") self.horizontalLayout_2.addWidget(self.butShowAll) self.butHideAll = QtWidgets.QPushButton(Biorec) self.butHideAll.setMinimumSize(QtCore.QSize(32, 32)) self.butHideAll.setMaximumSize(QtCore.QSize(32, 32)) self.butHideAll.setText("") icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap("images/layerhide.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butHideAll.setIcon(icon3) self.butHideAll.setIconSize(QtCore.QSize(26, 26)) self.butHideAll.setObjectName("butHideAll") self.horizontalLayout_2.addWidget(self.butHideAll) self.butRemoveMap = QtWidgets.QPushButton(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("") icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap("images/removelayer.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butRemoveMap.setIcon(icon4) self.butRemoveMap.setIconSize(QtCore.QSize(30, 30)) self.butRemoveMap.setObjectName("butRemoveMap") self.horizontalLayout_2.addWidget(self.butRemoveMap) self.butRemoveMaps = QtWidgets.QPushButton(Biorec) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.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("") icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap("images/removelayers.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butRemoveMaps.setIcon(icon5) self.butRemoveMaps.setIconSize(QtCore.QSize(30, 30)) self.butRemoveMaps.setObjectName("butRemoveMaps") self.horizontalLayout_2.addWidget(self.butRemoveMaps) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem3) self.butHelp = QtWidgets.QPushButton(Biorec) self.butHelp.setMinimumSize(QtCore.QSize(30, 30)) self.butHelp.setMaximumSize(QtCore.QSize(30, 30)) self.butHelp.setText("") icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap("images/info.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butHelp.setIcon(icon6) self.butHelp.setIconSize(QtCore.QSize(24, 24)) self.butHelp.setObjectName("butHelp") self.horizontalLayout_2.addWidget(self.butHelp) self.butGithub = QtWidgets.QPushButton(Biorec) self.butGithub.setMinimumSize(QtCore.QSize(30, 30)) self.butGithub.setMaximumSize(QtCore.QSize(30, 30)) self.butGithub.setText("") icon7 = QtGui.QIcon() icon7.addPixmap(QtGui.QPixmap("images/github.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.butGithub.setIcon(icon7) self.butGithub.setIconSize(QtCore.QSize(24, 24)) self.butGithub.setObjectName("butGithub") self.horizontalLayout_2.addWidget(self.butGithub) self.verticalLayout.addLayout(self.horizontalLayout_2) self.retranslateUi(Biorec) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(Biorec) def retranslateUi(self, Biorec): _translate = QtCore.QCoreApplication.translate Biorec.setWindowTitle(_translate("Biorec", "FSC QGIS plugin")) self.butBrowse.setToolTip(_translate("Biorec", "Browse for CSV file")) self.butBrowse.setText( _translate("Biorec", "Create new source layer from CSV")) self.butGetR6.setText( _translate("Biorec", "Create new source layer from R6")) self.lblLayer.setText(_translate("Biorec", "Source layer")) self.lblGridRefCol.setText(_translate("Biorec", "OS Grid Ref Column")) self.lblXCol.setText(_translate("Biorec", "X Column")) self.lblYCol.setText(_translate("Biorec", "Y Column")) self.lblAbundanceColumn.setText( _translate("Biorec", "Abundance Column")) self.cboAbundanceCol.setToolTip( _translate("Biorec", "Optional column with abundance data")) self.lblTaxonCol.setText(_translate("Biorec", "Taxon Column")) self.cboTaxonCol.setToolTip( _translate("Biorec", "Select column with species names")) self.cbIsScientific.setToolTip( _translate("Biorec", "Select if taxon column contains scientific binomials")) self.cbIsScientific.setText(_translate("Biorec", "Scientific names")) self.lblGroupingCol.setText(_translate("Biorec", "Grouping Column")) self.cboGroupingCol.setToolTip( _translate("Biorec", "Optionally select a grouping column")) self.lblInputCRS.setText(_translate("Biorec", "Input CRS")) self.lblOutputCRS.setText(_translate("Biorec", "Output CRS")) self.cbMatchCRS.setToolTip( _translate("Biorec", "Select if taxon column contains scientific binomials")) self.cbMatchCRS.setText(_translate("Biorec", "Match to input CRS")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("Biorec", "Data specification")) self.butContract.setToolTip(_translate("Biorec", "Contract all items")) self.butContract.setText(_translate("Biorec", "-")) self.butExpand.setToolTip(_translate("Biorec", "Expand all items")) self.butExpand.setText(_translate("Biorec", "+")) self.butCheckAll.setToolTip(_translate("Biorec", "Check all items")) self.butCheckAll.setText(_translate("Biorec", "Check all")) self.butUncheckAll.setToolTip(_translate("Biorec", "Uncheck all items")) self.butUncheckAll.setText(_translate("Biorec", "Uncheck all")) self.butGenTree.setToolTip( _translate("Biorec", "Create/recreate species tree")) self.butGenTree.setText(_translate("Biorec", "Load taxa")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("Biorec", "Taxa")) self.cboBatchMode.setToolTip( _translate("Biorec", "Single or batch mode?")) self.cboBatchMode.setItemText(0, _translate("Biorec", "Single map mode")) self.cboBatchMode.setItemText(1, _translate("Biorec", "Batch map mode")) self.leStyleFile.setToolTip( _translate("Biorec", "Path of style file to apply to created maps")) self.pbBrowseStyleFile.setText( _translate("Biorec", "Browse style file")) self.cbApplyStyle.setText(_translate("Biorec", "Apply style")) self.label_2.setText(_translate("Biorec", "Transparency")) self.mGroupBox.setTitle(_translate("Biorec", "Output options")) self.label.setText(_translate("Biorec", "Format")) self.cboOutputFormat.setItemText(0, _translate("Biorec", "Image")) self.cboOutputFormat.setItemText(1, _translate("Biorec", "Shapefile")) self.cboOutputFormat.setItemText(2, _translate("Biorec", "GeoJSON")) self.cboOutputFormat.setItemText( 3, _translate("Biorec", "Composer image")) self.cboOutputFormat.setItemText(4, _translate("Biorec", "Composer PDF")) self.leImageFolder.setToolTip( _translate("Biorec", "Folder for atlas images")) self.pbBrowseImageFolder.setText( _translate("Biorec", "Browse output folder")) self.cbTaxonMetaData.setText( _translate("Biorec", "Taxon Metadata Layer")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("Biorec", "Options")) self.pteLog.setToolTip( _translate( "Biorec", "Information messages generated during map layer creation")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("Biorec", "Log")) self.progBatch.setToolTip( _translate("Biorec", "Shows progress in batch mode")) self.pbCancel.setToolTip(_translate("Biorec", "Cancel batch process")) self.pbCancel.setText(_translate("Biorec", "Cancel")) self.cboSymbol.setToolTip(_translate("Biorec", "Squares or circles?")) self.cboSymbol.setItemText(0, _translate("Biorec", "Atlas squares")) self.cboSymbol.setItemText(1, _translate("Biorec", "Atlas circles")) self.cboMapType.setToolTip(_translate("Biorec", "Type of map")) self.cboMapType.setItemText(0, _translate("Biorec", "Records as points")) self.cboMapType.setItemText( 1, _translate("Biorec", "Records as grid squares")) self.cboMapType.setItemText( 2, _translate("Biorec", "10 m atlas (8 fig gr)")) self.cboMapType.setItemText( 3, _translate("Biorec", "100 m atlas (6 fig gr)")) self.cboMapType.setItemText( 4, _translate("Biorec", "1 km atlas (monads)")) self.cboMapType.setItemText( 5, _translate("Biorec", "2 km atlas (tetrads)")) self.cboMapType.setItemText( 6, _translate("Biorec", "5 km atlas (quadrants)")) self.cboMapType.setItemText( 7, _translate("Biorec", "10 km atlas (hectads)")) self.cboMapType.setItemText( 8, _translate("Biorec", "User-defined atlas size:")) self.dsbGridSize.setToolTip( _translate( "Biorec", "<html><head/><body><p>Grid size for atlas - specify in units used by output CRS</p></body></html>" )) self.butMap.setToolTip(_translate("Biorec", "Create map layer")) self.butSaveImage.setToolTip( _translate( "Biorec", "Save temporary map layers as images or permanent layers")) self.butShowAll.setToolTip( _translate("Biorec", "Show all generated map layers")) self.butHideAll.setToolTip( _translate("Biorec", "Hide all generated map layers")) self.butRemoveMap.setToolTip( _translate("Biorec", "Remove last map layer")) self.butRemoveMaps.setToolTip( _translate("Biorec", "Remove all map layers")) self.butHelp.setToolTip( _translate( "Biorec", "<html><head/><body><p><span style=\" font-size:12pt;\">Get more information about this tool and help on using it. This links to a webpage with up-to-date information about the tool. </span></p></body></html>" )) self.butGithub.setToolTip( _translate( "Biorec", "<html><head/><body><p><span style=\" font-size:12pt; font-weight:600;\">Report an issue with this tool.</span><span style=\" font-size:12pt;\"> Using this channel is the best way to get attention quickly. Issues can be bug reports, enhancement requests or just questions. Anyone can view current issues, but to add a new issue you will need to sign up for a free Github account (very easy).</span></p></body></html>" ))
def setupUi(self, UserPlotDataImportDialog): UserPlotDataImportDialog.setObjectName("UserPlotDataImportDialog") UserPlotDataImportDialog.resize(684, 579) self.gridLayout_2 = QtWidgets.QGridLayout(UserPlotDataImportDialog) self.gridLayout_2.setObjectName("gridLayout_2") self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.textBrowser = QtWidgets.QTextBrowser(UserPlotDataImportDialog) self.textBrowser.setObjectName("textBrowser") self.verticalLayout.addWidget(self.textBrowser) self.gridLayout_2.addLayout(self.verticalLayout, 0, 1, 1, 1) self.verticalLayout_2 = QtWidgets.QVBoxLayout() self.verticalLayout_2.setObjectName("verticalLayout_2") self.label = QtWidgets.QLabel(UserPlotDataImportDialog) self.label.setObjectName("label") self.verticalLayout_2.addWidget(self.label) self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.btnBrowse = QtWidgets.QToolButton(UserPlotDataImportDialog) self.btnBrowse.setObjectName("btnBrowse") self.horizontalLayout_5.addWidget(self.btnBrowse) self.inFile = QtWidgets.QLineEdit(UserPlotDataImportDialog) self.inFile.setObjectName("inFile") self.horizontalLayout_5.addWidget(self.inFile) self.verticalLayout_2.addLayout(self.horizontalLayout_5) self.grouBox = QtWidgets.QGroupBox(UserPlotDataImportDialog) self.grouBox.setMinimumSize(QtCore.QSize(0, 50)) self.grouBox.setObjectName("grouBox") self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.grouBox) self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.rbCSV = QtWidgets.QRadioButton(self.grouBox) self.rbCSV.setChecked(True) self.rbCSV.setObjectName("rbCSV") self.bgDelimiter = QtWidgets.QButtonGroup(UserPlotDataImportDialog) self.bgDelimiter.setObjectName("bgDelimiter") self.bgDelimiter.addButton(self.rbCSV) self.horizontalLayout_6.addWidget(self.rbCSV) self.rbSpace = QtWidgets.QRadioButton(self.grouBox) self.rbSpace.setObjectName("rbSpace") self.bgDelimiter.addButton(self.rbSpace) self.horizontalLayout_6.addWidget(self.rbSpace) self.rbTab = QtWidgets.QRadioButton(self.grouBox) self.rbTab.setObjectName("rbTab") self.bgDelimiter.addButton(self.rbTab) self.horizontalLayout_6.addWidget(self.rbTab) self.rbOther = QtWidgets.QRadioButton(self.grouBox) self.rbOther.setObjectName("rbOther") self.bgDelimiter.addButton(self.rbOther) self.horizontalLayout_6.addWidget(self.rbOther) self.delimiter = QtWidgets.QLineEdit(self.grouBox) self.delimiter.setObjectName("delimiter") self.horizontalLayout_6.addWidget(self.delimiter) self.verticalLayout_2.addWidget(self.grouBox) spacerItem = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) self.verticalLayout_2.addItem(spacerItem) self.label_8 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_8.setObjectName("label_8") self.verticalLayout_2.addWidget(self.label_8) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label_6 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_6.setObjectName("label_6") self.horizontalLayout.addWidget(self.label_6) self.sbLines2Discard = QtWidgets.QSpinBox(UserPlotDataImportDialog) self.sbLines2Discard.setMinimumSize(QtCore.QSize(50, 0)) self.sbLines2Discard.setProperty("value", 1) self.sbLines2Discard.setObjectName("sbLines2Discard") self.horizontalLayout.addWidget(self.sbLines2Discard) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem1) self.verticalLayout_2.addLayout(self.horizontalLayout) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.cbHeadersAsLabels = QtWidgets.QCheckBox(UserPlotDataImportDialog) self.cbHeadersAsLabels.setChecked(True) self.cbHeadersAsLabels.setObjectName("cbHeadersAsLabels") self.horizontalLayout_2.addWidget(self.cbHeadersAsLabels) spacerItem2 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem2) self.label_7 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_7.setObjectName("label_7") self.horizontalLayout_2.addWidget(self.label_7) self.sbLabelRow = QtWidgets.QSpinBox(UserPlotDataImportDialog) self.sbLabelRow.setMinimumSize(QtCore.QSize(50, 0)) self.sbLabelRow.setMinimum(1) self.sbLabelRow.setProperty("value", 1) self.sbLabelRow.setObjectName("sbLabelRow") self.horizontalLayout_2.addWidget(self.sbLabelRow) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem3) self.verticalLayout_2.addLayout(self.horizontalLayout_2) spacerItem4 = QtWidgets.QSpacerItem(20, 15, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) self.verticalLayout_2.addItem(spacerItem4) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.label_2 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_2.setObjectName("label_2") self.horizontalLayout_3.addWidget(self.label_2) self.cbXColumn = QtWidgets.QComboBox(UserPlotDataImportDialog) self.cbXColumn.setMinimumSize(QtCore.QSize(125, 0)) self.cbXColumn.setEditable(True) self.cbXColumn.setObjectName("cbXColumn") self.horizontalLayout_3.addWidget(self.cbXColumn) spacerItem5 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem5) self.label_4 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_4.setObjectName("label_4") self.horizontalLayout_3.addWidget(self.label_4) self.mcbYColumn = TableCheckableComboBox(UserPlotDataImportDialog) self.mcbYColumn.setMinimumSize(QtCore.QSize(125, 0)) self.mcbYColumn.setEditable(True) self.mcbYColumn.setObjectName("mcbYColumn") self.horizontalLayout_3.addWidget(self.mcbYColumn) spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem6) self.verticalLayout_2.addLayout(self.horizontalLayout_3) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.label_3 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_3.setObjectName("label_3") self.horizontalLayout_4.addWidget(self.label_3) self.nullValue = QtWidgets.QLineEdit(UserPlotDataImportDialog) self.nullValue.setObjectName("nullValue") self.horizontalLayout_4.addWidget(self.nullValue) spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem7) self.verticalLayout_2.addLayout(self.horizontalLayout_4) spacerItem8 = QtWidgets.QSpacerItem(20, 15, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) self.verticalLayout_2.addItem(spacerItem8) self.gbUseDates = QgsCollapsibleGroupBox(UserPlotDataImportDialog) self.gbUseDates.setMinimumSize(QtCore.QSize(0, 0)) self.gbUseDates.setFlat(True) self.gbUseDates.setCheckable(True) self.gbUseDates.setChecked(False) self.gbUseDates.setCollapsed(False) self.gbUseDates.setSaveCollapsedState(False) self.gbUseDates.setObjectName("gbUseDates") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.gbUseDates) self.verticalLayout_3.setObjectName("verticalLayout_3") self.horizontalLayout_7 = QtWidgets.QHBoxLayout() self.horizontalLayout_7.setObjectName("horizontalLayout_7") self.cbUSDateFormat = QtWidgets.QCheckBox(self.gbUseDates) self.cbUSDateFormat.setObjectName("cbUSDateFormat") self.horizontalLayout_7.addWidget(self.cbUSDateFormat) self.verticalLayout_3.addLayout(self.horizontalLayout_7) self.horizontalLayout_9 = QtWidgets.QHBoxLayout() self.horizontalLayout_9.setObjectName("horizontalLayout_9") self.cbManualZeroTime = QtWidgets.QCheckBox(self.gbUseDates) self.cbManualZeroTime.setObjectName("cbManualZeroTime") self.horizontalLayout_9.addWidget(self.cbManualZeroTime) self.dteZeroTime = QtWidgets.QDateTimeEdit(self.gbUseDates) self.dteZeroTime.setCalendarPopup(True) self.dteZeroTime.setObjectName("dteZeroTime") self.horizontalLayout_9.addWidget(self.dteZeroTime) self.verticalLayout_3.addLayout(self.horizontalLayout_9) self.verticalLayout_2.addWidget(self.gbUseDates) self.label_5 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_5.setObjectName("label_5") self.verticalLayout_2.addWidget(self.label_5) self.previewTable = QtWidgets.QTableWidget(UserPlotDataImportDialog) self.previewTable.setObjectName("previewTable") self.previewTable.setColumnCount(0) self.previewTable.setRowCount(0) self.previewTable.horizontalHeader().setVisible(True) self.verticalLayout_2.addWidget(self.previewTable) self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 0, 1, 1) self.horizontalLayout_8 = QtWidgets.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") spacerItem9 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_8.addItem(spacerItem9) self.pbOk = QtWidgets.QPushButton(UserPlotDataImportDialog) self.pbOk.setObjectName("pbOk") self.horizontalLayout_8.addWidget(self.pbOk) self.pbCancel = QtWidgets.QPushButton(UserPlotDataImportDialog) self.pbCancel.setObjectName("pbCancel") self.horizontalLayout_8.addWidget(self.pbCancel) self.gridLayout_2.addLayout(self.horizontalLayout_8, 1, 0, 1, 2) self.gridLayout_2.setColumnStretch(0, 10) self.retranslateUi(UserPlotDataImportDialog) QtCore.QMetaObject.connectSlotsByName(UserPlotDataImportDialog)
class Ui_UserPlotDataImportDialog(object): def setupUi(self, UserPlotDataImportDialog): UserPlotDataImportDialog.setObjectName("UserPlotDataImportDialog") UserPlotDataImportDialog.resize(684, 579) self.gridLayout_2 = QtWidgets.QGridLayout(UserPlotDataImportDialog) self.gridLayout_2.setObjectName("gridLayout_2") self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.textBrowser = QtWidgets.QTextBrowser(UserPlotDataImportDialog) self.textBrowser.setObjectName("textBrowser") self.verticalLayout.addWidget(self.textBrowser) self.gridLayout_2.addLayout(self.verticalLayout, 0, 1, 1, 1) self.verticalLayout_2 = QtWidgets.QVBoxLayout() self.verticalLayout_2.setObjectName("verticalLayout_2") self.label = QtWidgets.QLabel(UserPlotDataImportDialog) self.label.setObjectName("label") self.verticalLayout_2.addWidget(self.label) self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.btnBrowse = QtWidgets.QToolButton(UserPlotDataImportDialog) self.btnBrowse.setObjectName("btnBrowse") self.horizontalLayout_5.addWidget(self.btnBrowse) self.inFile = QtWidgets.QLineEdit(UserPlotDataImportDialog) self.inFile.setObjectName("inFile") self.horizontalLayout_5.addWidget(self.inFile) self.verticalLayout_2.addLayout(self.horizontalLayout_5) self.grouBox = QtWidgets.QGroupBox(UserPlotDataImportDialog) self.grouBox.setMinimumSize(QtCore.QSize(0, 50)) self.grouBox.setObjectName("grouBox") self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.grouBox) self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.rbCSV = QtWidgets.QRadioButton(self.grouBox) self.rbCSV.setChecked(True) self.rbCSV.setObjectName("rbCSV") self.bgDelimiter = QtWidgets.QButtonGroup(UserPlotDataImportDialog) self.bgDelimiter.setObjectName("bgDelimiter") self.bgDelimiter.addButton(self.rbCSV) self.horizontalLayout_6.addWidget(self.rbCSV) self.rbSpace = QtWidgets.QRadioButton(self.grouBox) self.rbSpace.setObjectName("rbSpace") self.bgDelimiter.addButton(self.rbSpace) self.horizontalLayout_6.addWidget(self.rbSpace) self.rbTab = QtWidgets.QRadioButton(self.grouBox) self.rbTab.setObjectName("rbTab") self.bgDelimiter.addButton(self.rbTab) self.horizontalLayout_6.addWidget(self.rbTab) self.rbOther = QtWidgets.QRadioButton(self.grouBox) self.rbOther.setObjectName("rbOther") self.bgDelimiter.addButton(self.rbOther) self.horizontalLayout_6.addWidget(self.rbOther) self.delimiter = QtWidgets.QLineEdit(self.grouBox) self.delimiter.setObjectName("delimiter") self.horizontalLayout_6.addWidget(self.delimiter) self.verticalLayout_2.addWidget(self.grouBox) spacerItem = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) self.verticalLayout_2.addItem(spacerItem) self.label_8 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_8.setObjectName("label_8") self.verticalLayout_2.addWidget(self.label_8) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label_6 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_6.setObjectName("label_6") self.horizontalLayout.addWidget(self.label_6) self.sbLines2Discard = QtWidgets.QSpinBox(UserPlotDataImportDialog) self.sbLines2Discard.setMinimumSize(QtCore.QSize(50, 0)) self.sbLines2Discard.setProperty("value", 1) self.sbLines2Discard.setObjectName("sbLines2Discard") self.horizontalLayout.addWidget(self.sbLines2Discard) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem1) self.verticalLayout_2.addLayout(self.horizontalLayout) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.cbHeadersAsLabels = QtWidgets.QCheckBox(UserPlotDataImportDialog) self.cbHeadersAsLabels.setChecked(True) self.cbHeadersAsLabels.setObjectName("cbHeadersAsLabels") self.horizontalLayout_2.addWidget(self.cbHeadersAsLabels) spacerItem2 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem2) self.label_7 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_7.setObjectName("label_7") self.horizontalLayout_2.addWidget(self.label_7) self.sbLabelRow = QtWidgets.QSpinBox(UserPlotDataImportDialog) self.sbLabelRow.setMinimumSize(QtCore.QSize(50, 0)) self.sbLabelRow.setMinimum(1) self.sbLabelRow.setProperty("value", 1) self.sbLabelRow.setObjectName("sbLabelRow") self.horizontalLayout_2.addWidget(self.sbLabelRow) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem3) self.verticalLayout_2.addLayout(self.horizontalLayout_2) spacerItem4 = QtWidgets.QSpacerItem(20, 15, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) self.verticalLayout_2.addItem(spacerItem4) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.label_2 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_2.setObjectName("label_2") self.horizontalLayout_3.addWidget(self.label_2) self.cbXColumn = QtWidgets.QComboBox(UserPlotDataImportDialog) self.cbXColumn.setMinimumSize(QtCore.QSize(125, 0)) self.cbXColumn.setEditable(True) self.cbXColumn.setObjectName("cbXColumn") self.horizontalLayout_3.addWidget(self.cbXColumn) spacerItem5 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem5) self.label_4 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_4.setObjectName("label_4") self.horizontalLayout_3.addWidget(self.label_4) self.mcbYColumn = TableCheckableComboBox(UserPlotDataImportDialog) self.mcbYColumn.setMinimumSize(QtCore.QSize(125, 0)) self.mcbYColumn.setEditable(True) self.mcbYColumn.setObjectName("mcbYColumn") self.horizontalLayout_3.addWidget(self.mcbYColumn) spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem6) self.verticalLayout_2.addLayout(self.horizontalLayout_3) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.label_3 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_3.setObjectName("label_3") self.horizontalLayout_4.addWidget(self.label_3) self.nullValue = QtWidgets.QLineEdit(UserPlotDataImportDialog) self.nullValue.setObjectName("nullValue") self.horizontalLayout_4.addWidget(self.nullValue) spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem7) self.verticalLayout_2.addLayout(self.horizontalLayout_4) spacerItem8 = QtWidgets.QSpacerItem(20, 15, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) self.verticalLayout_2.addItem(spacerItem8) self.gbUseDates = QgsCollapsibleGroupBox(UserPlotDataImportDialog) self.gbUseDates.setMinimumSize(QtCore.QSize(0, 0)) self.gbUseDates.setFlat(True) self.gbUseDates.setCheckable(True) self.gbUseDates.setChecked(False) self.gbUseDates.setCollapsed(False) self.gbUseDates.setSaveCollapsedState(False) self.gbUseDates.setObjectName("gbUseDates") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.gbUseDates) self.verticalLayout_3.setObjectName("verticalLayout_3") self.horizontalLayout_7 = QtWidgets.QHBoxLayout() self.horizontalLayout_7.setObjectName("horizontalLayout_7") self.cbUSDateFormat = QtWidgets.QCheckBox(self.gbUseDates) self.cbUSDateFormat.setObjectName("cbUSDateFormat") self.horizontalLayout_7.addWidget(self.cbUSDateFormat) self.verticalLayout_3.addLayout(self.horizontalLayout_7) self.horizontalLayout_9 = QtWidgets.QHBoxLayout() self.horizontalLayout_9.setObjectName("horizontalLayout_9") self.cbManualZeroTime = QtWidgets.QCheckBox(self.gbUseDates) self.cbManualZeroTime.setObjectName("cbManualZeroTime") self.horizontalLayout_9.addWidget(self.cbManualZeroTime) self.dteZeroTime = QtWidgets.QDateTimeEdit(self.gbUseDates) self.dteZeroTime.setCalendarPopup(True) self.dteZeroTime.setObjectName("dteZeroTime") self.horizontalLayout_9.addWidget(self.dteZeroTime) self.verticalLayout_3.addLayout(self.horizontalLayout_9) self.verticalLayout_2.addWidget(self.gbUseDates) self.label_5 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_5.setObjectName("label_5") self.verticalLayout_2.addWidget(self.label_5) self.previewTable = QtWidgets.QTableWidget(UserPlotDataImportDialog) self.previewTable.setObjectName("previewTable") self.previewTable.setColumnCount(0) self.previewTable.setRowCount(0) self.previewTable.horizontalHeader().setVisible(True) self.verticalLayout_2.addWidget(self.previewTable) self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 0, 1, 1) self.horizontalLayout_8 = QtWidgets.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") spacerItem9 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_8.addItem(spacerItem9) self.pbOk = QtWidgets.QPushButton(UserPlotDataImportDialog) self.pbOk.setObjectName("pbOk") self.horizontalLayout_8.addWidget(self.pbOk) self.pbCancel = QtWidgets.QPushButton(UserPlotDataImportDialog) self.pbCancel.setObjectName("pbCancel") self.horizontalLayout_8.addWidget(self.pbCancel) self.gridLayout_2.addLayout(self.horizontalLayout_8, 1, 0, 1, 2) self.gridLayout_2.setColumnStretch(0, 10) self.retranslateUi(UserPlotDataImportDialog) QtCore.QMetaObject.connectSlotsByName(UserPlotDataImportDialog) def retranslateUi(self, UserPlotDataImportDialog): _translate = QtCore.QCoreApplication.translate UserPlotDataImportDialog.setWindowTitle(_translate("UserPlotDataImportDialog", "Import User Plot Data . . .")) self.textBrowser.setHtml(_translate("UserPlotDataImportDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">ToolTip</span></p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Converts a delimited text file (e.g. *.csv) into X, Y data to be plotted in TUFLOW Viewer.</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Delimeter File:</span> file containing plot data</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Delimited Format: </span>Character delimiting data</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Number of Header Lines to Discard: </span>The number of rows at the top of file to ignore</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">User Header Line as Data Labels: </span>Uses row values as labels for data series- can be changed later.</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">X Column: </span>Column containing X-Values</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Y Column: </span>Column containing Y-Values- can be multiple</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Null Value: </span>Value to be treated as null when plotting- blank values will always be treated as null</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">US date format: </span>If date format is in ambiguous 3 integer format e.g. 03/05/2000 the tool will assume day/month/year unless this check box is ticked and then it will assume month/day/year</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Manually Specify Zero Date Time: </span>Date for zero hour, if none specified will use first value.</p></body></html>")) self.label.setText(_translate("UserPlotDataImportDialog", "Delimited File")) self.btnBrowse.setText(_translate("UserPlotDataImportDialog", "...")) self.grouBox.setTitle(_translate("UserPlotDataImportDialog", "Delimited Format")) self.rbCSV.setText(_translate("UserPlotDataImportDialog", "CSV")) self.rbSpace.setText(_translate("UserPlotDataImportDialog", "Space")) self.rbTab.setText(_translate("UserPlotDataImportDialog", "Tab")) self.rbOther.setText(_translate("UserPlotDataImportDialog", "Other:")) self.label_8.setText(_translate("UserPlotDataImportDialog", "Header Rows")) self.label_6.setText(_translate("UserPlotDataImportDialog", "Number of Header Lines to Discard:")) self.cbHeadersAsLabels.setText(_translate("UserPlotDataImportDialog", "Use Header Line as Data Labels")) self.label_7.setText(_translate("UserPlotDataImportDialog", "Use Row:")) self.label_2.setText(_translate("UserPlotDataImportDialog", "X Column:")) self.label_4.setText(_translate("UserPlotDataImportDialog", "Y Column:")) self.label_3.setText(_translate("UserPlotDataImportDialog", "Null Value (optional)")) self.gbUseDates.setTitle(_translate("UserPlotDataImportDialog", "Convert From Date Format (only required if importing time as dates)")) self.cbUSDateFormat.setText(_translate("UserPlotDataImportDialog", "US date format i.e. uses month/day/year if ambiguous 3 integer date")) self.cbManualZeroTime.setText(_translate("UserPlotDataImportDialog", "Manually Specify Zero Date Time")) self.label_5.setText(_translate("UserPlotDataImportDialog", "Preview (First 10 Rows):")) self.pbOk.setText(_translate("UserPlotDataImportDialog", "OK")) self.pbCancel.setText(_translate("UserPlotDataImportDialog", "Cancel"))
def setupUi(self, IntegrityTool): IntegrityTool.setObjectName("IntegrityTool") IntegrityTool.resize(625, 814) self.dockWidgetContents = QtWidgets.QWidget() self.dockWidgetContents.setObjectName("dockWidgetContents") self.verticalLayout = QtWidgets.QVBoxLayout(self.dockWidgetContents) self.verticalLayout.setObjectName("verticalLayout") self.scrollArea = QtWidgets.QScrollArea(self.dockWidgetContents) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 588, 991)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents) self.verticalLayout_8.setObjectName("verticalLayout_8") self.gbLines = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.gbLines.setCollapsed(False) self.gbLines.setSaveCollapsedState(False) self.gbLines.setObjectName("gbLines") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.gbLines) self.verticalLayout_3.setObjectName("verticalLayout_3") self.InputLineLayout = QtWidgets.QVBoxLayout() self.InputLineLayout.setObjectName("InputLineLayout") self.label = QtWidgets.QLabel(self.gbLines) self.label.setObjectName("label") self.InputLineLayout.addWidget(self.label) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.browseInputLines = QtWidgets.QToolButton(self.gbLines) self.browseInputLines.setObjectName("browseInputLines") self.horizontalLayout.addWidget(self.browseInputLines) self.cboInputLines = QtWidgets.QComboBox(self.gbLines) self.cboInputLines.setEditable(True) self.cboInputLines.setObjectName("cboInputLines") self.horizontalLayout.addWidget(self.cboInputLines) self.btnAddLines = QtWidgets.QToolButton(self.gbLines) self.btnAddLines.setObjectName("btnAddLines") self.horizontalLayout.addWidget(self.btnAddLines) self.btnRemoveLines = QtWidgets.QToolButton(self.gbLines) self.btnRemoveLines.setObjectName("btnRemoveLines") self.horizontalLayout.addWidget(self.btnRemoveLines) self.InputLineLayout.addLayout(self.horizontalLayout) self.lwLines = QtWidgets.QListWidget(self.gbLines) self.lwLines.setMaximumSize(QtCore.QSize(16777215, 100)) self.lwLines.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection) self.lwLines.setObjectName("lwLines") self.InputLineLayout.addWidget(self.lwLines) self.verticalLayout_3.addLayout(self.InputLineLayout) spacerItem = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_3.addItem(spacerItem) self.verticalLayout_8.addWidget(self.gbLines) self.gbPoints = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.gbPoints.setCollapsed(True) self.gbPoints.setObjectName("gbPoints") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.gbPoints) self.verticalLayout_2.setObjectName("verticalLayout_2") self.InputPointLayout = QtWidgets.QVBoxLayout() self.InputPointLayout.setObjectName("InputPointLayout") self.label_2 = QtWidgets.QLabel(self.gbPoints) self.label_2.setObjectName("label_2") self.InputPointLayout.addWidget(self.label_2) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.browseInputPoints = QtWidgets.QToolButton(self.gbPoints) self.browseInputPoints.setObjectName("browseInputPoints") self.horizontalLayout_2.addWidget(self.browseInputPoints) self.cboInputPoints = QtWidgets.QComboBox(self.gbPoints) self.cboInputPoints.setEditable(True) self.cboInputPoints.setObjectName("cboInputPoints") self.horizontalLayout_2.addWidget(self.cboInputPoints) self.btnAddPoints = QtWidgets.QToolButton(self.gbPoints) self.btnAddPoints.setObjectName("btnAddPoints") self.horizontalLayout_2.addWidget(self.btnAddPoints) self.btnRemovePoints = QtWidgets.QToolButton(self.gbPoints) self.btnRemovePoints.setObjectName("btnRemovePoints") self.horizontalLayout_2.addWidget(self.btnRemovePoints) self.InputPointLayout.addLayout(self.horizontalLayout_2) self.lwPoints = QtWidgets.QListWidget(self.gbPoints) self.lwPoints.setMaximumSize(QtCore.QSize(16777215, 100)) self.lwPoints.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection) self.lwPoints.setObjectName("lwPoints") self.InputPointLayout.addWidget(self.lwPoints) self.verticalLayout_2.addLayout(self.InputPointLayout) spacerItem1 = QtWidgets.QSpacerItem(20, 42, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem1) self.verticalLayout_8.addWidget(self.gbPoints) self.gbTables = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.gbTables.setCollapsed(True) self.gbTables.setObjectName("gbTables") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.gbTables) self.verticalLayout_4.setObjectName("verticalLayout_4") self.InputTableLayout = QtWidgets.QVBoxLayout() self.InputTableLayout.setObjectName("InputTableLayout") self.label_3 = QtWidgets.QLabel(self.gbTables) self.label_3.setObjectName("label_3") self.InputTableLayout.addWidget(self.label_3) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.browseInputTables = QtWidgets.QToolButton(self.gbTables) self.browseInputTables.setObjectName("browseInputTables") self.horizontalLayout_3.addWidget(self.browseInputTables) self.cboInputTables = QtWidgets.QComboBox(self.gbTables) self.cboInputTables.setEditable(True) self.cboInputTables.setObjectName("cboInputTables") self.horizontalLayout_3.addWidget(self.cboInputTables) self.btnAddTables = QtWidgets.QToolButton(self.gbTables) self.btnAddTables.setObjectName("btnAddTables") self.horizontalLayout_3.addWidget(self.btnAddTables) self.btnRemoveTables = QtWidgets.QToolButton(self.gbTables) self.btnRemoveTables.setObjectName("btnRemoveTables") self.horizontalLayout_3.addWidget(self.btnRemoveTables) self.InputTableLayout.addLayout(self.horizontalLayout_3) self.lwTables = QtWidgets.QListWidget(self.gbTables) self.lwTables.setMaximumSize(QtCore.QSize(16777215, 100)) self.lwTables.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection) self.lwTables.setObjectName("lwTables") self.InputTableLayout.addWidget(self.lwTables) self.verticalLayout_4.addLayout(self.InputTableLayout) spacerItem2 = QtWidgets.QSpacerItem(20, 42, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_4.addItem(spacerItem2) self.verticalLayout_8.addWidget(self.gbTables) self.gbDem = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.gbDem.setCheckable(True) self.gbDem.setChecked(False) self.gbDem.setCollapsed(True) self.gbDem.setObjectName("gbDem") self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.gbDem) self.verticalLayout_10.setObjectName("verticalLayout_10") self.horizontalLayout_20 = QtWidgets.QHBoxLayout() self.horizontalLayout_20.setObjectName("horizontalLayout_20") self.label_11 = QtWidgets.QLabel(self.gbDem) self.label_11.setObjectName("label_11") self.horizontalLayout_20.addWidget(self.label_11) self.cboDem = QtWidgets.QComboBox(self.gbDem) self.cboDem.setMinimumSize(QtCore.QSize(150, 0)) self.cboDem.setObjectName("cboDem") self.horizontalLayout_20.addWidget(self.cboDem) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_20.addItem(spacerItem3) self.verticalLayout_10.addLayout(self.horizontalLayout_20) self.verticalLayout_8.addWidget(self.gbDem) self.tabWidget = QtWidgets.QTabWidget(self.scrollAreaWidgetContents) self.tabWidget.setObjectName("tabWidget") self.Snapping = QtWidgets.QWidget() self.Snapping.setObjectName("Snapping") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.Snapping) self.verticalLayout_5.setObjectName("verticalLayout_5") self.rbSnapping = QtWidgets.QRadioButton(self.Snapping) self.rbSnapping.setObjectName("rbSnapping") self.verticalLayout_5.addWidget(self.rbSnapping) self.label_5 = QtWidgets.QLabel(self.Snapping) self.label_5.setWordWrap(True) self.label_5.setObjectName("label_5") self.verticalLayout_5.addWidget(self.label_5) self.horizontalLayout_8 = QtWidgets.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") spacerItem4 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_8.addItem(spacerItem4) self.cbExclRadius = QtWidgets.QCheckBox(self.Snapping) self.cbExclRadius.setChecked(True) self.cbExclRadius.setObjectName("cbExclRadius") self.horizontalLayout_8.addWidget(self.cbExclRadius) self.verticalLayout_5.addLayout(self.horizontalLayout_8) self.horizontalLayout_22 = QtWidgets.QHBoxLayout() self.horizontalLayout_22.setObjectName("horizontalLayout_22") spacerItem5 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_22.addItem(spacerItem5) self.label_19 = QtWidgets.QLabel(self.Snapping) self.label_19.setWordWrap(True) self.label_19.setObjectName("label_19") self.horizontalLayout_22.addWidget(self.label_19) self.verticalLayout_5.addLayout(self.horizontalLayout_22) self.horizontalLayout_21 = QtWidgets.QHBoxLayout() self.horizontalLayout_21.setObjectName("horizontalLayout_21") spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_21.addItem(spacerItem6) self.sbExclRadius = QtWidgets.QDoubleSpinBox(self.Snapping) self.sbExclRadius.setDecimals(1) self.sbExclRadius.setMaximum(99999.0) self.sbExclRadius.setProperty("value", 10.0) self.sbExclRadius.setObjectName("sbExclRadius") self.horizontalLayout_21.addWidget(self.sbExclRadius) self.label_16 = QtWidgets.QLabel(self.Snapping) self.label_16.setObjectName("label_16") self.horizontalLayout_21.addWidget(self.label_16) spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_21.addItem(spacerItem7) self.verticalLayout_5.addLayout(self.horizontalLayout_21) self.horizontalLayout_7 = QtWidgets.QHBoxLayout() self.horizontalLayout_7.setObjectName("horizontalLayout_7") spacerItem8 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_7.addItem(spacerItem8) self.cbAutoSnap = QtWidgets.QCheckBox(self.Snapping) self.cbAutoSnap.setObjectName("cbAutoSnap") self.horizontalLayout_7.addWidget(self.cbAutoSnap) self.verticalLayout_5.addLayout(self.horizontalLayout_7) self.horizontalLayout_6 = QtWidgets.QHBoxLayout() self.horizontalLayout_6.setObjectName("horizontalLayout_6") spacerItem9 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_6.addItem(spacerItem9) self.sbAutoSnapSearchRadius = QtWidgets.QDoubleSpinBox(self.Snapping) self.sbAutoSnapSearchRadius.setDecimals(3) self.sbAutoSnapSearchRadius.setMinimum(0.001) self.sbAutoSnapSearchRadius.setMaximum(99999.0) self.sbAutoSnapSearchRadius.setProperty("value", 1.5) self.sbAutoSnapSearchRadius.setObjectName("sbAutoSnapSearchRadius") self.horizontalLayout_6.addWidget(self.sbAutoSnapSearchRadius) self.label_4 = QtWidgets.QLabel(self.Snapping) self.label_4.setEnabled(True) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.label_4.setFont(font) self.label_4.setObjectName("label_4") self.horizontalLayout_6.addWidget(self.label_4) spacerItem10 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_6.addItem(spacerItem10) self.verticalLayout_5.addLayout(self.horizontalLayout_6) spacerItem11 = QtWidgets.QSpacerItem(20, 396, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_5.addItem(spacerItem11) self.tabWidget.addTab(self.Snapping, "") self.PipeDirection = QtWidgets.QWidget() self.PipeDirection.setObjectName("PipeDirection") self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.PipeDirection) self.verticalLayout_6.setObjectName("verticalLayout_6") self.rbPipeDirection = QtWidgets.QRadioButton(self.PipeDirection) self.rbPipeDirection.setObjectName("rbPipeDirection") self.verticalLayout_6.addWidget(self.rbPipeDirection) self.label_6 = QtWidgets.QLabel(self.PipeDirection) self.label_6.setWordWrap(True) self.label_6.setObjectName("label_6") self.verticalLayout_6.addWidget(self.label_6) self.horizontalLayout_9 = QtWidgets.QHBoxLayout() self.horizontalLayout_9.setObjectName("horizontalLayout_9") spacerItem12 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_9.addItem(spacerItem12) self.cbBasedOnInverts = QtWidgets.QCheckBox(self.PipeDirection) self.cbBasedOnInverts.setObjectName("cbBasedOnInverts") self.horizontalLayout_9.addWidget(self.cbBasedOnInverts) self.verticalLayout_6.addLayout(self.horizontalLayout_9) self.horizontalLayout_10 = QtWidgets.QHBoxLayout() self.horizontalLayout_10.setObjectName("horizontalLayout_10") spacerItem13 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_10.addItem(spacerItem13) self.cbBasedOnContinuity = QtWidgets.QCheckBox(self.PipeDirection) self.cbBasedOnContinuity.setObjectName("cbBasedOnContinuity") self.horizontalLayout_10.addWidget(self.cbBasedOnContinuity) self.verticalLayout_6.addLayout(self.horizontalLayout_10) spacerItem14 = QtWidgets.QSpacerItem(20, 450, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_6.addItem(spacerItem14) self.tabWidget.addTab(self.PipeDirection, "") self.Continuity = QtWidgets.QWidget() self.Continuity.setObjectName("Continuity") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.Continuity) self.verticalLayout_7.setObjectName("verticalLayout_7") self.rbContinuity = QtWidgets.QRadioButton(self.Continuity) self.rbContinuity.setObjectName("rbContinuity") self.verticalLayout_7.addWidget(self.rbContinuity) self.label_12 = QtWidgets.QLabel(self.Continuity) self.label_12.setWordWrap(True) self.label_12.setObjectName("label_12") self.verticalLayout_7.addWidget(self.label_12) self.horizontalLayout_11 = QtWidgets.QHBoxLayout() self.horizontalLayout_11.setObjectName("horizontalLayout_11") spacerItem15 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_11.addItem(spacerItem15) self.cbContinuityArea = QtWidgets.QCheckBox(self.Continuity) self.cbContinuityArea.setObjectName("cbContinuityArea") self.horizontalLayout_11.addWidget(self.cbContinuityArea) self.verticalLayout_7.addLayout(self.horizontalLayout_11) self.gridLayout_7 = QtWidgets.QGridLayout() self.gridLayout_7.setObjectName("gridLayout_7") self.label_22 = QtWidgets.QLabel(self.Continuity) self.label_22.setWordWrap(True) self.label_22.setObjectName("label_22") self.gridLayout_7.addWidget(self.label_22, 0, 1, 1, 2) spacerItem16 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_7.addItem(spacerItem16, 1, 2, 1, 1) self.sbContinuityArea = QtWidgets.QSpinBox(self.Continuity) self.sbContinuityArea.setProperty("value", 20) self.sbContinuityArea.setObjectName("sbContinuityArea") self.gridLayout_7.addWidget(self.sbContinuityArea, 1, 1, 1, 1) spacerItem17 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_7.addItem(spacerItem17, 1, 0, 1, 1) self.verticalLayout_7.addLayout(self.gridLayout_7) self.horizontalLayout_12 = QtWidgets.QHBoxLayout() self.horizontalLayout_12.setObjectName("horizontalLayout_12") spacerItem18 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_12.addItem(spacerItem18) self.cbContinuityInverts = QtWidgets.QCheckBox(self.Continuity) self.cbContinuityInverts.setObjectName("cbContinuityInverts") self.horizontalLayout_12.addWidget(self.cbContinuityInverts) self.verticalLayout_7.addLayout(self.horizontalLayout_12) self.horizontalLayout_13 = QtWidgets.QHBoxLayout() self.horizontalLayout_13.setObjectName("horizontalLayout_13") spacerItem19 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_13.addItem(spacerItem19) self.cbContinuityAngle = QtWidgets.QCheckBox(self.Continuity) self.cbContinuityAngle.setObjectName("cbContinuityAngle") self.horizontalLayout_13.addWidget(self.cbContinuityAngle) self.verticalLayout_7.addLayout(self.horizontalLayout_13) self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") spacerItem20 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem20, 1, 2, 1, 1) self.sbContinuityAngle = QtWidgets.QSpinBox(self.Continuity) self.sbContinuityAngle.setMaximum(360) self.sbContinuityAngle.setProperty("value", 70) self.sbContinuityAngle.setObjectName("sbContinuityAngle") self.gridLayout.addWidget(self.sbContinuityAngle, 1, 1, 1, 1) spacerItem21 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem21, 0, 0, 1, 1) self.label_7 = QtWidgets.QLabel(self.Continuity) self.label_7.setObjectName("label_7") self.gridLayout.addWidget(self.label_7, 0, 1, 1, 2) self.verticalLayout_7.addLayout(self.gridLayout) self.horizontalLayout_14 = QtWidgets.QHBoxLayout() self.horizontalLayout_14.setObjectName("horizontalLayout_14") spacerItem22 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_14.addItem(spacerItem22) self.cbContinuityCover = QtWidgets.QCheckBox(self.Continuity) self.cbContinuityCover.setObjectName("cbContinuityCover") self.horizontalLayout_14.addWidget(self.cbContinuityCover) self.verticalLayout_7.addLayout(self.horizontalLayout_14) self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") spacerItem23 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem23, 0, 0, 1, 1) self.label_9 = QtWidgets.QLabel(self.Continuity) self.label_9.setObjectName("label_9") self.gridLayout_2.addWidget(self.label_9, 0, 1, 1, 2) self.sbContinuityCover = QtWidgets.QDoubleSpinBox(self.Continuity) self.sbContinuityCover.setDecimals(1) self.sbContinuityCover.setMaximum(9999999.0) self.sbContinuityCover.setProperty("value", 0.5) self.sbContinuityCover.setObjectName("sbContinuityCover") self.gridLayout_2.addWidget(self.sbContinuityCover, 1, 1, 1, 1) spacerItem24 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem24, 1, 2, 1, 1) self.verticalLayout_7.addLayout(self.gridLayout_2) spacerItem25 = QtWidgets.QSpacerItem(20, 286, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_7.addItem(spacerItem25) self.tabWidget.addTab(self.Continuity, "") self.FlowTrace = QtWidgets.QWidget() self.FlowTrace.setObjectName("FlowTrace") self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.FlowTrace) self.verticalLayout_9.setObjectName("verticalLayout_9") self.rbFlowTrace = QtWidgets.QRadioButton(self.FlowTrace) self.rbFlowTrace.setObjectName("rbFlowTrace") self.verticalLayout_9.addWidget(self.rbFlowTrace) self.label_18 = QtWidgets.QLabel(self.FlowTrace) self.label_18.setWordWrap(True) self.label_18.setObjectName("label_18") self.verticalLayout_9.addWidget(self.label_18) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") spacerItem26 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem26) self.cbFlowTraceArea = QtWidgets.QCheckBox(self.FlowTrace) self.cbFlowTraceArea.setObjectName("cbFlowTraceArea") self.horizontalLayout_4.addWidget(self.cbFlowTraceArea) self.verticalLayout_9.addLayout(self.horizontalLayout_4) self.gridLayout_6 = QtWidgets.QGridLayout() self.gridLayout_6.setObjectName("gridLayout_6") self.label_21 = QtWidgets.QLabel(self.FlowTrace) self.label_21.setWordWrap(True) self.label_21.setObjectName("label_21") self.gridLayout_6.addWidget(self.label_21, 0, 1, 1, 2) spacerItem27 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_6.addItem(spacerItem27, 1, 2, 1, 1) self.sbFlowTraceArea = QtWidgets.QSpinBox(self.FlowTrace) self.sbFlowTraceArea.setProperty("value", 20) self.sbFlowTraceArea.setObjectName("sbFlowTraceArea") self.gridLayout_6.addWidget(self.sbFlowTraceArea, 1, 1, 1, 1) spacerItem28 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_6.addItem(spacerItem28, 1, 0, 1, 1) self.verticalLayout_9.addLayout(self.gridLayout_6) self.horizontalLayout_17 = QtWidgets.QHBoxLayout() self.horizontalLayout_17.setObjectName("horizontalLayout_17") spacerItem29 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_17.addItem(spacerItem29) self.cbFlowTraceInverts = QtWidgets.QCheckBox(self.FlowTrace) self.cbFlowTraceInverts.setObjectName("cbFlowTraceInverts") self.horizontalLayout_17.addWidget(self.cbFlowTraceInverts) self.verticalLayout_9.addLayout(self.horizontalLayout_17) self.horizontalLayout_15 = QtWidgets.QHBoxLayout() self.horizontalLayout_15.setObjectName("horizontalLayout_15") spacerItem30 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_15.addItem(spacerItem30) self.cbFlowTraceAngle = QtWidgets.QCheckBox(self.FlowTrace) self.cbFlowTraceAngle.setObjectName("cbFlowTraceAngle") self.horizontalLayout_15.addWidget(self.cbFlowTraceAngle) self.verticalLayout_9.addLayout(self.horizontalLayout_15) self.gridLayout_3 = QtWidgets.QGridLayout() self.gridLayout_3.setObjectName("gridLayout_3") self.label_14 = QtWidgets.QLabel(self.FlowTrace) self.label_14.setObjectName("label_14") self.gridLayout_3.addWidget(self.label_14, 0, 1, 1, 2) spacerItem31 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem31, 1, 2, 1, 1) self.sbFlowTraceAngle = QtWidgets.QSpinBox(self.FlowTrace) self.sbFlowTraceAngle.setMaximum(360) self.sbFlowTraceAngle.setProperty("value", 70) self.sbFlowTraceAngle.setObjectName("sbFlowTraceAngle") self.gridLayout_3.addWidget(self.sbFlowTraceAngle, 1, 1, 1, 1) spacerItem32 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem32, 0, 0, 1, 1) self.verticalLayout_9.addLayout(self.gridLayout_3) self.horizontalLayout_16 = QtWidgets.QHBoxLayout() self.horizontalLayout_16.setObjectName("horizontalLayout_16") spacerItem33 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_16.addItem(spacerItem33) self.cbFlowTraceCover = QtWidgets.QCheckBox(self.FlowTrace) self.cbFlowTraceCover.setObjectName("cbFlowTraceCover") self.horizontalLayout_16.addWidget(self.cbFlowTraceCover) self.verticalLayout_9.addLayout(self.horizontalLayout_16) self.gridLayout_4 = QtWidgets.QGridLayout() self.gridLayout_4.setObjectName("gridLayout_4") self.label_17 = QtWidgets.QLabel(self.FlowTrace) self.label_17.setObjectName("label_17") self.gridLayout_4.addWidget(self.label_17, 0, 1, 1, 2) self.sbFlowTraceCover = QtWidgets.QDoubleSpinBox(self.FlowTrace) self.sbFlowTraceCover.setPrefix("") self.sbFlowTraceCover.setDecimals(1) self.sbFlowTraceCover.setMaximum(9999999.0) self.sbFlowTraceCover.setProperty("value", 0.5) self.sbFlowTraceCover.setObjectName("sbFlowTraceCover") self.gridLayout_4.addWidget(self.sbFlowTraceCover, 1, 1, 1, 1) spacerItem34 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_4.addItem(spacerItem34, 0, 0, 1, 1) spacerItem35 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_4.addItem(spacerItem35, 1, 2, 1, 1) self.verticalLayout_9.addLayout(self.gridLayout_4) self.horizontalLayout_19 = QtWidgets.QHBoxLayout() self.horizontalLayout_19.setObjectName("horizontalLayout_19") spacerItem36 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_19.addItem(spacerItem36) self.cbFlowTraceLongPlots = QtWidgets.QCheckBox(self.FlowTrace) self.cbFlowTraceLongPlots.setObjectName("cbFlowTraceLongPlots") self.horizontalLayout_19.addWidget(self.cbFlowTraceLongPlots) self.verticalLayout_9.addLayout(self.horizontalLayout_19) spacerItem37 = QtWidgets.QSpacerItem(20, 19, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_9.addItem(spacerItem37) self.tabWidget.addTab(self.FlowTrace, "") self.verticalLayout_8.addWidget(self.tabWidget) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout.addWidget(self.scrollArea) self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.progressBar = QtWidgets.QProgressBar(self.dockWidgetContents) self.progressBar.setProperty("value", 0) self.progressBar.setObjectName("progressBar") self.horizontalLayout_5.addWidget(self.progressBar) self.runStatus = QtWidgets.QLabel(self.dockWidgetContents) self.runStatus.setMinimumSize(QtCore.QSize(300, 0)) self.runStatus.setObjectName("runStatus") self.horizontalLayout_5.addWidget(self.runStatus) self.pbRun = QtWidgets.QPushButton(self.dockWidgetContents) self.pbRun.setObjectName("pbRun") self.horizontalLayout_5.addWidget(self.pbRun) self.verticalLayout.addLayout(self.horizontalLayout_5) IntegrityTool.setWidget(self.dockWidgetContents) self.retranslateUi(IntegrityTool) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(IntegrityTool)
class Ui_UserPlotDataImportDialog(object): def setupUi(self, UserPlotDataImportDialog): UserPlotDataImportDialog.setObjectName("UserPlotDataImportDialog") UserPlotDataImportDialog.resize(684, 579) self.gridLayout_2 = QtWidgets.QGridLayout(UserPlotDataImportDialog) self.gridLayout_2.setObjectName("gridLayout_2") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.mGroupBox = QgsCollapsibleGroupBox(UserPlotDataImportDialog) self.mGroupBox.setMinimumSize(QtCore.QSize(0, 0)) self.mGroupBox.setFlat(True) self.mGroupBox.setCheckable(False) self.mGroupBox.setCollapsed(True) self.mGroupBox.setSaveCollapsedState(False) self.mGroupBox.setObjectName("mGroupBox") self.gridLayout_4 = QtWidgets.QGridLayout(self.mGroupBox) self.gridLayout_4.setObjectName("gridLayout_4") self.label_9 = QtWidgets.QLabel(self.mGroupBox) self.label_9.setObjectName("label_9") self.gridLayout_4.addWidget(self.label_9, 0, 0, 1, 1) self.label_10 = QtWidgets.QLabel(self.mGroupBox) self.label_10.setObjectName("label_10") self.gridLayout_4.addWidget(self.label_10, 1, 0, 1, 1) self.dateFormat = QtWidgets.QLineEdit(self.mGroupBox) self.dateFormat.setObjectName("dateFormat") self.gridLayout_4.addWidget(self.dateFormat, 0, 1, 1, 1) self.zeroHourDate = QtWidgets.QLineEdit(self.mGroupBox) self.zeroHourDate.setObjectName("zeroHourDate") self.gridLayout_4.addWidget(self.zeroHourDate, 1, 1, 1, 1) self.gridLayout.addWidget(self.mGroupBox, 11, 0, 1, 5) spacerItem = QtWidgets.QSpacerItem(20, 15, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 10, 0, 1, 5) self.sbLines2Discard = QtWidgets.QSpinBox(UserPlotDataImportDialog) self.sbLines2Discard.setProperty("value", 1) self.sbLines2Discard.setObjectName("sbLines2Discard") self.gridLayout.addWidget(self.sbLines2Discard, 5, 3, 1, 1) self.label_2 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 8, 0, 1, 2) spacerItem1 = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem1, 3, 0, 1, 5) self.label_4 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_4.setObjectName("label_4") self.gridLayout.addWidget(self.label_4, 8, 3, 1, 1) self.label_6 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_6.setObjectName("label_6") self.gridLayout.addWidget(self.label_6, 5, 0, 1, 3) self.cbHeadersAsLabels = QtWidgets.QCheckBox(UserPlotDataImportDialog) self.cbHeadersAsLabels.setChecked(True) self.cbHeadersAsLabels.setObjectName("cbHeadersAsLabels") self.gridLayout.addWidget(self.cbHeadersAsLabels, 6, 0, 1, 3) self.label_8 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_8.setObjectName("label_8") self.gridLayout.addWidget(self.label_8, 4, 0, 1, 5) self.label = QtWidgets.QLabel(UserPlotDataImportDialog) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 0, 0, 1, 5) self.btnBrowse = QtWidgets.QToolButton(UserPlotDataImportDialog) self.btnBrowse.setObjectName("btnBrowse") self.gridLayout.addWidget(self.btnBrowse, 1, 0, 1, 1) self.label_5 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_5.setObjectName("label_5") self.gridLayout.addWidget(self.label_5, 12, 0, 1, 5) self.cbXColumn = QtWidgets.QComboBox(UserPlotDataImportDialog) self.cbXColumn.setMinimumSize(QtCore.QSize(125, 0)) self.cbXColumn.setEditable(True) self.cbXColumn.setObjectName("cbXColumn") self.gridLayout.addWidget(self.cbXColumn, 8, 2, 1, 1) self.mcbYColumn = QgsCheckableComboBox(UserPlotDataImportDialog) self.mcbYColumn.setMinimumSize(QtCore.QSize(125, 0)) self.mcbYColumn.setObjectName("mcbYColumn") self.gridLayout.addWidget(self.mcbYColumn, 8, 4, 1, 1) self.inFile = QtWidgets.QLineEdit(UserPlotDataImportDialog) self.inFile.setObjectName("inFile") self.gridLayout.addWidget(self.inFile, 1, 1, 1, 4) self.previewTable = QtWidgets.QTableWidget(UserPlotDataImportDialog) self.previewTable.setObjectName("previewTable") self.previewTable.setColumnCount(0) self.previewTable.setRowCount(0) self.previewTable.horizontalHeader().setVisible(True) self.gridLayout.addWidget(self.previewTable, 13, 0, 1, 5) self.label_7 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_7.setObjectName("label_7") self.gridLayout.addWidget(self.label_7, 6, 3, 1, 1) spacerItem2 = QtWidgets.QSpacerItem(20, 15, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem2, 7, 0, 1, 5) self.grouBox = QtWidgets.QGroupBox(UserPlotDataImportDialog) self.grouBox.setMinimumSize(QtCore.QSize(0, 50)) self.grouBox.setObjectName("grouBox") self.gridLayout_3 = QtWidgets.QGridLayout(self.grouBox) self.gridLayout_3.setObjectName("gridLayout_3") self.rbOther = QtWidgets.QRadioButton(self.grouBox) self.rbOther.setObjectName("rbOther") self.bgDelimiter = QtWidgets.QButtonGroup(UserPlotDataImportDialog) self.bgDelimiter.setObjectName("bgDelimiter") self.bgDelimiter.addButton(self.rbOther) self.gridLayout_3.addWidget(self.rbOther, 0, 3, 1, 1) self.rbTab = QtWidgets.QRadioButton(self.grouBox) self.rbTab.setObjectName("rbTab") self.bgDelimiter.addButton(self.rbTab) self.gridLayout_3.addWidget(self.rbTab, 0, 2, 1, 1) self.rbSpace = QtWidgets.QRadioButton(self.grouBox) self.rbSpace.setObjectName("rbSpace") self.bgDelimiter.addButton(self.rbSpace) self.gridLayout_3.addWidget(self.rbSpace, 0, 1, 1, 1) self.rbCSV = QtWidgets.QRadioButton(self.grouBox) self.rbCSV.setChecked(True) self.rbCSV.setObjectName("rbCSV") self.bgDelimiter.addButton(self.rbCSV) self.gridLayout_3.addWidget(self.rbCSV, 0, 0, 1, 1) self.delimiter = QtWidgets.QLineEdit(self.grouBox) self.delimiter.setObjectName("delimiter") self.gridLayout_3.addWidget(self.delimiter, 0, 4, 1, 1) self.gridLayout.addWidget(self.grouBox, 2, 0, 1, 5) self.sbLabelRow = QtWidgets.QSpinBox(UserPlotDataImportDialog) self.sbLabelRow.setMinimum(1) self.sbLabelRow.setProperty("value", 1) self.sbLabelRow.setObjectName("sbLabelRow") self.gridLayout.addWidget(self.sbLabelRow, 6, 4, 1, 1) self.label_3 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_3.setObjectName("label_3") self.gridLayout.addWidget(self.label_3, 9, 0, 1, 2) self.nullValue = QtWidgets.QLineEdit(UserPlotDataImportDialog) self.nullValue.setObjectName("nullValue") self.gridLayout.addWidget(self.nullValue, 9, 2, 1, 1) self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1) self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.textBrowser = QtWidgets.QTextBrowser(UserPlotDataImportDialog) self.textBrowser.setObjectName("textBrowser") self.verticalLayout.addWidget(self.textBrowser) self.gridLayout_2.addLayout(self.verticalLayout, 0, 1, 1, 1) self.buttonBox = QtWidgets.QDialogButtonBox(UserPlotDataImportDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setObjectName("buttonBox") self.gridLayout_2.addWidget(self.buttonBox, 1, 0, 1, 2) self.gridLayout_2.setColumnStretch(0, 10) self.gridLayout_2.setColumnStretch(1, 5) self.retranslateUi(UserPlotDataImportDialog) self.buttonBox.accepted.connect(UserPlotDataImportDialog.accept) self.buttonBox.rejected.connect(UserPlotDataImportDialog.reject) QtCore.QMetaObject.connectSlotsByName(UserPlotDataImportDialog) def retranslateUi(self, UserPlotDataImportDialog): _translate = QtCore.QCoreApplication.translate UserPlotDataImportDialog.setWindowTitle(_translate("UserPlotDataImportDialog", "Import User Plot Data . . .")) self.mGroupBox.setTitle(_translate("UserPlotDataImportDialog", "Convert From Date Format (only required if importing time as dates)")) self.label_9.setText(_translate("UserPlotDataImportDialog", "Input Format:")) self.label_10.setText(_translate("UserPlotDataImportDialog", "Zero Hour Date (DD/MM/YYYY* hh:mm:ss):")) self.label_2.setText(_translate("UserPlotDataImportDialog", "X Column:")) self.label_4.setText(_translate("UserPlotDataImportDialog", "Y Column:")) self.label_6.setText(_translate("UserPlotDataImportDialog", "Number of Header Lines to Discard:")) self.cbHeadersAsLabels.setText(_translate("UserPlotDataImportDialog", "Use Header Line as Data Labels")) self.label_8.setText(_translate("UserPlotDataImportDialog", "Header Rows")) self.label.setText(_translate("UserPlotDataImportDialog", "Delimited File")) self.btnBrowse.setText(_translate("UserPlotDataImportDialog", "...")) self.label_5.setText(_translate("UserPlotDataImportDialog", "Preview")) self.label_7.setText(_translate("UserPlotDataImportDialog", "Use Row: ")) self.grouBox.setTitle(_translate("UserPlotDataImportDialog", "Delimited Format")) self.rbOther.setText(_translate("UserPlotDataImportDialog", "Other:")) self.rbTab.setText(_translate("UserPlotDataImportDialog", "Tab")) self.rbSpace.setText(_translate("UserPlotDataImportDialog", "Space")) self.rbCSV.setText(_translate("UserPlotDataImportDialog", "CSV")) self.label_3.setText(_translate("UserPlotDataImportDialog", "Null Value (optional)")) self.textBrowser.setHtml(_translate("UserPlotDataImportDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">ToolTip</span></p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Converts a delimited text file (e.g. *.csv) into X, Y data to be plotted in TUFLOW Viewer.</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Delimeter File:</span> file containing plot data</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Delimited Format: </span>Character delimiting data</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Number of Header Lines to Discard: </span>The number of rows at the top of file to ignore</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">User Header Line as Data Labels: </span>Uses row values as labels for data series- can be changed later.</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">X Column: </span>Column containing X-Values</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Y Column: </span>Column containing Y-Values- can be multiple</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Null Value: </span>Value to be treated as null when plotting- blank values will always be treated as null</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Input Format: </span>Input date format- use capital \'D\' for days captial \'M\' for month capital \'Y\' for year lower \'h\' for hour lower \'m\' for minutes lower \'s\' for seconds. Use \'/\' \':\' \'-\' or space for separators e.g. DD/MM/YYYY hh:mm:ss</p>\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Zero Hour Date: </span>Date for zero hour, if none specified will use first value. Must be input in specified format (DD/MM/YYYY* hh:mm:ss) </p>\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">*number of Y depends on the input format - should be consistent</p></body></html>"))
def setupUi(self, QgsComposerItemWidgetBase): QgsComposerItemWidgetBase.setObjectName( _fromUtf8("QgsComposerItemWidgetBase")) QgsComposerItemWidgetBase.resize(290, 847) self.verticalLayout_2 = QtGui.QVBoxLayout(QgsComposerItemWidgetBase) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.mGeneralOptionsGroupBox = QgsCollapsibleGroupBoxBasic( QgsComposerItemWidgetBase) self.mGeneralOptionsGroupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.mGeneralOptionsGroupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mGeneralOptionsGroupBox.setProperty("collapsed", True) self.mGeneralOptionsGroupBox.setObjectName( _fromUtf8("mGeneralOptionsGroupBox")) self.verticalLayout = QtGui.QVBoxLayout(self.mGeneralOptionsGroupBox) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.gridLayout_3 = QtGui.QGridLayout() self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.mWidthLabel = QtGui.QLabel(self.mGeneralOptionsGroupBox) self.mWidthLabel.setObjectName(_fromUtf8("mWidthLabel")) self.gridLayout_3.addWidget(self.mWidthLabel, 3, 0, 1, 1) self.mXLabel = QtGui.QLabel(self.mGeneralOptionsGroupBox) self.mXLabel.setObjectName(_fromUtf8("mXLabel")) self.gridLayout_3.addWidget(self.mXLabel, 1, 0, 1, 1) self.mHeightLabel = QtGui.QLabel(self.mGeneralOptionsGroupBox) self.mHeightLabel.setObjectName(_fromUtf8("mHeightLabel")) self.gridLayout_3.addWidget(self.mHeightLabel, 4, 0, 1, 1) self.mYLabel = QtGui.QLabel(self.mGeneralOptionsGroupBox) self.mYLabel.setObjectName(_fromUtf8("mYLabel")) self.gridLayout_3.addWidget(self.mYLabel, 2, 0, 1, 1) self.mPageLabel = QtGui.QLabel(self.mGeneralOptionsGroupBox) self.mPageLabel.setObjectName(_fromUtf8("mPageLabel")) self.gridLayout_3.addWidget(self.mPageLabel, 0, 0, 1, 1) self.mXPositionDDBtn = QgsDataDefinedButton( self.mGeneralOptionsGroupBox) self.mXPositionDDBtn.setObjectName(_fromUtf8("mXPositionDDBtn")) self.gridLayout_3.addWidget(self.mXPositionDDBtn, 1, 3, 1, 1) self.mYPositionDDBtn = QgsDataDefinedButton( self.mGeneralOptionsGroupBox) self.mYPositionDDBtn.setObjectName(_fromUtf8("mYPositionDDBtn")) self.gridLayout_3.addWidget(self.mYPositionDDBtn, 2, 3, 1, 1) self.mWidthDDBtn = QgsDataDefinedButton(self.mGeneralOptionsGroupBox) self.mWidthDDBtn.setObjectName(_fromUtf8("mWidthDDBtn")) self.gridLayout_3.addWidget(self.mWidthDDBtn, 3, 3, 1, 1) self.mHeightDDBtn = QgsDataDefinedButton(self.mGeneralOptionsGroupBox) self.mHeightDDBtn.setObjectName(_fromUtf8("mHeightDDBtn")) self.gridLayout_3.addWidget(self.mHeightDDBtn, 4, 3, 1, 1) self.mPageSpinBox = QgsSpinBox(self.mGeneralOptionsGroupBox) self.mPageSpinBox.setMinimum(1) self.mPageSpinBox.setProperty("showClearButton", False) self.mPageSpinBox.setObjectName(_fromUtf8("mPageSpinBox")) self.gridLayout_3.addWidget(self.mPageSpinBox, 0, 1, 1, 3) self.mWidthSpin = QgsDoubleSpinBox(self.mGeneralOptionsGroupBox) self.mWidthSpin.setDecimals(3) self.mWidthSpin.setMaximum(9999999.0) self.mWidthSpin.setProperty("showClearButton", False) self.mWidthSpin.setObjectName(_fromUtf8("mWidthSpin")) self.gridLayout_3.addWidget(self.mWidthSpin, 3, 1, 1, 2) self.mHeightSpin = QgsDoubleSpinBox(self.mGeneralOptionsGroupBox) self.mHeightSpin.setDecimals(3) self.mHeightSpin.setMaximum(9999999.0) self.mHeightSpin.setProperty("showClearButton", False) self.mHeightSpin.setObjectName(_fromUtf8("mHeightSpin")) self.gridLayout_3.addWidget(self.mHeightSpin, 4, 1, 1, 2) self.mYPosSpin = QgsDoubleSpinBox(self.mGeneralOptionsGroupBox) self.mYPosSpin.setDecimals(3) self.mYPosSpin.setMinimum(-9999999.0) self.mYPosSpin.setMaximum(9999999.0) self.mYPosSpin.setProperty("showClearButton", False) self.mYPosSpin.setObjectName(_fromUtf8("mYPosSpin")) self.gridLayout_3.addWidget(self.mYPosSpin, 2, 1, 1, 2) self.mXPosSpin = QgsDoubleSpinBox(self.mGeneralOptionsGroupBox) self.mXPosSpin.setDecimals(3) self.mXPosSpin.setMinimum(-9999999.0) self.mXPosSpin.setMaximum(9999999.0) self.mXPosSpin.setProperty("showClearButton", False) self.mXPosSpin.setObjectName(_fromUtf8("mXPosSpin")) self.gridLayout_3.addWidget(self.mXPosSpin, 1, 1, 1, 2) self.gridLayout_3.setColumnStretch(1, 1) self.gridLayout_3.setColumnStretch(2, 1) self.gridLayout_3.setColumnStretch(3, 1) self.verticalLayout.addLayout(self.gridLayout_3) self.horizontalLayout_7 = QtGui.QHBoxLayout() self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.label_2 = QtGui.QLabel(self.mGeneralOptionsGroupBox) self.label_2.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignVCenter) self.label_2.setObjectName(_fromUtf8("label_2")) self.horizontalLayout_7.addWidget(self.label_2) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.mUpperMiddleCheckBox = QtGui.QCheckBox( self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mUpperMiddleCheckBox.sizePolicy().hasHeightForWidth()) self.mUpperMiddleCheckBox.setSizePolicy(sizePolicy) self.mUpperMiddleCheckBox.setText(_fromUtf8("")) self.mUpperMiddleCheckBox.setObjectName( _fromUtf8("mUpperMiddleCheckBox")) self.gridLayout.addWidget(self.mUpperMiddleCheckBox, 0, 1, 1, 1) self.mMiddleRightCheckBox = QtGui.QCheckBox( self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mMiddleRightCheckBox.sizePolicy().hasHeightForWidth()) self.mMiddleRightCheckBox.setSizePolicy(sizePolicy) self.mMiddleRightCheckBox.setText(_fromUtf8("")) self.mMiddleRightCheckBox.setObjectName( _fromUtf8("mMiddleRightCheckBox")) self.gridLayout.addWidget(self.mMiddleRightCheckBox, 1, 2, 1, 1) self.mMiddleCheckBox = QtGui.QCheckBox(self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mMiddleCheckBox.sizePolicy().hasHeightForWidth()) self.mMiddleCheckBox.setSizePolicy(sizePolicy) self.mMiddleCheckBox.setText(_fromUtf8("")) self.mMiddleCheckBox.setObjectName(_fromUtf8("mMiddleCheckBox")) self.gridLayout.addWidget(self.mMiddleCheckBox, 1, 1, 1, 1) self.mUpperRightCheckBox = QtGui.QCheckBox( self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mUpperRightCheckBox.sizePolicy().hasHeightForWidth()) self.mUpperRightCheckBox.setSizePolicy(sizePolicy) self.mUpperRightCheckBox.setText(_fromUtf8("")) self.mUpperRightCheckBox.setObjectName( _fromUtf8("mUpperRightCheckBox")) self.gridLayout.addWidget(self.mUpperRightCheckBox, 0, 2, 1, 1) self.mLowerMiddleCheckBox = QtGui.QCheckBox( self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mLowerMiddleCheckBox.sizePolicy().hasHeightForWidth()) self.mLowerMiddleCheckBox.setSizePolicy(sizePolicy) self.mLowerMiddleCheckBox.setText(_fromUtf8("")) self.mLowerMiddleCheckBox.setObjectName( _fromUtf8("mLowerMiddleCheckBox")) self.gridLayout.addWidget(self.mLowerMiddleCheckBox, 2, 1, 1, 1) self.mLowerRightCheckBox = QtGui.QCheckBox( self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mLowerRightCheckBox.sizePolicy().hasHeightForWidth()) self.mLowerRightCheckBox.setSizePolicy(sizePolicy) self.mLowerRightCheckBox.setText(_fromUtf8("")) self.mLowerRightCheckBox.setObjectName( _fromUtf8("mLowerRightCheckBox")) self.gridLayout.addWidget(self.mLowerRightCheckBox, 2, 2, 1, 1) self.mUpperLeftCheckBox = QtGui.QCheckBox(self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mUpperLeftCheckBox.sizePolicy().hasHeightForWidth()) self.mUpperLeftCheckBox.setSizePolicy(sizePolicy) self.mUpperLeftCheckBox.setText(_fromUtf8("")) self.mUpperLeftCheckBox.setObjectName(_fromUtf8("mUpperLeftCheckBox")) self.gridLayout.addWidget(self.mUpperLeftCheckBox, 0, 0, 1, 1) self.mLowerLeftCheckBox = QtGui.QCheckBox(self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mLowerLeftCheckBox.sizePolicy().hasHeightForWidth()) self.mLowerLeftCheckBox.setSizePolicy(sizePolicy) self.mLowerLeftCheckBox.setText(_fromUtf8("")) self.mLowerLeftCheckBox.setObjectName(_fromUtf8("mLowerLeftCheckBox")) self.gridLayout.addWidget(self.mLowerLeftCheckBox, 2, 0, 1, 1) self.mMiddleLeftCheckBox = QtGui.QCheckBox( self.mGeneralOptionsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mMiddleLeftCheckBox.sizePolicy().hasHeightForWidth()) self.mMiddleLeftCheckBox.setSizePolicy(sizePolicy) self.mMiddleLeftCheckBox.setText(_fromUtf8("")) self.mMiddleLeftCheckBox.setObjectName( _fromUtf8("mMiddleLeftCheckBox")) self.gridLayout.addWidget(self.mMiddleLeftCheckBox, 1, 0, 1, 1) self.horizontalLayout_7.addLayout(self.gridLayout) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_7.addItem(spacerItem) self.verticalLayout.addLayout(self.horizontalLayout_7) self.verticalLayout_2.addWidget(self.mGeneralOptionsGroupBox) self.mTransformsGroupBox = QgsCollapsibleGroupBoxBasic( QgsComposerItemWidgetBase) self.mTransformsGroupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.mTransformsGroupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mTransformsGroupBox.setProperty("collapsed", True) self.mTransformsGroupBox.setObjectName( _fromUtf8("mTransformsGroupBox")) self.gridLayout_5 = QtGui.QGridLayout(self.mTransformsGroupBox) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.label = QtGui.QLabel(self.mTransformsGroupBox) self.label.setObjectName(_fromUtf8("label")) self.gridLayout_5.addWidget(self.label, 0, 0, 1, 1) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.mItemRotationSpinBox = QgsDoubleSpinBox(self.mTransformsGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mItemRotationSpinBox.sizePolicy().hasHeightForWidth()) self.mItemRotationSpinBox.setSizePolicy(sizePolicy) self.mItemRotationSpinBox.setMaximum(360.0) self.mItemRotationSpinBox.setObjectName( _fromUtf8("mItemRotationSpinBox")) self.horizontalLayout_4.addWidget(self.mItemRotationSpinBox) self.mItemRotationDDBtn = QgsDataDefinedButton( self.mTransformsGroupBox) self.mItemRotationDDBtn.setObjectName(_fromUtf8("mItemRotationDDBtn")) self.horizontalLayout_4.addWidget(self.mItemRotationDDBtn) self.gridLayout_5.addLayout(self.horizontalLayout_4, 0, 1, 1, 1) self.gridLayout_5.setColumnStretch(1, 1) self.verticalLayout_2.addWidget(self.mTransformsGroupBox) self.mFrameGroupBox = QgsCollapsibleGroupBoxBasic( QgsComposerItemWidgetBase) self.mFrameGroupBox.setCheckable(True) self.mFrameGroupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mFrameGroupBox.setProperty("collapsed", True) self.mFrameGroupBox.setObjectName(_fromUtf8("mFrameGroupBox")) self.gridLayout_6 = QtGui.QGridLayout(self.mFrameGroupBox) self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) self.label_3 = QtGui.QLabel(self.mFrameGroupBox) self.label_3.setObjectName(_fromUtf8("label_3")) self.gridLayout_6.addWidget(self.label_3, 0, 0, 1, 1) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.mFrameColorButton = QgsColorButtonV2(self.mFrameGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mFrameColorButton.sizePolicy().hasHeightForWidth()) self.mFrameColorButton.setSizePolicy(sizePolicy) self.mFrameColorButton.setMinimumSize(QtCore.QSize(120, 0)) self.mFrameColorButton.setMaximumSize(QtCore.QSize(120, 16777215)) self.mFrameColorButton.setText(_fromUtf8("")) self.mFrameColorButton.setObjectName(_fromUtf8("mFrameColorButton")) self.horizontalLayout_6.addWidget(self.mFrameColorButton) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_6.addItem(spacerItem1) self.gridLayout_6.addLayout(self.horizontalLayout_6, 0, 1, 1, 1) self.mOutlineWidthLabel = QtGui.QLabel(self.mFrameGroupBox) self.mOutlineWidthLabel.setWordWrap(True) self.mOutlineWidthLabel.setObjectName(_fromUtf8("mOutlineWidthLabel")) self.gridLayout_6.addWidget(self.mOutlineWidthLabel, 1, 0, 1, 1) self.mOutlineWidthSpinBox = QgsDoubleSpinBox(self.mFrameGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mOutlineWidthSpinBox.sizePolicy().hasHeightForWidth()) self.mOutlineWidthSpinBox.setSizePolicy(sizePolicy) self.mOutlineWidthSpinBox.setSingleStep(0.1) self.mOutlineWidthSpinBox.setProperty("showClearButton", False) self.mOutlineWidthSpinBox.setObjectName( _fromUtf8("mOutlineWidthSpinBox")) self.gridLayout_6.addWidget(self.mOutlineWidthSpinBox, 1, 1, 1, 1) self.label_8 = QtGui.QLabel(self.mFrameGroupBox) self.label_8.setObjectName(_fromUtf8("label_8")) self.gridLayout_6.addWidget(self.label_8, 2, 0, 1, 1) self.mFrameJoinStyleCombo = QgsPenJoinStyleComboBox( self.mFrameGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mFrameJoinStyleCombo.sizePolicy().hasHeightForWidth()) self.mFrameJoinStyleCombo.setSizePolicy(sizePolicy) self.mFrameJoinStyleCombo.setObjectName( _fromUtf8("mFrameJoinStyleCombo")) self.gridLayout_6.addWidget(self.mFrameJoinStyleCombo, 2, 1, 1, 1) self.verticalLayout_2.addWidget(self.mFrameGroupBox) self.mBackgroundGroupBox = QgsCollapsibleGroupBoxBasic( QgsComposerItemWidgetBase) self.mBackgroundGroupBox.setCheckable(True) self.mBackgroundGroupBox.setChecked(True) self.mBackgroundGroupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.mBackgroundGroupBox.setProperty("collapsed", True) self.mBackgroundGroupBox.setObjectName( _fromUtf8("mBackgroundGroupBox")) self.gridLayout_7 = QtGui.QGridLayout(self.mBackgroundGroupBox) self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7")) self.label_4 = QtGui.QLabel(self.mBackgroundGroupBox) self.label_4.setObjectName(_fromUtf8("label_4")) self.gridLayout_7.addWidget(self.label_4, 0, 0, 1, 1) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.mBackgroundColorButton = QgsColorButtonV2( self.mBackgroundGroupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.mBackgroundColorButton.sizePolicy().hasHeightForWidth()) self.mBackgroundColorButton.setSizePolicy(sizePolicy) self.mBackgroundColorButton.setMinimumSize(QtCore.QSize(120, 0)) self.mBackgroundColorButton.setMaximumSize(QtCore.QSize(120, 16777215)) self.mBackgroundColorButton.setText(_fromUtf8("")) self.mBackgroundColorButton.setObjectName( _fromUtf8("mBackgroundColorButton")) self.horizontalLayout_5.addWidget(self.mBackgroundColorButton) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem2) self.gridLayout_7.addLayout(self.horizontalLayout_5, 0, 1, 1, 1) self.verticalLayout_2.addWidget(self.mBackgroundGroupBox) self.groupBox = QgsCollapsibleGroupBoxBasic(QgsComposerItemWidgetBase) self.groupBox.setFocusPolicy(QtCore.Qt.StrongFocus) self.groupBox.setProperty("syncGroup", _fromUtf8("composeritem")) self.groupBox.setProperty("collapsed", True) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout_8 = QtGui.QGridLayout(self.groupBox) self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8")) self.mItemIdLabel = QtGui.QLabel(self.groupBox) self.mItemIdLabel.setObjectName(_fromUtf8("mItemIdLabel")) self.gridLayout_8.addWidget(self.mItemIdLabel, 0, 0, 1, 1) self.mItemIdLineEdit = QtGui.QLineEdit(self.groupBox) self.mItemIdLineEdit.setObjectName(_fromUtf8("mItemIdLineEdit")) self.gridLayout_8.addWidget(self.mItemIdLineEdit, 0, 1, 1, 1) self.verticalLayout_2.addWidget(self.groupBox) self.groupRendering = QgsCollapsibleGroupBoxBasic( QgsComposerItemWidgetBase) self.groupRendering.setFocusPolicy(QtCore.Qt.StrongFocus) self.groupRendering.setProperty("collapsed", True) self.groupRendering.setProperty("syncGroup", _fromUtf8("composeritem")) self.groupRendering.setObjectName(_fromUtf8("groupRendering")) self.gridLayout_4 = QtGui.QGridLayout(self.groupRendering) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.labelBlendMode = QtGui.QLabel(self.groupRendering) self.labelBlendMode.setObjectName(_fromUtf8("labelBlendMode")) self.gridLayout_4.addWidget(self.labelBlendMode, 0, 0, 1, 1) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.mBlendModeCombo = QgsBlendModeComboBox(self.groupRendering) self.mBlendModeCombo.setObjectName(_fromUtf8("mBlendModeCombo")) self.horizontalLayout_3.addWidget(self.mBlendModeCombo) self.mBlendModeDDBtn = QgsDataDefinedButton(self.groupRendering) self.mBlendModeDDBtn.setObjectName(_fromUtf8("mBlendModeDDBtn")) self.horizontalLayout_3.addWidget(self.mBlendModeDDBtn) self.gridLayout_4.addLayout(self.horizontalLayout_3, 0, 1, 1, 1) self.labelTransparency = QtGui.QLabel(self.groupRendering) self.labelTransparency.setObjectName(_fromUtf8("labelTransparency")) self.gridLayout_4.addWidget(self.labelTransparency, 1, 0, 1, 1) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.mTransparencySlider = QtGui.QSlider(self.groupRendering) self.mTransparencySlider.setMaximum(100) self.mTransparencySlider.setOrientation(QtCore.Qt.Horizontal) self.mTransparencySlider.setObjectName( _fromUtf8("mTransparencySlider")) self.horizontalLayout_2.addWidget(self.mTransparencySlider) self.mTransparencySpnBx = QgsSpinBox(self.groupRendering) self.mTransparencySpnBx.setMinimumSize(QtCore.QSize(80, 25)) self.mTransparencySpnBx.setMaximum(100) self.mTransparencySpnBx.setObjectName(_fromUtf8("mTransparencySpnBx")) self.horizontalLayout_2.addWidget(self.mTransparencySpnBx) self.mTransparencyDDBtn = QgsDataDefinedButton(self.groupRendering) self.mTransparencyDDBtn.setObjectName(_fromUtf8("mTransparencyDDBtn")) self.horizontalLayout_2.addWidget(self.mTransparencyDDBtn) self.gridLayout_4.addLayout(self.horizontalLayout_2, 1, 1, 1, 1) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.mExcludeFromPrintsCheckBox = QtGui.QCheckBox(self.groupRendering) self.mExcludeFromPrintsCheckBox.setObjectName( _fromUtf8("mExcludeFromPrintsCheckBox")) self.horizontalLayout.addWidget(self.mExcludeFromPrintsCheckBox) self.mExcludePrintsDDBtn = QgsDataDefinedButton(self.groupRendering) self.mExcludePrintsDDBtn.setObjectName( _fromUtf8("mExcludePrintsDDBtn")) self.horizontalLayout.addWidget(self.mExcludePrintsDDBtn) self.gridLayout_4.addLayout(self.horizontalLayout, 2, 0, 1, 2) self.verticalLayout_2.addWidget(self.groupRendering) self.groupBox_3 = QgsCollapsibleGroupBox(QgsComposerItemWidgetBase) self.groupBox_3.setObjectName(_fromUtf8("groupBox_3")) self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBox_3) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.mVariableEditor = QgsVariableEditorWidget(self.groupBox_3) self.mVariableEditor.setMinimumSize(QtCore.QSize(0, 200)) self.mVariableEditor.setObjectName(_fromUtf8("mVariableEditor")) self.verticalLayout_4.addWidget(self.mVariableEditor) self.verticalLayout_2.addWidget(self.groupBox_3) spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.MinimumExpanding) self.verticalLayout_2.addItem(spacerItem3) self.mOutlineWidthLabel.setBuddy(self.mOutlineWidthSpinBox) self.retranslateUi(QgsComposerItemWidgetBase) QtCore.QMetaObject.connectSlotsByName(QgsComposerItemWidgetBase) QgsComposerItemWidgetBase.setTabOrder(self.mGeneralOptionsGroupBox, self.mPageSpinBox) QgsComposerItemWidgetBase.setTabOrder(self.mPageSpinBox, self.mXPosSpin) QgsComposerItemWidgetBase.setTabOrder(self.mXPosSpin, self.mXPositionDDBtn) QgsComposerItemWidgetBase.setTabOrder(self.mXPositionDDBtn, self.mYPosSpin) QgsComposerItemWidgetBase.setTabOrder(self.mYPosSpin, self.mYPositionDDBtn) QgsComposerItemWidgetBase.setTabOrder(self.mYPositionDDBtn, self.mWidthSpin) QgsComposerItemWidgetBase.setTabOrder(self.mWidthSpin, self.mWidthDDBtn) QgsComposerItemWidgetBase.setTabOrder(self.mWidthDDBtn, self.mHeightSpin) QgsComposerItemWidgetBase.setTabOrder(self.mHeightSpin, self.mHeightDDBtn) QgsComposerItemWidgetBase.setTabOrder(self.mHeightDDBtn, self.mUpperLeftCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mUpperLeftCheckBox, self.mUpperMiddleCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mUpperMiddleCheckBox, self.mUpperRightCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mUpperRightCheckBox, self.mMiddleLeftCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mMiddleLeftCheckBox, self.mMiddleCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mMiddleCheckBox, self.mMiddleRightCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mMiddleRightCheckBox, self.mLowerLeftCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mLowerLeftCheckBox, self.mLowerMiddleCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mLowerMiddleCheckBox, self.mLowerRightCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mLowerRightCheckBox, self.mTransformsGroupBox) QgsComposerItemWidgetBase.setTabOrder(self.mTransformsGroupBox, self.mItemRotationSpinBox) QgsComposerItemWidgetBase.setTabOrder(self.mItemRotationSpinBox, self.mItemRotationDDBtn) QgsComposerItemWidgetBase.setTabOrder(self.mItemRotationDDBtn, self.mFrameGroupBox) QgsComposerItemWidgetBase.setTabOrder(self.mFrameGroupBox, self.mFrameColorButton) QgsComposerItemWidgetBase.setTabOrder(self.mFrameColorButton, self.mOutlineWidthSpinBox) QgsComposerItemWidgetBase.setTabOrder(self.mOutlineWidthSpinBox, self.mFrameJoinStyleCombo) QgsComposerItemWidgetBase.setTabOrder(self.mFrameJoinStyleCombo, self.mBackgroundGroupBox) QgsComposerItemWidgetBase.setTabOrder(self.mBackgroundGroupBox, self.mBackgroundColorButton) QgsComposerItemWidgetBase.setTabOrder(self.mBackgroundColorButton, self.groupBox) QgsComposerItemWidgetBase.setTabOrder(self.groupBox, self.mItemIdLineEdit) QgsComposerItemWidgetBase.setTabOrder(self.mItemIdLineEdit, self.groupRendering) QgsComposerItemWidgetBase.setTabOrder(self.groupRendering, self.mBlendModeCombo) QgsComposerItemWidgetBase.setTabOrder(self.mBlendModeCombo, self.mBlendModeDDBtn) QgsComposerItemWidgetBase.setTabOrder(self.mBlendModeDDBtn, self.mTransparencySlider) QgsComposerItemWidgetBase.setTabOrder(self.mTransparencySlider, self.mTransparencySpnBx) QgsComposerItemWidgetBase.setTabOrder(self.mTransparencySpnBx, self.mTransparencyDDBtn) QgsComposerItemWidgetBase.setTabOrder(self.mTransparencyDDBtn, self.mExcludeFromPrintsCheckBox) QgsComposerItemWidgetBase.setTabOrder(self.mExcludeFromPrintsCheckBox, self.mExcludePrintsDDBtn)
def setupUi(self, UserPlotDataImportDialog): UserPlotDataImportDialog.setObjectName("UserPlotDataImportDialog") UserPlotDataImportDialog.resize(684, 579) self.gridLayout_2 = QtWidgets.QGridLayout(UserPlotDataImportDialog) self.gridLayout_2.setObjectName("gridLayout_2") self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.mGroupBox = QgsCollapsibleGroupBox(UserPlotDataImportDialog) self.mGroupBox.setMinimumSize(QtCore.QSize(0, 0)) self.mGroupBox.setFlat(True) self.mGroupBox.setCheckable(False) self.mGroupBox.setCollapsed(True) self.mGroupBox.setSaveCollapsedState(False) self.mGroupBox.setObjectName("mGroupBox") self.gridLayout_4 = QtWidgets.QGridLayout(self.mGroupBox) self.gridLayout_4.setObjectName("gridLayout_4") self.label_9 = QtWidgets.QLabel(self.mGroupBox) self.label_9.setObjectName("label_9") self.gridLayout_4.addWidget(self.label_9, 0, 0, 1, 1) self.label_10 = QtWidgets.QLabel(self.mGroupBox) self.label_10.setObjectName("label_10") self.gridLayout_4.addWidget(self.label_10, 1, 0, 1, 1) self.dateFormat = QtWidgets.QLineEdit(self.mGroupBox) self.dateFormat.setObjectName("dateFormat") self.gridLayout_4.addWidget(self.dateFormat, 0, 1, 1, 1) self.zeroHourDate = QtWidgets.QLineEdit(self.mGroupBox) self.zeroHourDate.setObjectName("zeroHourDate") self.gridLayout_4.addWidget(self.zeroHourDate, 1, 1, 1, 1) self.gridLayout.addWidget(self.mGroupBox, 11, 0, 1, 5) spacerItem = QtWidgets.QSpacerItem(20, 15, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 10, 0, 1, 5) self.sbLines2Discard = QtWidgets.QSpinBox(UserPlotDataImportDialog) self.sbLines2Discard.setProperty("value", 1) self.sbLines2Discard.setObjectName("sbLines2Discard") self.gridLayout.addWidget(self.sbLines2Discard, 5, 3, 1, 1) self.label_2 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 8, 0, 1, 2) spacerItem1 = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem1, 3, 0, 1, 5) self.label_4 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_4.setObjectName("label_4") self.gridLayout.addWidget(self.label_4, 8, 3, 1, 1) self.label_6 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_6.setObjectName("label_6") self.gridLayout.addWidget(self.label_6, 5, 0, 1, 3) self.cbHeadersAsLabels = QtWidgets.QCheckBox(UserPlotDataImportDialog) self.cbHeadersAsLabels.setChecked(True) self.cbHeadersAsLabels.setObjectName("cbHeadersAsLabels") self.gridLayout.addWidget(self.cbHeadersAsLabels, 6, 0, 1, 3) self.label_8 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_8.setObjectName("label_8") self.gridLayout.addWidget(self.label_8, 4, 0, 1, 5) self.label = QtWidgets.QLabel(UserPlotDataImportDialog) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 0, 0, 1, 5) self.btnBrowse = QtWidgets.QToolButton(UserPlotDataImportDialog) self.btnBrowse.setObjectName("btnBrowse") self.gridLayout.addWidget(self.btnBrowse, 1, 0, 1, 1) self.label_5 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_5.setObjectName("label_5") self.gridLayout.addWidget(self.label_5, 12, 0, 1, 5) self.cbXColumn = QtWidgets.QComboBox(UserPlotDataImportDialog) self.cbXColumn.setMinimumSize(QtCore.QSize(125, 0)) self.cbXColumn.setEditable(True) self.cbXColumn.setObjectName("cbXColumn") self.gridLayout.addWidget(self.cbXColumn, 8, 2, 1, 1) self.mcbYColumn = QgsCheckableComboBox(UserPlotDataImportDialog) self.mcbYColumn.setMinimumSize(QtCore.QSize(125, 0)) self.mcbYColumn.setObjectName("mcbYColumn") self.gridLayout.addWidget(self.mcbYColumn, 8, 4, 1, 1) self.inFile = QtWidgets.QLineEdit(UserPlotDataImportDialog) self.inFile.setObjectName("inFile") self.gridLayout.addWidget(self.inFile, 1, 1, 1, 4) self.previewTable = QtWidgets.QTableWidget(UserPlotDataImportDialog) self.previewTable.setObjectName("previewTable") self.previewTable.setColumnCount(0) self.previewTable.setRowCount(0) self.previewTable.horizontalHeader().setVisible(True) self.gridLayout.addWidget(self.previewTable, 13, 0, 1, 5) self.label_7 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_7.setObjectName("label_7") self.gridLayout.addWidget(self.label_7, 6, 3, 1, 1) spacerItem2 = QtWidgets.QSpacerItem(20, 15, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem2, 7, 0, 1, 5) self.grouBox = QtWidgets.QGroupBox(UserPlotDataImportDialog) self.grouBox.setMinimumSize(QtCore.QSize(0, 50)) self.grouBox.setObjectName("grouBox") self.gridLayout_3 = QtWidgets.QGridLayout(self.grouBox) self.gridLayout_3.setObjectName("gridLayout_3") self.rbOther = QtWidgets.QRadioButton(self.grouBox) self.rbOther.setObjectName("rbOther") self.bgDelimiter = QtWidgets.QButtonGroup(UserPlotDataImportDialog) self.bgDelimiter.setObjectName("bgDelimiter") self.bgDelimiter.addButton(self.rbOther) self.gridLayout_3.addWidget(self.rbOther, 0, 3, 1, 1) self.rbTab = QtWidgets.QRadioButton(self.grouBox) self.rbTab.setObjectName("rbTab") self.bgDelimiter.addButton(self.rbTab) self.gridLayout_3.addWidget(self.rbTab, 0, 2, 1, 1) self.rbSpace = QtWidgets.QRadioButton(self.grouBox) self.rbSpace.setObjectName("rbSpace") self.bgDelimiter.addButton(self.rbSpace) self.gridLayout_3.addWidget(self.rbSpace, 0, 1, 1, 1) self.rbCSV = QtWidgets.QRadioButton(self.grouBox) self.rbCSV.setChecked(True) self.rbCSV.setObjectName("rbCSV") self.bgDelimiter.addButton(self.rbCSV) self.gridLayout_3.addWidget(self.rbCSV, 0, 0, 1, 1) self.delimiter = QtWidgets.QLineEdit(self.grouBox) self.delimiter.setObjectName("delimiter") self.gridLayout_3.addWidget(self.delimiter, 0, 4, 1, 1) self.gridLayout.addWidget(self.grouBox, 2, 0, 1, 5) self.sbLabelRow = QtWidgets.QSpinBox(UserPlotDataImportDialog) self.sbLabelRow.setMinimum(1) self.sbLabelRow.setProperty("value", 1) self.sbLabelRow.setObjectName("sbLabelRow") self.gridLayout.addWidget(self.sbLabelRow, 6, 4, 1, 1) self.label_3 = QtWidgets.QLabel(UserPlotDataImportDialog) self.label_3.setObjectName("label_3") self.gridLayout.addWidget(self.label_3, 9, 0, 1, 2) self.nullValue = QtWidgets.QLineEdit(UserPlotDataImportDialog) self.nullValue.setObjectName("nullValue") self.gridLayout.addWidget(self.nullValue, 9, 2, 1, 1) self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1) self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.textBrowser = QtWidgets.QTextBrowser(UserPlotDataImportDialog) self.textBrowser.setObjectName("textBrowser") self.verticalLayout.addWidget(self.textBrowser) self.gridLayout_2.addLayout(self.verticalLayout, 0, 1, 1, 1) self.buttonBox = QtWidgets.QDialogButtonBox(UserPlotDataImportDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setObjectName("buttonBox") self.gridLayout_2.addWidget(self.buttonBox, 1, 0, 1, 2) self.gridLayout_2.setColumnStretch(0, 10) self.gridLayout_2.setColumnStretch(1, 5) self.retranslateUi(UserPlotDataImportDialog) self.buttonBox.accepted.connect(UserPlotDataImportDialog.accept) self.buttonBox.rejected.connect(UserPlotDataImportDialog.reject) QtCore.QMetaObject.connectSlotsByName(UserPlotDataImportDialog)
class Ui_ORStoolsDialogBase(object): def setupUi(self, ORStoolsDialogBase): ORStoolsDialogBase.setObjectName("ORStoolsDialogBase") ORStoolsDialogBase.resize(412, 868) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( ORStoolsDialogBase.sizePolicy().hasHeightForWidth()) ORStoolsDialogBase.setSizePolicy(sizePolicy) ORStoolsDialogBase.setSizeGripEnabled(True) self.verticalLayout_5 = QtWidgets.QVBoxLayout(ORStoolsDialogBase) self.verticalLayout_5.setSizeConstraint( QtWidgets.QLayout.SetMinAndMaxSize) self.verticalLayout_5.setObjectName("verticalLayout_5") self.resources_group = QtWidgets.QGroupBox(ORStoolsDialogBase) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.resources_group.sizePolicy().hasHeightForWidth()) self.resources_group.setSizePolicy(sizePolicy) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.resources_group.setFont(font) self.resources_group.setAlignment(QtCore.Qt.AlignCenter) self.resources_group.setFlat(False) self.resources_group.setObjectName("resources_group") self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.resources_group) self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.label_3 = QtWidgets.QLabel(self.resources_group) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.label_3.setFont(font) self.label_3.setOpenExternalLinks(True) self.label_3.setObjectName("label_3") self.horizontalLayout_3.addWidget(self.label_3, 0, QtCore.Qt.AlignHCenter) self.label_2 = QtWidgets.QLabel(self.resources_group) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.label_2.setFont(font) self.label_2.setOpenExternalLinks(True) self.label_2.setObjectName("label_2") self.horizontalLayout_3.addWidget(self.label_2, 0, QtCore.Qt.AlignHCenter) self.label = QtWidgets.QLabel(self.resources_group) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.label.setFont(font) self.label.setOpenExternalLinks(True) self.label.setObjectName("label") self.horizontalLayout_3.addWidget(self.label, 0, QtCore.Qt.AlignHCenter) self.verticalLayout_5.addWidget(self.resources_group) self.widget_4 = QtWidgets.QWidget(ORStoolsDialogBase) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.widget_4.sizePolicy().hasHeightForWidth()) self.widget_4.setSizePolicy(sizePolicy) self.widget_4.setObjectName("widget_4") self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.widget_4) self.horizontalLayout_7.setObjectName("horizontalLayout_7") self.label_15 = QtWidgets.QLabel(self.widget_4) self.label_15.setObjectName("label_15") self.horizontalLayout_7.addWidget(self.label_15) self.provider_combo = QtWidgets.QComboBox(self.widget_4) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.provider_combo.sizePolicy().hasHeightForWidth()) self.provider_combo.setSizePolicy(sizePolicy) self.provider_combo.setMinimumSize(QtCore.QSize(150, 25)) self.provider_combo.setObjectName("provider_combo") self.horizontalLayout_7.addWidget(self.provider_combo) self.provider_refresh = QtWidgets.QPushButton(self.widget_4) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.provider_refresh.sizePolicy().hasHeightForWidth()) self.provider_refresh.setSizePolicy(sizePolicy) self.provider_refresh.setText("") icon = QtGui.QIcon() icon.addPixmap( QtGui.QPixmap(":/plugins/ORStools/img/icon_refresh.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.provider_refresh.setIcon(icon) self.provider_refresh.setObjectName("provider_refresh") self.horizontalLayout_7.addWidget(self.provider_refresh) self.provider_config = QtWidgets.QPushButton(self.widget_4) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.provider_config.sizePolicy().hasHeightForWidth()) self.provider_config.setSizePolicy(sizePolicy) self.provider_config.setText("") icon1 = QtGui.QIcon() icon1.addPixmap( QtGui.QPixmap(":/plugins/ORStools/img/icon_settings.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.provider_config.setIcon(icon1) self.provider_config.setObjectName("provider_config") self.horizontalLayout_7.addWidget(self.provider_config) self.verticalLayout_5.addWidget(self.widget_4) self.tabWidget = QtWidgets.QTabWidget(ORStoolsDialogBase) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tabWidget.sizePolicy().hasHeightForWidth()) self.tabWidget.setSizePolicy(sizePolicy) self.tabWidget.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.tabWidget.setUsesScrollButtons(True) self.tabWidget.setObjectName("tabWidget") self.qwidget = QtWidgets.QWidget() sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.qwidget.sizePolicy().hasHeightForWidth()) self.qwidget.setSizePolicy(sizePolicy) self.qwidget.setObjectName("qwidget") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.qwidget) self.verticalLayout_7.setSizeConstraint( QtWidgets.QLayout.SetDefaultConstraint) self.verticalLayout_7.setObjectName("verticalLayout_7") self.routing_travel_group = QtWidgets.QWidget(self.qwidget) self.routing_travel_group.setObjectName("routing_travel_group") self.horizontalLayout_2 = QtWidgets.QHBoxLayout( self.routing_travel_group) self.horizontalLayout_2.setSizeConstraint( QtWidgets.QLayout.SetDefaultConstraint) self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.routing_travel_label = QtWidgets.QLabel(self.routing_travel_group) self.routing_travel_label.setObjectName("routing_travel_label") self.horizontalLayout_2.addWidget(self.routing_travel_label) self.routing_travel_combo = QtWidgets.QComboBox( self.routing_travel_group) self.routing_travel_combo.setObjectName("routing_travel_combo") self.horizontalLayout_2.addWidget(self.routing_travel_combo) self.routing_preference_combo = QtWidgets.QComboBox( self.routing_travel_group) self.routing_preference_combo.setObjectName("routing_preference_combo") self.horizontalLayout_2.addWidget(self.routing_preference_combo) self.horizontalLayout_2.setStretch(0, 1) self.horizontalLayout_2.setStretch(1, 3) self.horizontalLayout_2.setStretch(2, 2) self.verticalLayout_7.addWidget(self.routing_travel_group) self.widget = QtWidgets.QWidget(self.qwidget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.widget.sizePolicy().hasHeightForWidth()) self.widget.setSizePolicy(sizePolicy) self.widget.setMinimumSize(QtCore.QSize(0, 0)) self.widget.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.widget.setObjectName("widget") self.gridLayout = QtWidgets.QGridLayout(self.widget) self.gridLayout.setSizeConstraint( QtWidgets.QLayout.SetDefaultConstraint) self.gridLayout.setObjectName("gridLayout") self.routing_fromline_map = QtWidgets.QPushButton(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.routing_fromline_map.sizePolicy().hasHeightForWidth()) self.routing_fromline_map.setSizePolicy(sizePolicy) self.routing_fromline_map.setText("") icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(":/plugins/ORStools/img/icon_add.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.routing_fromline_map.setIcon(icon2) self.routing_fromline_map.setObjectName("routing_fromline_map") self.gridLayout.addWidget(self.routing_fromline_map, 0, 0, 1, 1) self.routing_fromline_clear = QtWidgets.QPushButton(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.routing_fromline_clear.sizePolicy().hasHeightForWidth()) self.routing_fromline_clear.setSizePolicy(sizePolicy) self.routing_fromline_clear.setText("") icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap(":/plugins/ORStools/img/icon_clear.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.routing_fromline_clear.setIcon(icon3) self.routing_fromline_clear.setObjectName("routing_fromline_clear") self.gridLayout.addWidget(self.routing_fromline_clear, 1, 0, 1, 1) self.routing_fromline_list = QtWidgets.QListWidget(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.routing_fromline_list.sizePolicy().hasHeightForWidth()) self.routing_fromline_list.setSizePolicy(sizePolicy) self.routing_fromline_list.setMinimumSize(QtCore.QSize(0, 0)) self.routing_fromline_list.setMaximumSize( QtCore.QSize(16777215, 16777215)) self.routing_fromline_list.setFrameShadow(QtWidgets.QFrame.Sunken) self.routing_fromline_list.setSelectionMode( QtWidgets.QAbstractItemView.MultiSelection) self.routing_fromline_list.setResizeMode(QtWidgets.QListView.Fixed) self.routing_fromline_list.setObjectName("routing_fromline_list") self.gridLayout.addWidget(self.routing_fromline_list, 0, 2, 3, 1) self.verticalLayout_7.addWidget(self.widget) self.advances_group = QgsCollapsibleGroupBox(self.qwidget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.advances_group.sizePolicy().hasHeightForWidth()) self.advances_group.setSizePolicy(sizePolicy) self.advances_group.setMaximumSize(QtCore.QSize(16777215, 23)) self.advances_group.setCheckable(False) self.advances_group.setChecked(False) self.advances_group.setCollapsed(True) self.advances_group.setSaveCollapsedState(False) self.advances_group.setObjectName("advances_group") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.advances_group) self.verticalLayout_3.setSizeConstraint( QtWidgets.QLayout.SetDefaultConstraint) self.verticalLayout_3.setObjectName("verticalLayout_3") self.optimization_group = QgsCollapsibleGroupBox(self.advances_group) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.optimization_group.sizePolicy().hasHeightForWidth()) self.optimization_group.setSizePolicy(sizePolicy) self.optimization_group.setMinimumSize(QtCore.QSize(0, 0)) self.optimization_group.setMaximumSize(QtCore.QSize(16777215, 23)) self.optimization_group.setCheckable(True) self.optimization_group.setChecked(False) self.optimization_group.setCollapsed(True) self.optimization_group.setSaveCollapsedState(False) self.optimization_group.setObjectName("optimization_group") self.gridLayout_2 = QtWidgets.QGridLayout(self.optimization_group) self.gridLayout_2.setSizeConstraint( QtWidgets.QLayout.SetDefaultConstraint) self.gridLayout_2.setObjectName("gridLayout_2") self.label_4 = QtWidgets.QLabel(self.optimization_group) self.label_4.setEnabled(False) self.label_4.setObjectName("label_4") self.gridLayout_2.addWidget(self.label_4, 0, 0, 1, 4) self.optimize_start = QtWidgets.QRadioButton(self.optimization_group) self.optimize_start.setObjectName("optimize_start") self.optimize_button_group = QtWidgets.QButtonGroup(ORStoolsDialogBase) self.optimize_button_group.setObjectName("optimize_button_group") self.optimize_button_group.addButton(self.optimize_start) self.gridLayout_2.addWidget(self.optimize_start, 2, 1, 1, 1) self.optimize_none = QtWidgets.QRadioButton(self.optimization_group) self.optimize_none.setChecked(True) self.optimize_none.setObjectName("optimize_none") self.optimize_button_group.addButton(self.optimize_none) self.gridLayout_2.addWidget(self.optimize_none, 2, 0, 1, 1) self.optimize_end = QtWidgets.QRadioButton(self.optimization_group) self.optimize_end.setObjectName("optimize_end") self.optimize_button_group.addButton(self.optimize_end) self.gridLayout_2.addWidget(self.optimize_end, 2, 2, 1, 1) self.label_5 = QtWidgets.QLabel(self.optimization_group) self.label_5.setObjectName("label_5") self.gridLayout_2.addWidget(self.label_5, 1, 0, 1, 3, QtCore.Qt.AlignHCenter) self.verticalLayout_3.addWidget(self.optimization_group) self.routing_avoid_tags_group = QgsCollapsibleGroupBox( self.advances_group) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.routing_avoid_tags_group.sizePolicy().hasHeightForWidth()) self.routing_avoid_tags_group.setSizePolicy(sizePolicy) self.routing_avoid_tags_group.setCheckable(True) self.routing_avoid_tags_group.setChecked(False) self.routing_avoid_tags_group.setCollapsed(True) self.routing_avoid_tags_group.setSaveCollapsedState(False) self.routing_avoid_tags_group.setObjectName("routing_avoid_tags_group") self.gridLayout_4 = QtWidgets.QGridLayout( self.routing_avoid_tags_group) self.gridLayout_4.setSizeConstraint( QtWidgets.QLayout.SetDefaultConstraint) self.gridLayout_4.setObjectName("gridLayout_4") self.routing_avoid_highways_3 = QtWidgets.QCheckBox( self.routing_avoid_tags_group) self.routing_avoid_highways_3.setObjectName("routing_avoid_highways_3") self.gridLayout_4.addWidget(self.routing_avoid_highways_3, 0, 0, 1, 1) self.routing_avoid_toll_3 = QtWidgets.QCheckBox( self.routing_avoid_tags_group) self.routing_avoid_toll_3.setObjectName("routing_avoid_toll_3") self.gridLayout_4.addWidget(self.routing_avoid_toll_3, 0, 1, 1, 1) self.routing_avoid_ferries_3 = QtWidgets.QCheckBox( self.routing_avoid_tags_group) self.routing_avoid_ferries_3.setObjectName("routing_avoid_ferries_3") self.gridLayout_4.addWidget(self.routing_avoid_ferries_3, 1, 0, 1, 1) self.routing_avoid_fords_3 = QtWidgets.QCheckBox( self.routing_avoid_tags_group) self.routing_avoid_fords_3.setObjectName("routing_avoid_fords_3") self.gridLayout_4.addWidget(self.routing_avoid_fords_3, 1, 1, 1, 1) self.routing_avoid_tracks_3 = QtWidgets.QCheckBox( self.routing_avoid_tags_group) self.routing_avoid_tracks_3.setObjectName("routing_avoid_tracks_3") self.gridLayout_4.addWidget(self.routing_avoid_tracks_3, 2, 0, 1, 1) self.verticalLayout_3.addWidget(self.routing_avoid_tags_group) self.routing_avoid_countries_group = QgsCollapsibleGroupBox( self.advances_group) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.routing_avoid_countries_group. sizePolicy().hasHeightForWidth()) self.routing_avoid_countries_group.setSizePolicy(sizePolicy) self.routing_avoid_countries_group.setMaximumSize( QtCore.QSize(16777215, 23)) self.routing_avoid_countries_group.setCheckable(True) self.routing_avoid_countries_group.setChecked(False) self.routing_avoid_countries_group.setCollapsed(True) self.routing_avoid_countries_group.setSaveCollapsedState(False) self.routing_avoid_countries_group.setObjectName( "routing_avoid_countries_group") self.verticalLayout_4 = QtWidgets.QVBoxLayout( self.routing_avoid_countries_group) self.verticalLayout_4.setObjectName("verticalLayout_4") self.countries_text = QgsFilterLineEdit( self.routing_avoid_countries_group) self.countries_text.setProperty("qgisRelation", "") self.countries_text.setObjectName("countries_text") self.verticalLayout_4.addWidget(self.countries_text) self.verticalLayout_3.addWidget(self.routing_avoid_countries_group) self.avoidpolygon_group = QgsCollapsibleGroupBox(self.advances_group) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.avoidpolygon_group.sizePolicy().hasHeightForWidth()) self.avoidpolygon_group.setSizePolicy(sizePolicy) self.avoidpolygon_group.setMaximumSize(QtCore.QSize(16777215, 23)) self.avoidpolygon_group.setCheckable(True) self.avoidpolygon_group.setChecked(False) self.avoidpolygon_group.setCollapsed(True) self.avoidpolygon_group.setSaveCollapsedState(False) self.avoidpolygon_group.setObjectName("avoidpolygon_group") self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.avoidpolygon_group) self.verticalLayout_6.setObjectName("verticalLayout_6") self.avoidpolygon_dropdown = QgsMapLayerComboBox( self.avoidpolygon_group) self.avoidpolygon_dropdown.setShowCrs(False) self.avoidpolygon_dropdown.setObjectName("avoidpolygon_dropdown") self.verticalLayout_6.addWidget(self.avoidpolygon_dropdown) self.verticalLayout_3.addWidget(self.avoidpolygon_group) self.verticalLayout_7.addWidget(self.advances_group) self.tabWidget.addTab(self.qwidget, "") self.batch_tab = QtWidgets.QWidget() self.batch_tab.setObjectName("batch_tab") self.verticalLayout = QtWidgets.QVBoxLayout(self.batch_tab) self.verticalLayout.setObjectName("verticalLayout") self.groupBox = QtWidgets.QGroupBox(self.batch_tab) self.groupBox.setObjectName("groupBox") self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox) self.horizontalLayout.setObjectName("horizontalLayout") self.batch_routing_line = QtWidgets.QPushButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.batch_routing_line.sizePolicy().hasHeightForWidth()) self.batch_routing_line.setSizePolicy(sizePolicy) self.batch_routing_line.setObjectName("batch_routing_line") self.horizontalLayout.addWidget(self.batch_routing_line) self.batch_routing_point = QtWidgets.QPushButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.batch_routing_point.sizePolicy().hasHeightForWidth()) self.batch_routing_point.setSizePolicy(sizePolicy) self.batch_routing_point.setObjectName("batch_routing_point") self.horizontalLayout.addWidget(self.batch_routing_point) self.batch_routing_points = QtWidgets.QPushButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.batch_routing_points.sizePolicy().hasHeightForWidth()) self.batch_routing_points.setSizePolicy(sizePolicy) self.batch_routing_points.setObjectName("batch_routing_points") self.horizontalLayout.addWidget(self.batch_routing_points) self.verticalLayout.addWidget(self.groupBox) self.groupBox_2 = QtWidgets.QGroupBox(self.batch_tab) self.groupBox_2.setObjectName("groupBox_2") self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.groupBox_2) self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.batch_iso_point = QtWidgets.QPushButton(self.groupBox_2) self.batch_iso_point.setObjectName("batch_iso_point") self.horizontalLayout_4.addWidget(self.batch_iso_point) self.batch_iso_layer = QtWidgets.QPushButton(self.groupBox_2) self.batch_iso_layer.setObjectName("batch_iso_layer") self.horizontalLayout_4.addWidget(self.batch_iso_layer) self.verticalLayout.addWidget(self.groupBox_2) self.groupBox_3 = QtWidgets.QGroupBox(self.batch_tab) self.groupBox_3.setObjectName("groupBox_3") self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.groupBox_3) self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.batch_matrix = QtWidgets.QPushButton(self.groupBox_3) self.batch_matrix.setObjectName("batch_matrix") self.horizontalLayout_5.addWidget(self.batch_matrix) self.verticalLayout.addWidget(self.groupBox_3) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem) self.tabWidget.addTab(self.batch_tab, "") self.verticalLayout_5.addWidget(self.tabWidget) self.ors_log_group = QgsCollapsibleGroupBox(ORStoolsDialogBase) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.ors_log_group.sizePolicy().hasHeightForWidth()) self.ors_log_group.setSizePolicy(sizePolicy) self.ors_log_group.setMinimumSize(QtCore.QSize(0, 0)) self.ors_log_group.setMaximumSize(QtCore.QSize(16777215, 23)) self.ors_log_group.setFlat(True) self.ors_log_group.setCollapsed(True) self.ors_log_group.setSaveCollapsedState(False) self.ors_log_group.setObjectName("ors_log_group") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.ors_log_group) self.verticalLayout_2.setSizeConstraint( QtWidgets.QLayout.SetDefaultConstraint) self.verticalLayout_2.setObjectName("verticalLayout_2") self.debug_text = QtWidgets.QTextBrowser(self.ors_log_group) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.debug_text.sizePolicy().hasHeightForWidth()) self.debug_text.setSizePolicy(sizePolicy) self.debug_text.setMinimumSize(QtCore.QSize(0, 80)) self.debug_text.setMaximumSize(QtCore.QSize(16777215, 80)) self.debug_text.setAutoFormatting(QtWidgets.QTextEdit.AutoBulletList) self.debug_text.setTabStopWidth(80) self.debug_text.setOpenExternalLinks(True) self.debug_text.setObjectName("debug_text") self.verticalLayout_2.addWidget(self.debug_text) self.verticalLayout_5.addWidget(self.ors_log_group) self.widget_2 = QtWidgets.QWidget(ORStoolsDialogBase) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.widget_2.sizePolicy().hasHeightForWidth()) self.widget_2.setSizePolicy(sizePolicy) self.widget_2.setObjectName("widget_2") self.horizontalLayout_8 = QtWidgets.QHBoxLayout(self.widget_2) self.horizontalLayout_8.setObjectName("horizontalLayout_8") self.help_button = QtWidgets.QPushButton(self.widget_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.help_button.sizePolicy().hasHeightForWidth()) self.help_button.setSizePolicy(sizePolicy) icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap(":/plugins/ORStools/img/icon_help.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.help_button.setIcon(icon4) self.help_button.setObjectName("help_button") self.horizontalLayout_8.addWidget(self.help_button) self.about_button = QtWidgets.QPushButton(self.widget_2) icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap(":/plugins/ORStools/img/icon_about.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.about_button.setIcon(icon5) self.about_button.setObjectName("about_button") self.horizontalLayout_8.addWidget(self.about_button) self.global_buttons = QtWidgets.QDialogButtonBox(self.widget_2) self.global_buttons.setOrientation(QtCore.Qt.Horizontal) self.global_buttons.setStandardButtons( QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok) self.global_buttons.setObjectName("global_buttons") self.horizontalLayout_8.addWidget(self.global_buttons) self.verticalLayout_5.addWidget(self.widget_2) self.widget_4.raise_() self.resources_group.raise_() self.widget_2.raise_() self.ors_log_group.raise_() self.tabWidget.raise_() self.retranslateUi(ORStoolsDialogBase) self.tabWidget.setCurrentIndex(0) self.global_buttons.accepted.connect(ORStoolsDialogBase.accept) self.global_buttons.rejected.connect(ORStoolsDialogBase.reject) QtCore.QMetaObject.connectSlotsByName(ORStoolsDialogBase) def retranslateUi(self, ORStoolsDialogBase): _translate = QtCore.QCoreApplication.translate ORStoolsDialogBase.setWindowTitle( _translate("ORStoolsDialogBase", "ORS Tools")) self.resources_group.setTitle( _translate("ORStoolsDialogBase", "Resources")) self.label_3.setText( _translate( "ORStoolsDialogBase", "<html><head/><body><p><a href=\"https://openrouteservice.org/dev/#/signup\"><span style=\"font-weight: bold; text-decoration: underline; color:#a8b1f5;\">Sign Up</span></a></p></body></html>" )) self.label_2.setText( _translate( "ORStoolsDialogBase", "<html><head/><body><p><a href=\"https://openrouteservice.org/dev/#/home\"><span style=\"font-weight: bold; text-decoration: underline; color:#a8b1f5;\">Dashboard</span></a></p></body></html>" )) self.label.setText( _translate( "ORStoolsDialogBase", "<html><head/><body><p><a href=\"https://ask.openrouteservice.org/c/sdks\"><span style=\"font-weight: bold; text-decoration: underline; color:#a8b1f5;\">Forum</span></a></p></body></html>" )) self.label_15.setText(_translate("ORStoolsDialogBase", "Provider")) self.provider_refresh.setToolTip( _translate( "ORStoolsDialogBase", "Refresh the provider list. Needed after a provider was added or deleted." )) self.provider_config.setToolTip( _translate("ORStoolsDialogBase", "Shortcut to Web ► ORS Tools ► Provider Settings")) self.routing_travel_label.setText( _translate("ORStoolsDialogBase", "Go with")) self.routing_travel_combo.setToolTip( _translate("ORStoolsDialogBase", "Mode of travel")) self.routing_preference_combo.setToolTip( _translate("ORStoolsDialogBase", "Preference")) self.routing_fromline_map.setToolTip( _translate( "ORStoolsDialogBase", "<html><head/><body><p>Add wayoints interactively from the map canvas.</p><p>Double-click will terminate waypoint selection.</p></body></html>" )) self.routing_fromline_clear.setToolTip( _translate( "ORStoolsDialogBase", "<html><head/><body><p>If waypoints are selected in the list, only these will be deleted. Else all waypoints will be deleted.</p></body></html>" )) self.routing_fromline_list.setToolTip( _translate("ORStoolsDialogBase", "Select waypoints from the map!")) self.advances_group.setTitle( _translate("ORStoolsDialogBase", "Advanced Configuration")) self.optimization_group.setToolTip( _translate( "ORStoolsDialogBase", "<html><head/><body><p>Enabling Traveling Salesman will erase all other advanced configuration and assume the preference to be <span style=\" font-weight:600;\">fastest</span>.</p></body></html>" )) self.optimization_group.setTitle( _translate("ORStoolsDialogBase", "Traveling Salesman")) self.label_4.setText( _translate( "ORStoolsDialogBase", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'Ubuntu\'; font-size:11pt; font-weight:400; font-style:normal;\">\n" "<p style=\" padding: 10px; -qt-block-indent:0; text-indent:0px ; background-color:#e7f2fa; color: #999999\"><img stype=\"margin: 10px\" src=\":/plugins/ORStools/img/icon_about.png\" width=16 height=16 /> All other configuration will be omitted</p></body></html>" )) self.optimize_start.setToolTip( _translate( "ORStoolsDialogBase", "<html><head/><body><p>First waypoint will be optimized.</p></body></html>" )) self.optimize_start.setText( _translate("ORStoolsDialogBase", "Optimize Start")) self.optimize_none.setToolTip( _translate( "ORStoolsDialogBase", "<html><head/><body><p>First and last waypoints are not optimized.</p></body></html>" )) self.optimize_none.setText(_translate("ORStoolsDialogBase", "None")) self.optimize_end.setToolTip( _translate( "ORStoolsDialogBase", "<html><head/><body><p>Last waypoint will be optimized.</p></body></html>" )) self.optimize_end.setText( _translate("ORStoolsDialogBase", "Optimize End")) self.label_5.setText( _translate( "ORStoolsDialogBase", "<html><head/><body><p><span style=\" font-weight:600;\">Other Options</span></p></body></html>" )) self.routing_avoid_tags_group.setToolTip( _translate("ORStoolsDialogBase", "Avoid certain road attributes.")) self.routing_avoid_tags_group.setTitle( _translate("ORStoolsDialogBase", "Avoid tags")) self.routing_avoid_highways_3.setText( _translate("ORStoolsDialogBase", "highways")) self.routing_avoid_toll_3.setText( _translate("ORStoolsDialogBase", "tollways")) self.routing_avoid_ferries_3.setText( _translate("ORStoolsDialogBase", "ferries")) self.routing_avoid_fords_3.setText( _translate("ORStoolsDialogBase", "fords")) self.routing_avoid_tracks_3.setText( _translate("ORStoolsDialogBase", "steps")) self.routing_avoid_countries_group.setToolTip( _translate( "ORStoolsDialogBase", "<html><head/><body><p>Avoid countries based on alphnumeric ISO 3166 Alpha-2 or Alpha-3 codes.</p><p>Find a list of codes at https://github.com/GIScience/openrouteservice-docs#country-list.</p></body></html>" )) self.routing_avoid_countries_group.setTitle( _translate("ORStoolsDialogBase", "Avoid countries")) self.countries_text.setToolTip( _translate( "ORStoolsDialogBase", "<html><head/><body><p>Avoid countries based on ISO 3166 Alpha-2 or Alpha-3 codes.</p></body></html>" )) self.avoidpolygon_group.setToolTip( _translate( "ORStoolsDialogBase", "<html><head/><body><p>Avoid areas by specifying a (Multi-)Polygon layer. </p><p><br/></p><p><span style=\" font-weight:600;\">Note</span>, only the first feature of the layer will be respected.</p></body></html>" )) self.avoidpolygon_group.setTitle( _translate("ORStoolsDialogBase", "Avoid polygon(s)")) self.avoidpolygon_dropdown.setToolTip( _translate( "ORStoolsDialogBase", "<html><head/><body><p>Avoid areas by specifying a (Multi-)Polygon layer. </p><p><br/></p><p><span style=\" font-weight:600;\">Note</span>, only the first feature of the layer will be respected.</p></body></html>" )) self.tabWidget.setTabText( self.tabWidget.indexOf(self.qwidget), _translate("ORStoolsDialogBase", "Advanced Directions")) self.groupBox.setTitle(_translate("ORStoolsDialogBase", "Directions")) self.batch_routing_line.setText( _translate("ORStoolsDialogBase", "Polylines Layer")) self.batch_routing_point.setText( _translate("ORStoolsDialogBase", "Points (1 Layer)")) self.batch_routing_points.setText( _translate("ORStoolsDialogBase", "Points (2 Layer)")) self.groupBox_2.setTitle(_translate("ORStoolsDialogBase", "Isochrones")) self.batch_iso_point.setText( _translate("ORStoolsDialogBase", "Isochrones from Point")) self.batch_iso_layer.setText( _translate("ORStoolsDialogBase", "Isochrones from Layer")) self.groupBox_3.setTitle(_translate("ORStoolsDialogBase", "Matrix")) self.batch_matrix.setText(_translate("ORStoolsDialogBase", "Matrix")) self.tabWidget.setTabText( self.tabWidget.indexOf(self.batch_tab), _translate("ORStoolsDialogBase", "Batch Jobs")) self.ors_log_group.setTitle(_translate("ORStoolsDialogBase", "Log")) self.debug_text.setPlaceholderText( _translate("ORStoolsDialogBase", "Queries and errors will be printed here.")) self.help_button.setText(_translate("ORStoolsDialogBase", " Help")) self.about_button.setText(_translate("ORStoolsDialogBase", "About"))
class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.setEnabled(True) Dialog.resize(487, 707) self.gridLayout_3 = QtWidgets.QGridLayout(Dialog) self.gridLayout_3.setObjectName("gridLayout_3") self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.title_lbl = QtWidgets.QLabel(Dialog) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.title_lbl.setFont(font) self.title_lbl.setObjectName("title_lbl") self.verticalLayout.addWidget(self.title_lbl) self.empty_lbl = QtWidgets.QLabel(Dialog) self.empty_lbl.setText("") self.empty_lbl.setObjectName("empty_lbl") self.verticalLayout.addWidget(self.empty_lbl) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.settings_scrollArea = QtWidgets.QScrollArea(Dialog) self.settings_scrollArea.setWidgetResizable(True) self.settings_scrollArea.setObjectName("settings_scrollArea") self.scrollAreaWidgetContents_2 = QtWidgets.QWidget() self.scrollAreaWidgetContents_2.setGeometry( QtCore.QRect(0, 0, 459, 559)) self.scrollAreaWidgetContents_2.setObjectName( "scrollAreaWidgetContents_2") self.verticalLayout_2 = QtWidgets.QVBoxLayout( self.scrollAreaWidgetContents_2) self.verticalLayout_2.setObjectName("verticalLayout_2") self.verticalGroupBox = QgsCollapsibleGroupBox( self.scrollAreaWidgetContents_2) self.verticalGroupBox.setObjectName("verticalGroupBox") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.verticalGroupBox) self.verticalLayout_4.setObjectName("verticalLayout_4") self.folder_btn = QtWidgets.QPushButton(self.verticalGroupBox) self.folder_btn.setObjectName("folder_btn") self.verticalLayout_4.addWidget(self.folder_btn) self.folder_lbl = QtWidgets.QLabel(self.verticalGroupBox) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.folder_lbl.setFont(font) self.folder_lbl.setText("") self.folder_lbl.setObjectName("folder_lbl") self.verticalLayout_4.addWidget(self.folder_lbl) self.verticalLayout_2.addWidget(self.verticalGroupBox) self.verticalGroupBox_2 = QgsCollapsibleGroupBox( self.scrollAreaWidgetContents_2) self.verticalGroupBox_2.setObjectName("verticalGroupBox_2") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.verticalGroupBox_2) self.verticalLayout_5.setObjectName("verticalLayout_5") self.gridLayout_4 = QtWidgets.QGridLayout() self.gridLayout_4.setObjectName("gridLayout_4") self.rodzajZbioru_lbl = QtWidgets.QLabel(self.verticalGroupBox_2) self.rodzajZbioru_lbl.setObjectName("rodzajZbioru_lbl") self.gridLayout_4.addWidget(self.rodzajZbioru_lbl, 3, 0, 1, 1) self.numerZbioru_lbl = QtWidgets.QLabel(self.verticalGroupBox_2) self.numerZbioru_lbl.setObjectName("numerZbioru_lbl") self.gridLayout_4.addWidget(self.numerZbioru_lbl, 1, 0, 1, 1) self.jpt_lbl = QtWidgets.QLabel(self.verticalGroupBox_2) self.jpt_lbl.setObjectName("jpt_lbl") self.gridLayout_4.addWidget(self.jpt_lbl, 2, 0, 1, 1) self.jpt_lineEdit = QgsFilterLineEdit(self.verticalGroupBox_2) self.jpt_lineEdit.setProperty("qgisRelation", "") self.jpt_lineEdit.setObjectName("jpt_lineEdit") self.gridLayout_4.addWidget(self.jpt_lineEdit, 2, 1, 1, 1) self.przestrzenNazw_lbl = QtWidgets.QLabel(self.verticalGroupBox_2) self.przestrzenNazw_lbl.setObjectName("przestrzenNazw_lbl") self.gridLayout_4.addWidget(self.przestrzenNazw_lbl, 0, 0, 1, 1) self.przestrzenNazw_lineEdit = QgsFilterLineEdit( self.verticalGroupBox_2) self.przestrzenNazw_lineEdit.setEnabled(False) self.przestrzenNazw_lineEdit.setProperty("qgisRelation", "") self.przestrzenNazw_lineEdit.setObjectName("przestrzenNazw_lineEdit") self.gridLayout_4.addWidget(self.przestrzenNazw_lineEdit, 0, 1, 1, 1) self.numerZbioru_lineEdit = QgsFilterLineEdit(self.verticalGroupBox_2) self.numerZbioru_lineEdit.setProperty("qgisRelation", "") self.numerZbioru_lineEdit.setObjectName("numerZbioru_lineEdit") self.gridLayout_4.addWidget(self.numerZbioru_lineEdit, 1, 1, 1, 1) self.rodzajZbioru_comboBox = QtWidgets.QComboBox( self.verticalGroupBox_2) self.rodzajZbioru_comboBox.setObjectName("rodzajZbioru_comboBox") self.gridLayout_4.addWidget(self.rodzajZbioru_comboBox, 3, 1, 1, 1) self.verticalLayout_5.addLayout(self.gridLayout_4) self.verticalLayout_2.addWidget(self.verticalGroupBox_2) self.verticalGroupBox1 = QgsCollapsibleGroupBox( self.scrollAreaWidgetContents_2) self.verticalGroupBox1.setObjectName("verticalGroupBox1") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.verticalGroupBox1) self.verticalLayout_3.setObjectName("verticalLayout_3") self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") self.contactMail_lineEdit = QgsFilterLineEdit(self.verticalGroupBox1) self.contactMail_lineEdit.setProperty("qgisRelation", "") self.contactMail_lineEdit.setObjectName("contactMail_lineEdit") self.gridLayout_2.addWidget(self.contactMail_lineEdit, 1, 1, 1, 1) self.contactMail_lbl = QtWidgets.QLabel(self.verticalGroupBox1) self.contactMail_lbl.setObjectName("contactMail_lbl") self.gridLayout_2.addWidget(self.contactMail_lbl, 1, 0, 1, 1) self.contactName_lbl = QtWidgets.QLabel(self.verticalGroupBox1) self.contactName_lbl.setObjectName("contactName_lbl") self.gridLayout_2.addWidget(self.contactName_lbl, 0, 0, 1, 1) self.contactName_lineEdit = QgsFilterLineEdit(self.verticalGroupBox1) self.contactName_lineEdit.setProperty("qgisRelation", "") self.contactName_lineEdit.setObjectName("contactName_lineEdit") self.gridLayout_2.addWidget(self.contactName_lineEdit, 0, 1, 1, 1) self.verticalLayout_3.addLayout(self.gridLayout_2) self.verticalLayout_2.addWidget(self.verticalGroupBox1) self.verticalGroupBox2 = QgsCollapsibleGroupBox( self.scrollAreaWidgetContents_2) self.verticalGroupBox2.setObjectName("verticalGroupBox2") self.verticalLayout_31 = QtWidgets.QVBoxLayout(self.verticalGroupBox2) self.verticalLayout_31.setObjectName("verticalLayout_31") self.gridLayout_21 = QtWidgets.QGridLayout() self.gridLayout_21.setObjectName("gridLayout_21") self.adminMail_lineEdit = QgsFilterLineEdit(self.verticalGroupBox2) self.adminMail_lineEdit.setProperty("qgisRelation", "") self.adminMail_lineEdit.setObjectName("adminMail_lineEdit") self.gridLayout_21.addWidget(self.adminMail_lineEdit, 1, 1, 1, 1) self.adminMail_lbl = QtWidgets.QLabel(self.verticalGroupBox2) self.adminMail_lbl.setObjectName("adminMail_lbl") self.gridLayout_21.addWidget(self.adminMail_lbl, 1, 0, 1, 1) self.adminName_lbl = QtWidgets.QLabel(self.verticalGroupBox2) self.adminName_lbl.setObjectName("adminName_lbl") self.gridLayout_21.addWidget(self.adminName_lbl, 0, 0, 1, 1) self.adminName_lineEdit = QgsFilterLineEdit(self.verticalGroupBox2) self.adminName_lineEdit.setProperty("qgisRelation", "") self.adminName_lineEdit.setObjectName("adminName_lineEdit") self.gridLayout_21.addWidget(self.adminName_lineEdit, 0, 1, 1, 1) self.verticalLayout_31.addLayout(self.gridLayout_21) self.verticalLayout_2.addWidget(self.verticalGroupBox2) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.smtp_btn = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2) self.smtp_btn.setObjectName("smtp_btn") self.horizontalLayout_3.addWidget(self.smtp_btn) self.csw_btn = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2) self.csw_btn.setObjectName("csw_btn") self.horizontalLayout_3.addWidget(self.csw_btn) self.verticalLayout_2.addLayout(self.horizontalLayout_3) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem) self.settings_scrollArea.setWidget(self.scrollAreaWidgetContents_2) self.horizontalLayout.addWidget(self.settings_scrollArea) self.verticalLayout.addLayout(self.horizontalLayout) self.empty2_lbl = QtWidgets.QLabel(Dialog) self.empty2_lbl.setText("") self.empty2_lbl.setObjectName("empty2_lbl") self.verticalLayout.addWidget(self.empty2_lbl) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem1) self.save_btn = QtWidgets.QPushButton(Dialog) self.save_btn.setObjectName("save_btn") self.horizontalLayout_2.addWidget(self.save_btn) self.exit_btn = QtWidgets.QPushButton(Dialog) self.exit_btn.setEnabled(True) self.exit_btn.setObjectName("exit_btn") self.horizontalLayout_2.addWidget(self.exit_btn) self.verticalLayout.addLayout(self.horizontalLayout_2) self.gridLayout_3.addLayout(self.verticalLayout, 0, 0, 1, 1) self.retranslateUi(Dialog) QtCore.QMetaObject.connectSlotsByName(Dialog) def retranslateUi(self, Dialog): _translate = QtCore.QCoreApplication.translate Dialog.setWindowTitle(_translate("Dialog", "Dialog")) self.title_lbl.setText(_translate("Dialog", "Ustawienia wtyczki APP")) self.verticalGroupBox.setTitle( _translate("Dialog", "Domyślna ścieżka zapisu plików")) self.folder_btn.setText(_translate("Dialog", "Wybierz katalog")) self.verticalGroupBox_2.setTitle( _translate( "Dialog", "Konfiguracja identyfiktora zbioru danych przestrzennych")) self.rodzajZbioru_lbl.setText(_translate("Dialog", "Rodzaj zbioru")) self.numerZbioru_lbl.setText(_translate("Dialog", "Numer zbioru")) self.jpt_lbl.setText(_translate("Dialog", "JPT")) self.przestrzenNazw_lbl.setText( _translate("Dialog", "Przestrzeń nazw APP")) self.verticalGroupBox1.setTitle( _translate("Dialog", "Domyślny punkt kontaktowy")) self.contactMail_lbl.setText(_translate("Dialog", "Adres e-mail")) self.contactName_lbl.setText(_translate("Dialog", "Nazwa ")) self.verticalGroupBox2.setTitle( _translate("Dialog", "Administrator danych")) self.adminMail_lbl.setText(_translate("Dialog", "Adres e-mail")) self.adminName_lbl.setText(_translate("Dialog", "Nazwa ")) self.smtp_btn.setText(_translate("Dialog", "Ustawienia serwera SMTP")) self.csw_btn.setText(_translate("Dialog", "Ustawienia serwera CSW")) self.save_btn.setText(_translate("Dialog", "Zapisz")) self.exit_btn.setText(_translate("Dialog", "Zamknij"))
def setupUi(self, ORStoolsDialogBase): ORStoolsDialogBase.setObjectName("ORStoolsDialogBase") ORStoolsDialogBase.resize(412, 868) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( ORStoolsDialogBase.sizePolicy().hasHeightForWidth()) ORStoolsDialogBase.setSizePolicy(sizePolicy) ORStoolsDialogBase.setSizeGripEnabled(True) self.verticalLayout_5 = QtWidgets.QVBoxLayout(ORStoolsDialogBase) self.verticalLayout_5.setSizeConstraint( QtWidgets.QLayout.SetMinAndMaxSize) self.verticalLayout_5.setObjectName("verticalLayout_5") self.resources_group = QtWidgets.QGroupBox(ORStoolsDialogBase) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.resources_group.sizePolicy().hasHeightForWidth()) self.resources_group.setSizePolicy(sizePolicy) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.resources_group.setFont(font) self.resources_group.setAlignment(QtCore.Qt.AlignCenter) self.resources_group.setFlat(False) self.resources_group.setObjectName("resources_group") self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.resources_group) self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.label_3 = QtWidgets.QLabel(self.resources_group) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.label_3.setFont(font) self.label_3.setOpenExternalLinks(True) self.label_3.setObjectName("label_3") self.horizontalLayout_3.addWidget(self.label_3, 0, QtCore.Qt.AlignHCenter) self.label_2 = QtWidgets.QLabel(self.resources_group) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.label_2.setFont(font) self.label_2.setOpenExternalLinks(True) self.label_2.setObjectName("label_2") self.horizontalLayout_3.addWidget(self.label_2, 0, QtCore.Qt.AlignHCenter) self.label = QtWidgets.QLabel(self.resources_group) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.label.setFont(font) self.label.setOpenExternalLinks(True) self.label.setObjectName("label") self.horizontalLayout_3.addWidget(self.label, 0, QtCore.Qt.AlignHCenter) self.verticalLayout_5.addWidget(self.resources_group) self.widget_4 = QtWidgets.QWidget(ORStoolsDialogBase) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.widget_4.sizePolicy().hasHeightForWidth()) self.widget_4.setSizePolicy(sizePolicy) self.widget_4.setObjectName("widget_4") self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.widget_4) self.horizontalLayout_7.setObjectName("horizontalLayout_7") self.label_15 = QtWidgets.QLabel(self.widget_4) self.label_15.setObjectName("label_15") self.horizontalLayout_7.addWidget(self.label_15) self.provider_combo = QtWidgets.QComboBox(self.widget_4) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.provider_combo.sizePolicy().hasHeightForWidth()) self.provider_combo.setSizePolicy(sizePolicy) self.provider_combo.setMinimumSize(QtCore.QSize(150, 25)) self.provider_combo.setObjectName("provider_combo") self.horizontalLayout_7.addWidget(self.provider_combo) self.provider_refresh = QtWidgets.QPushButton(self.widget_4) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.provider_refresh.sizePolicy().hasHeightForWidth()) self.provider_refresh.setSizePolicy(sizePolicy) self.provider_refresh.setText("") icon = QtGui.QIcon() icon.addPixmap( QtGui.QPixmap(":/plugins/ORStools/img/icon_refresh.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.provider_refresh.setIcon(icon) self.provider_refresh.setObjectName("provider_refresh") self.horizontalLayout_7.addWidget(self.provider_refresh) self.provider_config = QtWidgets.QPushButton(self.widget_4) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.provider_config.sizePolicy().hasHeightForWidth()) self.provider_config.setSizePolicy(sizePolicy) self.provider_config.setText("") icon1 = QtGui.QIcon() icon1.addPixmap( QtGui.QPixmap(":/plugins/ORStools/img/icon_settings.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.provider_config.setIcon(icon1) self.provider_config.setObjectName("provider_config") self.horizontalLayout_7.addWidget(self.provider_config) self.verticalLayout_5.addWidget(self.widget_4) self.tabWidget = QtWidgets.QTabWidget(ORStoolsDialogBase) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tabWidget.sizePolicy().hasHeightForWidth()) self.tabWidget.setSizePolicy(sizePolicy) self.tabWidget.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.tabWidget.setUsesScrollButtons(True) self.tabWidget.setObjectName("tabWidget") self.qwidget = QtWidgets.QWidget() sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.qwidget.sizePolicy().hasHeightForWidth()) self.qwidget.setSizePolicy(sizePolicy) self.qwidget.setObjectName("qwidget") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.qwidget) self.verticalLayout_7.setSizeConstraint( QtWidgets.QLayout.SetDefaultConstraint) self.verticalLayout_7.setObjectName("verticalLayout_7") self.routing_travel_group = QtWidgets.QWidget(self.qwidget) self.routing_travel_group.setObjectName("routing_travel_group") self.horizontalLayout_2 = QtWidgets.QHBoxLayout( self.routing_travel_group) self.horizontalLayout_2.setSizeConstraint( QtWidgets.QLayout.SetDefaultConstraint) self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.routing_travel_label = QtWidgets.QLabel(self.routing_travel_group) self.routing_travel_label.setObjectName("routing_travel_label") self.horizontalLayout_2.addWidget(self.routing_travel_label) self.routing_travel_combo = QtWidgets.QComboBox( self.routing_travel_group) self.routing_travel_combo.setObjectName("routing_travel_combo") self.horizontalLayout_2.addWidget(self.routing_travel_combo) self.routing_preference_combo = QtWidgets.QComboBox( self.routing_travel_group) self.routing_preference_combo.setObjectName("routing_preference_combo") self.horizontalLayout_2.addWidget(self.routing_preference_combo) self.horizontalLayout_2.setStretch(0, 1) self.horizontalLayout_2.setStretch(1, 3) self.horizontalLayout_2.setStretch(2, 2) self.verticalLayout_7.addWidget(self.routing_travel_group) self.widget = QtWidgets.QWidget(self.qwidget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.widget.sizePolicy().hasHeightForWidth()) self.widget.setSizePolicy(sizePolicy) self.widget.setMinimumSize(QtCore.QSize(0, 0)) self.widget.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.widget.setObjectName("widget") self.gridLayout = QtWidgets.QGridLayout(self.widget) self.gridLayout.setSizeConstraint( QtWidgets.QLayout.SetDefaultConstraint) self.gridLayout.setObjectName("gridLayout") self.routing_fromline_map = QtWidgets.QPushButton(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.routing_fromline_map.sizePolicy().hasHeightForWidth()) self.routing_fromline_map.setSizePolicy(sizePolicy) self.routing_fromline_map.setText("") icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(":/plugins/ORStools/img/icon_add.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.routing_fromline_map.setIcon(icon2) self.routing_fromline_map.setObjectName("routing_fromline_map") self.gridLayout.addWidget(self.routing_fromline_map, 0, 0, 1, 1) self.routing_fromline_clear = QtWidgets.QPushButton(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.routing_fromline_clear.sizePolicy().hasHeightForWidth()) self.routing_fromline_clear.setSizePolicy(sizePolicy) self.routing_fromline_clear.setText("") icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap(":/plugins/ORStools/img/icon_clear.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.routing_fromline_clear.setIcon(icon3) self.routing_fromline_clear.setObjectName("routing_fromline_clear") self.gridLayout.addWidget(self.routing_fromline_clear, 1, 0, 1, 1) self.routing_fromline_list = QtWidgets.QListWidget(self.widget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.routing_fromline_list.sizePolicy().hasHeightForWidth()) self.routing_fromline_list.setSizePolicy(sizePolicy) self.routing_fromline_list.setMinimumSize(QtCore.QSize(0, 0)) self.routing_fromline_list.setMaximumSize( QtCore.QSize(16777215, 16777215)) self.routing_fromline_list.setFrameShadow(QtWidgets.QFrame.Sunken) self.routing_fromline_list.setSelectionMode( QtWidgets.QAbstractItemView.MultiSelection) self.routing_fromline_list.setResizeMode(QtWidgets.QListView.Fixed) self.routing_fromline_list.setObjectName("routing_fromline_list") self.gridLayout.addWidget(self.routing_fromline_list, 0, 2, 3, 1) self.verticalLayout_7.addWidget(self.widget) self.advances_group = QgsCollapsibleGroupBox(self.qwidget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.advances_group.sizePolicy().hasHeightForWidth()) self.advances_group.setSizePolicy(sizePolicy) self.advances_group.setMaximumSize(QtCore.QSize(16777215, 23)) self.advances_group.setCheckable(False) self.advances_group.setChecked(False) self.advances_group.setCollapsed(True) self.advances_group.setSaveCollapsedState(False) self.advances_group.setObjectName("advances_group") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.advances_group) self.verticalLayout_3.setSizeConstraint( QtWidgets.QLayout.SetDefaultConstraint) self.verticalLayout_3.setObjectName("verticalLayout_3") self.optimization_group = QgsCollapsibleGroupBox(self.advances_group) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.optimization_group.sizePolicy().hasHeightForWidth()) self.optimization_group.setSizePolicy(sizePolicy) self.optimization_group.setMinimumSize(QtCore.QSize(0, 0)) self.optimization_group.setMaximumSize(QtCore.QSize(16777215, 23)) self.optimization_group.setCheckable(True) self.optimization_group.setChecked(False) self.optimization_group.setCollapsed(True) self.optimization_group.setSaveCollapsedState(False) self.optimization_group.setObjectName("optimization_group") self.gridLayout_2 = QtWidgets.QGridLayout(self.optimization_group) self.gridLayout_2.setSizeConstraint( QtWidgets.QLayout.SetDefaultConstraint) self.gridLayout_2.setObjectName("gridLayout_2") self.label_4 = QtWidgets.QLabel(self.optimization_group) self.label_4.setEnabled(False) self.label_4.setObjectName("label_4") self.gridLayout_2.addWidget(self.label_4, 0, 0, 1, 4) self.optimize_start = QtWidgets.QRadioButton(self.optimization_group) self.optimize_start.setObjectName("optimize_start") self.optimize_button_group = QtWidgets.QButtonGroup(ORStoolsDialogBase) self.optimize_button_group.setObjectName("optimize_button_group") self.optimize_button_group.addButton(self.optimize_start) self.gridLayout_2.addWidget(self.optimize_start, 2, 1, 1, 1) self.optimize_none = QtWidgets.QRadioButton(self.optimization_group) self.optimize_none.setChecked(True) self.optimize_none.setObjectName("optimize_none") self.optimize_button_group.addButton(self.optimize_none) self.gridLayout_2.addWidget(self.optimize_none, 2, 0, 1, 1) self.optimize_end = QtWidgets.QRadioButton(self.optimization_group) self.optimize_end.setObjectName("optimize_end") self.optimize_button_group.addButton(self.optimize_end) self.gridLayout_2.addWidget(self.optimize_end, 2, 2, 1, 1) self.label_5 = QtWidgets.QLabel(self.optimization_group) self.label_5.setObjectName("label_5") self.gridLayout_2.addWidget(self.label_5, 1, 0, 1, 3, QtCore.Qt.AlignHCenter) self.verticalLayout_3.addWidget(self.optimization_group) self.routing_avoid_tags_group = QgsCollapsibleGroupBox( self.advances_group) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.routing_avoid_tags_group.sizePolicy().hasHeightForWidth()) self.routing_avoid_tags_group.setSizePolicy(sizePolicy) self.routing_avoid_tags_group.setCheckable(True) self.routing_avoid_tags_group.setChecked(False) self.routing_avoid_tags_group.setCollapsed(True) self.routing_avoid_tags_group.setSaveCollapsedState(False) self.routing_avoid_tags_group.setObjectName("routing_avoid_tags_group") self.gridLayout_4 = QtWidgets.QGridLayout( self.routing_avoid_tags_group) self.gridLayout_4.setSizeConstraint( QtWidgets.QLayout.SetDefaultConstraint) self.gridLayout_4.setObjectName("gridLayout_4") self.routing_avoid_highways_3 = QtWidgets.QCheckBox( self.routing_avoid_tags_group) self.routing_avoid_highways_3.setObjectName("routing_avoid_highways_3") self.gridLayout_4.addWidget(self.routing_avoid_highways_3, 0, 0, 1, 1) self.routing_avoid_toll_3 = QtWidgets.QCheckBox( self.routing_avoid_tags_group) self.routing_avoid_toll_3.setObjectName("routing_avoid_toll_3") self.gridLayout_4.addWidget(self.routing_avoid_toll_3, 0, 1, 1, 1) self.routing_avoid_ferries_3 = QtWidgets.QCheckBox( self.routing_avoid_tags_group) self.routing_avoid_ferries_3.setObjectName("routing_avoid_ferries_3") self.gridLayout_4.addWidget(self.routing_avoid_ferries_3, 1, 0, 1, 1) self.routing_avoid_fords_3 = QtWidgets.QCheckBox( self.routing_avoid_tags_group) self.routing_avoid_fords_3.setObjectName("routing_avoid_fords_3") self.gridLayout_4.addWidget(self.routing_avoid_fords_3, 1, 1, 1, 1) self.routing_avoid_tracks_3 = QtWidgets.QCheckBox( self.routing_avoid_tags_group) self.routing_avoid_tracks_3.setObjectName("routing_avoid_tracks_3") self.gridLayout_4.addWidget(self.routing_avoid_tracks_3, 2, 0, 1, 1) self.verticalLayout_3.addWidget(self.routing_avoid_tags_group) self.routing_avoid_countries_group = QgsCollapsibleGroupBox( self.advances_group) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.routing_avoid_countries_group. sizePolicy().hasHeightForWidth()) self.routing_avoid_countries_group.setSizePolicy(sizePolicy) self.routing_avoid_countries_group.setMaximumSize( QtCore.QSize(16777215, 23)) self.routing_avoid_countries_group.setCheckable(True) self.routing_avoid_countries_group.setChecked(False) self.routing_avoid_countries_group.setCollapsed(True) self.routing_avoid_countries_group.setSaveCollapsedState(False) self.routing_avoid_countries_group.setObjectName( "routing_avoid_countries_group") self.verticalLayout_4 = QtWidgets.QVBoxLayout( self.routing_avoid_countries_group) self.verticalLayout_4.setObjectName("verticalLayout_4") self.countries_text = QgsFilterLineEdit( self.routing_avoid_countries_group) self.countries_text.setProperty("qgisRelation", "") self.countries_text.setObjectName("countries_text") self.verticalLayout_4.addWidget(self.countries_text) self.verticalLayout_3.addWidget(self.routing_avoid_countries_group) self.avoidpolygon_group = QgsCollapsibleGroupBox(self.advances_group) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.avoidpolygon_group.sizePolicy().hasHeightForWidth()) self.avoidpolygon_group.setSizePolicy(sizePolicy) self.avoidpolygon_group.setMaximumSize(QtCore.QSize(16777215, 23)) self.avoidpolygon_group.setCheckable(True) self.avoidpolygon_group.setChecked(False) self.avoidpolygon_group.setCollapsed(True) self.avoidpolygon_group.setSaveCollapsedState(False) self.avoidpolygon_group.setObjectName("avoidpolygon_group") self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.avoidpolygon_group) self.verticalLayout_6.setObjectName("verticalLayout_6") self.avoidpolygon_dropdown = QgsMapLayerComboBox( self.avoidpolygon_group) self.avoidpolygon_dropdown.setShowCrs(False) self.avoidpolygon_dropdown.setObjectName("avoidpolygon_dropdown") self.verticalLayout_6.addWidget(self.avoidpolygon_dropdown) self.verticalLayout_3.addWidget(self.avoidpolygon_group) self.verticalLayout_7.addWidget(self.advances_group) self.tabWidget.addTab(self.qwidget, "") self.batch_tab = QtWidgets.QWidget() self.batch_tab.setObjectName("batch_tab") self.verticalLayout = QtWidgets.QVBoxLayout(self.batch_tab) self.verticalLayout.setObjectName("verticalLayout") self.groupBox = QtWidgets.QGroupBox(self.batch_tab) self.groupBox.setObjectName("groupBox") self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox) self.horizontalLayout.setObjectName("horizontalLayout") self.batch_routing_line = QtWidgets.QPushButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.batch_routing_line.sizePolicy().hasHeightForWidth()) self.batch_routing_line.setSizePolicy(sizePolicy) self.batch_routing_line.setObjectName("batch_routing_line") self.horizontalLayout.addWidget(self.batch_routing_line) self.batch_routing_point = QtWidgets.QPushButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.batch_routing_point.sizePolicy().hasHeightForWidth()) self.batch_routing_point.setSizePolicy(sizePolicy) self.batch_routing_point.setObjectName("batch_routing_point") self.horizontalLayout.addWidget(self.batch_routing_point) self.batch_routing_points = QtWidgets.QPushButton(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.batch_routing_points.sizePolicy().hasHeightForWidth()) self.batch_routing_points.setSizePolicy(sizePolicy) self.batch_routing_points.setObjectName("batch_routing_points") self.horizontalLayout.addWidget(self.batch_routing_points) self.verticalLayout.addWidget(self.groupBox) self.groupBox_2 = QtWidgets.QGroupBox(self.batch_tab) self.groupBox_2.setObjectName("groupBox_2") self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.groupBox_2) self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.batch_iso_point = QtWidgets.QPushButton(self.groupBox_2) self.batch_iso_point.setObjectName("batch_iso_point") self.horizontalLayout_4.addWidget(self.batch_iso_point) self.batch_iso_layer = QtWidgets.QPushButton(self.groupBox_2) self.batch_iso_layer.setObjectName("batch_iso_layer") self.horizontalLayout_4.addWidget(self.batch_iso_layer) self.verticalLayout.addWidget(self.groupBox_2) self.groupBox_3 = QtWidgets.QGroupBox(self.batch_tab) self.groupBox_3.setObjectName("groupBox_3") self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.groupBox_3) self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.batch_matrix = QtWidgets.QPushButton(self.groupBox_3) self.batch_matrix.setObjectName("batch_matrix") self.horizontalLayout_5.addWidget(self.batch_matrix) self.verticalLayout.addWidget(self.groupBox_3) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem) self.tabWidget.addTab(self.batch_tab, "") self.verticalLayout_5.addWidget(self.tabWidget) self.ors_log_group = QgsCollapsibleGroupBox(ORStoolsDialogBase) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.ors_log_group.sizePolicy().hasHeightForWidth()) self.ors_log_group.setSizePolicy(sizePolicy) self.ors_log_group.setMinimumSize(QtCore.QSize(0, 0)) self.ors_log_group.setMaximumSize(QtCore.QSize(16777215, 23)) self.ors_log_group.setFlat(True) self.ors_log_group.setCollapsed(True) self.ors_log_group.setSaveCollapsedState(False) self.ors_log_group.setObjectName("ors_log_group") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.ors_log_group) self.verticalLayout_2.setSizeConstraint( QtWidgets.QLayout.SetDefaultConstraint) self.verticalLayout_2.setObjectName("verticalLayout_2") self.debug_text = QtWidgets.QTextBrowser(self.ors_log_group) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.debug_text.sizePolicy().hasHeightForWidth()) self.debug_text.setSizePolicy(sizePolicy) self.debug_text.setMinimumSize(QtCore.QSize(0, 80)) self.debug_text.setMaximumSize(QtCore.QSize(16777215, 80)) self.debug_text.setAutoFormatting(QtWidgets.QTextEdit.AutoBulletList) self.debug_text.setTabStopWidth(80) self.debug_text.setOpenExternalLinks(True) self.debug_text.setObjectName("debug_text") self.verticalLayout_2.addWidget(self.debug_text) self.verticalLayout_5.addWidget(self.ors_log_group) self.widget_2 = QtWidgets.QWidget(ORStoolsDialogBase) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.widget_2.sizePolicy().hasHeightForWidth()) self.widget_2.setSizePolicy(sizePolicy) self.widget_2.setObjectName("widget_2") self.horizontalLayout_8 = QtWidgets.QHBoxLayout(self.widget_2) self.horizontalLayout_8.setObjectName("horizontalLayout_8") self.help_button = QtWidgets.QPushButton(self.widget_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.help_button.sizePolicy().hasHeightForWidth()) self.help_button.setSizePolicy(sizePolicy) icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap(":/plugins/ORStools/img/icon_help.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.help_button.setIcon(icon4) self.help_button.setObjectName("help_button") self.horizontalLayout_8.addWidget(self.help_button) self.about_button = QtWidgets.QPushButton(self.widget_2) icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap(":/plugins/ORStools/img/icon_about.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.about_button.setIcon(icon5) self.about_button.setObjectName("about_button") self.horizontalLayout_8.addWidget(self.about_button) self.global_buttons = QtWidgets.QDialogButtonBox(self.widget_2) self.global_buttons.setOrientation(QtCore.Qt.Horizontal) self.global_buttons.setStandardButtons( QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok) self.global_buttons.setObjectName("global_buttons") self.horizontalLayout_8.addWidget(self.global_buttons) self.verticalLayout_5.addWidget(self.widget_2) self.widget_4.raise_() self.resources_group.raise_() self.widget_2.raise_() self.ors_log_group.raise_() self.tabWidget.raise_() self.retranslateUi(ORStoolsDialogBase) self.tabWidget.setCurrentIndex(0) self.global_buttons.accepted.connect(ORStoolsDialogBase.accept) self.global_buttons.rejected.connect(ORStoolsDialogBase.reject) QtCore.QMetaObject.connectSlotsByName(ORStoolsDialogBase)
def setupUi(self, AnimationDialog): AnimationDialog.setObjectName("AnimationDialog") AnimationDialog.resize(583, 550) self.verticalLayout_6 = QtWidgets.QVBoxLayout(AnimationDialog) self.verticalLayout_6.setObjectName("verticalLayout_6") self.tabWidget = QtWidgets.QTabWidget(AnimationDialog) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.formLayout = QtWidgets.QFormLayout(self.tab) self.formLayout.setObjectName("formLayout") self.label_6 = QtWidgets.QLabel(self.tab) self.label_6.setObjectName("label_6") self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_6) self.cboStart = QtWidgets.QComboBox(self.tab) self.cboStart.setObjectName("cboStart") self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.cboStart) self.label_7 = QtWidgets.QLabel(self.tab) self.label_7.setObjectName("label_7") self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_7) self.cboEnd = QtWidgets.QComboBox(self.tab) self.cboEnd.setObjectName("cboEnd") self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.cboEnd) self.label_13 = QtWidgets.QLabel(self.tab) self.label_13.setObjectName("label_13") self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.label_13) self.cboResult = QtWidgets.QComboBox(self.tab) self.cboResult.setObjectName("cboResult") self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.cboResult) self.label_11 = QtWidgets.QLabel(self.tab) self.label_11.setObjectName("label_11") self.formLayout.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.label_11) self.cboScalar = QtWidgets.QComboBox(self.tab) self.cboScalar.setObjectName("cboScalar") self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.cboScalar) self.label_12 = QtWidgets.QLabel(self.tab) self.label_12.setObjectName("label_12") self.formLayout.setWidget(6, QtWidgets.QFormLayout.LabelRole, self.label_12) self.cboVector = QtWidgets.QComboBox(self.tab) self.cboVector.setObjectName("cboVector") self.formLayout.setWidget(6, QtWidgets.QFormLayout.FieldRole, self.cboVector) self.label_2 = QtWidgets.QLabel(self.tab) self.label_2.setObjectName("label_2") self.formLayout.setWidget(7, QtWidgets.QFormLayout.LabelRole, self.label_2) self.spinWidth = QtWidgets.QSpinBox(self.tab) self.spinWidth.setMinimum(16) self.spinWidth.setMaximum(9999) self.spinWidth.setProperty("value", 1920) self.spinWidth.setObjectName("spinWidth") self.formLayout.setWidget(7, QtWidgets.QFormLayout.FieldRole, self.spinWidth) self.label_3 = QtWidgets.QLabel(self.tab) self.label_3.setObjectName("label_3") self.formLayout.setWidget(8, QtWidgets.QFormLayout.LabelRole, self.label_3) self.spinHeight = QtWidgets.QSpinBox(self.tab) self.spinHeight.setMinimum(16) self.spinHeight.setMaximum(9999) self.spinHeight.setProperty("value", 1080) self.spinHeight.setObjectName("spinHeight") self.formLayout.setWidget(8, QtWidgets.QFormLayout.FieldRole, self.spinHeight) self.label_8 = QtWidgets.QLabel(self.tab) self.label_8.setObjectName("label_8") self.formLayout.setWidget(9, QtWidgets.QFormLayout.LabelRole, self.label_8) self.spinSpeed = QtWidgets.QSpinBox(self.tab) self.spinSpeed.setMinimum(1) self.spinSpeed.setMaximum(60) self.spinSpeed.setProperty("value", 5) self.spinSpeed.setObjectName("spinSpeed") self.formLayout.setWidget(9, QtWidgets.QFormLayout.FieldRole, self.spinSpeed) self.label = QtWidgets.QLabel(self.tab) self.label.setObjectName("label") self.formLayout.setWidget(10, QtWidgets.QFormLayout.LabelRole, self.label) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.editOutput = QtWidgets.QLineEdit(self.tab) self.editOutput.setObjectName("editOutput") self.horizontalLayout.addWidget(self.editOutput) self.btnBrowseOutput = QtWidgets.QToolButton(self.tab) self.btnBrowseOutput.setObjectName("btnBrowseOutput") self.horizontalLayout.addWidget(self.btnBrowseOutput) self.formLayout.setLayout(10, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtWidgets.QWidget() self.tab_2.setObjectName("tab_2") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.tab_2) self.verticalLayout_5.setObjectName("verticalLayout_5") self.radLayoutDefault = QtWidgets.QRadioButton(self.tab_2) self.radLayoutDefault.setChecked(True) self.radLayoutDefault.setObjectName("radLayoutDefault") self.verticalLayout_5.addWidget(self.radLayoutDefault) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") spacerItem = QtWidgets.QSpacerItem(28, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.scrollArea = QtWidgets.QScrollArea(self.tab_2) self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect( 0, 0, 488, 1125)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.verticalLayout_4 = QtWidgets.QVBoxLayout( self.scrollAreaWidgetContents) self.verticalLayout_4.setObjectName("verticalLayout_4") self.groupTitle = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupTitle.setCheckable(True) self.groupTitle.setChecked(False) self.groupTitle.setObjectName("groupTitle") self.verticalLayout = QtWidgets.QVBoxLayout(self.groupTitle) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout_5 = QtWidgets.QGridLayout() self.gridLayout_5.setObjectName("gridLayout_5") self.label_14 = QtWidgets.QLabel(self.groupTitle) self.label_14.setObjectName("label_14") self.gridLayout_5.addWidget(self.label_14, 0, 0, 1, 1) self.cboPosTitle = QtWidgets.QComboBox(self.groupTitle) self.cboPosTitle.setObjectName("cboPosTitle") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.gridLayout_5.addWidget(self.cboPosTitle, 4, 1, 1, 2) self.fbtnTitle = QgsFontButton(self.groupTitle) self.fbtnTitle.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnTitle.setFont(font) self.fbtnTitle.setMode(QgsFontButton.ModeQFont) font = QtGui.QFont() font.setPointSize(8) self.fbtnTitle.setCurrentFont(font) self.fbtnTitle.setObjectName("fbtnTitle") self.gridLayout_5.addWidget(self.fbtnTitle, 1, 1, 1, 2) self.colorTitleText = QgsColorButton(self.groupTitle) self.colorTitleText.setMinimumSize(QtCore.QSize(24, 21)) self.colorTitleText.setColor(QtGui.QColor(0, 0, 0)) self.colorTitleText.setShowNoColor(True) self.colorTitleText.setObjectName("colorTitleText") self.gridLayout_5.addWidget(self.colorTitleText, 1, 4, 1, 1) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem1, 1, 3, 1, 1) self.label_17 = QtWidgets.QLabel(self.groupTitle) self.label_17.setObjectName("label_17") self.gridLayout_5.addWidget(self.label_17, 4, 0, 1, 1) self.colorTitleBackground = QgsColorButton(self.groupTitle) self.colorTitleBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorTitleBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorTitleBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorTitleBackground.setShowNoColor(True) self.colorTitleBackground.setObjectName("colorTitleBackground") self.gridLayout_5.addWidget(self.colorTitleBackground, 2, 4, 1, 1) self.labelTitle = QtWidgets.QLineEdit(self.groupTitle) self.labelTitle.setObjectName("labelTitle") self.gridLayout_5.addWidget(self.labelTitle, 0, 1, 1, 4) self.cbTitleBackground = QtWidgets.QCheckBox(self.groupTitle) self.cbTitleBackground.setObjectName("cbTitleBackground") self.gridLayout_5.addWidget(self.cbTitleBackground, 2, 0, 1, 4) self.label_15 = QtWidgets.QLabel(self.groupTitle) self.label_15.setObjectName("label_15") self.gridLayout_5.addWidget(self.label_15, 1, 0, 1, 1) self.cbTitleFrame = QtWidgets.QCheckBox(self.groupTitle) self.cbTitleFrame.setObjectName("cbTitleFrame") self.gridLayout_5.addWidget(self.cbTitleFrame, 3, 0, 1, 4) self.colorTitleFrame = QgsColorButton(self.groupTitle) self.colorTitleFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorTitleFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorTitleFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorTitleFrame.setObjectName("colorTitleFrame") self.gridLayout_5.addWidget(self.colorTitleFrame, 3, 4, 1, 1) self.gridLayout_5.setColumnStretch(0, 1) self.gridLayout_5.setColumnStretch(1, 10) self.verticalLayout.addLayout(self.gridLayout_5) self.verticalLayout_4.addWidget(self.groupTitle) self.groupTime = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupTime.setCheckable(True) self.groupTime.setChecked(False) self.groupTime.setObjectName("groupTime") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupTime) self.verticalLayout_2.setObjectName("verticalLayout_2") self.gridLayout_6 = QtWidgets.QGridLayout() self.gridLayout_6.setObjectName("gridLayout_6") self.colorTimeBackground = QgsColorButton(self.groupTime) self.colorTimeBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorTimeBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorTimeBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorTimeBackground.setObjectName("colorTimeBackground") self.gridLayout_6.addWidget(self.colorTimeBackground, 2, 3, 1, 1) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_6.addItem(spacerItem2, 1, 2, 1, 1) self.fbtnTime = QgsFontButton(self.groupTime) self.fbtnTime.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnTime.setFont(font) self.fbtnTime.setMode(QgsFontButton.ModeQFont) self.fbtnTime.setObjectName("fbtnTime") self.gridLayout_6.addWidget(self.fbtnTime, 1, 1, 1, 1) self.cbTimeBackground = QtWidgets.QCheckBox(self.groupTime) self.cbTimeBackground.setObjectName("cbTimeBackground") self.gridLayout_6.addWidget(self.cbTimeBackground, 2, 0, 1, 3) self.label_18 = QtWidgets.QLabel(self.groupTime) self.label_18.setObjectName("label_18") self.gridLayout_6.addWidget(self.label_18, 1, 0, 1, 1) self.label_16 = QtWidgets.QLabel(self.groupTime) self.label_16.setObjectName("label_16") self.gridLayout_6.addWidget(self.label_16, 0, 0, 1, 1) self.cboPosTime = QtWidgets.QComboBox(self.groupTime) self.cboPosTime.setObjectName("cboPosTime") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.gridLayout_6.addWidget(self.cboPosTime, 4, 1, 1, 1) self.label_19 = QtWidgets.QLabel(self.groupTime) self.label_19.setObjectName("label_19") self.gridLayout_6.addWidget(self.label_19, 4, 0, 1, 1) self.colorTimeText = QgsColorButton(self.groupTime) self.colorTimeText.setMinimumSize(QtCore.QSize(24, 21)) self.colorTimeText.setColor(QtGui.QColor(0, 0, 0)) self.colorTimeText.setObjectName("colorTimeText") self.gridLayout_6.addWidget(self.colorTimeText, 1, 3, 1, 1) self.labelTime = QtWidgets.QLineEdit(self.groupTime) self.labelTime.setObjectName("labelTime") self.gridLayout_6.addWidget(self.labelTime, 0, 1, 1, 3) self.cbTimeFrame = QtWidgets.QCheckBox(self.groupTime) self.cbTimeFrame.setObjectName("cbTimeFrame") self.gridLayout_6.addWidget(self.cbTimeFrame, 3, 0, 1, 3) self.colorTimeFrame = QgsColorButton(self.groupTime) self.colorTimeFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorTimeFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorTimeFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorTimeFrame.setObjectName("colorTimeFrame") self.gridLayout_6.addWidget(self.colorTimeFrame, 3, 3, 1, 1) self.verticalLayout_2.addLayout(self.gridLayout_6) self.verticalLayout_4.addWidget(self.groupTime) self.groupLegend = QgsCollapsibleGroupBox( self.scrollAreaWidgetContents) self.groupLegend.setCheckable(True) self.groupLegend.setChecked(False) self.groupLegend.setObjectName("groupLegend") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupLegend) self.verticalLayout_3.setObjectName("verticalLayout_3") self.gridLayout_7 = QtWidgets.QGridLayout() self.gridLayout_7.setObjectName("gridLayout_7") self.label_22 = QtWidgets.QLabel(self.groupLegend) self.label_22.setObjectName("label_22") self.gridLayout_7.addWidget(self.label_22, 4, 0, 1, 1) self.cboPosLegend = QtWidgets.QComboBox(self.groupLegend) self.cboPosLegend.setObjectName("cboPosLegend") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.gridLayout_7.addWidget(self.cboPosLegend, 4, 1, 1, 1) self.label_20 = QtWidgets.QLabel(self.groupLegend) self.label_20.setObjectName("label_20") self.gridLayout_7.addWidget(self.label_20, 0, 0, 1, 1) self.colorLegendText = QgsColorButton(self.groupLegend) self.colorLegendText.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendText.setColor(QtGui.QColor(0, 0, 0)) self.colorLegendText.setObjectName("colorLegendText") self.gridLayout_7.addWidget(self.colorLegendText, 1, 3, 1, 1) self.label_21 = QtWidgets.QLabel(self.groupLegend) self.label_21.setObjectName("label_21") self.gridLayout_7.addWidget(self.label_21, 1, 0, 1, 1) self.cbLegendBackground = QtWidgets.QCheckBox(self.groupLegend) self.cbLegendBackground.setObjectName("cbLegendBackground") self.gridLayout_7.addWidget(self.cbLegendBackground, 2, 0, 1, 3) self.labelLegend = QtWidgets.QLineEdit(self.groupLegend) self.labelLegend.setObjectName("labelLegend") self.gridLayout_7.addWidget(self.labelLegend, 0, 1, 1, 3) self.colorLegendBackground = QgsColorButton(self.groupLegend) self.colorLegendBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorLegendBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorLegendBackground.setObjectName("colorLegendBackground") self.gridLayout_7.addWidget(self.colorLegendBackground, 2, 3, 1, 1) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_7.addItem(spacerItem3, 1, 2, 1, 1) self.fbtnLegend = QgsFontButton(self.groupLegend) self.fbtnLegend.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnLegend.setFont(font) self.fbtnLegend.setMode(QgsFontButton.ModeQFont) self.fbtnLegend.setObjectName("fbtnLegend") self.gridLayout_7.addWidget(self.fbtnLegend, 1, 1, 1, 1) self.cbLegendFrame = QtWidgets.QCheckBox(self.groupLegend) self.cbLegendFrame.setObjectName("cbLegendFrame") self.gridLayout_7.addWidget(self.cbLegendFrame, 3, 0, 1, 3) self.colorLegendFrame = QgsColorButton(self.groupLegend) self.colorLegendFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorLegendFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorLegendFrame.setObjectName("colorLegendFrame") self.gridLayout_7.addWidget(self.colorLegendFrame, 3, 3, 1, 1) self.verticalLayout_3.addLayout(self.gridLayout_7) self.verticalLayout_4.addWidget(self.groupLegend) self.groupPlot = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupPlot.setCheckable(True) self.groupPlot.setChecked(False) self.groupPlot.setCollapsed(False) self.groupPlot.setObjectName("groupPlot") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupPlot) self.verticalLayout_7.setObjectName("verticalLayout_7") self.gridLayout_4 = QtWidgets.QGridLayout() self.gridLayout_4.setObjectName("gridLayout_4") self.btnPlotUp = QtWidgets.QToolButton(self.groupPlot) self.btnPlotUp.setObjectName("btnPlotUp") self.gridLayout_4.addWidget(self.btnPlotUp, 0, 2, 1, 1) self.btnAddPlot = QtWidgets.QToolButton(self.groupPlot) self.btnAddPlot.setObjectName("btnAddPlot") self.gridLayout_4.addWidget(self.btnAddPlot, 0, 0, 1, 1) self.btnRemovePlot = QtWidgets.QToolButton(self.groupPlot) self.btnRemovePlot.setObjectName("btnRemovePlot") self.gridLayout_4.addWidget(self.btnRemovePlot, 0, 1, 1, 1) self.tablePlots = PlotItemsTable(self.groupPlot) self.tablePlots.setMinimumSize(QtCore.QSize(0, 150)) self.tablePlots.setEditTriggers( QtWidgets.QAbstractItemView.AllEditTriggers) self.tablePlots.setWordWrap(False) self.tablePlots.setObjectName("tablePlots") self.tablePlots.setColumnCount(4) self.tablePlots.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(3, item) self.tablePlots.horizontalHeader().setVisible(False) self.tablePlots.horizontalHeader().setCascadingSectionResizes(False) self.tablePlots.horizontalHeader().setDefaultSectionSize(110) self.tablePlots.horizontalHeader().setMinimumSectionSize(80) self.tablePlots.horizontalHeader().setStretchLastSection(True) self.tablePlots.verticalHeader().setDefaultSectionSize(20) self.gridLayout_4.addWidget(self.tablePlots, 1, 0, 1, 5) spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_4.addItem(spacerItem4, 0, 4, 1, 1) self.btnPlotDown = QtWidgets.QToolButton(self.groupPlot) self.btnPlotDown.setObjectName("btnPlotDown") self.gridLayout_4.addWidget(self.btnPlotDown, 0, 3, 1, 1) self.tableGraphics = GraphicItemsTable(self.groupPlot) self.tableGraphics.setMinimumSize(QtCore.QSize(0, 150)) self.tableGraphics.setEditTriggers( QtWidgets.QAbstractItemView.AllEditTriggers) self.tableGraphics.setWordWrap(False) self.tableGraphics.setObjectName("tableGraphics") self.tableGraphics.setColumnCount(4) self.tableGraphics.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(3, item) self.tableGraphics.horizontalHeader().setVisible(False) self.tableGraphics.horizontalHeader().setDefaultSectionSize(110) self.tableGraphics.horizontalHeader().setStretchLastSection(True) self.tableGraphics.verticalHeader().setDefaultSectionSize(20) self.tableGraphics.verticalHeader().setMinimumSectionSize(20) self.gridLayout_4.addWidget(self.tableGraphics, 3, 0, 1, 5) self.label_23 = QtWidgets.QLabel(self.groupPlot) self.label_23.setObjectName("label_23") self.gridLayout_4.addWidget(self.label_23, 2, 0, 1, 5) self.verticalLayout_7.addLayout(self.gridLayout_4) self.verticalLayout_4.addWidget(self.groupPlot) self.groupImages = QgsCollapsibleGroupBox( self.scrollAreaWidgetContents) self.groupImages.setCheckable(True) self.groupImages.setChecked(False) self.groupImages.setCollapsed(False) self.groupImages.setObjectName("groupImages") self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.groupImages) self.verticalLayout_8.setObjectName("verticalLayout_8") self.gridLayout_3 = QtWidgets.QGridLayout() self.gridLayout_3.setObjectName("gridLayout_3") self.btnImageUp = QtWidgets.QToolButton(self.groupImages) self.btnImageUp.setObjectName("btnImageUp") self.gridLayout_3.addWidget(self.btnImageUp, 0, 2, 1, 1) self.btnRemoveImage = QtWidgets.QToolButton(self.groupImages) self.btnRemoveImage.setObjectName("btnRemoveImage") self.gridLayout_3.addWidget(self.btnRemoveImage, 0, 1, 1, 1) self.btnAddImage = QtWidgets.QToolButton(self.groupImages) self.btnAddImage.setObjectName("btnAddImage") self.gridLayout_3.addWidget(self.btnAddImage, 0, 0, 1, 1) self.btnImageDown = QtWidgets.QToolButton(self.groupImages) self.btnImageDown.setObjectName("btnImageDown") self.gridLayout_3.addWidget(self.btnImageDown, 0, 3, 1, 1) spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem5, 0, 4, 1, 1) self.tableImages = ImageItemsTable(self.groupImages) self.tableImages.setMinimumSize(QtCore.QSize(0, 150)) self.tableImages.setEditTriggers( QtWidgets.QAbstractItemView.AllEditTriggers) self.tableImages.setWordWrap(False) self.tableImages.setObjectName("tableImages") self.tableImages.setColumnCount(3) self.tableImages.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(2, item) self.tableImages.horizontalHeader().setDefaultSectionSize(130) self.tableImages.horizontalHeader().setMinimumSectionSize(39) self.tableImages.horizontalHeader().setStretchLastSection(True) self.tableImages.verticalHeader().setDefaultSectionSize(20) self.gridLayout_3.addWidget(self.tableImages, 1, 0, 1, 5) self.verticalLayout_8.addLayout(self.gridLayout_3) self.verticalLayout_4.addWidget(self.groupImages) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.horizontalLayout_2.addWidget(self.scrollArea) self.verticalLayout_5.addLayout(self.horizontalLayout_2) self.radLayoutCustom = QtWidgets.QRadioButton(self.tab_2) self.radLayoutCustom.setObjectName("radLayoutCustom") self.verticalLayout_5.addWidget(self.radLayoutCustom) self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") self.btnBrowseTemplate = QtWidgets.QToolButton(self.tab_2) self.btnBrowseTemplate.setObjectName("btnBrowseTemplate") self.gridLayout_2.addWidget(self.btnBrowseTemplate, 0, 3, 1, 1) self.label_5 = QtWidgets.QLabel(self.tab_2) self.label_5.setObjectName("label_5") self.gridLayout_2.addWidget(self.label_5, 0, 1, 1, 1) self.editTemplate = QtWidgets.QLineEdit(self.tab_2) self.editTemplate.setObjectName("editTemplate") self.gridLayout_2.addWidget(self.editTemplate, 0, 2, 1, 1) self.label_10 = QtWidgets.QLabel(self.tab_2) self.label_10.setObjectName("label_10") self.gridLayout_2.addWidget(self.label_10, 1, 1, 1, 3) spacerItem6 = QtWidgets.QSpacerItem(28, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem6, 0, 0, 2, 1) self.verticalLayout_5.addLayout(self.gridLayout_2) self.tabWidget.addTab(self.tab_2, "") self.tab_3 = QtWidgets.QWidget() self.tab_3.setObjectName("tab_3") self.formLayout_2 = QtWidgets.QFormLayout(self.tab_3) self.formLayout_2.setObjectName("formLayout_2") self.label_4 = QtWidgets.QLabel(self.tab_3) self.label_4.setObjectName("label_4") self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_4) self.radQualBest = QtWidgets.QRadioButton(self.tab_3) self.radQualBest.setChecked(False) self.radQualBest.setObjectName("radQualBest") self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.radQualBest) self.radQualHigh = QtWidgets.QRadioButton(self.tab_3) self.radQualHigh.setChecked(True) self.radQualHigh.setObjectName("radQualHigh") self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.radQualHigh) self.radQualLow = QtWidgets.QRadioButton(self.tab_3) self.radQualLow.setObjectName("radQualLow") self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.radQualLow) self.groupBox = QtWidgets.QGroupBox(self.tab_3) self.groupBox.setFlat(True) self.groupBox.setObjectName("groupBox") self.gridLayout = QtWidgets.QGridLayout(self.groupBox) self.gridLayout.setObjectName("gridLayout") self.btnBrowseFfmpegPath = QtWidgets.QToolButton(self.groupBox) self.btnBrowseFfmpegPath.setObjectName("btnBrowseFfmpegPath") self.gridLayout.addWidget(self.btnBrowseFfmpegPath, 3, 2, 1, 1) self.editFfmpegPath = QtWidgets.QLineEdit(self.groupBox) self.editFfmpegPath.setObjectName("editFfmpegPath") self.gridLayout.addWidget(self.editFfmpegPath, 3, 1, 1, 1) self.radFfmpegCustom = QtWidgets.QRadioButton(self.groupBox) self.radFfmpegCustom.setObjectName("radFfmpegCustom") self.gridLayout.addWidget(self.radFfmpegCustom, 3, 0, 1, 1) self.radFfmpegSystem = QtWidgets.QRadioButton(self.groupBox) self.radFfmpegSystem.setChecked(True) self.radFfmpegSystem.setObjectName("radFfmpegSystem") self.gridLayout.addWidget(self.radFfmpegSystem, 2, 0, 1, 4) self.label_9 = QtWidgets.QLabel(self.groupBox) self.label_9.setObjectName("label_9") self.gridLayout.addWidget(self.label_9, 1, 0, 1, 3) self.formLayout_2.setWidget(4, QtWidgets.QFormLayout.SpanningRole, self.groupBox) spacerItem7 = QtWidgets.QSpacerItem(20, 500, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.formLayout_2.setItem(3, QtWidgets.QFormLayout.FieldRole, spacerItem7) self.tabWidget.addTab(self.tab_3, "") self.verticalLayout_6.addWidget(self.tabWidget) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.progress = QtWidgets.QProgressBar(AnimationDialog) self.progress.setProperty("value", 0) self.progress.setObjectName("progress") self.horizontalLayout_4.addWidget(self.progress) self.pbPreview = QtWidgets.QPushButton(AnimationDialog) self.pbPreview.setObjectName("pbPreview") self.horizontalLayout_4.addWidget(self.pbPreview) self.buttonBox = QtWidgets.QDialogButtonBox(AnimationDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setObjectName("buttonBox") self.horizontalLayout_4.addWidget(self.buttonBox) self.verticalLayout_6.addLayout(self.horizontalLayout_4) self.retranslateUi(AnimationDialog) self.tabWidget.setCurrentIndex(0) self.cboPosTitle.setCurrentIndex(4) self.cboPosTime.setCurrentIndex(1) self.cboPosLegend.setCurrentIndex(3) self.buttonBox.rejected.connect(AnimationDialog.reject) QtCore.QMetaObject.connectSlotsByName(AnimationDialog)
def setupUi(self, AnimationDialog): AnimationDialog.setObjectName("AnimationDialog") AnimationDialog.resize(583, 550) self.verticalLayout_6 = QtWidgets.QVBoxLayout(AnimationDialog) self.verticalLayout_6.setObjectName("verticalLayout_6") self.tabWidget = QtWidgets.QTabWidget(AnimationDialog) self.tabWidget.setObjectName("tabWidget") self.tab = QtWidgets.QWidget() self.tab.setObjectName("tab") self.formLayout = QtWidgets.QFormLayout(self.tab) self.formLayout.setObjectName("formLayout") self.label_6 = QtWidgets.QLabel(self.tab) self.label_6.setObjectName("label_6") self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_6) self.cboStart = QtWidgets.QComboBox(self.tab) self.cboStart.setObjectName("cboStart") self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.cboStart) self.label_7 = QtWidgets.QLabel(self.tab) self.label_7.setObjectName("label_7") self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_7) self.cboEnd = QtWidgets.QComboBox(self.tab) self.cboEnd.setObjectName("cboEnd") self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.cboEnd) self.label_13 = QtWidgets.QLabel(self.tab) self.label_13.setObjectName("label_13") self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.label_13) self.cboResult = QtWidgets.QComboBox(self.tab) self.cboResult.setObjectName("cboResult") self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.cboResult) self.label_11 = QtWidgets.QLabel(self.tab) self.label_11.setObjectName("label_11") self.formLayout.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.label_11) self.cboScalar = QtWidgets.QComboBox(self.tab) self.cboScalar.setObjectName("cboScalar") self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.cboScalar) self.label_12 = QtWidgets.QLabel(self.tab) self.label_12.setObjectName("label_12") self.formLayout.setWidget(6, QtWidgets.QFormLayout.LabelRole, self.label_12) self.cboVector = QtWidgets.QComboBox(self.tab) self.cboVector.setObjectName("cboVector") self.formLayout.setWidget(6, QtWidgets.QFormLayout.FieldRole, self.cboVector) self.label_2 = QtWidgets.QLabel(self.tab) self.label_2.setObjectName("label_2") self.formLayout.setWidget(7, QtWidgets.QFormLayout.LabelRole, self.label_2) self.spinWidth = QtWidgets.QSpinBox(self.tab) self.spinWidth.setMinimum(16) self.spinWidth.setMaximum(9999) self.spinWidth.setProperty("value", 1920) self.spinWidth.setObjectName("spinWidth") self.formLayout.setWidget(7, QtWidgets.QFormLayout.FieldRole, self.spinWidth) self.label_3 = QtWidgets.QLabel(self.tab) self.label_3.setObjectName("label_3") self.formLayout.setWidget(8, QtWidgets.QFormLayout.LabelRole, self.label_3) self.spinHeight = QtWidgets.QSpinBox(self.tab) self.spinHeight.setMinimum(16) self.spinHeight.setMaximum(9999) self.spinHeight.setProperty("value", 1080) self.spinHeight.setObjectName("spinHeight") self.formLayout.setWidget(8, QtWidgets.QFormLayout.FieldRole, self.spinHeight) self.label_8 = QtWidgets.QLabel(self.tab) self.label_8.setObjectName("label_8") self.formLayout.setWidget(9, QtWidgets.QFormLayout.LabelRole, self.label_8) self.spinSpeed = QtWidgets.QSpinBox(self.tab) self.spinSpeed.setMinimum(1) self.spinSpeed.setMaximum(60) self.spinSpeed.setProperty("value", 5) self.spinSpeed.setObjectName("spinSpeed") self.formLayout.setWidget(9, QtWidgets.QFormLayout.FieldRole, self.spinSpeed) self.label = QtWidgets.QLabel(self.tab) self.label.setObjectName("label") self.formLayout.setWidget(10, QtWidgets.QFormLayout.LabelRole, self.label) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.editOutput = QtWidgets.QLineEdit(self.tab) self.editOutput.setObjectName("editOutput") self.horizontalLayout.addWidget(self.editOutput) self.btnBrowseOutput = QtWidgets.QToolButton(self.tab) self.btnBrowseOutput.setObjectName("btnBrowseOutput") self.horizontalLayout.addWidget(self.btnBrowseOutput) self.formLayout.setLayout(10, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtWidgets.QWidget() self.tab_2.setObjectName("tab_2") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.tab_2) self.verticalLayout_5.setObjectName("verticalLayout_5") self.radLayoutDefault = QtWidgets.QRadioButton(self.tab_2) self.radLayoutDefault.setChecked(True) self.radLayoutDefault.setObjectName("radLayoutDefault") self.verticalLayout_5.addWidget(self.radLayoutDefault) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") spacerItem = QtWidgets.QSpacerItem(28, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.scrollArea = QtWidgets.QScrollArea(self.tab_2) self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 488, 1125)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents) self.verticalLayout_4.setObjectName("verticalLayout_4") self.groupTitle = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupTitle.setCheckable(True) self.groupTitle.setChecked(False) self.groupTitle.setObjectName("groupTitle") self.verticalLayout = QtWidgets.QVBoxLayout(self.groupTitle) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout_5 = QtWidgets.QGridLayout() self.gridLayout_5.setObjectName("gridLayout_5") self.label_14 = QtWidgets.QLabel(self.groupTitle) self.label_14.setObjectName("label_14") self.gridLayout_5.addWidget(self.label_14, 0, 0, 1, 1) self.cboPosTitle = QtWidgets.QComboBox(self.groupTitle) self.cboPosTitle.setObjectName("cboPosTitle") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.cboPosTitle.addItem("") self.gridLayout_5.addWidget(self.cboPosTitle, 4, 1, 1, 2) self.fbtnTitle = QgsFontButton(self.groupTitle) self.fbtnTitle.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnTitle.setFont(font) self.fbtnTitle.setMode(QgsFontButton.ModeQFont) font = QtGui.QFont() font.setPointSize(8) self.fbtnTitle.setCurrentFont(font) self.fbtnTitle.setObjectName("fbtnTitle") self.gridLayout_5.addWidget(self.fbtnTitle, 1, 1, 1, 2) self.colorTitleText = QgsColorButton(self.groupTitle) self.colorTitleText.setMinimumSize(QtCore.QSize(24, 21)) self.colorTitleText.setColor(QtGui.QColor(0, 0, 0)) self.colorTitleText.setShowNoColor(True) self.colorTitleText.setObjectName("colorTitleText") self.gridLayout_5.addWidget(self.colorTitleText, 1, 4, 1, 1) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem1, 1, 3, 1, 1) self.label_17 = QtWidgets.QLabel(self.groupTitle) self.label_17.setObjectName("label_17") self.gridLayout_5.addWidget(self.label_17, 4, 0, 1, 1) self.colorTitleBackground = QgsColorButton(self.groupTitle) self.colorTitleBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorTitleBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorTitleBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorTitleBackground.setShowNoColor(True) self.colorTitleBackground.setObjectName("colorTitleBackground") self.gridLayout_5.addWidget(self.colorTitleBackground, 2, 4, 1, 1) self.labelTitle = QtWidgets.QLineEdit(self.groupTitle) self.labelTitle.setObjectName("labelTitle") self.gridLayout_5.addWidget(self.labelTitle, 0, 1, 1, 4) self.cbTitleBackground = QtWidgets.QCheckBox(self.groupTitle) self.cbTitleBackground.setObjectName("cbTitleBackground") self.gridLayout_5.addWidget(self.cbTitleBackground, 2, 0, 1, 4) self.label_15 = QtWidgets.QLabel(self.groupTitle) self.label_15.setObjectName("label_15") self.gridLayout_5.addWidget(self.label_15, 1, 0, 1, 1) self.cbTitleFrame = QtWidgets.QCheckBox(self.groupTitle) self.cbTitleFrame.setObjectName("cbTitleFrame") self.gridLayout_5.addWidget(self.cbTitleFrame, 3, 0, 1, 4) self.colorTitleFrame = QgsColorButton(self.groupTitle) self.colorTitleFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorTitleFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorTitleFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorTitleFrame.setObjectName("colorTitleFrame") self.gridLayout_5.addWidget(self.colorTitleFrame, 3, 4, 1, 1) self.gridLayout_5.setColumnStretch(0, 1) self.gridLayout_5.setColumnStretch(1, 10) self.verticalLayout.addLayout(self.gridLayout_5) self.verticalLayout_4.addWidget(self.groupTitle) self.groupTime = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupTime.setCheckable(True) self.groupTime.setChecked(False) self.groupTime.setObjectName("groupTime") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupTime) self.verticalLayout_2.setObjectName("verticalLayout_2") self.gridLayout_6 = QtWidgets.QGridLayout() self.gridLayout_6.setObjectName("gridLayout_6") self.colorTimeBackground = QgsColorButton(self.groupTime) self.colorTimeBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorTimeBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorTimeBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorTimeBackground.setObjectName("colorTimeBackground") self.gridLayout_6.addWidget(self.colorTimeBackground, 2, 3, 1, 1) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_6.addItem(spacerItem2, 1, 2, 1, 1) self.fbtnTime = QgsFontButton(self.groupTime) self.fbtnTime.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnTime.setFont(font) self.fbtnTime.setMode(QgsFontButton.ModeQFont) self.fbtnTime.setObjectName("fbtnTime") self.gridLayout_6.addWidget(self.fbtnTime, 1, 1, 1, 1) self.cbTimeBackground = QtWidgets.QCheckBox(self.groupTime) self.cbTimeBackground.setObjectName("cbTimeBackground") self.gridLayout_6.addWidget(self.cbTimeBackground, 2, 0, 1, 3) self.label_18 = QtWidgets.QLabel(self.groupTime) self.label_18.setObjectName("label_18") self.gridLayout_6.addWidget(self.label_18, 1, 0, 1, 1) self.label_16 = QtWidgets.QLabel(self.groupTime) self.label_16.setObjectName("label_16") self.gridLayout_6.addWidget(self.label_16, 0, 0, 1, 1) self.cboPosTime = QtWidgets.QComboBox(self.groupTime) self.cboPosTime.setObjectName("cboPosTime") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.cboPosTime.addItem("") self.gridLayout_6.addWidget(self.cboPosTime, 4, 1, 1, 1) self.label_19 = QtWidgets.QLabel(self.groupTime) self.label_19.setObjectName("label_19") self.gridLayout_6.addWidget(self.label_19, 4, 0, 1, 1) self.colorTimeText = QgsColorButton(self.groupTime) self.colorTimeText.setMinimumSize(QtCore.QSize(24, 21)) self.colorTimeText.setColor(QtGui.QColor(0, 0, 0)) self.colorTimeText.setObjectName("colorTimeText") self.gridLayout_6.addWidget(self.colorTimeText, 1, 3, 1, 1) self.labelTime = QtWidgets.QLineEdit(self.groupTime) self.labelTime.setObjectName("labelTime") self.gridLayout_6.addWidget(self.labelTime, 0, 1, 1, 3) self.cbTimeFrame = QtWidgets.QCheckBox(self.groupTime) self.cbTimeFrame.setObjectName("cbTimeFrame") self.gridLayout_6.addWidget(self.cbTimeFrame, 3, 0, 1, 3) self.colorTimeFrame = QgsColorButton(self.groupTime) self.colorTimeFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorTimeFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorTimeFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorTimeFrame.setObjectName("colorTimeFrame") self.gridLayout_6.addWidget(self.colorTimeFrame, 3, 3, 1, 1) self.verticalLayout_2.addLayout(self.gridLayout_6) self.verticalLayout_4.addWidget(self.groupTime) self.groupLegend = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupLegend.setCheckable(True) self.groupLegend.setChecked(False) self.groupLegend.setObjectName("groupLegend") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupLegend) self.verticalLayout_3.setObjectName("verticalLayout_3") self.gridLayout_7 = QtWidgets.QGridLayout() self.gridLayout_7.setObjectName("gridLayout_7") self.label_22 = QtWidgets.QLabel(self.groupLegend) self.label_22.setObjectName("label_22") self.gridLayout_7.addWidget(self.label_22, 4, 0, 1, 1) self.cboPosLegend = QtWidgets.QComboBox(self.groupLegend) self.cboPosLegend.setObjectName("cboPosLegend") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.cboPosLegend.addItem("") self.gridLayout_7.addWidget(self.cboPosLegend, 4, 1, 1, 1) self.label_20 = QtWidgets.QLabel(self.groupLegend) self.label_20.setObjectName("label_20") self.gridLayout_7.addWidget(self.label_20, 0, 0, 1, 1) self.colorLegendText = QgsColorButton(self.groupLegend) self.colorLegendText.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendText.setColor(QtGui.QColor(0, 0, 0)) self.colorLegendText.setObjectName("colorLegendText") self.gridLayout_7.addWidget(self.colorLegendText, 1, 3, 1, 1) self.label_21 = QtWidgets.QLabel(self.groupLegend) self.label_21.setObjectName("label_21") self.gridLayout_7.addWidget(self.label_21, 1, 0, 1, 1) self.cbLegendBackground = QtWidgets.QCheckBox(self.groupLegend) self.cbLegendBackground.setObjectName("cbLegendBackground") self.gridLayout_7.addWidget(self.cbLegendBackground, 2, 0, 1, 3) self.labelLegend = QtWidgets.QLineEdit(self.groupLegend) self.labelLegend.setObjectName("labelLegend") self.gridLayout_7.addWidget(self.labelLegend, 0, 1, 1, 3) self.colorLegendBackground = QgsColorButton(self.groupLegend) self.colorLegendBackground.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendBackground.setColor(QtGui.QColor(255, 255, 255)) self.colorLegendBackground.setDefaultColor(QtGui.QColor(255, 255, 255)) self.colorLegendBackground.setObjectName("colorLegendBackground") self.gridLayout_7.addWidget(self.colorLegendBackground, 2, 3, 1, 1) spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_7.addItem(spacerItem3, 1, 2, 1, 1) self.fbtnLegend = QgsFontButton(self.groupLegend) self.fbtnLegend.setMinimumSize(QtCore.QSize(0, 21)) font = QtGui.QFont() font.setPointSize(7) self.fbtnLegend.setFont(font) self.fbtnLegend.setMode(QgsFontButton.ModeQFont) self.fbtnLegend.setObjectName("fbtnLegend") self.gridLayout_7.addWidget(self.fbtnLegend, 1, 1, 1, 1) self.cbLegendFrame = QtWidgets.QCheckBox(self.groupLegend) self.cbLegendFrame.setObjectName("cbLegendFrame") self.gridLayout_7.addWidget(self.cbLegendFrame, 3, 0, 1, 3) self.colorLegendFrame = QgsColorButton(self.groupLegend) self.colorLegendFrame.setMinimumSize(QtCore.QSize(24, 21)) self.colorLegendFrame.setColor(QtGui.QColor(0, 0, 0)) self.colorLegendFrame.setDefaultColor(QtGui.QColor(0, 0, 0)) self.colorLegendFrame.setObjectName("colorLegendFrame") self.gridLayout_7.addWidget(self.colorLegendFrame, 3, 3, 1, 1) self.verticalLayout_3.addLayout(self.gridLayout_7) self.verticalLayout_4.addWidget(self.groupLegend) self.groupPlot = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupPlot.setCheckable(True) self.groupPlot.setChecked(False) self.groupPlot.setCollapsed(False) self.groupPlot.setObjectName("groupPlot") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupPlot) self.verticalLayout_7.setObjectName("verticalLayout_7") self.gridLayout_4 = QtWidgets.QGridLayout() self.gridLayout_4.setObjectName("gridLayout_4") self.btnPlotUp = QtWidgets.QToolButton(self.groupPlot) self.btnPlotUp.setObjectName("btnPlotUp") self.gridLayout_4.addWidget(self.btnPlotUp, 0, 2, 1, 1) self.btnAddPlot = QtWidgets.QToolButton(self.groupPlot) self.btnAddPlot.setObjectName("btnAddPlot") self.gridLayout_4.addWidget(self.btnAddPlot, 0, 0, 1, 1) self.btnRemovePlot = QtWidgets.QToolButton(self.groupPlot) self.btnRemovePlot.setObjectName("btnRemovePlot") self.gridLayout_4.addWidget(self.btnRemovePlot, 0, 1, 1, 1) self.tablePlots = QtWidgets.QTableWidget(self.groupPlot) self.tablePlots.setMinimumSize(QtCore.QSize(0, 150)) self.tablePlots.setObjectName("tablePlots") self.tablePlots.setColumnCount(4) self.tablePlots.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tablePlots.setHorizontalHeaderItem(3, item) self.tablePlots.horizontalHeader().setVisible(False) self.tablePlots.horizontalHeader().setCascadingSectionResizes(False) self.tablePlots.horizontalHeader().setDefaultSectionSize(110) self.tablePlots.horizontalHeader().setMinimumSectionSize(80) self.tablePlots.verticalHeader().setDefaultSectionSize(20) self.gridLayout_4.addWidget(self.tablePlots, 1, 0, 1, 5) spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_4.addItem(spacerItem4, 0, 4, 1, 1) self.btnPlotDown = QtWidgets.QToolButton(self.groupPlot) self.btnPlotDown.setObjectName("btnPlotDown") self.gridLayout_4.addWidget(self.btnPlotDown, 0, 3, 1, 1) self.tableGraphics = QtWidgets.QTableWidget(self.groupPlot) self.tableGraphics.setMinimumSize(QtCore.QSize(0, 150)) self.tableGraphics.setObjectName("tableGraphics") self.tableGraphics.setColumnCount(4) self.tableGraphics.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.tableGraphics.setHorizontalHeaderItem(3, item) self.tableGraphics.horizontalHeader().setVisible(False) self.tableGraphics.horizontalHeader().setDefaultSectionSize(110) self.tableGraphics.verticalHeader().setDefaultSectionSize(20) self.tableGraphics.verticalHeader().setMinimumSectionSize(20) self.gridLayout_4.addWidget(self.tableGraphics, 3, 0, 1, 5) self.label_23 = QtWidgets.QLabel(self.groupPlot) self.label_23.setObjectName("label_23") self.gridLayout_4.addWidget(self.label_23, 2, 0, 1, 5) self.verticalLayout_7.addLayout(self.gridLayout_4) self.verticalLayout_4.addWidget(self.groupPlot) self.groupImages = QgsCollapsibleGroupBox(self.scrollAreaWidgetContents) self.groupImages.setCheckable(True) self.groupImages.setChecked(False) self.groupImages.setCollapsed(False) self.groupImages.setObjectName("groupImages") self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.groupImages) self.verticalLayout_8.setObjectName("verticalLayout_8") self.gridLayout_3 = QtWidgets.QGridLayout() self.gridLayout_3.setObjectName("gridLayout_3") self.btnImageUp = QtWidgets.QToolButton(self.groupImages) self.btnImageUp.setObjectName("btnImageUp") self.gridLayout_3.addWidget(self.btnImageUp, 0, 2, 1, 1) self.btnRemoveImage = QtWidgets.QToolButton(self.groupImages) self.btnRemoveImage.setObjectName("btnRemoveImage") self.gridLayout_3.addWidget(self.btnRemoveImage, 0, 1, 1, 1) self.btnAddImage = QtWidgets.QToolButton(self.groupImages) self.btnAddImage.setObjectName("btnAddImage") self.gridLayout_3.addWidget(self.btnAddImage, 0, 0, 1, 1) self.btnImageDown = QtWidgets.QToolButton(self.groupImages) self.btnImageDown.setObjectName("btnImageDown") self.gridLayout_3.addWidget(self.btnImageDown, 0, 3, 1, 1) spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem5, 0, 4, 1, 1) self.tableImages = QtWidgets.QTableWidget(self.groupImages) self.tableImages.setMinimumSize(QtCore.QSize(0, 150)) self.tableImages.setObjectName("tableImages") self.tableImages.setColumnCount(3) self.tableImages.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.tableImages.setHorizontalHeaderItem(2, item) self.tableImages.horizontalHeader().setDefaultSectionSize(130) self.tableImages.horizontalHeader().setMinimumSectionSize(39) self.tableImages.verticalHeader().setDefaultSectionSize(20) self.gridLayout_3.addWidget(self.tableImages, 1, 0, 1, 5) self.verticalLayout_8.addLayout(self.gridLayout_3) self.verticalLayout_4.addWidget(self.groupImages) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.horizontalLayout_2.addWidget(self.scrollArea) self.verticalLayout_5.addLayout(self.horizontalLayout_2) self.radLayoutCustom = QtWidgets.QRadioButton(self.tab_2) self.radLayoutCustom.setObjectName("radLayoutCustom") self.verticalLayout_5.addWidget(self.radLayoutCustom) self.gridLayout_2 = QtWidgets.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") self.btnBrowseTemplate = QtWidgets.QToolButton(self.tab_2) self.btnBrowseTemplate.setObjectName("btnBrowseTemplate") self.gridLayout_2.addWidget(self.btnBrowseTemplate, 0, 3, 1, 1) self.label_5 = QtWidgets.QLabel(self.tab_2) self.label_5.setObjectName("label_5") self.gridLayout_2.addWidget(self.label_5, 0, 1, 1, 1) self.editTemplate = QtWidgets.QLineEdit(self.tab_2) self.editTemplate.setObjectName("editTemplate") self.gridLayout_2.addWidget(self.editTemplate, 0, 2, 1, 1) self.label_10 = QtWidgets.QLabel(self.tab_2) self.label_10.setObjectName("label_10") self.gridLayout_2.addWidget(self.label_10, 1, 1, 1, 3) spacerItem6 = QtWidgets.QSpacerItem(28, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem6, 0, 0, 2, 1) self.verticalLayout_5.addLayout(self.gridLayout_2) self.tabWidget.addTab(self.tab_2, "") self.tab_3 = QtWidgets.QWidget() self.tab_3.setObjectName("tab_3") self.formLayout_2 = QtWidgets.QFormLayout(self.tab_3) self.formLayout_2.setObjectName("formLayout_2") self.label_4 = QtWidgets.QLabel(self.tab_3) self.label_4.setObjectName("label_4") self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_4) self.radQualBest = QtWidgets.QRadioButton(self.tab_3) self.radQualBest.setChecked(False) self.radQualBest.setObjectName("radQualBest") self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.radQualBest) self.radQualHigh = QtWidgets.QRadioButton(self.tab_3) self.radQualHigh.setChecked(True) self.radQualHigh.setObjectName("radQualHigh") self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.radQualHigh) self.radQualLow = QtWidgets.QRadioButton(self.tab_3) self.radQualLow.setObjectName("radQualLow") self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.radQualLow) self.groupBox = QtWidgets.QGroupBox(self.tab_3) self.groupBox.setFlat(True) self.groupBox.setObjectName("groupBox") self.gridLayout = QtWidgets.QGridLayout(self.groupBox) self.gridLayout.setObjectName("gridLayout") self.btnBrowseFfmpegPath = QtWidgets.QToolButton(self.groupBox) self.btnBrowseFfmpegPath.setObjectName("btnBrowseFfmpegPath") self.gridLayout.addWidget(self.btnBrowseFfmpegPath, 3, 2, 1, 1) self.editFfmpegPath = QtWidgets.QLineEdit(self.groupBox) self.editFfmpegPath.setObjectName("editFfmpegPath") self.gridLayout.addWidget(self.editFfmpegPath, 3, 1, 1, 1) self.radFfmpegCustom = QtWidgets.QRadioButton(self.groupBox) self.radFfmpegCustom.setObjectName("radFfmpegCustom") self.gridLayout.addWidget(self.radFfmpegCustom, 3, 0, 1, 1) self.radFfmpegSystem = QtWidgets.QRadioButton(self.groupBox) self.radFfmpegSystem.setChecked(True) self.radFfmpegSystem.setObjectName("radFfmpegSystem") self.gridLayout.addWidget(self.radFfmpegSystem, 2, 0, 1, 4) self.label_9 = QtWidgets.QLabel(self.groupBox) self.label_9.setObjectName("label_9") self.gridLayout.addWidget(self.label_9, 1, 0, 1, 3) self.formLayout_2.setWidget(4, QtWidgets.QFormLayout.SpanningRole, self.groupBox) spacerItem7 = QtWidgets.QSpacerItem(20, 500, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.formLayout_2.setItem(3, QtWidgets.QFormLayout.FieldRole, spacerItem7) self.tabWidget.addTab(self.tab_3, "") self.verticalLayout_6.addWidget(self.tabWidget) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.progress = QtWidgets.QProgressBar(AnimationDialog) self.progress.setProperty("value", 0) self.progress.setObjectName("progress") self.horizontalLayout_4.addWidget(self.progress) self.pbPreview = QtWidgets.QPushButton(AnimationDialog) self.pbPreview.setObjectName("pbPreview") self.horizontalLayout_4.addWidget(self.pbPreview) self.buttonBox = QtWidgets.QDialogButtonBox(AnimationDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setObjectName("buttonBox") self.horizontalLayout_4.addWidget(self.buttonBox) self.verticalLayout_6.addLayout(self.horizontalLayout_4) self.retranslateUi(AnimationDialog) self.tabWidget.setCurrentIndex(0) self.buttonBox.rejected.connect(AnimationDialog.reject) QtCore.QMetaObject.connectSlotsByName(AnimationDialog)