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

# Form implementation generated from reading ui file 'LDMP/gui\DlgCalculateLCSetAggregation.ui'
#
# Created: Sat Apr 07 22:23:35 2018
#      by: PyQt4 UI code generator 4.10.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_DlgCalculateLCSetAggregation(object):
    def setupUi(self, DlgCalculateLCSetAggregation):
        DlgCalculateLCSetAggregation.setObjectName(_fromUtf8("DlgCalculateLCSetAggregation"))
        DlgCalculateLCSetAggregation.setWindowModality(QtCore.Qt.WindowModal)
        DlgCalculateLCSetAggregation.resize(800, 400)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgCalculateLCSetAggregation.sizePolicy().hasHeightForWidth())
        DlgCalculateLCSetAggregation.setSizePolicy(sizePolicy)
        DlgCalculateLCSetAggregation.setMinimumSize(QtCore.QSize(0, 0))
        self.gridLayout = QtGui.QGridLayout(DlgCalculateLCSetAggregation)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.btn_save = QtGui.QPushButton(DlgCalculateLCSetAggregation)
        self.btn_save.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_save.setObjectName(_fromUtf8("btn_save"))
        self.gridLayout.addWidget(self.btn_save, 3, 1, 1, 1)
        self.btn_load = QtGui.QPushButton(DlgCalculateLCSetAggregation)
        self.btn_load.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_load.setObjectName(_fromUtf8("btn_load"))
        self.gridLayout.addWidget(self.btn_load, 3, 0, 1, 1)
        self.remap_view = QtGui.QTableView(DlgCalculateLCSetAggregation)
        self.remap_view.setSelectionBehavior(QtGui.QAbstractItemView.SelectItems)
        self.remap_view.setSortingEnabled(True)
        self.remap_view.setObjectName(_fromUtf8("remap_view"))
        self.remap_view.horizontalHeader().setVisible(True)
        self.remap_view.horizontalHeader().setCascadingSectionResizes(True)
        self.remap_view.horizontalHeader().setStretchLastSection(True)
        self.remap_view.verticalHeader().setVisible(False)
        self.remap_view.verticalHeader().setSortIndicatorShown(True)
        self.gridLayout.addWidget(self.remap_view, 0, 0, 1, 2)
        self.btn_reset = QtGui.QPushButton(DlgCalculateLCSetAggregation)
        self.btn_reset.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_reset.setObjectName(_fromUtf8("btn_reset"))
        self.gridLayout.addWidget(self.btn_reset, 1, 0, 1, 2)
        self.btn_close = QtGui.QPushButton(DlgCalculateLCSetAggregation)
        self.btn_close.setMinimumSize(QtCore.QSize(0, 30))
        self.btn_close.setObjectName(_fromUtf8("btn_close"))
        self.gridLayout.addWidget(self.btn_close, 4, 0, 1, 2)

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

    def retranslateUi(self, DlgCalculateLCSetAggregation):
        DlgCalculateLCSetAggregation.setWindowTitle(_translate("DlgCalculateLCSetAggregation", "Setup aggregation of land cover data", None))
        self.btn_save.setText(_translate("DlgCalculateLCSetAggregation", "Save definition to file", None))
        self.btn_load.setText(_translate("DlgCalculateLCSetAggregation", "Load definition from file", None))
        self.btn_reset.setText(_translate("DlgCalculateLCSetAggregation", "Reset to default", None))
        self.btn_close.setText(_translate("DlgCalculateLCSetAggregation", "Save", None))


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

