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

# Form implementation generated from reading ui file 'LDMP/gui\DlgCreateMap.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_DlgCreateMap(object):
    def setupUi(self, DlgCreateMap):
        DlgCreateMap.setObjectName(_fromUtf8("DlgCreateMap"))
        DlgCreateMap.resize(548, 472)
        self.verticalLayout_2 = QtGui.QVBoxLayout(DlgCreateMap)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.TabBox = QtGui.QTabWidget(DlgCreateMap)
        self.TabBox.setObjectName(_fromUtf8("TabBox"))
        self.SettingsTab = QtGui.QWidget()
        self.SettingsTab.setObjectName(_fromUtf8("SettingsTab"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.SettingsTab)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.layer_combo_label = QtGui.QLabel(self.SettingsTab)
        self.layer_combo_label.setMinimumSize(QtCore.QSize(0, 30))
        self.layer_combo_label.setMaximumSize(QtCore.QSize(16777215, 33))
        self.layer_combo_label.setObjectName(_fromUtf8("layer_combo_label"))
        self.verticalLayout_4.addWidget(self.layer_combo_label)
        self.combo_layers = QtGui.QComboBox(self.SettingsTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_layers.sizePolicy().hasHeightForWidth())
        self.combo_layers.setSizePolicy(sizePolicy)
        self.combo_layers.setMinimumSize(QtCore.QSize(275, 30))
        self.combo_layers.setObjectName(_fromUtf8("combo_layers"))
        self.verticalLayout_4.addWidget(self.combo_layers)
        self.label = QtGui.QLabel(self.SettingsTab)
        self.label.setMinimumSize(QtCore.QSize(0, 30))
        self.label.setMaximumSize(QtCore.QSize(16777215, 33))
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_4.addWidget(self.label)
        self.title = QtGui.QLineEdit(self.SettingsTab)
        self.title.setMinimumSize(QtCore.QSize(0, 30))
        self.title.setMaxLength(40)
        self.title.setObjectName(_fromUtf8("title"))
        self.verticalLayout_4.addWidget(self.title)
        self.label_2 = QtGui.QLabel(self.SettingsTab)
        self.label_2.setMinimumSize(QtCore.QSize(0, 30))
        self.label_2.setMaximumSize(QtCore.QSize(16777215, 33))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout_4.addWidget(self.label_2)
        self.authors = QtGui.QLineEdit(self.SettingsTab)
        self.authors.setMaxLength(175)
        self.authors.setObjectName(_fromUtf8("authors"))
        self.verticalLayout_4.addWidget(self.authors)
        self.groupBox = QtGui.QGroupBox(self.SettingsTab)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.groupBox)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.portrait_layout = QtGui.QRadioButton(self.groupBox)
        self.portrait_layout.setChecked(True)
        self.portrait_layout.setObjectName(_fromUtf8("portrait_layout"))
        self.horizontalLayout.addWidget(self.portrait_layout)
        self.landscape_layout = QtGui.QRadioButton(self.groupBox)
        self.landscape_layout.setObjectName(_fromUtf8("landscape_layout"))
        self.horizontalLayout.addWidget(self.landscape_layout)
        self.verticalLayout_4.addWidget(self.groupBox)
        self.TabBox.addTab(self.SettingsTab, _fromUtf8(""))
        self.AreaTab = QtGui.QWidget()
        self.AreaTab.setObjectName(_fromUtf8("AreaTab"))
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.AreaTab)
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.groupBox_7 = QtGui.QGroupBox(self.AreaTab)
        self.groupBox_7.setObjectName(_fromUtf8("groupBox_7"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_7)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_3 = QtGui.QLabel(self.groupBox_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setMinimumSize(QtCore.QSize(200, 0))
        self.label_3.setMaximumSize(QtCore.QSize(110, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_3.setFont(font)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_2.addWidget(self.label_3, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 30, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 3, 0, 1, 1)
        self.area_admin_1 = QtGui.QComboBox(self.groupBox_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        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.gridLayout_2.addWidget(self.area_admin_1, 2, 1, 1, 2)
        self.area_fromfile = QtGui.QRadioButton(self.groupBox_7)
        self.area_fromfile.setObjectName(_fromUtf8("area_fromfile"))
        self.gridLayout_2.addWidget(self.area_fromfile, 4, 0, 1, 3)
        self.area_fromfile_browse = QtGui.QPushButton(self.groupBox_7)
        self.area_fromfile_browse.setEnabled(False)
        self.area_fromfile_browse.setMinimumSize(QtCore.QSize(0, 30))
        self.area_fromfile_browse.setMaximumSize(QtCore.QSize(80, 16777215))
        self.area_fromfile_browse.setObjectName(_fromUtf8("area_fromfile_browse"))
        self.gridLayout_2.addWidget(self.area_fromfile_browse, 5, 2, 1, 1)
        self.area_fromfile_file = QtGui.QLineEdit(self.groupBox_7)
        self.area_fromfile_file.setEnabled(False)
        self.area_fromfile_file.setMinimumSize(QtCore.QSize(120, 30))
        self.area_fromfile_file.setObjectName(_fromUtf8("area_fromfile_file"))
        self.gridLayout_2.addWidget(self.area_fromfile_file, 5, 0, 1, 2)
        spacerItem1 = QtGui.QSpacerItem(20, 30, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem1, 6, 0, 1, 1)
        self.area_admin = QtGui.QRadioButton(self.groupBox_7)
        self.area_admin.setChecked(True)
        self.area_admin.setObjectName(_fromUtf8("area_admin"))
        self.gridLayout_2.addWidget(self.area_admin, 0, 0, 1, 3)
        self.label_4 = QtGui.QLabel(self.groupBox_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setMinimumSize(QtCore.QSize(200, 0))
        self.label_4.setMaximumSize(QtCore.QSize(110, 16777215))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_4.setFont(font)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_2.addWidget(self.label_4, 2, 0, 1, 1)
        self.area_admin_0 = QtGui.QComboBox(self.groupBox_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        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.gridLayout_2.addWidget(self.area_admin_0, 1, 1, 1, 2)
        self.verticalLayout_7.addWidget(self.groupBox_7)
        self.TabBox.addTab(self.AreaTab, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.TabBox)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.button_next = QtGui.QPushButton(DlgCreateMap)
        self.button_next.setMinimumSize(QtCore.QSize(0, 30))
        self.button_next.setObjectName(_fromUtf8("button_next"))
        self.gridLayout.addWidget(self.button_next, 0, 1, 1, 1)
        self.button_prev = QtGui.QPushButton(DlgCreateMap)
        self.button_prev.setMinimumSize(QtCore.QSize(0, 30))
        self.button_prev.setObjectName(_fromUtf8("button_prev"))
        self.gridLayout.addWidget(self.button_prev, 0, 0, 1, 1)
        self.button_calculate = QtGui.QPushButton(DlgCreateMap)
        self.button_calculate.setMinimumSize(QtCore.QSize(0, 30))
        self.button_calculate.setObjectName(_fromUtf8("button_calculate"))
        self.gridLayout.addWidget(self.button_calculate, 1, 0, 1, 2)
        self.verticalLayout_2.addLayout(self.gridLayout)

        self.retranslateUi(DlgCreateMap)
        self.TabBox.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(DlgCreateMap)

    def retranslateUi(self, DlgCreateMap):
        DlgCreateMap.setWindowTitle(_translate("DlgCreateMap", "Create Map", None))
        self.layer_combo_label.setText(_translate("DlgCreateMap", "Layer to display:", None))
        self.label.setText(_translate("DlgCreateMap", "Map name:", None))
        self.label_2.setText(_translate("DlgCreateMap", "Author(s):", None))
        self.groupBox.setTitle(_translate("DlgCreateMap", "Layout", None))
        self.portrait_layout.setText(_translate("DlgCreateMap", "Portrait", None))
        self.landscape_layout.setText(_translate("DlgCreateMap", "Landscape", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.SettingsTab), _translate("DlgCreateMap", "Settings", None))
        self.groupBox_7.setTitle(_translate("DlgCreateMap", "Area", None))
        self.label_3.setText(_translate("DlgCreateMap", "First level:", None))
        self.area_fromfile.setText(_translate("DlgCreateMap", "Area from file", None))
        self.area_fromfile_browse.setText(_translate("DlgCreateMap", "Browse", None))
        self.area_fromfile_file.setPlaceholderText(_translate("DlgCreateMap", "Choose a file...", None))
        self.area_admin.setText(_translate("DlgCreateMap", "Administrative area", None))
        self.label_4.setText(_translate("DlgCreateMap", "Second level:", None))
        self.TabBox.setTabText(self.TabBox.indexOf(self.AreaTab), _translate("DlgCreateMap", "Area", None))
        self.button_next.setText(_translate("DlgCreateMap", "Next", None))
        self.button_prev.setText(_translate("DlgCreateMap", "Previous", None))
        self.button_calculate.setText(_translate("DlgCreateMap", "Create", None))

