# Form implementation generated from reading ui file 'exporttowebdialog.ui'
#
# Created by: PyQt6 UI code generator 6.8.0
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from qgis.PyQt import QtCore, QtGui, QtWidgets


class Ui_ExportToWebDialog(object):
    def setupUi(self, ExportToWebDialog):
        ExportToWebDialog.setObjectName("ExportToWebDialog")
        ExportToWebDialog.resize(593, 441)
        self.gridLayout_4 = QtWidgets.QGridLayout(ExportToWebDialog)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.tabWidget = QtWidgets.QTabWidget(parent=ExportToWebDialog)
        self.tabWidget.setObjectName("tabWidget")
        self.tabSettings = QtWidgets.QWidget()
        self.tabSettings.setObjectName("tabSettings")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.tabSettings)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.groupBox_General = QtWidgets.QGroupBox(parent=self.tabSettings)
        self.groupBox_General.setObjectName("groupBox_General")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_General)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.pushButton_Browse = QtWidgets.QPushButton(parent=self.groupBox_General)
        self.pushButton_Browse.setObjectName("pushButton_Browse")
        self.gridLayout_3.addWidget(self.pushButton_Browse, 0, 2, 1, 1)
        self.lineEdit_OutputDir = QtWidgets.QLineEdit(parent=self.groupBox_General)
        self.lineEdit_OutputDir.setObjectName("lineEdit_OutputDir")
        self.gridLayout_3.addWidget(self.lineEdit_OutputDir, 0, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(parent=self.groupBox_General)
        self.label_3.setObjectName("label_3")
        self.gridLayout_3.addWidget(self.label_3, 1, 0, 1, 1)
        self.label_2 = QtWidgets.QLabel(parent=self.groupBox_General)
        self.label_2.setMinimumSize(QtCore.QSize(110, 0))
        self.label_2.setObjectName("label_2")
        self.gridLayout_3.addWidget(self.label_2, 0, 0, 1, 1)
        self.lineEdit_Filename = QtWidgets.QLineEdit(parent=self.groupBox_General)
        self.lineEdit_Filename.setObjectName("lineEdit_Filename")
        self.gridLayout_3.addWidget(self.lineEdit_Filename, 1, 1, 1, 2)
        self.label_4 = QtWidgets.QLabel(parent=self.groupBox_General)
        self.label_4.setObjectName("label_4")
        self.gridLayout_3.addWidget(self.label_4, 2, 0, 1, 1)
        self.lineEdit_Title = QtWidgets.QLineEdit(parent=self.groupBox_General)
        self.lineEdit_Title.setObjectName("lineEdit_Title")
        self.gridLayout_3.addWidget(self.lineEdit_Title, 2, 1, 1, 2)
        self.checkBox_UseCurrentView = QtWidgets.QCheckBox(parent=self.groupBox_General)
        self.checkBox_UseCurrentView.setObjectName("checkBox_UseCurrentView")
        self.gridLayout_3.addWidget(self.checkBox_UseCurrentView, 3, 0, 1, 3)
        self.checkBox_LocalMode = QtWidgets.QCheckBox(parent=self.groupBox_General)
        self.checkBox_LocalMode.setObjectName("checkBox_LocalMode")
        self.gridLayout_3.addWidget(self.checkBox_LocalMode, 4, 0, 1, 3)
        self.verticalLayout_3.addWidget(self.groupBox_General)
        self.groupBox_Template = QtWidgets.QGroupBox(parent=self.tabSettings)
        self.groupBox_Template.setObjectName("groupBox_Template")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_Template)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_MND2 = QtWidgets.QLabel(parent=self.groupBox_Template)
        self.label_MND2.setObjectName("label_MND2")
        self.gridLayout_2.addWidget(self.label_MND2, 2, 2, 1, 1)
        self.comboBox_Template = QtWidgets.QComboBox(parent=self.groupBox_Template)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_Template.sizePolicy().hasHeightForWidth())
        self.comboBox_Template.setSizePolicy(sizePolicy)
        self.comboBox_Template.setObjectName("comboBox_Template")
        self.gridLayout_2.addWidget(self.comboBox_Template, 0, 1, 1, 2)
        self.label_MND = QtWidgets.QLabel(parent=self.groupBox_Template)
        self.label_MND.setWordWrap(True)
        self.label_MND.setObjectName("label_MND")
        self.gridLayout_2.addWidget(self.label_MND, 2, 0, 1, 1)
        self.lineEdit_MND = QtWidgets.QLineEdit(parent=self.groupBox_Template)
        self.lineEdit_MND.setMaximumSize(QtCore.QSize(200, 16777215))
        self.lineEdit_MND.setInputMethodHints(QtCore.Qt.InputMethodHint.ImhPreferNumbers)
        self.lineEdit_MND.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
        self.lineEdit_MND.setObjectName("lineEdit_MND")
        self.gridLayout_2.addWidget(self.lineEdit_MND, 2, 1, 1, 1)
        self.label = QtWidgets.QLabel(parent=self.groupBox_Template)
        self.label.setMinimumSize(QtCore.QSize(110, 0))
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.label_Plane = QtWidgets.QLabel(parent=self.groupBox_Template)
        self.label_Plane.setObjectName("label_Plane")
        self.gridLayout_2.addWidget(self.label_Plane, 1, 0, 1, 1)
        self.checkBox_Plane = QtWidgets.QCheckBox(parent=self.groupBox_Template)
        self.checkBox_Plane.setObjectName("checkBox_Plane")
        self.gridLayout_2.addWidget(self.checkBox_Plane, 1, 1, 1, 2)
        self.gridLayout_2.setColumnStretch(1, 1)
        self.gridLayout_2.setColumnStretch(2, 1)
        self.verticalLayout_3.addWidget(self.groupBox_Template)
        self.groupBox_Animation = QtWidgets.QGroupBox(parent=self.tabSettings)
        self.groupBox_Animation.setCheckable(True)
        self.groupBox_Animation.setChecked(True)
        self.groupBox_Animation.setObjectName("groupBox_Animation")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox_Animation)
        self.gridLayout.setObjectName("gridLayout")
        self.checkBox_StartOnLoad = QtWidgets.QCheckBox(parent=self.groupBox_Animation)
        self.checkBox_StartOnLoad.setObjectName("checkBox_StartOnLoad")
        self.gridLayout.addWidget(self.checkBox_StartOnLoad, 0, 0, 1, 2)
        self.verticalLayout_3.addWidget(self.groupBox_Animation)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.verticalLayout_3.addItem(spacerItem)
        self.tabWidget.addTab(self.tabSettings, "")
        self.tabLog = QtWidgets.QWidget()
        self.tabLog.setObjectName("tabLog")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.tabLog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.textBrowser = QtWidgets.QTextBrowser(parent=self.tabLog)
        self.textBrowser.setObjectName("textBrowser")
        self.verticalLayout.addWidget(self.textBrowser)
        self.tabWidget.addTab(self.tabLog, "")
        self.gridLayout_4.addWidget(self.tabWidget, 0, 0, 1, 3)
        self.progressBar = QtWidgets.QProgressBar(parent=ExportToWebDialog)
        self.progressBar.setEnabled(False)
        self.progressBar.setMinimumSize(QtCore.QSize(400, 0))
        self.progressBar.setFormat("%p%")
        self.progressBar.setObjectName("progressBar")
        self.gridLayout_4.addWidget(self.progressBar, 1, 0, 1, 2)
        self.pushButton_Cancel = QtWidgets.QPushButton(parent=ExportToWebDialog)
        self.pushButton_Cancel.setEnabled(False)
        self.pushButton_Cancel.setObjectName("pushButton_Cancel")
        self.gridLayout_4.addWidget(self.pushButton_Cancel, 1, 2, 1, 1)
        self.pushButton_Publish = QtWidgets.QPushButton(parent=ExportToWebDialog)
        self.pushButton_Publish.setObjectName("pushButton_Publish")
        self.gridLayout_4.addWidget(self.pushButton_Publish, 2, 0, 1, 1)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=ExportToWebDialog)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close|QtWidgets.QDialogButtonBox.StandardButton.Help)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout_4.addWidget(self.buttonBox, 2, 1, 1, 2)
        self.gridLayout_4.setColumnStretch(1, 1)

        self.retranslateUi(ExportToWebDialog)
        self.tabWidget.setCurrentIndex(0)
        self.buttonBox.rejected.connect(ExportToWebDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(ExportToWebDialog)
        ExportToWebDialog.setTabOrder(self.tabWidget, self.lineEdit_OutputDir)
        ExportToWebDialog.setTabOrder(self.lineEdit_OutputDir, self.pushButton_Browse)
        ExportToWebDialog.setTabOrder(self.pushButton_Browse, self.lineEdit_Filename)
        ExportToWebDialog.setTabOrder(self.lineEdit_Filename, self.lineEdit_Title)
        ExportToWebDialog.setTabOrder(self.lineEdit_Title, self.checkBox_UseCurrentView)
        ExportToWebDialog.setTabOrder(self.checkBox_UseCurrentView, self.checkBox_LocalMode)
        ExportToWebDialog.setTabOrder(self.checkBox_LocalMode, self.comboBox_Template)
        ExportToWebDialog.setTabOrder(self.comboBox_Template, self.checkBox_Plane)
        ExportToWebDialog.setTabOrder(self.checkBox_Plane, self.lineEdit_MND)
        ExportToWebDialog.setTabOrder(self.lineEdit_MND, self.groupBox_Animation)
        ExportToWebDialog.setTabOrder(self.groupBox_Animation, self.checkBox_StartOnLoad)
        ExportToWebDialog.setTabOrder(self.checkBox_StartOnLoad, self.pushButton_Cancel)
        ExportToWebDialog.setTabOrder(self.pushButton_Cancel, self.textBrowser)

    def retranslateUi(self, ExportToWebDialog):
        _translate = QtCore.QCoreApplication.translate
        ExportToWebDialog.setWindowTitle(_translate("ExportToWebDialog", "Export to Web"))
        self.groupBox_General.setTitle(_translate("ExportToWebDialog", "General"))
        self.pushButton_Browse.setText(_translate("ExportToWebDialog", "Browse..."))
        self.lineEdit_OutputDir.setToolTip(_translate("ExportToWebDialog", "Leave this empty to export files to temporary directory."))
        self.lineEdit_OutputDir.setPlaceholderText(_translate("ExportToWebDialog", "[Temporary directory]"))
        self.label_3.setText(_translate("ExportToWebDialog", "HTML filename"))
        self.label_2.setText(_translate("ExportToWebDialog", "Output directory"))
        self.lineEdit_Filename.setPlaceholderText(_translate("ExportToWebDialog", "index.html"))
        self.label_4.setText(_translate("ExportToWebDialog", "Page title"))
        self.checkBox_UseCurrentView.setText(_translate("ExportToWebDialog", "Use current view as initial view"))
        self.checkBox_LocalMode.setText(_translate("ExportToWebDialog", "Enable the viewer to run locally"))
        self.groupBox_Template.setTitle(_translate("ExportToWebDialog", "Template"))
        self.label_MND2.setText(_translate("ExportToWebDialog", "degrees"))
        self.label_MND.setText(_translate("ExportToWebDialog", "Magnetic North direction"))
        self.lineEdit_MND.setToolTip(_translate("ExportToWebDialog", "Clockwise from up direction of the map, in degrees"))
        self.lineEdit_MND.setText(_translate("ExportToWebDialog", "0"))
        self.label.setText(_translate("ExportToWebDialog", "Template"))
        self.label_Plane.setText(_translate("ExportToWebDialog", "Custom plane"))
        self.checkBox_Plane.setToolTip(_translate("ExportToWebDialog", "Add a horizontal plane that is movable vertically"))
        self.checkBox_Plane.setText(_translate("ExportToWebDialog", "Add a custom plane"))
        self.groupBox_Animation.setTitle(_translate("ExportToWebDialog", "Animation and Narration"))
        self.checkBox_StartOnLoad.setText(_translate("ExportToWebDialog", "Start animation once the scene has been loaded"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabSettings), _translate("ExportToWebDialog", "Settings"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabLog), _translate("ExportToWebDialog", "Log"))
        self.pushButton_Cancel.setText(_translate("ExportToWebDialog", "Cancel"))
        self.pushButton_Publish.setText(_translate("ExportToWebDialog", "Publish with Qgis2OnlineMap..."))
