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

# Form implementation generated from reading ui file 'LDMP/gui\WidgetSettingsAdvanced.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 PyQt5 import QtCore, QtGui, QtWidgets


class Ui_WidgetSettingsAdvanced(object):
    def setupUi(self, WidgetSettingsAdvanced):
        WidgetSettingsAdvanced.setObjectName("WidgetSettingsAdvanced")
        WidgetSettingsAdvanced.resize(594, 445)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(WidgetSettingsAdvanced.sizePolicy().hasHeightForWidth())
        WidgetSettingsAdvanced.setSizePolicy(sizePolicy)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(WidgetSettingsAdvanced)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_3 = QtWidgets.QLabel(WidgetSettingsAdvanced)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setMinimumSize(QtCore.QSize(0, 30))
        self.label_3.setObjectName("label_3")
        self.horizontalLayout.addWidget(self.label_3)
        self.qgsFileWidget_base_directory = QgsFileWidget(WidgetSettingsAdvanced)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.qgsFileWidget_base_directory.sizePolicy().hasHeightForWidth())
        self.qgsFileWidget_base_directory.setSizePolicy(sizePolicy)
        self.qgsFileWidget_base_directory.setMinimumSize(QtCore.QSize(0, 30))
        self.qgsFileWidget_base_directory.setFileWidgetButtonVisible(True)
        self.qgsFileWidget_base_directory.setStorageMode(QgsFileWidget.GetDirectory)
        self.qgsFileWidget_base_directory.setOptions(QtWidgets.QFileDialog.ShowDirsOnly)
        self.qgsFileWidget_base_directory.setObjectName("qgsFileWidget_base_directory")
        self.horizontalLayout.addWidget(self.qgsFileWidget_base_directory)
        self.pushButton_open_base_directory = QtWidgets.QPushButton(WidgetSettingsAdvanced)
        self.pushButton_open_base_directory.setMinimumSize(QtCore.QSize(0, 30))
        self.pushButton_open_base_directory.setObjectName("pushButton_open_base_directory")
        self.horizontalLayout.addWidget(self.pushButton_open_base_directory)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.debug_checkbox = QtWidgets.QCheckBox(WidgetSettingsAdvanced)
        self.debug_checkbox.setObjectName("debug_checkbox")
        self.verticalLayout_2.addWidget(self.debug_checkbox)
        self.download_remote_datasets_chb = QtWidgets.QCheckBox(WidgetSettingsAdvanced)
        self.download_remote_datasets_chb.setChecked(True)
        self.download_remote_datasets_chb.setObjectName("download_remote_datasets_chb")
        self.verticalLayout_2.addWidget(self.download_remote_datasets_chb)
        self.polling_frequency_gb = QtWidgets.QGroupBox(WidgetSettingsAdvanced)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.polling_frequency_gb.sizePolicy().hasHeightForWidth())
        self.polling_frequency_gb.setSizePolicy(sizePolicy)
        self.polling_frequency_gb.setMinimumSize(QtCore.QSize(0, 100))
        self.polling_frequency_gb.setCheckable(True)
        self.polling_frequency_gb.setObjectName("polling_frequency_gb")
        self.layoutWidget = QtWidgets.QWidget(self.polling_frequency_gb)
        self.layoutWidget.setGeometry(QtCore.QRect(20, 40, 261, 28))
        self.layoutWidget.setObjectName("layoutWidget")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.layoutWidget)
        self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label = QtWidgets.QLabel(self.layoutWidget)
        self.label.setObjectName("label")
        self.horizontalLayout_3.addWidget(self.label)
        self.polling_frequency_sb = QtWidgets.QSpinBox(self.layoutWidget)
        self.polling_frequency_sb.setMinimum(60)
        self.polling_frequency_sb.setMaximum(3600)
        self.polling_frequency_sb.setObjectName("polling_frequency_sb")
        self.horizontalLayout_3.addWidget(self.polling_frequency_sb)
        self.verticalLayout_2.addWidget(self.polling_frequency_gb)
        self.binaries_gb = QtWidgets.QGroupBox(WidgetSettingsAdvanced)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.binaries_gb.sizePolicy().hasHeightForWidth())
        self.binaries_gb.setSizePolicy(sizePolicy)
        self.binaries_gb.setCheckable(True)
        self.binaries_gb.setChecked(False)
        self.binaries_gb.setObjectName("binaries_gb")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.binaries_gb)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.binaries_dir_le = QtWidgets.QLineEdit(self.binaries_gb)
        self.binaries_dir_le.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.binaries_dir_le.sizePolicy().hasHeightForWidth())
        self.binaries_dir_le.setSizePolicy(sizePolicy)
        self.binaries_dir_le.setMinimumSize(QtCore.QSize(120, 30))
        self.binaries_dir_le.setReadOnly(True)
        self.binaries_dir_le.setObjectName("binaries_dir_le")
        self.horizontalLayout_2.addWidget(self.binaries_dir_le)
        self.binaries_browse_button = QtWidgets.QPushButton(self.binaries_gb)
        self.binaries_browse_button.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.binaries_browse_button.sizePolicy().hasHeightForWidth())
        self.binaries_browse_button.setSizePolicy(sizePolicy)
        self.binaries_browse_button.setMinimumSize(QtCore.QSize(0, 30))
        self.binaries_browse_button.setMaximumSize(QtCore.QSize(80, 16777215))
        self.binaries_browse_button.setObjectName("binaries_browse_button")
        self.horizontalLayout_2.addWidget(self.binaries_browse_button)
        self.binaries_download_button = QtWidgets.QPushButton(self.binaries_gb)
        self.binaries_download_button.setEnabled(False)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.binaries_download_button.sizePolicy().hasHeightForWidth())
        self.binaries_download_button.setSizePolicy(sizePolicy)
        self.binaries_download_button.setMinimumSize(QtCore.QSize(0, 30))
        self.binaries_download_button.setMaximumSize(QtCore.QSize(80, 16777215))
        self.binaries_download_button.setObjectName("binaries_download_button")
        self.horizontalLayout_2.addWidget(self.binaries_download_button)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.binaries_label = QtWidgets.QLabel(self.binaries_gb)
        self.binaries_label.setAlignment(QtCore.Qt.AlignCenter)
        self.binaries_label.setObjectName("binaries_label")
        self.verticalLayout_3.addWidget(self.binaries_label)
        self.verticalLayout_2.addWidget(self.binaries_gb)
        self.groupBox = QtWidgets.QGroupBox(WidgetSettingsAdvanced)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMinimumSize(QtCore.QSize(0, 0))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.groupBox.setFont(font)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label_2 = QtWidgets.QLabel(self.groupBox)
        self.label_2.setObjectName("label_2")
        self.verticalLayout.addWidget(self.label_2)
        self.pushButton_login_landpks = QtWidgets.QPushButton(self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_login_landpks.sizePolicy().hasHeightForWidth())
        self.pushButton_login_landpks.setSizePolicy(sizePolicy)
        self.pushButton_login_landpks.setMinimumSize(QtCore.QSize(0, 0))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.pushButton_login_landpks.setFont(font)
        self.pushButton_login_landpks.setObjectName("pushButton_login_landpks")
        self.verticalLayout.addWidget(self.pushButton_login_landpks)
        self.verticalLayout_2.addWidget(self.groupBox)
        spacerItem = QtWidgets.QSpacerItem(20, 16, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)

        self.retranslateUi(WidgetSettingsAdvanced)
        QtCore.QMetaObject.connectSlotsByName(WidgetSettingsAdvanced)

    def retranslateUi(self, WidgetSettingsAdvanced):
        _translate = QtCore.QCoreApplication.translate
        WidgetSettingsAdvanced.setWindowTitle(_translate("WidgetSettingsAdvanced", "Form"))
        self.label_3.setText(_translate("WidgetSettingsAdvanced", "Base data directory"))
        self.pushButton_open_base_directory.setText(_translate("WidgetSettingsAdvanced", "Open"))
        self.debug_checkbox.setText(_translate("WidgetSettingsAdvanced", "Enable debug mode (saves detailed logging information)"))
        self.download_remote_datasets_chb.setText(_translate("WidgetSettingsAdvanced", "Download remotely-generated datasets automatically"))
        self.polling_frequency_gb.setTitle(_translate("WidgetSettingsAdvanced", "Poll remote processing server periodically"))
        self.label.setText(_translate("WidgetSettingsAdvanced", "Polling frequency (seconds)"))
        self.binaries_gb.setTitle(_translate("WidgetSettingsAdvanced", "Use binaries for faster processing"))
        self.binaries_dir_le.setPlaceholderText(_translate("WidgetSettingsAdvanced", "Click \"Browse\" to choose a folder..."))
        self.binaries_browse_button.setText(_translate("WidgetSettingsAdvanced", "Browse"))
        self.binaries_download_button.setText(_translate("WidgetSettingsAdvanced", "Download"))
        self.binaries_label.setText(_translate("WidgetSettingsAdvanced", "placeholder for label"))
        self.groupBox.setTitle(_translate("WidgetSettingsAdvanced", "LandPKS login information"))
        self.label_2.setText(_translate("WidgetSettingsAdvanced", "Click below to allow Trends.Earth to access data from your LandPKS account."))
        self.pushButton_login_landpks.setText(_translate("WidgetSettingsAdvanced", "Enable LandPKS data access"))
from qgis.gui import QgsFileWidget


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    WidgetSettingsAdvanced = QtWidgets.QWidget()
    ui = Ui_WidgetSettingsAdvanced()
    ui.setupUi(WidgetSettingsAdvanced)
    WidgetSettingsAdvanced.show()
    sys.exit(app.exec_())
