# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'C:\Users\esymons\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\tuflow\forms\ui_tuflowqgis_TuOptionsDialog.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from qgis.PyQt import QtCore, QtGui, QtWidgets



from ..compatibility_routines import QT_SIZE_POLICY_MINIMUM_EXPANDING, QT_FORM_LAYOUT_FIELD_ROLE, QT_DATE_TIME_EDIT_DAY_SECTION, QT_ALIGN_V_CENTER, QT_BUTTON_BOX_CANCEL, QT_SIZE_POLICY_EXPANDING, QT_SIZE_POLICY_FIXED, QT_ALIGN_LEFT, QT_HORIZONTAL, QT_SIZE_POLICY_MINIMUM, QT_BUTTON_BOX_OK, QT_FORM_LAYOUT_LABEL_ROLE, QT_ALIGN_LEADING


class Ui_TuViewOptions(object):
    def setupUi(self, TuViewOptions):
        TuViewOptions.setObjectName("TuViewOptions")
        TuViewOptions.resize(469, 616)
        self.verticalLayout = QtWidgets.QVBoxLayout(TuViewOptions)
        self.verticalLayout.setObjectName("verticalLayout")
        self.tabWidget = QtWidgets.QTabWidget(TuViewOptions)
        self.tabWidget.setObjectName("tabWidget")
        self.Mesh = QtWidgets.QWidget()
        self.Mesh.setObjectName("Mesh")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.Mesh)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.groupBox_5 = QtWidgets.QGroupBox(self.Mesh)
        self.groupBox_5.setObjectName("groupBox_5")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox_5)
        self.gridLayout.setObjectName("gridLayout")
        spacerItem = QtWidgets.QSpacerItem(40, 20, QT_SIZE_POLICY_EXPANDING, QT_SIZE_POLICY_MINIMUM)
        self.gridLayout.addItem(spacerItem, 0, 3, 1, 1)
        self.cbShowTriangles = QtWidgets.QCheckBox(self.groupBox_5)
        self.cbShowTriangles.setObjectName("cbShowTriangles")
        self.gridLayout.addWidget(self.cbShowTriangles, 0, 2, 1, 1)
        self.cbShowGrid = QtWidgets.QCheckBox(self.groupBox_5)
        self.cbShowGrid.setObjectName("cbShowGrid")
        self.gridLayout.addWidget(self.cbShowGrid, 0, 0, 1, 2)
        self.label_9 = QtWidgets.QLabel(self.groupBox_5)
        self.label_9.setObjectName("label_9")
        self.gridLayout.addWidget(self.label_9, 1, 0, 1, 3)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem1 = QtWidgets.QSpacerItem(20, 20, QT_SIZE_POLICY_EXPANDING, QT_SIZE_POLICY_MINIMUM)
        self.horizontalLayout.addItem(spacerItem1)
        self.rbTimeUnitsHours = QtWidgets.QRadioButton(self.groupBox_5)
        self.rbTimeUnitsHours.setChecked(True)
        self.rbTimeUnitsHours.setObjectName("rbTimeUnitsHours")
        self.buttonGroup = QtWidgets.QButtonGroup(TuViewOptions)
        self.buttonGroup.setObjectName("buttonGroup")
        self.buttonGroup.addButton(self.rbTimeUnitsHours)
        self.horizontalLayout.addWidget(self.rbTimeUnitsHours)
        self.rbTimeUnitsSeconds = QtWidgets.QRadioButton(self.groupBox_5)
        self.rbTimeUnitsSeconds.setObjectName("rbTimeUnitsSeconds")
        self.buttonGroup.addButton(self.rbTimeUnitsSeconds)
        self.horizontalLayout.addWidget(self.rbTimeUnitsSeconds)
        self.gridLayout.addLayout(self.horizontalLayout, 2, 0, 1, 3)
        self.verticalLayout_5.addWidget(self.groupBox_5)
        self.groupBox_3 = QtWidgets.QGroupBox(self.Mesh)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_3)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.sbPlaySpeed = QtWidgets.QDoubleSpinBox(self.groupBox_3)
        self.sbPlaySpeed.setDecimals(1)
        self.sbPlaySpeed.setMinimum(0.1)
        self.sbPlaySpeed.setProperty("value", 1.0)
        self.sbPlaySpeed.setObjectName("sbPlaySpeed")
        self.gridLayout_3.addWidget(self.sbPlaySpeed, 0, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.groupBox_3)
        self.label_3.setAlignment(QT_ALIGN_LEADING|QT_ALIGN_LEFT|QT_ALIGN_V_CENTER)
        self.label_3.setObjectName("label_3")
        self.gridLayout_3.addWidget(self.label_3, 0, 0, 1, 1)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QT_SIZE_POLICY_EXPANDING, QT_SIZE_POLICY_MINIMUM)
        self.gridLayout_3.addItem(spacerItem2, 0, 2, 1, 1)
        self.verticalLayout_5.addWidget(self.groupBox_3)
        self.groupBox_12 = QtWidgets.QGroupBox(self.Mesh)
        self.groupBox_12.setObjectName("groupBox_12")
        self.verticalLayout_13 = QtWidgets.QVBoxLayout(self.groupBox_12)
        self.verticalLayout_13.setObjectName("verticalLayout_13")
        self.cb_copy_mesh = QtWidgets.QCheckBox(self.groupBox_12)
        self.cb_copy_mesh.setObjectName("cb_copy_mesh")
        self.verticalLayout_13.addWidget(self.cb_copy_mesh)
        self.cb_show_mesh_copy_dlg = QtWidgets.QCheckBox(self.groupBox_12)
        self.cb_show_mesh_copy_dlg.setObjectName("cb_show_mesh_copy_dlg")
        self.verticalLayout_13.addWidget(self.cb_show_mesh_copy_dlg)
        self.cb_del_copied_mesh = QtWidgets.QCheckBox(self.groupBox_12)
        self.cb_del_copied_mesh.setObjectName("cb_del_copied_mesh")
        self.verticalLayout_13.addWidget(self.cb_del_copied_mesh)
        self.btn_del_all_cache_res = QtWidgets.QPushButton(self.groupBox_12)
        self.btn_del_all_cache_res.setObjectName("btn_del_all_cache_res")
        self.verticalLayout_13.addWidget(self.btn_del_all_cache_res)
        self.verticalLayout_5.addWidget(self.groupBox_12)
        spacerItem3 = QtWidgets.QSpacerItem(20, 40, QT_SIZE_POLICY_MINIMUM, QT_SIZE_POLICY_EXPANDING)
        self.verticalLayout_5.addItem(spacerItem3)
        self.tabWidget.addTab(self.Mesh, "")
        self.Plotting = QtWidgets.QWidget()
        self.Plotting.setObjectName("Plotting")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.Plotting)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.groupBox = QtWidgets.QGroupBox(self.Plotting)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName("gridLayout_2")
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QT_SIZE_POLICY_EXPANDING, QT_SIZE_POLICY_MINIMUM)
        self.gridLayout_2.addItem(spacerItem4, 0, 5, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.groupBox)
        self.label_6.setObjectName("label_6")
        self.gridLayout_2.addWidget(self.label_6, 5, 0, 1, 3)
        self.datePreview = QtWidgets.QLabel(self.groupBox)
        self.datePreview.setText("")
        self.datePreview.setObjectName("datePreview")
        self.gridLayout_2.addWidget(self.datePreview, 4, 3, 1, 1)
        spacerItem5 = QtWidgets.QSpacerItem(20, 15, QT_SIZE_POLICY_MINIMUM, QT_SIZE_POLICY_MINIMUM_EXPANDING)
        self.gridLayout_2.addItem(spacerItem5, 9, 0, 1, 1)
        self.rbLiveCursorTrackingOff = QtWidgets.QRadioButton(self.groupBox)
        self.rbLiveCursorTrackingOff.setObjectName("rbLiveCursorTrackingOff")
        self.LiveCursorTracking = QtWidgets.QButtonGroup(TuViewOptions)
        self.LiveCursorTracking.setObjectName("LiveCursorTracking")
        self.LiveCursorTracking.addButton(self.rbLiveCursorTrackingOff)
        self.gridLayout_2.addWidget(self.rbLiveCursorTrackingOff, 0, 4, 1, 1)
        self.dteZeroDate = QtWidgets.QDateTimeEdit(self.groupBox)
        self.dteZeroDate.setCurrentSection(QT_DATE_TIME_EDIT_DAY_SECTION)
        self.dteZeroDate.setCalendarPopup(True)
        self.dteZeroDate.setObjectName("dteZeroDate")
        self.gridLayout_2.addWidget(self.dteZeroDate, 6, 3, 1, 4)
        self.cbDates = QtWidgets.QCheckBox(self.groupBox)
        self.cbDates.setObjectName("cbDates")
        self.gridLayout_2.addWidget(self.cbDates, 2, 0, 1, 5)
        self.label_7 = QtWidgets.QLabel(self.groupBox)
        self.label_7.setObjectName("label_7")
        self.gridLayout_2.addWidget(self.label_7, 4, 2, 1, 1)
        self.tpLabel = QtWidgets.QLabel(self.groupBox)
        self.tpLabel.setWordWrap(True)
        self.tpLabel.setObjectName("tpLabel")
        self.gridLayout_2.addWidget(self.tpLabel, 3, 0, 1, 6)
        self.sbXAxisLabelRotation = QtWidgets.QSpinBox(self.groupBox)
        self.sbXAxisLabelRotation.setMinimum(-359)
        self.sbXAxisLabelRotation.setMaximum(359)
        self.sbXAxisLabelRotation.setObjectName("sbXAxisLabelRotation")
        self.gridLayout_2.addWidget(self.sbXAxisLabelRotation, 7, 4, 1, 1)
        self.label = QtWidgets.QLabel(self.groupBox)
        self.label.setAlignment(QT_ALIGN_LEADING|QT_ALIGN_LEFT|QT_ALIGN_V_CENTER)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 3)
        self.leDateFormat = QtWidgets.QLineEdit(self.groupBox)
        self.leDateFormat.setObjectName("leDateFormat")
        self.gridLayout_2.addWidget(self.leDateFormat, 5, 3, 1, 4)
        self.label_11 = QtWidgets.QLabel(self.groupBox)
        self.label_11.setMinimumSize(QtCore.QSize(0, 0))
        self.label_11.setObjectName("label_11")
        self.gridLayout_2.addWidget(self.label_11, 8, 0, 1, 6)
        self.zeroDateLabel = QtWidgets.QLabel(self.groupBox)
        self.zeroDateLabel.setObjectName("zeroDateLabel")
        self.gridLayout_2.addWidget(self.zeroDateLabel, 6, 0, 1, 3)
        self.rbLiveCursorTrackingOn = QtWidgets.QRadioButton(self.groupBox)
        self.rbLiveCursorTrackingOn.setChecked(True)
        self.rbLiveCursorTrackingOn.setObjectName("rbLiveCursorTrackingOn")
        self.LiveCursorTracking.addButton(self.rbLiveCursorTrackingOn)
        self.gridLayout_2.addWidget(self.rbLiveCursorTrackingOn, 0, 3, 1, 1)
        spacerItem6 = QtWidgets.QSpacerItem(120, 20, QT_SIZE_POLICY_MINIMUM, QT_SIZE_POLICY_MINIMUM)
        self.gridLayout_2.addItem(spacerItem6, 7, 5, 1, 2)
        self.label_8 = QtWidgets.QLabel(self.groupBox)
        self.label_8.setObjectName("label_8")
        self.gridLayout_2.addWidget(self.label_8, 7, 0, 1, 4)
        spacerItem7 = QtWidgets.QSpacerItem(20, 15, QT_SIZE_POLICY_MINIMUM, QT_SIZE_POLICY_FIXED)
        self.gridLayout_2.addItem(spacerItem7, 1, 0, 1, 1)
        self.cbPlotInactiveAreas = QtWidgets.QCheckBox(self.groupBox)
        self.cbPlotInactiveAreas.setChecked(True)
        self.cbPlotInactiveAreas.setObjectName("cbPlotInactiveAreas")
        self.gridLayout_2.addWidget(self.cbPlotInactiveAreas, 10, 0, 1, 6)
        self.verticalLayout_6.addWidget(self.groupBox)
        self.groupBox_4 = QtWidgets.QGroupBox(self.Plotting)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_4)
        self.gridLayout_4.setObjectName("gridLayout_4")
        spacerItem8 = QtWidgets.QSpacerItem(40, 20, QT_SIZE_POLICY_EXPANDING, QT_SIZE_POLICY_MINIMUM)
        self.gridLayout_4.addItem(spacerItem8, 0, 2, 1, 1)
        self.cbInterpolateVertProf = QtWidgets.QCheckBox(self.groupBox_4)
        self.cbInterpolateVertProf.setObjectName("cbInterpolateVertProf")
        self.gridLayout_4.addWidget(self.cbInterpolateVertProf, 2, 0, 1, 2)
        self.sbResolution = QtWidgets.QDoubleSpinBox(self.groupBox_4)
        self.sbResolution.setDecimals(1)
        self.sbResolution.setMinimum(0.1)
        self.sbResolution.setProperty("value", 1.0)
        self.sbResolution.setObjectName("sbResolution")
        self.gridLayout_4.addWidget(self.sbResolution, 0, 1, 1, 1)
        self.sbLabelFieldIndex = QtWidgets.QSpinBox(self.groupBox_4)
        self.sbLabelFieldIndex.setMinimum(1)
        self.sbLabelFieldIndex.setMaximum(999)
        self.sbLabelFieldIndex.setProperty("value", 1)
        self.sbLabelFieldIndex.setObjectName("sbLabelFieldIndex")
        self.gridLayout_4.addWidget(self.sbLabelFieldIndex, 1, 1, 1, 1)
        self.label_10 = QtWidgets.QLabel(self.groupBox_4)
        self.label_10.setObjectName("label_10")
        self.gridLayout_4.addWidget(self.label_10, 1, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.groupBox_4)
        self.label_4.setAlignment(QT_ALIGN_LEADING|QT_ALIGN_LEFT|QT_ALIGN_V_CENTER)
        self.label_4.setObjectName("label_4")
        self.gridLayout_4.addWidget(self.label_4, 0, 0, 1, 1)
        self.verticalLayout_6.addWidget(self.groupBox_4)
        self.groupBox_2 = QtWidgets.QGroupBox(self.Plotting)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.label_2 = QtWidgets.QLabel(self.groupBox_2)
        self.label_2.setObjectName("label_2")
        self.gridLayout_5.addWidget(self.label_2, 0, 0, 1, 1)
        self.rbARRNextHigher = QtWidgets.QRadioButton(self.groupBox_2)
        self.rbARRNextHigher.setChecked(True)
        self.rbARRNextHigher.setObjectName("rbARRNextHigher")
        self.MeanSelection = QtWidgets.QButtonGroup(TuViewOptions)
        self.MeanSelection.setObjectName("MeanSelection")
        self.MeanSelection.addButton(self.rbARRNextHigher)
        self.gridLayout_5.addWidget(self.rbARRNextHigher, 0, 1, 1, 1)
        self.rbARRClosest = QtWidgets.QRadioButton(self.groupBox_2)
        self.rbARRClosest.setObjectName("rbARRClosest")
        self.MeanSelection.addButton(self.rbARRClosest)
        self.gridLayout_5.addWidget(self.rbARRClosest, 0, 2, 1, 1)
        spacerItem9 = QtWidgets.QSpacerItem(40, 20, QT_SIZE_POLICY_EXPANDING, QT_SIZE_POLICY_MINIMUM)
        self.gridLayout_5.addItem(spacerItem9, 0, 3, 1, 1)
        self.verticalLayout_6.addWidget(self.groupBox_2)
        spacerItem10 = QtWidgets.QSpacerItem(20, 40, QT_SIZE_POLICY_MINIMUM, QT_SIZE_POLICY_EXPANDING)
        self.verticalLayout_6.addItem(spacerItem10)
        self.tabWidget.addTab(self.Plotting, "")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.formLayout = QtWidgets.QFormLayout(self.tab)
        self.formLayout.setObjectName("formLayout")
        self.label_39 = QtWidgets.QLabel(self.tab)
        self.label_39.setObjectName("label_39")
        self.formLayout.setWidget(0, QT_FORM_LAYOUT_LABEL_ROLE, self.label_39)
        self.label_40 = QtWidgets.QLabel(self.tab)
        self.label_40.setOpenExternalLinks(True)
        self.label_40.setObjectName("label_40")
        self.formLayout.setWidget(0, QT_FORM_LAYOUT_FIELD_ROLE, self.label_40)
        self.label_27 = QtWidgets.QLabel(self.tab)
        self.label_27.setObjectName("label_27")
        self.formLayout.setWidget(2, QT_FORM_LAYOUT_LABEL_ROLE, self.label_27)
        self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.sbScale = QtWidgets.QDoubleSpinBox(self.tab)
        self.sbScale.setDecimals(4)
        self.sbScale.setMinimum(-1.0)
        self.sbScale.setMaximum(1000.0)
        self.sbScale.setObjectName("sbScale")
        self.horizontalLayout_8.addWidget(self.sbScale)
        self.label_35 = QtWidgets.QLabel(self.tab)
        self.label_35.setObjectName("label_35")
        self.horizontalLayout_8.addWidget(self.label_35)
        self.formLayout.setLayout(2, QT_FORM_LAYOUT_FIELD_ROLE, self.horizontalLayout_8)
        self.label_28 = QtWidgets.QLabel(self.tab)
        self.label_28.setObjectName("label_28")
        self.formLayout.setWidget(3, QT_FORM_LAYOUT_LABEL_ROLE, self.label_28)
        self.cboScaleUnits = QtWidgets.QComboBox(self.tab)
        self.cboScaleUnits.setObjectName("cboScaleUnits")
        self.cboScaleUnits.addItem("")
        self.cboScaleUnits.addItem("")
        self.cboScaleUnits.addItem("")
        self.cboScaleUnits.addItem("")
        self.cboScaleUnits.addItem("")
        self.cboScaleUnits.addItem("")
        self.cboScaleUnits.addItem("")
        self.formLayout.setWidget(3, QT_FORM_LAYOUT_FIELD_ROLE, self.cboScaleUnits)
        self.label_29 = QtWidgets.QLabel(self.tab)
        self.label_29.setObjectName("label_29")
        self.formLayout.setWidget(4, QT_FORM_LAYOUT_LABEL_ROLE, self.label_29)
        self.cboUnits = QtWidgets.QComboBox(self.tab)
        self.cboUnits.setObjectName("cboUnits")
        self.cboUnits.addItem("")
        self.cboUnits.addItem("")
        self.cboUnits.addItem("")
        self.cboUnits.addItem("")
        self.cboUnits.addItem("")
        self.cboUnits.addItem("")
        self.cboUnits.addItem("")
        self.cboUnits.addItem("")
        self.formLayout.setWidget(4, QT_FORM_LAYOUT_FIELD_ROLE, self.cboUnits)
        self.label_30 = QtWidgets.QLabel(self.tab)
        self.label_30.setObjectName("label_30")
        self.formLayout.setWidget(5, QT_FORM_LAYOUT_LABEL_ROLE, self.label_30)
        self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.sbWidth = QtWidgets.QDoubleSpinBox(self.tab)
        self.sbWidth.setDecimals(1)
        self.sbWidth.setMinimum(-1.0)
        self.sbWidth.setObjectName("sbWidth")
        self.horizontalLayout_9.addWidget(self.sbWidth)
        self.label_36 = QtWidgets.QLabel(self.tab)
        self.label_36.setObjectName("label_36")
        self.horizontalLayout_9.addWidget(self.label_36)
        self.formLayout.setLayout(5, QT_FORM_LAYOUT_FIELD_ROLE, self.horizontalLayout_9)
        self.label_31 = QtWidgets.QLabel(self.tab)
        self.label_31.setObjectName("label_31")
        self.formLayout.setWidget(6, QT_FORM_LAYOUT_LABEL_ROLE, self.label_31)
        self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_10.setObjectName("horizontalLayout_10")
        self.sbHeadWidth = QtWidgets.QDoubleSpinBox(self.tab)
        self.sbHeadWidth.setDecimals(1)
        self.sbHeadWidth.setMinimum(-1.0)
        self.sbHeadWidth.setObjectName("sbHeadWidth")
        self.horizontalLayout_10.addWidget(self.sbHeadWidth)
        self.label_37 = QtWidgets.QLabel(self.tab)
        self.label_37.setObjectName("label_37")
        self.horizontalLayout_10.addWidget(self.label_37)
        self.formLayout.setLayout(6, QT_FORM_LAYOUT_FIELD_ROLE, self.horizontalLayout_10)
        self.label_32 = QtWidgets.QLabel(self.tab)
        self.label_32.setObjectName("label_32")
        self.formLayout.setWidget(7, QT_FORM_LAYOUT_LABEL_ROLE, self.label_32)
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.sbHeadLength = QtWidgets.QDoubleSpinBox(self.tab)
        self.sbHeadLength.setDecimals(1)
        self.sbHeadLength.setMinimum(-1.0)
        self.sbHeadLength.setObjectName("sbHeadLength")
        self.horizontalLayout_11.addWidget(self.sbHeadLength)
        self.label_38 = QtWidgets.QLabel(self.tab)
        self.label_38.setObjectName("label_38")
        self.horizontalLayout_11.addWidget(self.label_38)
        self.formLayout.setLayout(7, QT_FORM_LAYOUT_FIELD_ROLE, self.horizontalLayout_11)
        self.label_33 = QtWidgets.QLabel(self.tab)
        self.label_33.setObjectName("label_33")
        self.formLayout.setWidget(8, QT_FORM_LAYOUT_LABEL_ROLE, self.label_33)
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
        self.sbHorizontalFactor = QtWidgets.QDoubleSpinBox(self.tab)
        self.sbHorizontalFactor.setDecimals(1)
        self.sbHorizontalFactor.setObjectName("sbHorizontalFactor")
        self.horizontalLayout_12.addWidget(self.sbHorizontalFactor)
        spacerItem11 = QtWidgets.QSpacerItem(40, 20, QT_SIZE_POLICY_EXPANDING, QT_SIZE_POLICY_MINIMUM)
        self.horizontalLayout_12.addItem(spacerItem11)
        self.formLayout.setLayout(8, QT_FORM_LAYOUT_FIELD_ROLE, self.horizontalLayout_12)
        self.label_34 = QtWidgets.QLabel(self.tab)
        self.label_34.setObjectName("label_34")
        self.formLayout.setWidget(9, QT_FORM_LAYOUT_LABEL_ROLE, self.label_34)
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
        self.sbVertVelFactor = QtWidgets.QDoubleSpinBox(self.tab)
        self.sbVertVelFactor.setDecimals(1)
        self.sbVertVelFactor.setObjectName("sbVertVelFactor")
        self.horizontalLayout_13.addWidget(self.sbVertVelFactor)
        spacerItem12 = QtWidgets.QSpacerItem(40, 20, QT_SIZE_POLICY_EXPANDING, QT_SIZE_POLICY_MINIMUM)
        self.horizontalLayout_13.addItem(spacerItem12)
        self.formLayout.setLayout(9, QT_FORM_LAYOUT_FIELD_ROLE, self.horizontalLayout_13)
        self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_14.setObjectName("horizontalLayout_14")
        self.pbVectorTVDefaults = QtWidgets.QPushButton(self.tab)
        self.pbVectorTVDefaults.setObjectName("pbVectorTVDefaults")
        self.horizontalLayout_14.addWidget(self.pbVectorTVDefaults)
        self.pbVectorMPLDefaults = QtWidgets.QPushButton(self.tab)
        self.pbVectorMPLDefaults.setObjectName("pbVectorMPLDefaults")
        self.horizontalLayout_14.addWidget(self.pbVectorMPLDefaults)
        self.formLayout.setLayout(1, QT_FORM_LAYOUT_FIELD_ROLE, self.horizontalLayout_14)
        self.label_41 = QtWidgets.QLabel(self.tab)
        self.label_41.setObjectName("label_41")
        self.formLayout.setWidget(1, QT_FORM_LAYOUT_LABEL_ROLE, self.label_41)
        self.tabWidget.addTab(self.tab, "")
        self.Defaults = QtWidgets.QWidget()
        self.Defaults.setObjectName("Defaults")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.Defaults)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.groupBox_6 = QtWidgets.QGroupBox(self.Defaults)
        self.groupBox_6.setObjectName("groupBox_6")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_6)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.rbDeafultLayoutPreviousState = QtWidgets.QRadioButton(self.groupBox_6)
        self.rbDeafultLayoutPreviousState.setChecked(True)
        self.rbDeafultLayoutPreviousState.setObjectName("rbDeafultLayoutPreviousState")
        self.DefaultLayout = QtWidgets.QButtonGroup(TuViewOptions)
        self.DefaultLayout.setObjectName("DefaultLayout")
        self.DefaultLayout.addButton(self.rbDeafultLayoutPreviousState)
        self.horizontalLayout_3.addWidget(self.rbDeafultLayoutPreviousState)
        self.rbDefaultLayoutPlotView = QtWidgets.QRadioButton(self.groupBox_6)
        self.rbDefaultLayoutPlotView.setChecked(False)
        self.rbDefaultLayoutPlotView.setObjectName("rbDefaultLayoutPlotView")
        self.DefaultLayout.addButton(self.rbDefaultLayoutPlotView)
        self.horizontalLayout_3.addWidget(self.rbDefaultLayoutPlotView)
        self.rbDefaultLayoutNarrowView = QtWidgets.QRadioButton(self.groupBox_6)
        self.rbDefaultLayoutNarrowView.setObjectName("rbDefaultLayoutNarrowView")
        self.DefaultLayout.addButton(self.rbDefaultLayoutNarrowView)
        self.horizontalLayout_3.addWidget(self.rbDefaultLayoutNarrowView)
        spacerItem13 = QtWidgets.QSpacerItem(40, 20, QT_SIZE_POLICY_EXPANDING, QT_SIZE_POLICY_MINIMUM)
        self.horizontalLayout_3.addItem(spacerItem13)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.verticalLayout_7.addWidget(self.groupBox_6)
        self.groupBox_7 = QtWidgets.QGroupBox(self.Defaults)
        self.groupBox_7.setObjectName("groupBox_7")
        self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.groupBox_7)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.label_5 = QtWidgets.QLabel(self.groupBox_7)
        self.label_5.setObjectName("label_5")
        self.verticalLayout_3.addWidget(self.label_5)
        spacerItem14 = QtWidgets.QSpacerItem(20, 6, QT_SIZE_POLICY_MINIMUM, QT_SIZE_POLICY_FIXED)
        self.verticalLayout_3.addItem(spacerItem14)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem15 = QtWidgets.QSpacerItem(20, 20, QT_SIZE_POLICY_FIXED, QT_SIZE_POLICY_MINIMUM)
        self.horizontalLayout_2.addItem(spacerItem15)
        self.cbPlotBackgroudGrey = QtWidgets.QRadioButton(self.groupBox_7)
        self.cbPlotBackgroudGrey.setChecked(True)
        self.cbPlotBackgroudGrey.setObjectName("cbPlotBackgroudGrey")
        self.buttonGroup_2 = QtWidgets.QButtonGroup(TuViewOptions)
        self.buttonGroup_2.setObjectName("buttonGroup_2")
        self.buttonGroup_2.addButton(self.cbPlotBackgroudGrey)
        self.horizontalLayout_2.addWidget(self.cbPlotBackgroudGrey)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        spacerItem16 = QtWidgets.QSpacerItem(20, 20, QT_SIZE_POLICY_FIXED, QT_SIZE_POLICY_MINIMUM)
        self.horizontalLayout_5.addItem(spacerItem16)
        self.cbPlotBackgroudWhite = QtWidgets.QRadioButton(self.groupBox_7)
        self.cbPlotBackgroudWhite.setObjectName("cbPlotBackgroudWhite")
        self.buttonGroup_2.addButton(self.cbPlotBackgroudWhite)
        self.horizontalLayout_5.addWidget(self.cbPlotBackgroudWhite)
        self.verticalLayout_3.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        spacerItem17 = QtWidgets.QSpacerItem(20, 20, QT_SIZE_POLICY_FIXED, QT_SIZE_POLICY_MINIMUM)
        self.horizontalLayout_7.addItem(spacerItem17)
        self.cbPlotBackgroudCustom = QtWidgets.QRadioButton(self.groupBox_7)
        self.cbPlotBackgroudCustom.setObjectName("cbPlotBackgroudCustom")
        self.buttonGroup_2.addButton(self.cbPlotBackgroudCustom)
        self.horizontalLayout_7.addWidget(self.cbPlotBackgroudCustom)
        self.colourButtonPlotBackground = QgsColorButton(self.groupBox_7)
        self.colourButtonPlotBackground.setObjectName("colourButtonPlotBackground")
        self.horizontalLayout_7.addWidget(self.colourButtonPlotBackground)
        spacerItem18 = QtWidgets.QSpacerItem(40, 20, QT_SIZE_POLICY_EXPANDING, QT_SIZE_POLICY_MINIMUM)
        self.horizontalLayout_7.addItem(spacerItem18)
        self.verticalLayout_3.addLayout(self.horizontalLayout_7)
        self.verticalLayout_8.addLayout(self.verticalLayout_3)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_12 = QtWidgets.QLabel(self.groupBox_7)
        self.label_12.setObjectName("label_12")
        self.horizontalLayout_4.addWidget(self.label_12)
        self.sbDefaultFontSize = QtWidgets.QSpinBox(self.groupBox_7)
        self.sbDefaultFontSize.setMinimum(1)
        self.sbDefaultFontSize.setMaximum(128)
        self.sbDefaultFontSize.setObjectName("sbDefaultFontSize")
        self.horizontalLayout_4.addWidget(self.sbDefaultFontSize)
        spacerItem19 = QtWidgets.QSpacerItem(40, 20, QT_SIZE_POLICY_EXPANDING, QT_SIZE_POLICY_MINIMUM)
        self.horizontalLayout_4.addItem(spacerItem19)
        self.verticalLayout_8.addLayout(self.horizontalLayout_4)
        self.verticalLayout_7.addWidget(self.groupBox_7)
        self.groupBox_10 = QtWidgets.QGroupBox(self.Defaults)
        self.groupBox_10.setObjectName("groupBox_10")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox_10)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.label_13 = QtWidgets.QLabel(self.groupBox_10)
        self.label_13.setObjectName("label_13")
        self.horizontalLayout_6.addWidget(self.label_13)
        self.cboIconSize = QtWidgets.QComboBox(self.groupBox_10)
        self.cboIconSize.setObjectName("cboIconSize")
        self.cboIconSize.addItem("")
        self.cboIconSize.addItem("")
        self.cboIconSize.addItem("")
        self.cboIconSize.addItem("")
        self.cboIconSize.addItem("")
        self.horizontalLayout_6.addWidget(self.cboIconSize)
        spacerItem20 = QtWidgets.QSpacerItem(40, 20, QT_SIZE_POLICY_EXPANDING, QT_SIZE_POLICY_MINIMUM)
        self.horizontalLayout_6.addItem(spacerItem20)
        self.verticalLayout_4.addLayout(self.horizontalLayout_6)
        self.verticalLayout_7.addWidget(self.groupBox_10)
        self.groupBox_11 = QtWidgets.QGroupBox(self.Defaults)
        self.groupBox_11.setObjectName("groupBox_11")
        self.verticalLayout_12 = QtWidgets.QVBoxLayout(self.groupBox_11)
        self.verticalLayout_12.setObjectName("verticalLayout_12")
        self.rbByScenSelection = QtWidgets.QRadioButton(self.groupBox_11)
        self.rbByScenSelection.setObjectName("rbByScenSelection")
        self.buttonGroup_3 = QtWidgets.QButtonGroup(TuViewOptions)
        self.buttonGroup_3.setObjectName("buttonGroup_3")
        self.buttonGroup_3.addButton(self.rbByScenSelection)
        self.verticalLayout_12.addWidget(self.rbByScenSelection)
        self.rbByResSelection = QtWidgets.QRadioButton(self.groupBox_11)
        self.rbByResSelection.setChecked(True)
        self.rbByResSelection.setObjectName("rbByResSelection")
        self.buttonGroup_3.addButton(self.rbByResSelection)
        self.verticalLayout_12.addWidget(self.rbByResSelection)
        self.verticalLayout_7.addWidget(self.groupBox_11)
        spacerItem21 = QtWidgets.QSpacerItem(20, 40, QT_SIZE_POLICY_MINIMUM, QT_SIZE_POLICY_EXPANDING)
        self.verticalLayout_7.addItem(spacerItem21)
        self.tabWidget.addTab(self.Defaults, "")
        self.check = QtWidgets.QWidget()
        self.check.setObjectName("check")
        self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.check)
        self.verticalLayout_9.setObjectName("verticalLayout_9")
        self.groupBox_8 = QtWidgets.QGroupBox(self.check)
        self.groupBox_8.setObjectName("groupBox_8")
        self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.groupBox_8)
        self.verticalLayout_10.setObjectName("verticalLayout_10")
        self.cbMeshIntCheck = QtWidgets.QCheckBox(self.groupBox_8)
        self.cbMeshIntCheck.setObjectName("cbMeshIntCheck")
        self.verticalLayout_10.addWidget(self.cbMeshIntCheck)
        self.verticalLayout_9.addWidget(self.groupBox_8)
        self.groupBox_9 = QtWidgets.QGroupBox(self.check)
        self.groupBox_9.setObjectName("groupBox_9")
        self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.groupBox_9)
        self.verticalLayout_11.setObjectName("verticalLayout_11")
        self.cbParticleDebug = QtWidgets.QCheckBox(self.groupBox_9)
        self.cbParticleDebug.setObjectName("cbParticleDebug")
        self.verticalLayout_11.addWidget(self.cbParticleDebug)
        self.verticalLayout_9.addWidget(self.groupBox_9)
        spacerItem22 = QtWidgets.QSpacerItem(20, 40, QT_SIZE_POLICY_MINIMUM, QT_SIZE_POLICY_EXPANDING)
        self.verticalLayout_9.addItem(spacerItem22)
        self.tabWidget.addTab(self.check, "")
        self.verticalLayout.addWidget(self.tabWidget)
        self.buttonBox = QtWidgets.QDialogButtonBox(TuViewOptions)
        self.buttonBox.setOrientation(QT_HORIZONTAL)
        self.buttonBox.setStandardButtons(QT_BUTTON_BOX_CANCEL|QT_BUTTON_BOX_OK)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(TuViewOptions)
        self.tabWidget.setCurrentIndex(0)
        self.buttonBox.accepted.connect(TuViewOptions.accept)
        self.buttonBox.rejected.connect(TuViewOptions.reject)
        QtCore.QMetaObject.connectSlotsByName(TuViewOptions)

    def retranslateUi(self, TuViewOptions):
        _translate = QtCore.QCoreApplication.translate
        TuViewOptions.setWindowTitle(_translate("TuViewOptions", "Settings"))
        self.groupBox_5.setTitle(_translate("TuViewOptions", "Mesh Rendering"))
        self.cbShowTriangles.setText(_translate("TuViewOptions", "Show Triangles"))
        self.cbShowGrid.setText(_translate("TuViewOptions", "Show Grid"))
        self.label_9.setText(_translate("TuViewOptions", "XMDF / DAT time units"))
        self.rbTimeUnitsHours.setText(_translate("TuViewOptions", "Hours"))
        self.rbTimeUnitsSeconds.setText(_translate("TuViewOptions", "Seconds (TUFLOW FV)"))
        self.groupBox_3.setTitle(_translate("TuViewOptions", "Auto Play"))
        self.label_3.setText(_translate("TuViewOptions", "Auto Play Speed (sec)"))
        self.groupBox_12.setTitle(_translate("TuViewOptions", "Mesh Loading"))
        self.cb_copy_mesh.setText(_translate("TuViewOptions", "Copy Mesh Before Loading (use if loading results while simulation is running)"))
        self.cb_show_mesh_copy_dlg.setText(_translate("TuViewOptions", "Always Show Copy Mesh Dialog"))
        self.cb_del_copied_mesh.setText(_translate("TuViewOptions", "Delete Copied Mesh When Results are Closed"))
        self.btn_del_all_cache_res.setText(_translate("TuViewOptions", "Delete All Copied Results"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.Mesh), _translate("TuViewOptions", "Mesh"))
        self.groupBox.setTitle(_translate("TuViewOptions", "Plotting"))
        self.label_6.setText(_translate("TuViewOptions", "Display Format*: "))
        self.rbLiveCursorTrackingOff.setText(_translate("TuViewOptions", "Off"))
        self.cbDates.setText(_translate("TuViewOptions", "Display Time Series X-Axis as Dates:"))
        self.label_7.setText(_translate("TuViewOptions", "Preview: "))
        self.tpLabel.setText(_translate("TuViewOptions", "<html><head/><body><p>For QGIS 3.16 or later, Zero Date controls reference time for TUFLOW Viewer time slider only. To edit the reference time for results, edit the reference time in the layer properties.</p></body></html>"))
        self.label.setText(_translate("TuViewOptions", "Live Map Tracking:"))
        self.leDateFormat.setText(_translate("TuViewOptions", "DD/MM/YYYY hh:mm:ss"))
        self.label_11.setText(_translate("TuViewOptions", "<html><head/><body><p>*Capitals for date (DD/MM/YYYY) lower case for time (hh:mm:ss)</p><p>DD/MM/YYYY hh:mm:ss - 31/12/1988 12:00:00</p><p>MMM/YY - Dec/88</p><p>DD/MMMM hh:mm - 31/December 12:00</p></body></html>"))
        self.zeroDateLabel.setText(_translate("TuViewOptions", "Zero Date:"))
        self.rbLiveCursorTrackingOn.setText(_translate("TuViewOptions", "On"))
        self.label_8.setText(_translate("TuViewOptions", "X-Axis Label Rotation (deg):"))
        self.cbPlotInactiveAreas.setText(_translate("TuViewOptions", "Plot Inactive Areas in 1D Cross-Section"))
        self.groupBox_4.setTitle(_translate("TuViewOptions", "Map Plotting"))
        self.cbInterpolateVertProf.setText(_translate("TuViewOptions", "Interpolate Vertical Profile"))
        self.label_10.setText(_translate("TuViewOptions", "Label Field Index"))
        self.label_4.setText(_translate("TuViewOptions", "Resolution (map units)"))
        self.groupBox_2.setTitle(_translate("TuViewOptions", "ARR2019"))
        self.label_2.setText(_translate("TuViewOptions", "Mean Event Selection:"))
        self.rbARRNextHigher.setText(_translate("TuViewOptions", "Next higher"))
        self.rbARRClosest.setText(_translate("TuViewOptions", "Closest"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.Plotting), _translate("TuViewOptions", "Plotting"))
        self.label_39.setText(_translate("TuViewOptions", "<html><head/><body><p><span style=\" font-weight:600;\">Curtain Plot Vectors</span></p></body></html>"))
        self.label_40.setText(_translate("TuViewOptions", "<html><head/><body><p><a href=\"https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.quiver.html\"><span style=\" text-decoration: underline; color:#0000ff;\">Documentation</span></a></p></body></html>"))
        self.label_27.setText(_translate("TuViewOptions", "Scale"))
        self.label_35.setText(_translate("TuViewOptions", "(use negative value to use default)"))
        self.label_28.setText(_translate("TuViewOptions", "Scale Units"))
        self.cboScaleUnits.setItemText(0, _translate("TuViewOptions", "default"))
        self.cboScaleUnits.setItemText(1, _translate("TuViewOptions", "width"))
        self.cboScaleUnits.setItemText(2, _translate("TuViewOptions", "height"))
        self.cboScaleUnits.setItemText(3, _translate("TuViewOptions", "dots"))
        self.cboScaleUnits.setItemText(4, _translate("TuViewOptions", "x"))
        self.cboScaleUnits.setItemText(5, _translate("TuViewOptions", "y"))
        self.cboScaleUnits.setItemText(6, _translate("TuViewOptions", "xy"))
        self.label_29.setText(_translate("TuViewOptions", "Units"))
        self.cboUnits.setItemText(0, _translate("TuViewOptions", "default"))
        self.cboUnits.setItemText(1, _translate("TuViewOptions", "width"))
        self.cboUnits.setItemText(2, _translate("TuViewOptions", "height"))
        self.cboUnits.setItemText(3, _translate("TuViewOptions", "dots"))
        self.cboUnits.setItemText(4, _translate("TuViewOptions", "inches"))
        self.cboUnits.setItemText(5, _translate("TuViewOptions", "x"))
        self.cboUnits.setItemText(6, _translate("TuViewOptions", "y"))
        self.cboUnits.setItemText(7, _translate("TuViewOptions", "xy"))
        self.label_30.setText(_translate("TuViewOptions", "Width"))
        self.label_36.setText(_translate("TuViewOptions", "(use negative value to use default)"))
        self.label_31.setText(_translate("TuViewOptions", "Head Width"))
        self.label_37.setText(_translate("TuViewOptions", "(use negative value to use default)"))
        self.label_32.setText(_translate("TuViewOptions", "Head Length"))
        self.label_38.setText(_translate("TuViewOptions", "(use negative value to use default)"))
        self.label_33.setText(_translate("TuViewOptions", "Horizontal Factor"))
        self.label_34.setText(_translate("TuViewOptions", "Vertical Factor"))
        self.pbVectorTVDefaults.setText(_translate("TuViewOptions", "TUFLOW Viewer Defaults"))
        self.pbVectorMPLDefaults.setText(_translate("TuViewOptions", "MPL Defaults"))
        self.label_41.setText(_translate("TuViewOptions", "Defaults"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("TuViewOptions", "Curtain Vectors"))
        self.groupBox_6.setTitle(_translate("TuViewOptions", "Default Layout"))
        self.rbDeafultLayoutPreviousState.setText(_translate("TuViewOptions", "Remember Previous State"))
        self.rbDefaultLayoutPlotView.setText(_translate("TuViewOptions", "Plot View"))
        self.rbDefaultLayoutNarrowView.setText(_translate("TuViewOptions", "Narrow View"))
        self.groupBox_7.setTitle(_translate("TuViewOptions", "Plot"))
        self.label_5.setText(_translate("TuViewOptions", "Plot Background Colour:"))
        self.cbPlotBackgroudGrey.setText(_translate("TuViewOptions", "Default (grey)"))
        self.cbPlotBackgroudWhite.setText(_translate("TuViewOptions", "White"))
        self.cbPlotBackgroudCustom.setText(_translate("TuViewOptions", "Custom"))
        self.label_12.setText(_translate("TuViewOptions", "Default Plot Font Size"))
        self.groupBox_10.setTitle(_translate("TuViewOptions", "Icon Size"))
        self.label_13.setText(_translate("TuViewOptions", "Icon Size"))
        self.cboIconSize.setItemText(0, _translate("TuViewOptions", "16"))
        self.cboIconSize.setItemText(1, _translate("TuViewOptions", "24"))
        self.cboIconSize.setItemText(2, _translate("TuViewOptions", "32"))
        self.cboIconSize.setItemText(3, _translate("TuViewOptions", "48"))
        self.cboIconSize.setItemText(4, _translate("TuViewOptions", "64"))
        self.groupBox_11.setTitle(_translate("TuViewOptions", "TCF Load Method"))
        self.rbByScenSelection.setText(_translate("TuViewOptions", "By Scenario Selction"))
        self.rbByResSelection.setText(_translate("TuViewOptions", "By Result Selection"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.Defaults), _translate("TuViewOptions", "Defaults"))
        self.groupBox_8.setTitle(_translate("TuViewOptions", "Plotting"))
        self.cbMeshIntCheck.setText(_translate("TuViewOptions", "Mesh intercept locations (for map plotting line types e.g. cross section)"))
        self.groupBox_9.setTitle(_translate("TuViewOptions", "Particles"))
        self.cbParticleDebug.setText(_translate("TuViewOptions", "Particles - Include X, Y, Z, Time info in attribute table"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.check), _translate("TuViewOptions", "Check / Debug"))
from qgscolorbutton import QgsColorButton
