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

# Form implementation generated from reading ui file 'LDMP/gui\DlgCalculateLCSetAggregation.ui'
#
# Created: Sun Jan 27 18:18:39 2019
#      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(619, 501)
        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)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_save.sizePolicy().hasHeightForWidth())
        self.btn_save.setSizePolicy(sizePolicy)
        self.btn_save.setMinimumSize(QtCore.QSize(0, 40))
        self.btn_save.setObjectName(_fromUtf8("btn_save"))
        self.gridLayout.addWidget(self.btn_save, 3, 1, 1, 1)
        self.btn_load = QtGui.QPushButton(DlgCalculateLCSetAggregation)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_load.sizePolicy().hasHeightForWidth())
        self.btn_load.setSizePolicy(sizePolicy)
        self.btn_load.setMinimumSize(QtCore.QSize(0, 40))
        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)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_reset.sizePolicy().hasHeightForWidth())
        self.btn_reset.setSizePolicy(sizePolicy)
        self.btn_reset.setMinimumSize(QtCore.QSize(0, 40))
        self.btn_reset.setObjectName(_fromUtf8("btn_reset"))
        self.gridLayout.addWidget(self.btn_reset, 1, 0, 1, 2)
        self.btn_close = QtGui.QPushButton(DlgCalculateLCSetAggregation)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btn_close.sizePolicy().hasHeightForWidth())
        self.btn_close.setSizePolicy(sizePolicy)
        self.btn_close.setMinimumSize(QtCore.QSize(0, 40))
        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_())

