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

# Form implementation generated from reading ui file 'eric/QScintilla/SpellingDictionaryEditDialog.ui'
#
# Created: Thu Mar  5 17:02:34 2015
#      by: PyQt4 UI code generator 4.11.3
#
# 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_SpellingDictionaryEditDialog(object):
    def setupUi(self, SpellingDictionaryEditDialog):
        SpellingDictionaryEditDialog.setObjectName(_fromUtf8("SpellingDictionaryEditDialog"))
        SpellingDictionaryEditDialog.resize(500, 400)
        SpellingDictionaryEditDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(SpellingDictionaryEditDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.infoLabel = QtGui.QLabel(SpellingDictionaryEditDialog)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.infoLabel.setFont(font)
        self.infoLabel.setText(_fromUtf8(""))
        self.infoLabel.setWordWrap(True)
        self.infoLabel.setObjectName(_fromUtf8("infoLabel"))
        self.verticalLayout.addWidget(self.infoLabel)
        self.line_2 = QtGui.QFrame(SpellingDictionaryEditDialog)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.verticalLayout.addWidget(self.line_2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.searchEdit = E5ClearableLineEdit(SpellingDictionaryEditDialog)
        self.searchEdit.setMinimumSize(QtCore.QSize(300, 0))
        self.searchEdit.setToolTip(_fromUtf8(""))
        self.searchEdit.setObjectName(_fromUtf8("searchEdit"))
        self.horizontalLayout.addWidget(self.searchEdit)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.line = QtGui.QFrame(SpellingDictionaryEditDialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridLayout.addWidget(self.line, 1, 1, 1, 1)
        self.addButton = QtGui.QPushButton(SpellingDictionaryEditDialog)
        self.addButton.setAutoDefault(False)
        self.addButton.setObjectName(_fromUtf8("addButton"))
        self.gridLayout.addWidget(self.addButton, 0, 1, 1, 1)
        self.removeButton = QtGui.QPushButton(SpellingDictionaryEditDialog)
        self.removeButton.setAutoDefault(False)
        self.removeButton.setObjectName(_fromUtf8("removeButton"))
        self.gridLayout.addWidget(self.removeButton, 2, 1, 1, 1)
        self.removeAllButton = QtGui.QPushButton(SpellingDictionaryEditDialog)
        self.removeAllButton.setAutoDefault(False)
        self.removeAllButton.setObjectName(_fromUtf8("removeAllButton"))
        self.gridLayout.addWidget(self.removeAllButton, 3, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 28, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 4, 1, 1, 1)
        self.wordList = E5ListView(SpellingDictionaryEditDialog)
        self.wordList.setAlternatingRowColors(True)
        self.wordList.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.wordList.setObjectName(_fromUtf8("wordList"))
        self.gridLayout.addWidget(self.wordList, 0, 0, 5, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.buttonBox = QtGui.QDialogButtonBox(SpellingDictionaryEditDialog)
        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(SpellingDictionaryEditDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), SpellingDictionaryEditDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), SpellingDictionaryEditDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(SpellingDictionaryEditDialog)
        SpellingDictionaryEditDialog.setTabOrder(self.searchEdit, self.wordList)
        SpellingDictionaryEditDialog.setTabOrder(self.wordList, self.removeButton)
        SpellingDictionaryEditDialog.setTabOrder(self.removeButton, self.removeAllButton)
        SpellingDictionaryEditDialog.setTabOrder(self.removeAllButton, self.buttonBox)

    def retranslateUi(self, SpellingDictionaryEditDialog):
        SpellingDictionaryEditDialog.setWindowTitle(_translate("SpellingDictionaryEditDialog", "Edit Spelling Dictionary", None))
        self.searchEdit.setPlaceholderText(_translate("SpellingDictionaryEditDialog", "Enter search term", None))
        self.addButton.setToolTip(_translate("SpellingDictionaryEditDialog", "Press to add an entry", None))
        self.addButton.setText(_translate("SpellingDictionaryEditDialog", "&Add", None))
        self.removeButton.setToolTip(_translate("SpellingDictionaryEditDialog", "Press to remove the selected entries", None))
        self.removeButton.setText(_translate("SpellingDictionaryEditDialog", "&Remove", None))
        self.removeAllButton.setToolTip(_translate("SpellingDictionaryEditDialog", "Press to remove all entries", None))
        self.removeAllButton.setText(_translate("SpellingDictionaryEditDialog", "R&emove All", None))

from E5Gui.E5ListView import E5ListView
from E5Gui.E5LineEdit import E5ClearableLineEdit
