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

# Form implementation generated from reading ui file 'D:/src/qgis-1.8.0/python/plugins/osm/ui_files/OsmUploadDlg.ui'
#
# Created: Mon Jul 15 10:11:00 2013
#      by: PyQt4 UI code generator 4.8.3
#
# 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_OsmUploadDlg(object):
    def setupUi(self, OsmUploadDlg):
        OsmUploadDlg.setObjectName(_fromUtf8("OsmUploadDlg"))
        OsmUploadDlg.setWindowModality(QtCore.Qt.ApplicationModal)
        OsmUploadDlg.resize(373, 468)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(OsmUploadDlg.sizePolicy().hasHeightForWidth())
        OsmUploadDlg.setSizePolicy(sizePolicy)
        OsmUploadDlg.setToolTip(_fromUtf8(""))
        OsmUploadDlg.setWhatsThis(_fromUtf8(""))
        OsmUploadDlg.setModal(True)
        self.vboxlayout = QtGui.QVBoxLayout(OsmUploadDlg)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.groupBox = QtGui.QGroupBox(OsmUploadDlg)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.vboxlayout1 = QtGui.QVBoxLayout(self.groupBox)
        self.vboxlayout1.setObjectName(_fromUtf8("vboxlayout1"))
        self.uploadChangesTable = QtGui.QTreeWidget(self.groupBox)
        self.uploadChangesTable.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.uploadChangesTable.sizePolicy().hasHeightForWidth())
        self.uploadChangesTable.setSizePolicy(sizePolicy)
        self.uploadChangesTable.setMinimumSize(QtCore.QSize(330, 90))
        self.uploadChangesTable.setMaximumSize(QtCore.QSize(330, 90))
        self.uploadChangesTable.setAutoFillBackground(False)
        self.uploadChangesTable.setTextElideMode(QtCore.Qt.ElideLeft)
        self.uploadChangesTable.setRootIsDecorated(False)
        self.uploadChangesTable.setItemsExpandable(False)
        self.uploadChangesTable.setColumnCount(5)
        self.uploadChangesTable.setObjectName(_fromUtf8("uploadChangesTable"))
        self.vboxlayout1.addWidget(self.uploadChangesTable)
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.vboxlayout1.addWidget(self.label_4)
        self.commentTextEdit = QtGui.QTextEdit(self.groupBox)
        self.commentTextEdit.setEnabled(True)
        self.commentTextEdit.setMaximumSize(QtCore.QSize(16777215, 85))
        self.commentTextEdit.setObjectName(_fromUtf8("commentTextEdit"))
        self.vboxlayout1.addWidget(self.commentTextEdit)
        self.vboxlayout.addWidget(self.groupBox)
        self.accountGroupBox = QtGui.QGroupBox(OsmUploadDlg)
        self.accountGroupBox.setEnabled(True)
        self.accountGroupBox.setObjectName(_fromUtf8("accountGroupBox"))
        self.vboxlayout2 = QtGui.QVBoxLayout(self.accountGroupBox)
        self.vboxlayout2.setObjectName(_fromUtf8("vboxlayout2"))
        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.label = QtGui.QLabel(self.accountGroupBox)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.userLineEdit = QtGui.QLineEdit(self.accountGroupBox)
        self.userLineEdit.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.userLineEdit.sizePolicy().hasHeightForWidth())
        self.userLineEdit.setSizePolicy(sizePolicy)
        self.userLineEdit.setObjectName(_fromUtf8("userLineEdit"))
        self.gridlayout.addWidget(self.userLineEdit, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.accountGroupBox)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridlayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.passwdLineEdit = QtGui.QLineEdit(self.accountGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.passwdLineEdit.sizePolicy().hasHeightForWidth())
        self.passwdLineEdit.setSizePolicy(sizePolicy)
        self.passwdLineEdit.setObjectName(_fromUtf8("passwdLineEdit"))
        self.gridlayout.addWidget(self.passwdLineEdit, 1, 1, 1, 1)
        self.chkShowPasswd = QtGui.QCheckBox(self.accountGroupBox)
        self.chkShowPasswd.setObjectName(_fromUtf8("chkShowPasswd"))
        self.gridlayout.addWidget(self.chkShowPasswd, 2, 1, 1, 1)
        self.chkSavePasswd = QtGui.QCheckBox(self.accountGroupBox)
        self.chkSavePasswd.setObjectName(_fromUtf8("chkSavePasswd"))
        self.gridlayout.addWidget(self.chkSavePasswd, 3, 1, 1, 1)
        self.vboxlayout2.addLayout(self.gridlayout)
        self.vboxlayout.addWidget(self.accountGroupBox)
        self.buttonBox = QtGui.QDialogButtonBox(OsmUploadDlg)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.vboxlayout.addWidget(self.buttonBox)

        self.retranslateUi(OsmUploadDlg)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), OsmUploadDlg.reject)
        QtCore.QMetaObject.connectSlotsByName(OsmUploadDlg)
        OsmUploadDlg.setTabOrder(self.userLineEdit, self.passwdLineEdit)
        OsmUploadDlg.setTabOrder(self.passwdLineEdit, self.chkShowPasswd)
        OsmUploadDlg.setTabOrder(self.chkShowPasswd, self.buttonBox)

    def retranslateUi(self, OsmUploadDlg):
        OsmUploadDlg.setWindowTitle(QtGui.QApplication.translate("OsmUploadDlg", "Upload OSM data", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("OsmUploadDlg", "Ready for upload", None, QtGui.QApplication.UnicodeUTF8))
        self.uploadChangesTable.headerItem().setText(0, QtGui.QApplication.translate("OsmUploadDlg", "1", None, QtGui.QApplication.UnicodeUTF8))
        self.uploadChangesTable.headerItem().setText(1, QtGui.QApplication.translate("OsmUploadDlg", "2", None, QtGui.QApplication.UnicodeUTF8))
        self.uploadChangesTable.headerItem().setText(2, QtGui.QApplication.translate("OsmUploadDlg", "3", None, QtGui.QApplication.UnicodeUTF8))
        self.uploadChangesTable.headerItem().setText(3, QtGui.QApplication.translate("OsmUploadDlg", "4", None, QtGui.QApplication.UnicodeUTF8))
        self.uploadChangesTable.headerItem().setText(4, QtGui.QApplication.translate("OsmUploadDlg", "5", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("OsmUploadDlg", "Comment on your changes:", None, QtGui.QApplication.UnicodeUTF8))
        self.accountGroupBox.setTitle(QtGui.QApplication.translate("OsmUploadDlg", "OSM account", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("OsmUploadDlg", "Username:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("OsmUploadDlg", "Password:", None, QtGui.QApplication.UnicodeUTF8))
        self.chkShowPasswd.setText(QtGui.QApplication.translate("OsmUploadDlg", "Show password", None, QtGui.QApplication.UnicodeUTF8))
        self.chkSavePasswd.setText(QtGui.QApplication.translate("OsmUploadDlg", "Save password", None, QtGui.QApplication.UnicodeUTF8))

