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

# Form implementation generated from reading ui file 'LDMP/gui\DlgVisualizationCreateMap.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_DlgVisualizationCreateMap(object):
    def setupUi(self, DlgVisualizationCreateMap):
        DlgVisualizationCreateMap.setObjectName(_fromUtf8("DlgVisualizationCreateMap"))
        DlgVisualizationCreateMap.resize(293, 313)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DlgVisualizationCreateMap.sizePolicy().hasHeightForWidth())
        DlgVisualizationCreateMap.setSizePolicy(sizePolicy)
        self.verticalLayout_2 = QtGui.QVBoxLayout(DlgVisualizationCreateMap)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.layer_combo_label = QtGui.QLabel(DlgVisualizationCreateMap)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.layer_combo_label.sizePolicy().hasHeightForWidth())
        self.layer_combo_label.setSizePolicy(sizePolicy)
        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_2.addWidget(self.layer_combo_label)
        self.combo_layers = QtGui.QComboBox(DlgVisualizationCreateMap)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        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_2.addWidget(self.combo_layers)
        self.label = QtGui.QLabel(DlgVisualizationCreateMap)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setMinimumSize(QtCore.QSize(0, 30))
        self.label.setMaximumSize(QtCore.QSize(16777215, 33))
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_2.addWidget(self.label)
        self.title = QtGui.QLineEdit(DlgVisualizationCreateMap)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.title.sizePolicy().hasHeightForWidth())
        self.title.setSizePolicy(sizePolicy)
        self.title.setMinimumSize(QtCore.QSize(0, 30))
        self.title.setMaxLength(40)
        self.title.setObjectName(_fromUtf8("title"))
        self.verticalLayout_2.addWidget(self.title)
        self.label_2 = QtGui.QLabel(DlgVisualizationCreateMap)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        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_2.addWidget(self.label_2)
        self.authors = QtGui.QLineEdit(DlgVisualizationCreateMap)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.authors.sizePolicy().hasHeightForWidth())
        self.authors.setSizePolicy(sizePolicy)
        self.authors.setMinimumSize(QtCore.QSize(0, 30))
        self.authors.setMaxLength(175)
        self.authors.setObjectName(_fromUtf8("authors"))
        self.verticalLayout_2.addWidget(self.authors)
        self.groupBox = QtGui.QGroupBox(DlgVisualizationCreateMap)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        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_2.addWidget(self.groupBox)
        self.buttonBox = QtGui.QDialogButtonBox(DlgVisualizationCreateMap)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.buttonBox.sizePolicy().hasHeightForWidth())
        self.buttonBox.setSizePolicy(sizePolicy)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_2.addWidget(self.buttonBox)

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

    def retranslateUi(self, DlgVisualizationCreateMap):
        DlgVisualizationCreateMap.setWindowTitle(_translate("DlgVisualizationCreateMap", "Create Map", None))
        self.layer_combo_label.setText(_translate("DlgVisualizationCreateMap", "Layer to display:", None))
        self.label.setText(_translate("DlgVisualizationCreateMap", "Map name:", None))
        self.label_2.setText(_translate("DlgVisualizationCreateMap", "Author(s):", None))
        self.groupBox.setTitle(_translate("DlgVisualizationCreateMap", "Layout", None))
        self.portrait_layout.setText(_translate("DlgVisualizationCreateMap", "Portrait", None))
        self.landscape_layout.setText(_translate("DlgVisualizationCreateMap", "Landscape", None))


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

