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

# Form implementation generated from reading ui file 'eric/Helpviewer/OfflineStorage/WebDatabasesDialog.ui'
#
# Created: Tue Oct 28 07:22:45 2014
#      by: PyQt4 UI code generator 4.11.2
#
# 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_WebDatabasesDialog(object):
    def setupUi(self, WebDatabasesDialog):
        WebDatabasesDialog.setObjectName(_fromUtf8("WebDatabasesDialog"))
        WebDatabasesDialog.resize(500, 357)
        WebDatabasesDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(WebDatabasesDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.searchEdit = E5ClearableLineEdit(WebDatabasesDialog)
        self.searchEdit.setMinimumSize(QtCore.QSize(300, 0))
        self.searchEdit.setObjectName(_fromUtf8("searchEdit"))
        self.horizontalLayout.addWidget(self.searchEdit)
        self.horizontalLayout_2.addLayout(self.horizontalLayout)
        self.gridLayout.addLayout(self.horizontalLayout_2, 0, 0, 1, 3)
        self.databasesTree = E5TreeView(WebDatabasesDialog)
        self.databasesTree.setAlternatingRowColors(True)
        self.databasesTree.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.databasesTree.setObjectName(_fromUtf8("databasesTree"))
        self.gridLayout.addWidget(self.databasesTree, 1, 0, 1, 3)
        self.removeButton = QtGui.QPushButton(WebDatabasesDialog)
        self.removeButton.setAutoDefault(False)
        self.removeButton.setObjectName(_fromUtf8("removeButton"))
        self.gridLayout.addWidget(self.removeButton, 2, 0, 1, 1)
        self.removeAllButton = QtGui.QPushButton(WebDatabasesDialog)
        self.removeAllButton.setAutoDefault(False)
        self.removeAllButton.setObjectName(_fromUtf8("removeAllButton"))
        self.gridLayout.addWidget(self.removeAllButton, 2, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(309, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 2, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(WebDatabasesDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 3, 0, 1, 3)

        self.retranslateUi(WebDatabasesDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), WebDatabasesDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), WebDatabasesDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(WebDatabasesDialog)
        WebDatabasesDialog.setTabOrder(self.searchEdit, self.databasesTree)
        WebDatabasesDialog.setTabOrder(self.databasesTree, self.removeButton)
        WebDatabasesDialog.setTabOrder(self.removeButton, self.removeAllButton)
        WebDatabasesDialog.setTabOrder(self.removeAllButton, self.buttonBox)

    def retranslateUi(self, WebDatabasesDialog):
        WebDatabasesDialog.setWindowTitle(_translate("WebDatabasesDialog", "Web SQL Databases", None))
        self.searchEdit.setToolTip(_translate("WebDatabasesDialog", "Enter search term for databases", None))
        self.removeButton.setToolTip(_translate("WebDatabasesDialog", "Press to remove the selected entries", None))
        self.removeButton.setText(_translate("WebDatabasesDialog", "&Remove", None))
        self.removeAllButton.setToolTip(_translate("WebDatabasesDialog", "Press to remove all entries", None))
        self.removeAllButton.setText(_translate("WebDatabasesDialog", "Remove &All", None))

from E5Gui.E5TreeView import E5TreeView
from E5Gui.E5LineEdit import E5ClearableLineEdit
