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

# Form implementation generated from reading ui file 'eric/Helpviewer/UrlBar/BookmarkInfoDialog.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_BookmarkInfoDialog(object):
    def setupUi(self, BookmarkInfoDialog):
        BookmarkInfoDialog.setObjectName(_fromUtf8("BookmarkInfoDialog"))
        BookmarkInfoDialog.resize(350, 135)
        BookmarkInfoDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(BookmarkInfoDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(10)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.icon = QtGui.QLabel(BookmarkInfoDialog)
        self.icon.setText(_fromUtf8(""))
        self.icon.setObjectName(_fromUtf8("icon"))
        self.horizontalLayout.addWidget(self.icon)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.title = QtGui.QLabel(BookmarkInfoDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.title.sizePolicy().hasHeightForWidth())
        self.title.setSizePolicy(sizePolicy)
        self.title.setAlignment(QtCore.Qt.AlignCenter)
        self.title.setObjectName(_fromUtf8("title"))
        self.verticalLayout.addWidget(self.title)
        self.removeButton = QtGui.QPushButton(BookmarkInfoDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.removeButton.sizePolicy().hasHeightForWidth())
        self.removeButton.setSizePolicy(sizePolicy)
        self.removeButton.setObjectName(_fromUtf8("removeButton"))
        self.verticalLayout.addWidget(self.removeButton)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.gridLayout.addLayout(self.horizontalLayout, 0, 1, 1, 1)
        self.label = QtGui.QLabel(BookmarkInfoDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.titleEdit = QtGui.QLineEdit(BookmarkInfoDialog)
        self.titleEdit.setObjectName(_fromUtf8("titleEdit"))
        self.gridLayout.addWidget(self.titleEdit, 1, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(BookmarkInfoDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 2)

        self.retranslateUi(BookmarkInfoDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), BookmarkInfoDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), BookmarkInfoDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(BookmarkInfoDialog)
        BookmarkInfoDialog.setTabOrder(self.removeButton, self.titleEdit)
        BookmarkInfoDialog.setTabOrder(self.titleEdit, self.buttonBox)

    def retranslateUi(self, BookmarkInfoDialog):
        BookmarkInfoDialog.setWindowTitle(_translate("BookmarkInfoDialog", "Edit Bookmark", None))
        self.title.setText(_translate("BookmarkInfoDialog", "Edit this Bookmark", None))
        self.removeButton.setToolTip(_translate("BookmarkInfoDialog", "Press to remove this bookmark", None))
        self.removeButton.setText(_translate("BookmarkInfoDialog", "Remove this Bookmark", None))
        self.label.setText(_translate("BookmarkInfoDialog", "Title:", None))

