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

# Form implementation generated from reading ui file 'eric/Helpviewer/Bookmarks/AddBookmarkDialog.ui'
#
# Created: Sun May  2 14:37:56 2010
#      by: PyQt4 UI code generator 4.6.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_AddBookmarkDialog(object):
    def setupUi(self, AddBookmarkDialog):
        AddBookmarkDialog.setObjectName("AddBookmarkDialog")
        AddBookmarkDialog.resize(400, 174)
        AddBookmarkDialog.setMinimumSize(QtCore.QSize(400, 0))
        AddBookmarkDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(AddBookmarkDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtGui.QLabel(AddBookmarkDialog)
        self.label.setTextFormat(QtCore.Qt.PlainText)
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.nameEdit = E4LineEdit(AddBookmarkDialog)
        self.nameEdit.setObjectName("nameEdit")
        self.verticalLayout.addWidget(self.nameEdit)
        self.addressEdit = E4LineEdit(AddBookmarkDialog)
        self.addressEdit.setObjectName("addressEdit")
        self.verticalLayout.addWidget(self.addressEdit)
        self.locationCombo = QtGui.QComboBox(AddBookmarkDialog)
        self.locationCombo.setObjectName("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("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(AddBookmarkDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), AddBookmarkDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("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
