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

# Form implementation generated from reading ui file 'LDMP/gui\WidgetMain.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_dockWidget_trends_earth(object):
    def setupUi(self, dockWidget_trends_earth):
        dockWidget_trends_earth.setObjectName("dockWidget_trends_earth")
        dockWidget_trends_earth.resize(426, 601)
        self.dock_widget_vlayout = QtWidgets.QWidget()
        self.dock_widget_vlayout.setObjectName("dock_widget_vlayout")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.dock_widget_vlayout)
        self.verticalLayout.setObjectName("verticalLayout")
        self.tabWidget = QtWidgets.QTabWidget(self.dock_widget_vlayout)
        self.tabWidget.setObjectName("tabWidget")
        self.tab_algorithms = QtWidgets.QWidget()
        self.tab_algorithms.setObjectName("tab_algorithms")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.tab_algorithms)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.algorithms_tv = QtWidgets.QTreeView(self.tab_algorithms)
        self.algorithms_tv.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectColumns)
        self.algorithms_tv.setHeaderHidden(True)
        self.algorithms_tv.setObjectName("algorithms_tv")
        self.verticalLayout_2.addWidget(self.algorithms_tv)
        self.tabWidget.addTab(self.tab_algorithms, "")
        self.tab_datasets = QtWidgets.QWidget()
        self.tab_datasets.setObjectName("tab_datasets")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.tab_datasets)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.pushButton_refresh = QtWidgets.QPushButton(self.tab_datasets)
        self.pushButton_refresh.setText("")
        self.pushButton_refresh.setObjectName("pushButton_refresh")
        self.horizontalLayout.addWidget(self.pushButton_refresh)
        self.lineEdit_search = QgsFilterLineEdit(self.tab_datasets)
        self.lineEdit_search.setShowSearchIcon(True)
        self.lineEdit_search.setProperty("qgisRelation", "")
        self.lineEdit_search.setObjectName("lineEdit_search")
        self.horizontalLayout.addWidget(self.lineEdit_search)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.datasets_tv = QtWidgets.QTreeView(self.tab_datasets)
        self.datasets_tv.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
        self.datasets_tv.setSortingEnabled(True)
        self.datasets_tv.setHeaderHidden(True)
        self.datasets_tv.setObjectName("datasets_tv")
        self.verticalLayout_3.addWidget(self.datasets_tv)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.import_dataset_pb = QtWidgets.QPushButton(self.tab_datasets)
        self.import_dataset_pb.setObjectName("import_dataset_pb")
        self.horizontalLayout_2.addWidget(self.import_dataset_pb)
        self.pushButton_download = QtWidgets.QPushButton(self.tab_datasets)
        self.pushButton_download.setObjectName("pushButton_download")
        self.horizontalLayout_2.addWidget(self.pushButton_download)
        self.pushButton_load = QtWidgets.QPushButton(self.tab_datasets)
        self.pushButton_load.setObjectName("pushButton_load")
        self.horizontalLayout_2.addWidget(self.pushButton_load)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.tabWidget.addTab(self.tab_datasets, "")
        self.verticalLayout.addWidget(self.tabWidget)
        spacerItem = QtWidgets.QSpacerItem(359, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.verticalLayout.addItem(spacerItem)
        dockWidget_trends_earth.setWidget(self.dock_widget_vlayout)

        self.retranslateUi(dockWidget_trends_earth)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(dockWidget_trends_earth)

    def retranslateUi(self, dockWidget_trends_earth):
        _translate = QtCore.QCoreApplication.translate
        dockWidget_trends_earth.setWindowTitle(_translate("dockWidget_trends_earth", "Trends.Earth"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_algorithms), _translate("dockWidget_trends_earth", "Algorithms"))
        self.pushButton_refresh.setToolTip(_translate("dockWidget_trends_earth", "Refresh dataset list manually.\n"
"This scans the Trends.Earth base directory for new datasets.\n"
"It also scans the remote Google Earth Engine server \n"
"for running algorithms and their results."))
        self.lineEdit_search.setToolTip(_translate("dockWidget_trends_earth", "Filter the list of datasets according with their name"))
        self.lineEdit_search.setPlaceholderText(_translate("dockWidget_trends_earth", "Search..."))
        self.import_dataset_pb.setText(_translate("dockWidget_trends_earth", "Import dataset..."))
        self.pushButton_download.setToolTip(_translate("dockWidget_trends_earth", "Download datasets from the official Trends.Earth remote server"))
        self.pushButton_download.setText(_translate("dockWidget_trends_earth", "Download data..."))
        self.pushButton_load.setToolTip(_translate("dockWidget_trends_earth", "Load a set of base layers that were prepared by Trends.Earth into QGIS in order to serve as a reference map"))
        self.pushButton_load.setText(_translate("dockWidget_trends_earth", "Load Base Map"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_datasets), _translate("dockWidget_trends_earth", "Datasets"))
from qgis.gui import QgsFilterLineEdit


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    dockWidget_trends_earth = QtWidgets.QDockWidget()
    ui = Ui_dockWidget_trends_earth()
    ui.setupUi(dockWidget_trends_earth)
    dockWidget_trends_earth.show()
    sys.exit(app.exec_())
