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

# Form implementation generated from reading ui file 'eric/Helpviewer/Bookmarks/AddBookmarkDialog.ui'
#
# Created: Sun Nov 11 19:51:02 2012
#      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_AddBookmarkDialog(object):
    def setupUi(self, AddBookmarkDialog):
        AddBookmarkDialog.setObjectName(_fromUtf8("AddBookmarkDialog"))
        AddBookmarkDialog.resize(400, 174)
        AddBookmarkDialog.setMinimumSize(QtCore.QSize(400, 0))
        AddBookmarkDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(AddBookmarkDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(AddBookmarkDialog)
        self.label.setTextFormat(QtCore.Qt.PlainText)
        self.label.setWordWrap(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.nameEdit = E4LineEdit(AddBookmarkDialog)
        self.nameEdit.setObjectName(_fromUtf8("nameEdit"))
        self.verticalLayout.addWidget(self.nameEdit)
        self.addressEdit = E4LineEdit(AddBookmarkDialog)
        self.addressEdit.setObjectName(_fromUtf8("addressEdit"))
        self.verticalLayout.addWidget(self.addressEdit)
        self.locationCombo = QtGui.QComboBox(AddBookmarkDialog)
        self.locationCombo.setObjectName(_fromUtf8("locationCombo"))
        self.verticalLayout.addWidget(self.locationCombo)
        spacerItem = QtGui.QSpacerItem(20, 9, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.buttonBox = QtGui.QDialogButtonBox(AddBookmarkDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(AddBookmarkDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), AddBookmarkDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), AddBookmarkDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(AddBookmarkDialog)
        AddBookmarkDialog.setTabOrder(self.nameEdit, self.addressEdit)
        AddBookmarkDialog.setTabOrder(self.addressEdit, self.locationCombo)
        AddBookmarkDialog.setTabOrder(self.locationCombo, self.buttonBox)

    def retranslateUi(self, AddBookmarkDialog):
        AddBookmarkDialog.setWindowTitle(QtGui.QApplication.translate("AddBookmarkDialog", "Add Bookmark", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("AddBookmarkDialog", "Type a name for the bookmark, and choose where to keep it.", None, QtGui.QApplication.UnicodeUTF8))
        self.nameEdit.setToolTip(QtGui.QApplication.translate("AddBookmarkDialog", "Enter the name", None, QtGui.QApplication.UnicodeUTF8))
        self.addressEdit.setToolTip(QtGui.QApplication.translate("AddBookmarkDialog", "Enter the address", None, QtGui.QApplication.UnicodeUTF8))

from E4Gui.E4LineEdit import E4LineEdit
