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

# Form implementation generated from reading ui file 'LDMP/gui\DlgLoadDataTE.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_DlgLoadDataTE(object):
    def setupUi(self, DlgLoadDataTE):
        DlgLoadDataTE.setObjectName(_fromUtf8("DlgLoadDataTE"))
        DlgLoadDataTE.setWindowModality(QtCore.Qt.ApplicationModal)
        DlgLoadDataTE.resize(600, 400)
        self.gridLayout = QtGui.QGridLayout(DlgLoadDataTE)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.buttonBox = QtGui.QDialogButtonBox(DlgLoadDataTE)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(DlgLoadDataTE)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.layers_view = QtGui.QListView(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.layers_view.sizePolicy().hasHeightForWidth())
        self.layers_view.setSizePolicy(sizePolicy)
        self.layers_view.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.layers_view.setObjectName(_fromUtf8("layers_view"))
        self.verticalLayout_2.addWidget(self.layers_view)
        self.btn_view_metadata = QtGui.QPushButton(self.groupBox)
        self.btn_view_metadata.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_view_metadata.setObjectName(_fromUtf8("btn_view_metadata"))
        self.verticalLayout_2.addWidget(self.btn_view_metadata)
        self.gridLayout.addWidget(self.groupBox, 1, 0, 1, 1)
        self.data_file_box = QtGui.QGroupBox(DlgLoadDataTE)
        self.data_file_box.setObjectName(_fromUtf8("data_file_box"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.data_file_box)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.file_lineedit = QtGui.QLineEdit(self.data_file_box)
        self.file_lineedit.setMinimumSize(QtCore.QSize(0, 30))
        self.file_lineedit.setReadOnly(True)
        self.file_lineedit.setObjectName(_fromUtf8("file_lineedit"))
        self.horizontalLayout.addWidget(self.file_lineedit)
        self.file_browse_btn = QtGui.QPushButton(self.data_file_box)
        self.file_browse_btn.setMinimumSize(QtCore.QSize(0, 30))
        self.file_browse_btn.setObjectName(_fromUtf8("file_browse_btn"))
        self.horizontalLayout.addWidget(self.file_browse_btn)
        self.gridLayout.addWidget(self.data_file_box, 0, 0, 1, 1)

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

    def retranslateUi(self, DlgLoadDataTE):
        DlgLoadDataTE.setWindowTitle(_translate("DlgLoadDataTE", "Open a trends.earth file", None))
        self.groupBox.setTitle(_translate("DlgLoadDataTE", "Select a layer(s)", None))
        self.btn_view_metadata.setText(_translate("DlgLoadDataTE", "View file metadata", None))
        self.data_file_box.setTitle(_translate("DlgLoadDataTE", "Select a file", None))
        self.file_lineedit.setPlaceholderText(_translate("DlgLoadDataTE", "Click \"Browse\" to choose a file...", None))
        self.file_browse_btn.setText(_translate("DlgLoadDataTE", "Browse...", None))

