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

# Form implementation generated from reading ui file 'LDMP/gui\DlgDataIOLoadTE.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_DlgDataIOLoadTE(object):
    def setupUi(self, DlgDataIOLoadTE):
        DlgDataIOLoadTE.setObjectName(_fromUtf8("DlgDataIOLoadTE"))
        DlgDataIOLoadTE.setWindowModality(QtCore.Qt.ApplicationModal)
        DlgDataIOLoadTE.resize(608, 460)
        self.gridLayout = QtGui.QGridLayout(DlgDataIOLoadTE)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.buttonBox = QtGui.QDialogButtonBox(DlgDataIOLoadTE)
        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(DlgDataIOLoadTE)
        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(DlgDataIOLoadTE)
        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(DlgDataIOLoadTE)
        QtCore.QMetaObject.connectSlotsByName(DlgDataIOLoadTE)

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


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    DlgDataIOLoadTE = QtGui.QDialog()
    ui = Ui_DlgDataIOLoadTE()
    ui.setupUi(DlgDataIOLoadTE)
    DlgDataIOLoadTE.show()
    sys.exit(app.exec_())

