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

# Form implementation generated from reading ui file '/usr/obj/ports/qgis-1.7.0/qgis-1.7.0/python/plugins/osm/ui_files/OsmAddRelationDlg.ui'
#
# Created: Sun Aug  7 18:23:06 2011
#      by: PyQt4 UI code generator 4.8.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_OsmAddRelationDlg(object):
    def setupUi(self, OsmAddRelationDlg):
        OsmAddRelationDlg.setObjectName(_fromUtf8("OsmAddRelationDlg"))
        OsmAddRelationDlg.resize(620, 461)
        OsmAddRelationDlg.setToolTip(_fromUtf8(""))
        OsmAddRelationDlg.setWhatsThis(_fromUtf8(""))
        OsmAddRelationDlg.setModal(False)
        self.vboxlayout = QtGui.QVBoxLayout(OsmAddRelationDlg)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.label = QtGui.QLabel(OsmAddRelationDlg)
        self.label.setObjectName(_fromUtf8("label"))
        self.hboxlayout.addWidget(self.label)
        spacerItem = QtGui.QSpacerItem(24, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.typeCombo = QtGui.QComboBox(OsmAddRelationDlg)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.typeCombo.sizePolicy().hasHeightForWidth())
        self.typeCombo.setSizePolicy(sizePolicy)
        self.typeCombo.setMinimumSize(QtCore.QSize(164, 24))
        self.typeCombo.setMaximumSize(QtCore.QSize(164, 16777215))
        self.typeCombo.setEditable(True)
        self.typeCombo.setObjectName(_fromUtf8("typeCombo"))
        self.hboxlayout.addWidget(self.typeCombo)
        self.typeInfoButton = QtGui.QToolButton(OsmAddRelationDlg)
        self.typeInfoButton.setObjectName(_fromUtf8("typeInfoButton"))
        self.hboxlayout.addWidget(self.typeInfoButton)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem1)
        self.vboxlayout.addLayout(self.hboxlayout)
        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1"))
        self.vboxlayout1 = QtGui.QVBoxLayout()
        self.vboxlayout1.setObjectName(_fromUtf8("vboxlayout1"))
        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setObjectName(_fromUtf8("hboxlayout2"))
        self.label_2 = QtGui.QLabel(OsmAddRelationDlg)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.hboxlayout2.addWidget(self.label_2)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout2.addItem(spacerItem2)
        self.loadStandardTagsButton = QtGui.QToolButton(OsmAddRelationDlg)
        self.loadStandardTagsButton.setObjectName(_fromUtf8("loadStandardTagsButton"))
        self.hboxlayout2.addWidget(self.loadStandardTagsButton)
        self.removeTagButton = QtGui.QToolButton(OsmAddRelationDlg)
        self.removeTagButton.setObjectName(_fromUtf8("removeTagButton"))
        self.hboxlayout2.addWidget(self.removeTagButton)
        self.vboxlayout1.addLayout(self.hboxlayout2)
        self.relTagsTable = QtGui.QTableWidget(OsmAddRelationDlg)
        self.relTagsTable.setMinimumSize(QtCore.QSize(240, 0))
        self.relTagsTable.setObjectName(_fromUtf8("relTagsTable"))
        self.relTagsTable.setColumnCount(0)
        self.relTagsTable.setRowCount(0)
        self.vboxlayout1.addWidget(self.relTagsTable)
        self.hboxlayout1.addLayout(self.vboxlayout1)
        self.vboxlayout2 = QtGui.QVBoxLayout()
        self.vboxlayout2.setObjectName(_fromUtf8("vboxlayout2"))
        self.hboxlayout3 = QtGui.QHBoxLayout()
        self.hboxlayout3.setObjectName(_fromUtf8("hboxlayout3"))
        self.label_5 = QtGui.QLabel(OsmAddRelationDlg)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.hboxlayout3.addWidget(self.label_5)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout3.addItem(spacerItem3)
        self.chooseMemberButton = QtGui.QToolButton(OsmAddRelationDlg)
        self.chooseMemberButton.setCheckable(True)
        self.chooseMemberButton.setObjectName(_fromUtf8("chooseMemberButton"))
        self.hboxlayout3.addWidget(self.chooseMemberButton)
        self.removeMemberButton = QtGui.QToolButton(OsmAddRelationDlg)
        self.removeMemberButton.setObjectName(_fromUtf8("removeMemberButton"))
        self.hboxlayout3.addWidget(self.removeMemberButton)
        self.vboxlayout2.addLayout(self.hboxlayout3)
        self.relMembersTable = QtGui.QTableWidget(OsmAddRelationDlg)
        self.relMembersTable.setMinimumSize(QtCore.QSize(346, 0))
        self.relMembersTable.setObjectName(_fromUtf8("relMembersTable"))
        self.relMembersTable.setColumnCount(0)
        self.relMembersTable.setRowCount(0)
        self.vboxlayout2.addWidget(self.relMembersTable)
        self.tagInfoTextEdit = QtGui.QTextEdit(OsmAddRelationDlg)
        self.tagInfoTextEdit.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tagInfoTextEdit.sizePolicy().hasHeightForWidth())
        self.tagInfoTextEdit.setSizePolicy(sizePolicy)
        self.tagInfoTextEdit.setMaximumSize(QtCore.QSize(16777215, 140))
        self.tagInfoTextEdit.setReadOnly(True)
        self.tagInfoTextEdit.setObjectName(_fromUtf8("tagInfoTextEdit"))
        self.vboxlayout2.addWidget(self.tagInfoTextEdit)
        self.hboxlayout1.addLayout(self.vboxlayout2)
        self.vboxlayout.addLayout(self.hboxlayout1)
        self.hboxlayout4 = QtGui.QHBoxLayout()
        self.hboxlayout4.setObjectName(_fromUtf8("hboxlayout4"))
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout4.addItem(spacerItem4)
        self.createRelButton = QtGui.QPushButton(OsmAddRelationDlg)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.createRelButton.sizePolicy().hasHeightForWidth())
        self.createRelButton.setSizePolicy(sizePolicy)
        self.createRelButton.setMinimumSize(QtCore.QSize(0, 30))
        self.createRelButton.setAutoDefault(False)
        self.createRelButton.setObjectName(_fromUtf8("createRelButton"))
        self.hboxlayout4.addWidget(self.createRelButton)
        self.stornoButton = QtGui.QPushButton(OsmAddRelationDlg)
        self.stornoButton.setMinimumSize(QtCore.QSize(0, 30))
        self.stornoButton.setAutoDefault(False)
        self.stornoButton.setObjectName(_fromUtf8("stornoButton"))
        self.hboxlayout4.addWidget(self.stornoButton)
        self.vboxlayout.addLayout(self.hboxlayout4)

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

    def retranslateUi(self, OsmAddRelationDlg):
        OsmAddRelationDlg.setWindowTitle(QtGui.QApplication.translate("OsmAddRelationDlg", "Create OSM relation", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("OsmAddRelationDlg", "Relation type:", None, QtGui.QApplication.UnicodeUTF8))
        self.typeInfoButton.setToolTip(QtGui.QApplication.translate("OsmAddRelationDlg", "Show type description", None, QtGui.QApplication.UnicodeUTF8))
        self.typeInfoButton.setStatusTip(QtGui.QApplication.translate("OsmAddRelationDlg", "Shows brief description of selected relation type.", None, QtGui.QApplication.UnicodeUTF8))
        self.typeInfoButton.setWhatsThis(QtGui.QApplication.translate("OsmAddRelationDlg", "Shows brief description of selected relation type.", None, QtGui.QApplication.UnicodeUTF8))
        self.typeInfoButton.setText(QtGui.QApplication.translate("OsmAddRelationDlg", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("OsmAddRelationDlg", "Properties", None, QtGui.QApplication.UnicodeUTF8))
        self.loadStandardTagsButton.setToolTip(QtGui.QApplication.translate("OsmAddRelationDlg", "Generate tags", None, QtGui.QApplication.UnicodeUTF8))
        self.loadStandardTagsButton.setStatusTip(QtGui.QApplication.translate("OsmAddRelationDlg", "Fills tag table with tags that are typical for relation of specified type.", None, QtGui.QApplication.UnicodeUTF8))
        self.loadStandardTagsButton.setWhatsThis(QtGui.QApplication.translate("OsmAddRelationDlg", "Fills tag table with tags that are typical for relation of specified type.", None, QtGui.QApplication.UnicodeUTF8))
        self.loadStandardTagsButton.setText(QtGui.QApplication.translate("OsmAddRelationDlg", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.removeTagButton.setToolTip(QtGui.QApplication.translate("OsmAddRelationDlg", "Remove all selected tags", None, QtGui.QApplication.UnicodeUTF8))
        self.removeTagButton.setStatusTip(QtGui.QApplication.translate("OsmAddRelationDlg", "Removes all selected tags.", None, QtGui.QApplication.UnicodeUTF8))
        self.removeTagButton.setWhatsThis(QtGui.QApplication.translate("OsmAddRelationDlg", "Removes all selected tags.", None, QtGui.QApplication.UnicodeUTF8))
        self.removeTagButton.setText(QtGui.QApplication.translate("OsmAddRelationDlg", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("OsmAddRelationDlg", "Members", None, QtGui.QApplication.UnicodeUTF8))
        self.chooseMemberButton.setToolTip(QtGui.QApplication.translate("OsmAddRelationDlg", "Select member on map", None, QtGui.QApplication.UnicodeUTF8))
        self.chooseMemberButton.setStatusTip(QtGui.QApplication.translate("OsmAddRelationDlg", "Starts process of selecting next relation member on map.", None, QtGui.QApplication.UnicodeUTF8))
        self.chooseMemberButton.setWhatsThis(QtGui.QApplication.translate("OsmAddRelationDlg", "Starts process of selecting next relation member on map.", None, QtGui.QApplication.UnicodeUTF8))
        self.chooseMemberButton.setText(QtGui.QApplication.translate("OsmAddRelationDlg", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.removeMemberButton.setToolTip(QtGui.QApplication.translate("OsmAddRelationDlg", "Remove all selected members", None, QtGui.QApplication.UnicodeUTF8))
        self.removeMemberButton.setStatusTip(QtGui.QApplication.translate("OsmAddRelationDlg", "Removes all selected members.", None, QtGui.QApplication.UnicodeUTF8))
        self.removeMemberButton.setWhatsThis(QtGui.QApplication.translate("OsmAddRelationDlg", "Removes all selected members.", None, QtGui.QApplication.UnicodeUTF8))
        self.removeMemberButton.setText(QtGui.QApplication.translate("OsmAddRelationDlg", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.createRelButton.setText(QtGui.QApplication.translate("OsmAddRelationDlg", "Create", None, QtGui.QApplication.UnicodeUTF8))
        self.stornoButton.setText(QtGui.QApplication.translate("OsmAddRelationDlg", "Cancel", None, QtGui.QApplication.UnicodeUTF8))

