class Ui_MapDialog(object):
    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 retranslateUi(self, MapDialog):
        _translate = QtCore.QCoreApplication.translate
        MapDialog.setWindowTitle(_translate("MapDialog", "Export Maps"))
        self.radLayoutDefault.setText(_translate("MapDialog", "Default Layout"))
        self.groupScaleBar.setTitle(_translate("MapDialog", "Scale Bar"))
        self.cbScaleBarFrame.setText(_translate("MapDialog", "Border"))
        self.cboPosScaleBar.setItemText(0, _translate("MapDialog", "Top-Left"))
        self.cboPosScaleBar.setItemText(1, _translate("MapDialog", "Top-Right"))
        self.cboPosScaleBar.setItemText(2, _translate("MapDialog", "Bottom-Left"))
        self.cboPosScaleBar.setItemText(3, _translate("MapDialog", "Bottom-Right"))
        self.cboPosScaleBar.setItemText(4, _translate("MapDialog", "Top-Center"))
        self.cboPosScaleBar.setItemText(5, _translate("MapDialog", "Bottom-Center"))
        self.cbScaleBarBackground.setText(_translate("MapDialog", "Background"))
        self.label_24.setText(_translate("MapDialog", "Position"))
        self.label_8.setText(_translate("MapDialog", "Text"))
        self.groupNorthArrow.setTitle(_translate("MapDialog", "North Arrow"))
        self.cbNorthArrowBackground.setText(_translate("MapDialog", "Background"))
        self.label_25.setText(_translate("MapDialog", "Position"))
        self.cboPosNorthArrow.setItemText(0, _translate("MapDialog", "Top-Left"))
        self.cboPosNorthArrow.setItemText(1, _translate("MapDialog", "Top-Right"))
        self.cboPosNorthArrow.setItemText(2, _translate("MapDialog", "Bottom-Left"))
        self.cboPosNorthArrow.setItemText(3, _translate("MapDialog", "Bottom-Right"))
        self.cboPosNorthArrow.setItemText(4, _translate("MapDialog", "Top-Center"))
        self.cboPosNorthArrow.setItemText(5, _translate("MapDialog", "Bottom-Center"))
        self.cbNorthArrowFrame.setText(_translate("MapDialog", "Border"))
        self.groupLegend.setTitle(_translate("MapDialog", "Legend"))
        self.label_22.setText(_translate("MapDialog", "Position"))
        self.cboPosLegend.setItemText(0, _translate("MapDialog", "Top-Left"))
        self.cboPosLegend.setItemText(1, _translate("MapDialog", "Top-Right"))
        self.cboPosLegend.setItemText(2, _translate("MapDialog", "Bottom-Left"))
        self.cboPosLegend.setItemText(3, _translate("MapDialog", "Bottom-Right"))
        self.cboPosLegend.setItemText(4, _translate("MapDialog", "Top-Center"))
        self.cboPosLegend.setItemText(5, _translate("MapDialog", "Bottom-Center"))
        self.label_20.setText(_translate("MapDialog", "Label"))
        self.label_21.setText(_translate("MapDialog", "Text"))
        self.cbLegendBackground.setText(_translate("MapDialog", "Background"))
        self.fbtnLegend.setText(_translate("MapDialog", "Font . . ."))
        self.cbLegendFrame.setText(_translate("MapDialog", "Border"))
        self.groupPlot.setTitle(_translate("MapDialog", "Plots"))
        self.btnPlotUp.setText(_translate("MapDialog", "..."))
        self.label_28.setText(_translate("MapDialog", "Graphics"))
        item = self.tablePlots.horizontalHeaderItem(0)
        item.setText(_translate("MapDialog", "Plot Type"))
        item = self.tablePlots.horizontalHeaderItem(1)
        item.setText(_translate("MapDialog", "Plot Items"))
        item = self.tablePlots.horizontalHeaderItem(2)
        item.setText(_translate("MapDialog", "Position"))
        item = self.tablePlots.horizontalHeaderItem(3)
        item.setText(_translate("MapDialog", "Properties"))
        item = self.tableGraphics.horizontalHeaderItem(0)
        item.setText(_translate("MapDialog", "ID"))
        item = self.tableGraphics.horizontalHeaderItem(1)
        item.setText(_translate("MapDialog", "User Label"))
        item = self.tableGraphics.horizontalHeaderItem(2)
        item.setText(_translate("MapDialog", "Position"))
        item = self.tableGraphics.horizontalHeaderItem(3)
        item.setText(_translate("MapDialog", "Properties"))
        self.btnRemovePlot.setText(_translate("MapDialog", "..."))
        self.btnAddPlot.setText(_translate("MapDialog", "..."))
        self.btnPlotDown.setText(_translate("MapDialog", "..."))
        self.cbDynamicAxisLimits.setText(_translate("MapDialog", "Dynamic Axis Limits for Each Map"))
        self.groupLabel.setTitle(_translate("MapDialog", "Label"))
        self.fbtnLabel.setText(_translate("MapDialog", "Font . . ."))
        self.label_26.setText(_translate("MapDialog", "Position"))
        self.cbLabelBackground.setText(_translate("MapDialog", "Background"))
        self.label_23.setText(_translate("MapDialog", "Label"))
        self.label_27.setText(_translate("MapDialog", "Text"))
        self.cboPosLabel.setItemText(0, _translate("MapDialog", "Top-Left"))
        self.cboPosLabel.setItemText(1, _translate("MapDialog", "Top-Right"))
        self.cboPosLabel.setItemText(2, _translate("MapDialog", "Bottom-Left"))
        self.cboPosLabel.setItemText(3, _translate("MapDialog", "Bottom-Right"))
        self.cboPosLabel.setItemText(4, _translate("MapDialog", "Top-Center"))
        self.cboPosLabel.setItemText(5, _translate("MapDialog", "Bottom-Center"))
        self.pbMapNo.setText(_translate("MapDialog", "Dynamic Map Number"))
        self.pbResultType.setText(_translate("MapDialog", "Dynamic Result Type"))
        self.pbWorkspaceLoc.setText(_translate("MapDialog", "Dynamic Workspace Location"))
        self.pbResultName.setText(_translate("MapDialog", "Dynamic Result Name"))
        self.pbDate.setText(_translate("MapDialog", "Dynamic Date"))
        self.cbLabelFrame.setText(_translate("MapDialog", "Border"))
        self.groupImages.setTitle(_translate("MapDialog", "Images"))
        self.btnImageUp.setText(_translate("MapDialog", "..."))
        self.btnRemoveImage.setText(_translate("MapDialog", "..."))
        self.btnAddImage.setText(_translate("MapDialog", "..."))
        self.btnImageDown.setText(_translate("MapDialog", "..."))
        item = self.tableImages.horizontalHeaderItem(0)
        item.setText(_translate("MapDialog", "Image"))
        item = self.tableImages.horizontalHeaderItem(1)
        item.setText(_translate("MapDialog", "Position"))
        item = self.tableImages.horizontalHeaderItem(2)
        item.setText(_translate("MapDialog", "Properties"))
        self.mGroupBox.setTitle(_translate("MapDialog", "Page Properties"))
        self.label_6.setText(_translate("MapDialog", "Page Size"))
        self.cboUnits.setItemText(0, _translate("MapDialog", "mm"))
        self.cboUnits.setItemText(1, _translate("MapDialog", "inch"))
        self.label_2.setText(_translate("MapDialog", "Height"))
        self.label.setText(_translate("MapDialog", "Width"))
        self.cboPageSize.setItemText(0, _translate("MapDialog", "A0"))
        self.cboPageSize.setItemText(1, _translate("MapDialog", "A1"))
        self.cboPageSize.setItemText(2, _translate("MapDialog", "A2"))
        self.cboPageSize.setItemText(3, _translate("MapDialog", "A3"))
        self.cboPageSize.setItemText(4, _translate("MapDialog", "A4"))
        self.cboPageSize.setItemText(5, _translate("MapDialog", "A5"))
        self.cboPageSize.setItemText(6, _translate("MapDialog", "A6"))
        self.cboPageSize.setItemText(7, _translate("MapDialog", "B0"))
        self.cboPageSize.setItemText(8, _translate("MapDialog", "B1"))
        self.cboPageSize.setItemText(9, _translate("MapDialog", "B2"))
        self.cboPageSize.setItemText(10, _translate("MapDialog", "B3"))
        self.cboPageSize.setItemText(11, _translate("MapDialog", "B4"))
        self.cboPageSize.setItemText(12, _translate("MapDialog", "B5"))
        self.cboPageSize.setItemText(13, _translate("MapDialog", "B6"))
        self.cboPageSize.setItemText(14, _translate("MapDialog", "Legal"))
        self.cboPageSize.setItemText(15, _translate("MapDialog", "Letter"))
        self.cboPageSize.setItemText(16, _translate("MapDialog", "ANSI A"))
        self.cboPageSize.setItemText(17, _translate("MapDialog", "ANSI B"))
        self.cboPageSize.setItemText(18, _translate("MapDialog", "ANSI C"))
        self.cboPageSize.setItemText(19, _translate("MapDialog", "ANSI D"))
        self.cboPageSize.setItemText(20, _translate("MapDialog", "ANSI E"))
        self.cboPageSize.setItemText(21, _translate("MapDialog", "Arch A"))
        self.cboPageSize.setItemText(22, _translate("MapDialog", "Arch B"))
        self.cboPageSize.setItemText(23, _translate("MapDialog", "Arch C"))
        self.cboPageSize.setItemText(24, _translate("MapDialog", "Arch D"))
        self.cboPageSize.setItemText(25, _translate("MapDialog", "Arch E"))
        self.cboPageSize.setItemText(26, _translate("MapDialog", "Arch E1"))
        self.cboPageSize.setItemText(27, _translate("MapDialog", "Arch E2"))
        self.cboPageSize.setItemText(28, _translate("MapDialog", "Arch E3"))
        self.cboPageSize.setItemText(29, _translate("MapDialog", "Custom"))
        self.label_7.setText(_translate("MapDialog", "Orientation"))
        self.label_4.setText(_translate("MapDialog", "dpi"))
        self.cboOrientation.setItemText(0, _translate("MapDialog", "Portrait"))
        self.cboOrientation.setItemText(1, _translate("MapDialog", "Landscape"))
        self.label_9.setText(_translate("MapDialog", "Thickness (mm)"))
        self.cbPageFrame.setText(_translate("MapDialog", "Page Border"))
        self.groupBox.setTitle(_translate("MapDialog", "Page Margins"))
        self.label_11.setText(_translate("MapDialog", "Top"))
        self.label_12.setText(_translate("MapDialog", "Left"))
        self.label_14.setText(_translate("MapDialog", "Bottom"))
        self.label_13.setText(_translate("MapDialog", "Right"))
        self.radLayoutCustom.setText(_translate("MapDialog", "Custom layout (QGIS Print Layout.qpt)"))
        self.btnBrowseTemplate.setText(_translate("MapDialog", "..."))
        self.label_5.setText(_translate("MapDialog", "Template"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MapDialog", "Layout"))
        self.btnMapUp.setText(_translate("MapDialog", "..."))
        self.btnAddMap.setText(_translate("MapDialog", "..."))
        self.btnRemoveMap.setText(_translate("MapDialog", "..."))
        self.btnMapDown.setText(_translate("MapDialog", "..."))
        self.label_3.setText(_translate("MapDialog", "Maps"))
        item = self.tableMaps.horizontalHeaderItem(0)
        item.setText(_translate("MapDialog", "Result"))
        item = self.tableMaps.horizontalHeaderItem(1)
        item.setText(_translate("MapDialog", "Scalar Type"))
        item = self.tableMaps.horizontalHeaderItem(2)
        item.setText(_translate("MapDialog", "Vector Type"))
        item = self.tableMaps.horizontalHeaderItem(3)
        item.setText(_translate("MapDialog", "Time"))
        item = self.tableMaps.horizontalHeaderItem(4)
        item.setText(_translate("MapDialog", "Output"))
        self.pbImport.setText(_translate("MapDialog", "Import"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MapDialog", "Export Maps"))
        self.progress.setFormat(_translate("MapDialog", "Completed %v of %m"))
        self.pbPreview.setText(_translate("MapDialog", "Preview"))
class Ui_AnimationDialog(object):
    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 retranslateUi(self, AnimationDialog):
        _translate = QtCore.QCoreApplication.translate
        AnimationDialog.setWindowTitle(
            _translate("AnimationDialog", "Export Animation"))
        self.label_6.setText(_translate("AnimationDialog", "Start Time"))
        self.label_7.setText(_translate("AnimationDialog", "End Time"))
        self.label_13.setText(_translate("AnimationDialog", "Result"))
        self.label_11.setText(
            _translate("AnimationDialog", "Active Scalar Result"))
        self.label_12.setText(
            _translate("AnimationDialog", "Active Vector Result"))
        self.label_2.setText(_translate("AnimationDialog", "Width"))
        self.spinWidth.setSuffix(_translate("AnimationDialog", " px"))
        self.label_3.setText(_translate("AnimationDialog", "Height"))
        self.spinHeight.setSuffix(_translate("AnimationDialog", " px"))
        self.label_8.setText(_translate("AnimationDialog", "Speed"))
        self.spinSpeed.setSuffix(_translate("AnimationDialog", " fps"))
        self.label.setText(_translate("AnimationDialog", "Output"))
        self.btnBrowseOutput.setText(_translate("AnimationDialog", "..."))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab),
                                  _translate("AnimationDialog", "General"))
        self.radLayoutDefault.setText(
            _translate("AnimationDialog", "Default layout"))
        self.groupTitle.setTitle(_translate("AnimationDialog", "Title"))
        self.label_14.setText(_translate("AnimationDialog", "Label"))
        self.cboPosTitle.setItemText(0,
                                     _translate("AnimationDialog", "Top-Left"))
        self.cboPosTitle.setItemText(
            1, _translate("AnimationDialog", "Top-Right"))
        self.cboPosTitle.setItemText(
            2, _translate("AnimationDialog", "Bottom-Left"))
        self.cboPosTitle.setItemText(
            3, _translate("AnimationDialog", "Bottom-Right"))
        self.cboPosTitle.setItemText(
            4, _translate("AnimationDialog", "Top-Center"))
        self.cboPosTitle.setItemText(
            5, _translate("AnimationDialog", "Bottom-Center"))
        self.fbtnTitle.setText(_translate("AnimationDialog", "Font . . ."))
        self.label_17.setText(_translate("AnimationDialog", "Position"))
        self.cbTitleBackground.setText(
            _translate("AnimationDialog", "Background"))
        self.label_15.setText(_translate("AnimationDialog", "Text"))
        self.cbTitleFrame.setText(_translate("AnimationDialog", "Border"))
        self.groupTime.setTitle(_translate("AnimationDialog", "Time"))
        self.fbtnTime.setText(_translate("AnimationDialog", "Font . . ."))
        self.cbTimeBackground.setText(
            _translate("AnimationDialog", "Background"))
        self.label_18.setText(_translate("AnimationDialog", "Text"))
        self.label_16.setText(_translate("AnimationDialog", "Label"))
        self.cboPosTime.setItemText(0, _translate("AnimationDialog",
                                                  "Top-Left"))
        self.cboPosTime.setItemText(1,
                                    _translate("AnimationDialog", "Top-Right"))
        self.cboPosTime.setItemText(
            2, _translate("AnimationDialog", "Bottom-Left"))
        self.cboPosTime.setItemText(
            3, _translate("AnimationDialog", "Bottom-Right"))
        self.cboPosTime.setItemText(
            4, _translate("AnimationDialog", "Top-Center"))
        self.cboPosTime.setItemText(
            5, _translate("AnimationDialog", "Bottom-Center"))
        self.label_19.setText(_translate("AnimationDialog", "Position"))
        self.cbTimeFrame.setText(_translate("AnimationDialog", "Border"))
        self.groupLegend.setTitle(_translate("AnimationDialog", "Legend"))
        self.label_22.setText(_translate("AnimationDialog", "Position"))
        self.cboPosLegend.setItemText(
            0, _translate("AnimationDialog", "Top-Left"))
        self.cboPosLegend.setItemText(
            1, _translate("AnimationDialog", "Top-Right"))
        self.cboPosLegend.setItemText(
            2, _translate("AnimationDialog", "Bottom-Left"))
        self.cboPosLegend.setItemText(
            3, _translate("AnimationDialog", "Bottom-Right"))
        self.cboPosLegend.setItemText(
            4, _translate("AnimationDialog", "Top-Center"))
        self.cboPosLegend.setItemText(
            5, _translate("AnimationDialog", "Bottom-Center"))
        self.label_20.setText(_translate("AnimationDialog", "Label"))
        self.label_21.setText(_translate("AnimationDialog", "Text"))
        self.cbLegendBackground.setText(
            _translate("AnimationDialog", "Background"))
        self.fbtnLegend.setText(_translate("AnimationDialog", "Font . . ."))
        self.cbLegendFrame.setText(_translate("AnimationDialog", "Border"))
        self.groupPlot.setTitle(_translate("AnimationDialog", "Plots"))
        self.btnPlotUp.setText(_translate("AnimationDialog", "..."))
        self.btnAddPlot.setText(_translate("AnimationDialog", "..."))
        self.btnRemovePlot.setText(_translate("AnimationDialog", "..."))
        item = self.tablePlots.horizontalHeaderItem(0)
        item.setText(_translate("AnimationDialog", "Plot Type"))
        item = self.tablePlots.horizontalHeaderItem(1)
        item.setText(_translate("AnimationDialog", "Plot Items"))
        item = self.tablePlots.horizontalHeaderItem(2)
        item.setText(_translate("AnimationDialog", "Position"))
        item = self.tablePlots.horizontalHeaderItem(3)
        item.setText(_translate("AnimationDialog", "Properties"))
        self.btnPlotDown.setText(_translate("AnimationDialog", "..."))
        item = self.tableGraphics.horizontalHeaderItem(0)
        item.setText(_translate("AnimationDialog", "ID"))
        item = self.tableGraphics.horizontalHeaderItem(1)
        item.setText(_translate("AnimationDialog", "User Label"))
        item = self.tableGraphics.horizontalHeaderItem(2)
        item.setText(_translate("AnimationDialog", "Position"))
        item = self.tableGraphics.horizontalHeaderItem(3)
        item.setText(_translate("AnimationDialog", "Properties"))
        self.label_23.setText(_translate("AnimationDialog", "Graphics"))
        self.groupImages.setTitle(_translate("AnimationDialog", "Images"))
        self.btnImageUp.setText(_translate("AnimationDialog", "..."))
        self.btnRemoveImage.setText(_translate("AnimationDialog", "..."))
        self.btnAddImage.setText(_translate("AnimationDialog", "..."))
        self.btnImageDown.setText(_translate("AnimationDialog", "..."))
        item = self.tableImages.horizontalHeaderItem(0)
        item.setText(_translate("AnimationDialog", "Image"))
        item = self.tableImages.horizontalHeaderItem(1)
        item.setText(_translate("AnimationDialog", "Position"))
        item = self.tableImages.horizontalHeaderItem(2)
        item.setText(_translate("AnimationDialog", "Properties"))
        self.radLayoutCustom.setText(
            _translate("AnimationDialog",
                       "Custom layout (QGIS Print Layout.qpt)"))
        self.btnBrowseTemplate.setText(_translate("AnimationDialog", "..."))
        self.label_5.setText(_translate("AnimationDialog", "Template"))
        self.label_10.setText(
            _translate(
                "AnimationDialog",
                "(Note: label with ID \'time\' will display output time)"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2),
                                  _translate("AnimationDialog", "Layout"))
        self.label_4.setText(_translate("AnimationDialog", "Quality"))
        self.radQualBest.setText(
            _translate("AnimationDialog", "Best (lossless)"))
        self.radQualHigh.setText(_translate("AnimationDialog", "High"))
        self.radQualLow.setText(_translate("AnimationDialog", "Low"))
        self.btnBrowseFfmpegPath.setText(_translate("AnimationDialog", "..."))
        self.radFfmpegCustom.setText(_translate("AnimationDialog", "custom"))
        self.radFfmpegSystem.setText(
            _translate("AnimationDialog", "default from system path"))
        self.label_9.setText(
            _translate("AnimationDialog",
                       "Video encoding utility (FFmpeg) to use:"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3),
                                  _translate("AnimationDialog", "Video"))
        self.pbPreview.setText(_translate("AnimationDialog", "Preview"))
class Ui_MapDialog(object):
    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 retranslateUi(self, MapDialog):
        _translate = QtCore.QCoreApplication.translate
        MapDialog.setWindowTitle(_translate("MapDialog", "Export Maps"))
        self.radLayoutDefault.setText(_translate("MapDialog", "Default Layout"))
        self.groupScaleBar.setTitle(_translate("MapDialog", "Scale Bar"))
        self.cbScaleBarFrame.setText(_translate("MapDialog", "Border"))
        self.cboPosScaleBar.setItemText(0, _translate("MapDialog", "Top-Left"))
        self.cboPosScaleBar.setItemText(1, _translate("MapDialog", "Top-Right"))
        self.cboPosScaleBar.setItemText(2, _translate("MapDialog", "Bottom-Left"))
        self.cboPosScaleBar.setItemText(3, _translate("MapDialog", "Bottom-Right"))
        self.cboPosScaleBar.setItemText(4, _translate("MapDialog", "Top-Center"))
        self.cboPosScaleBar.setItemText(5, _translate("MapDialog", "Bottom-Center"))
        self.cbScaleBarBackground.setText(_translate("MapDialog", "Background"))
        self.label_24.setText(_translate("MapDialog", "Position"))
        self.label_8.setText(_translate("MapDialog", "Text"))
        self.groupNorthArrow.setTitle(_translate("MapDialog", "North Arrow"))
        self.cbNorthArrowBackground.setText(_translate("MapDialog", "Background"))
        self.label_25.setText(_translate("MapDialog", "Position"))
        self.cboPosNorthArrow.setItemText(0, _translate("MapDialog", "Top-Left"))
        self.cboPosNorthArrow.setItemText(1, _translate("MapDialog", "Top-Right"))
        self.cboPosNorthArrow.setItemText(2, _translate("MapDialog", "Bottom-Left"))
        self.cboPosNorthArrow.setItemText(3, _translate("MapDialog", "Bottom-Right"))
        self.cboPosNorthArrow.setItemText(4, _translate("MapDialog", "Top-Center"))
        self.cboPosNorthArrow.setItemText(5, _translate("MapDialog", "Bottom-Center"))
        self.cbNorthArrowFrame.setText(_translate("MapDialog", "Border"))
        self.groupLegend.setTitle(_translate("MapDialog", "Legend"))
        self.label_22.setText(_translate("MapDialog", "Position"))
        self.cboPosLegend.setItemText(0, _translate("MapDialog", "Top-Left"))
        self.cboPosLegend.setItemText(1, _translate("MapDialog", "Top-Right"))
        self.cboPosLegend.setItemText(2, _translate("MapDialog", "Bottom-Left"))
        self.cboPosLegend.setItemText(3, _translate("MapDialog", "Bottom-Right"))
        self.cboPosLegend.setItemText(4, _translate("MapDialog", "Top-Center"))
        self.cboPosLegend.setItemText(5, _translate("MapDialog", "Bottom-Center"))
        self.label_20.setText(_translate("MapDialog", "Label"))
        self.label_21.setText(_translate("MapDialog", "Text"))
        self.cbLegendBackground.setText(_translate("MapDialog", "Background"))
        self.fbtnLegend.setText(_translate("MapDialog", "Font . . ."))
        self.cbLegendFrame.setText(_translate("MapDialog", "Border"))
        self.groupPlot.setTitle(_translate("MapDialog", "Plots"))
        self.btnPlotUp.setText(_translate("MapDialog", "..."))
        self.btnAddPlot.setText(_translate("MapDialog", "..."))
        self.btnRemovePlot.setText(_translate("MapDialog", "..."))
        item = self.tablePlots.horizontalHeaderItem(0)
        item.setText(_translate("MapDialog", "Plot Type"))
        item = self.tablePlots.horizontalHeaderItem(1)
        item.setText(_translate("MapDialog", "Plot Items"))
        item = self.tablePlots.horizontalHeaderItem(2)
        item.setText(_translate("MapDialog", "Position"))
        item = self.tablePlots.horizontalHeaderItem(3)
        item.setText(_translate("MapDialog", "Properties"))
        self.btnPlotDown.setText(_translate("MapDialog", "..."))
        item = self.tableGraphics.horizontalHeaderItem(0)
        item.setText(_translate("MapDialog", "ID"))
        item = self.tableGraphics.horizontalHeaderItem(1)
        item.setText(_translate("MapDialog", "User Label"))
        item = self.tableGraphics.horizontalHeaderItem(2)
        item.setText(_translate("MapDialog", "Label Position"))
        item = self.tableGraphics.horizontalHeaderItem(3)
        item.setText(_translate("MapDialog", "Properties"))
        self.label_28.setText(_translate("MapDialog", "Graphics"))
        self.groupLabel.setTitle(_translate("MapDialog", "Label"))
        self.fbtnLabel.setText(_translate("MapDialog", "Font . . ."))
        self.label_26.setText(_translate("MapDialog", "Position"))
        self.cbLabelBackground.setText(_translate("MapDialog", "Background"))
        self.label_23.setText(_translate("MapDialog", "Label"))
        self.label_27.setText(_translate("MapDialog", "Text"))
        self.cboPosLabel.setItemText(0, _translate("MapDialog", "Top-Left"))
        self.cboPosLabel.setItemText(1, _translate("MapDialog", "Top-Right"))
        self.cboPosLabel.setItemText(2, _translate("MapDialog", "Bottom-Left"))
        self.cboPosLabel.setItemText(3, _translate("MapDialog", "Bottom-Right"))
        self.cboPosLabel.setItemText(4, _translate("MapDialog", "Top-Center"))
        self.cboPosLabel.setItemText(5, _translate("MapDialog", "Bottom-Center"))
        self.pbMapNo.setText(_translate("MapDialog", "Dynamic Map Number"))
        self.pbResultType.setText(_translate("MapDialog", "Dynamic Result Type"))
        self.pbWorkspaceLoc.setText(_translate("MapDialog", "Dynamic Workspace Location"))
        self.pbResultName.setText(_translate("MapDialog", "Dynamic Result Name"))
        self.pbDate.setText(_translate("MapDialog", "Dynamic Date"))
        self.cbLabelFrame.setText(_translate("MapDialog", "Border"))
        self.groupImages.setTitle(_translate("MapDialog", "Images"))
        self.btnImageUp.setText(_translate("MapDialog", "..."))
        self.btnRemoveImage.setText(_translate("MapDialog", "..."))
        self.btnAddImage.setText(_translate("MapDialog", "..."))
        self.btnImageDown.setText(_translate("MapDialog", "..."))
        item = self.tableImages.horizontalHeaderItem(0)
        item.setText(_translate("MapDialog", "Image"))
        item = self.tableImages.horizontalHeaderItem(1)
        item.setText(_translate("MapDialog", "Position"))
        item = self.tableImages.horizontalHeaderItem(2)
        item.setText(_translate("MapDialog", "Properties"))
        self.mGroupBox.setTitle(_translate("MapDialog", "Page Properties"))
        self.label_6.setText(_translate("MapDialog", "Page Size"))
        self.cboUnits.setItemText(0, _translate("MapDialog", "mm"))
        self.cboUnits.setItemText(1, _translate("MapDialog", "inch"))
        self.label_2.setText(_translate("MapDialog", "Height"))
        self.label.setText(_translate("MapDialog", "Width"))
        self.cboPageSize.setItemText(0, _translate("MapDialog", "A0"))
        self.cboPageSize.setItemText(1, _translate("MapDialog", "A1"))
        self.cboPageSize.setItemText(2, _translate("MapDialog", "A2"))
        self.cboPageSize.setItemText(3, _translate("MapDialog", "A3"))
        self.cboPageSize.setItemText(4, _translate("MapDialog", "A4"))
        self.cboPageSize.setItemText(5, _translate("MapDialog", "A5"))
        self.cboPageSize.setItemText(6, _translate("MapDialog", "A6"))
        self.cboPageSize.setItemText(7, _translate("MapDialog", "B0"))
        self.cboPageSize.setItemText(8, _translate("MapDialog", "B1"))
        self.cboPageSize.setItemText(9, _translate("MapDialog", "B2"))
        self.cboPageSize.setItemText(10, _translate("MapDialog", "B3"))
        self.cboPageSize.setItemText(11, _translate("MapDialog", "B4"))
        self.cboPageSize.setItemText(12, _translate("MapDialog", "B5"))
        self.cboPageSize.setItemText(13, _translate("MapDialog", "B6"))
        self.cboPageSize.setItemText(14, _translate("MapDialog", "Legal"))
        self.cboPageSize.setItemText(15, _translate("MapDialog", "Letter"))
        self.cboPageSize.setItemText(16, _translate("MapDialog", "ANSI A"))
        self.cboPageSize.setItemText(17, _translate("MapDialog", "ANSI B"))
        self.cboPageSize.setItemText(18, _translate("MapDialog", "ANSI C"))
        self.cboPageSize.setItemText(19, _translate("MapDialog", "ANSI D"))
        self.cboPageSize.setItemText(20, _translate("MapDialog", "ANSI E"))
        self.cboPageSize.setItemText(21, _translate("MapDialog", "Arch A"))
        self.cboPageSize.setItemText(22, _translate("MapDialog", "Arch B"))
        self.cboPageSize.setItemText(23, _translate("MapDialog", "Arch C"))
        self.cboPageSize.setItemText(24, _translate("MapDialog", "Arch D"))
        self.cboPageSize.setItemText(25, _translate("MapDialog", "Arch E"))
        self.cboPageSize.setItemText(26, _translate("MapDialog", "Arch E1"))
        self.cboPageSize.setItemText(27, _translate("MapDialog", "Arch E2"))
        self.cboPageSize.setItemText(28, _translate("MapDialog", "Arch E3"))
        self.cboPageSize.setItemText(29, _translate("MapDialog", "Custom"))
        self.label_7.setText(_translate("MapDialog", "Orientation"))
        self.label_4.setText(_translate("MapDialog", "dpi"))
        self.cboOrientation.setItemText(0, _translate("MapDialog", "Portrait"))
        self.cboOrientation.setItemText(1, _translate("MapDialog", "Landscape"))
        self.label_9.setText(_translate("MapDialog", "Thickness (mm)"))
        self.cbPageFrame.setText(_translate("MapDialog", "Page Border"))
        self.groupBox.setTitle(_translate("MapDialog", "Page Margins"))
        self.label_11.setText(_translate("MapDialog", "Top"))
        self.label_12.setText(_translate("MapDialog", "Left"))
        self.label_14.setText(_translate("MapDialog", "Bottom"))
        self.label_13.setText(_translate("MapDialog", "Right"))
        self.radLayoutCustom.setText(_translate("MapDialog", "Custom layout (QGIS Print Layout.qpt)"))
        self.btnBrowseTemplate.setText(_translate("MapDialog", "..."))
        self.label_5.setText(_translate("MapDialog", "Template"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MapDialog", "Layout"))
        self.btnMapDown.setText(_translate("MapDialog", "..."))
        self.btnAddMap.setText(_translate("MapDialog", "..."))
        self.btnRemoveMap.setText(_translate("MapDialog", "..."))
        self.btnMapUp.setText(_translate("MapDialog", "..."))
        item = self.tableMaps.horizontalHeaderItem(0)
        item.setText(_translate("MapDialog", "Result"))
        item = self.tableMaps.horizontalHeaderItem(1)
        item.setText(_translate("MapDialog", "Scalar Type"))
        item = self.tableMaps.horizontalHeaderItem(2)
        item.setText(_translate("MapDialog", "Vector Type"))
        item = self.tableMaps.horizontalHeaderItem(3)
        item.setText(_translate("MapDialog", "Time"))
        item = self.tableMaps.horizontalHeaderItem(4)
        item.setText(_translate("MapDialog", "Output"))
        self.label_3.setText(_translate("MapDialog", "Maps"))
        self.cbSaveTemplates.setText(_translate("MapDialog", "Save Templates"))
        self.btnBrowseTemplateOut.setText(_translate("MapDialog", "..."))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MapDialog", "Export Maps"))
        self.progress.setFormat(_translate("MapDialog", "Completed %v of %m"))
        self.pbPreview.setText(_translate("MapDialog", "Preview"))
Beispiel #4
0
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"))
Beispiel #5
0
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"))
Beispiel #6
0
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"))
class Ui_AnimationDialog(object):
    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)

    def retranslateUi(self, AnimationDialog):
        _translate = QtCore.QCoreApplication.translate
        AnimationDialog.setWindowTitle(_translate("AnimationDialog", "Export Animation"))
        self.label_6.setText(_translate("AnimationDialog", "Start Time"))
        self.label_7.setText(_translate("AnimationDialog", "End Time"))
        self.label_13.setText(_translate("AnimationDialog", "Result"))
        self.label_11.setText(_translate("AnimationDialog", "Active Scalar Result"))
        self.label_12.setText(_translate("AnimationDialog", "Active Vector Result"))
        self.label_2.setText(_translate("AnimationDialog", "Width"))
        self.spinWidth.setSuffix(_translate("AnimationDialog", " px"))
        self.label_3.setText(_translate("AnimationDialog", "Height"))
        self.spinHeight.setSuffix(_translate("AnimationDialog", " px"))
        self.label_8.setText(_translate("AnimationDialog", "Speed"))
        self.spinSpeed.setSuffix(_translate("AnimationDialog", " fps"))
        self.label.setText(_translate("AnimationDialog", "Output"))
        self.btnBrowseOutput.setText(_translate("AnimationDialog", "..."))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("AnimationDialog", "General"))
        self.radLayoutDefault.setText(_translate("AnimationDialog", "Default layout"))
        self.groupTitle.setTitle(_translate("AnimationDialog", "Title"))
        self.label_14.setText(_translate("AnimationDialog", "Label"))
        self.cboPosTitle.setItemText(0, _translate("AnimationDialog", "Top-Left"))
        self.cboPosTitle.setItemText(1, _translate("AnimationDialog", "Top-Right"))
        self.cboPosTitle.setItemText(2, _translate("AnimationDialog", "Bottom-Left"))
        self.cboPosTitle.setItemText(3, _translate("AnimationDialog", "Bottom-Right"))
        self.cboPosTitle.setItemText(4, _translate("AnimationDialog", "Top-Center"))
        self.cboPosTitle.setItemText(5, _translate("AnimationDialog", "Bottom-Center"))
        self.fbtnTitle.setText(_translate("AnimationDialog", "Font . . ."))
        self.label_17.setText(_translate("AnimationDialog", "Position"))
        self.cbTitleBackground.setText(_translate("AnimationDialog", "Background"))
        self.label_15.setText(_translate("AnimationDialog", "Text"))
        self.cbTitleFrame.setText(_translate("AnimationDialog", "Border"))
        self.groupTime.setTitle(_translate("AnimationDialog", "Time"))
        self.fbtnTime.setText(_translate("AnimationDialog", "Font . . ."))
        self.cbTimeBackground.setText(_translate("AnimationDialog", "Background"))
        self.label_18.setText(_translate("AnimationDialog", "Text"))
        self.label_16.setText(_translate("AnimationDialog", "Label"))
        self.cboPosTime.setItemText(0, _translate("AnimationDialog", "Top-Left"))
        self.cboPosTime.setItemText(1, _translate("AnimationDialog", "Top-Right"))
        self.cboPosTime.setItemText(2, _translate("AnimationDialog", "Bottom-Left"))
        self.cboPosTime.setItemText(3, _translate("AnimationDialog", "Bottom-Right"))
        self.cboPosTime.setItemText(4, _translate("AnimationDialog", "Top-Center"))
        self.cboPosTime.setItemText(5, _translate("AnimationDialog", "Bottom-Center"))
        self.label_19.setText(_translate("AnimationDialog", "Position"))
        self.cbTimeFrame.setText(_translate("AnimationDialog", "Border"))
        self.groupLegend.setTitle(_translate("AnimationDialog", "Legend"))
        self.label_22.setText(_translate("AnimationDialog", "Position"))
        self.cboPosLegend.setItemText(0, _translate("AnimationDialog", "Top-Left"))
        self.cboPosLegend.setItemText(1, _translate("AnimationDialog", "Top-Right"))
        self.cboPosLegend.setItemText(2, _translate("AnimationDialog", "Bottom-Left"))
        self.cboPosLegend.setItemText(3, _translate("AnimationDialog", "Bottom-Right"))
        self.cboPosLegend.setItemText(4, _translate("AnimationDialog", "Top-Center"))
        self.cboPosLegend.setItemText(5, _translate("AnimationDialog", "Bottom-Center"))
        self.label_20.setText(_translate("AnimationDialog", "Label"))
        self.label_21.setText(_translate("AnimationDialog", "Text"))
        self.cbLegendBackground.setText(_translate("AnimationDialog", "Background"))
        self.fbtnLegend.setText(_translate("AnimationDialog", "Font . . ."))
        self.cbLegendFrame.setText(_translate("AnimationDialog", "Border"))
        self.groupPlot.setTitle(_translate("AnimationDialog", "Plots"))
        self.btnPlotUp.setText(_translate("AnimationDialog", "..."))
        self.btnAddPlot.setText(_translate("AnimationDialog", "..."))
        self.btnRemovePlot.setText(_translate("AnimationDialog", "..."))
        item = self.tablePlots.horizontalHeaderItem(0)
        item.setText(_translate("AnimationDialog", "Plot Type"))
        item = self.tablePlots.horizontalHeaderItem(1)
        item.setText(_translate("AnimationDialog", "Plot Items"))
        item = self.tablePlots.horizontalHeaderItem(2)
        item.setText(_translate("AnimationDialog", "Position"))
        item = self.tablePlots.horizontalHeaderItem(3)
        item.setText(_translate("AnimationDialog", "Properties"))
        self.btnPlotDown.setText(_translate("AnimationDialog", "..."))
        item = self.tableGraphics.horizontalHeaderItem(0)
        item.setText(_translate("AnimationDialog", "ID"))
        item = self.tableGraphics.horizontalHeaderItem(1)
        item.setText(_translate("AnimationDialog", "User Label"))
        item = self.tableGraphics.horizontalHeaderItem(2)
        item.setText(_translate("AnimationDialog", "Label Position"))
        item = self.tableGraphics.horizontalHeaderItem(3)
        item.setText(_translate("AnimationDialog", "Properties"))
        self.label_23.setText(_translate("AnimationDialog", "Graphics"))
        self.groupImages.setTitle(_translate("AnimationDialog", "Images"))
        self.btnImageUp.setText(_translate("AnimationDialog", "..."))
        self.btnRemoveImage.setText(_translate("AnimationDialog", "..."))
        self.btnAddImage.setText(_translate("AnimationDialog", "..."))
        self.btnImageDown.setText(_translate("AnimationDialog", "..."))
        item = self.tableImages.horizontalHeaderItem(0)
        item.setText(_translate("AnimationDialog", "Image"))
        item = self.tableImages.horizontalHeaderItem(1)
        item.setText(_translate("AnimationDialog", "Position"))
        item = self.tableImages.horizontalHeaderItem(2)
        item.setText(_translate("AnimationDialog", "Properties"))
        self.radLayoutCustom.setText(_translate("AnimationDialog", "Custom layout (QGIS Print Layout.qpt)"))
        self.btnBrowseTemplate.setText(_translate("AnimationDialog", "..."))
        self.label_5.setText(_translate("AnimationDialog", "Template"))
        self.label_10.setText(_translate("AnimationDialog", "(Note: label with ID \'time\' will display output time)"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("AnimationDialog", "Layout"))
        self.label_4.setText(_translate("AnimationDialog", "Quality"))
        self.radQualBest.setText(_translate("AnimationDialog", "Best (lossless)"))
        self.radQualHigh.setText(_translate("AnimationDialog", "High"))
        self.radQualLow.setText(_translate("AnimationDialog", "Low"))
        self.btnBrowseFfmpegPath.setText(_translate("AnimationDialog", "..."))
        self.radFfmpegCustom.setText(_translate("AnimationDialog", "custom"))
        self.radFfmpegSystem.setText(_translate("AnimationDialog", "default from system path"))
        self.label_9.setText(_translate("AnimationDialog", "Video encoding utility (FFmpeg) to use:"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("AnimationDialog", "Video"))
        self.pbPreview.setText(_translate("AnimationDialog", "Preview"))