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

# Form implementation generated from reading ui file 'LDMP/gui\DlgVisualizationBasemap.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_DlgVisualizationBasemap(object):
    def setupUi(self, DlgVisualizationBasemap):
        DlgVisualizationBasemap.setObjectName(_fromUtf8("DlgVisualizationBasemap"))
        DlgVisualizationBasemap.resize(400, 333)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgVisualizationBasemap.sizePolicy().hasHeightForWidth())
        DlgVisualizationBasemap.setSizePolicy(sizePolicy)
        DlgVisualizationBasemap.setMinimumSize(QtCore.QSize(400, 275))
        self.verticalLayout = QtGui.QVBoxLayout(DlgVisualizationBasemap)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.area_groupbox = QtGui.QGroupBox(DlgVisualizationBasemap)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.area_groupbox.sizePolicy().hasHeightForWidth())
        self.area_groupbox.setSizePolicy(sizePolicy)
        self.area_groupbox.setObjectName(_fromUtf8("area_groupbox"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.area_groupbox)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.checkBox_mask = QtGui.QCheckBox(self.area_groupbox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.checkBox_mask.sizePolicy().hasHeightForWidth())
        self.checkBox_mask.setSizePolicy(sizePolicy)
        self.checkBox_mask.setObjectName(_fromUtf8("checkBox_mask"))
        self.verticalLayout_3.addWidget(self.checkBox_mask)
        self.label_maskselect = QtGui.QLabel(self.area_groupbox)
        self.label_maskselect.setEnabled(False)
        self.label_maskselect.setObjectName(_fromUtf8("label_maskselect"))
        self.verticalLayout_3.addWidget(self.label_maskselect)
        self.area_gridlayout = QtGui.QGridLayout()
        self.area_gridlayout.setObjectName(_fromUtf8("area_gridlayout"))
        self.label_admin1 = QtGui.QLabel(self.area_groupbox)
        self.label_admin1.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_admin1.sizePolicy().hasHeightForWidth())
        self.label_admin1.setSizePolicy(sizePolicy)
        self.label_admin1.setMinimumSize(QtCore.QSize(150, 0))
        self.label_admin1.setMaximumSize(QtCore.QSize(110, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_admin1.setFont(font)
        self.label_admin1.setObjectName(_fromUtf8("label_admin1"))
        self.area_gridlayout.addWidget(self.label_admin1, 1, 0, 1, 1)
        self.area_admin_1 = QtGui.QComboBox(self.area_groupbox)
        self.area_admin_1.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.area_admin_1.sizePolicy().hasHeightForWidth())
        self.area_admin_1.setSizePolicy(sizePolicy)
        self.area_admin_1.setMinimumSize(QtCore.QSize(0, 30))
        self.area_admin_1.setObjectName(_fromUtf8("area_admin_1"))
        self.area_gridlayout.addWidget(self.area_admin_1, 1, 1, 1, 2)
        self.label_admin0 = QtGui.QLabel(self.area_groupbox)
        self.label_admin0.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_admin0.sizePolicy().hasHeightForWidth())
        self.label_admin0.setSizePolicy(sizePolicy)
        self.label_admin0.setMinimumSize(QtCore.QSize(150, 0))
        self.label_admin0.setMaximumSize(QtCore.QSize(110, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_admin0.setFont(font)
        self.label_admin0.setObjectName(_fromUtf8("label_admin0"))
        self.area_gridlayout.addWidget(self.label_admin0, 0, 0, 1, 1)
        self.area_admin_0 = QtGui.QComboBox(self.area_groupbox)
        self.area_admin_0.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.area_admin_0.sizePolicy().hasHeightForWidth())
        self.area_admin_0.setSizePolicy(sizePolicy)
        self.area_admin_0.setMinimumSize(QtCore.QSize(0, 30))
        self.area_admin_0.setObjectName(_fromUtf8("area_admin_0"))
        self.area_gridlayout.addWidget(self.area_admin_0, 0, 1, 1, 2)
        self.verticalLayout_3.addLayout(self.area_gridlayout)
        self.verticalLayout.addWidget(self.area_groupbox)
        self.label_disclaimer = QtGui.QLabel(DlgVisualizationBasemap)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_disclaimer.sizePolicy().hasHeightForWidth())
        self.label_disclaimer.setSizePolicy(sizePolicy)
        self.label_disclaimer.setWordWrap(True)
        self.label_disclaimer.setOpenExternalLinks(True)
        self.label_disclaimer.setObjectName(_fromUtf8("label_disclaimer"))
        self.verticalLayout.addWidget(self.label_disclaimer)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.buttonBox = QtGui.QDialogButtonBox(DlgVisualizationBasemap)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

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

    def retranslateUi(self, DlgVisualizationBasemap):
        DlgVisualizationBasemap.setWindowTitle(_translate("DlgVisualizationBasemap", "Add basemap", None))
        self.area_groupbox.setTitle(_translate("DlgVisualizationBasemap", "Mask ", None))
        self.checkBox_mask.setText(_translate("DlgVisualizationBasemap", "Use a mask", None))
        self.label_maskselect.setText(_translate("DlgVisualizationBasemap", "Mask all areas outside of:", None))
        self.label_admin1.setText(_translate("DlgVisualizationBasemap", "Second level:", None))
        self.label_admin0.setText(_translate("DlgVisualizationBasemap", "First level:", None))
        self.label_disclaimer.setText(_translate("DlgVisualizationBasemap", "<html><head/><body><p>Disclaimer: The provided boundaries are from <a href=\"http://www.naturalearthdata.com/\"><span style=\" text-decoration: underline; color:#0000ff;\">Natural Earth</span></a>, and are in the <a href=\"http://creativecommons.org/publicdomain\"><span style=\" text-decoration: underline; color:#0000ff;\">public domain</span></a>. The boundaries and names used, and the designations used, in trends.earth do not imply official endorsement or acceptance by Conservation International Foundation, or by its partner organizations and contributors.</p></body></html>", None))


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

