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

# Form implementation generated from reading ui file '/home/offedetl/Development/Eric4/eric4_3/eric4/QScintilla/SpellCheckingDialog.ui'
#
# Created: Tue Dec  9 08:48:08 2008
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_SpellCheckingDialog(object):
    def setupUi(self, SpellCheckingDialog):
        SpellCheckingDialog.setObjectName("SpellCheckingDialog")
        SpellCheckingDialog.resize(696, 366)
        SpellCheckingDialog.setSizeGripEnabled(True)
        self.gridLayout_2 = QtGui.QGridLayout(SpellCheckingDialog)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.label_2 = QtGui.QLabel(SpellCheckingDialog)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout.addWidget(self.label_2)
        self.languageLabel = QtGui.QLabel(SpellCheckingDialog)
        self.languageLabel.setObjectName("languageLabel")
        self.horizontalLayout.addWidget(self.languageLabel)
        spacerItem1 = QtGui.QSpacerItem(328, 17, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.gridLayout_2.addLayout(self.horizontalLayout, 0, 0, 1, 2)
        self.line_2 = QtGui.QFrame(SpellCheckingDialog)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridLayout_2.addWidget(self.line_2, 1, 0, 1, 2)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtGui.QLabel(SpellCheckingDialog)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 2)
        self.contextLabel = QtGui.QLabel(SpellCheckingDialog)
        self.contextLabel.setFrameShape(QtGui.QFrame.Panel)
        self.contextLabel.setFrameShadow(QtGui.QFrame.Sunken)
        self.contextLabel.setTextFormat(QtCore.Qt.RichText)
        self.contextLabel.setWordWrap(True)
        self.contextLabel.setObjectName("contextLabel")
        self.gridLayout.addWidget(self.contextLabel, 1, 0, 1, 2)
        self.label_3 = QtGui.QLabel(SpellCheckingDialog)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.changeEdit = QtGui.QLineEdit(SpellCheckingDialog)
        self.changeEdit.setObjectName("changeEdit")
        self.gridLayout.addWidget(self.changeEdit, 2, 1, 1, 1)
        self.label_4 = QtGui.QLabel(SpellCheckingDialog)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 3, 0, 1, 2)
        self.suggestionsList = QtGui.QListWidget(SpellCheckingDialog)
        self.suggestionsList.setObjectName("suggestionsList")
        self.gridLayout.addWidget(self.suggestionsList, 4, 0, 1, 2)
        self.gridLayout_2.addLayout(self.gridLayout, 2, 0, 1, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.ignoreButton = QtGui.QPushButton(SpellCheckingDialog)
        self.ignoreButton.setObjectName("ignoreButton")
        self.verticalLayout.addWidget(self.ignoreButton)
        self.ignoreAllButton = QtGui.QPushButton(SpellCheckingDialog)
        self.ignoreAllButton.setObjectName("ignoreAllButton")
        self.verticalLayout.addWidget(self.ignoreAllButton)
        self.addButton = QtGui.QPushButton(SpellCheckingDialog)
        self.addButton.setObjectName("addButton")
        self.verticalLayout.addWidget(self.addButton)
        self.line = QtGui.QFrame(SpellCheckingDialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.replaceButton = QtGui.QPushButton(SpellCheckingDialog)
        self.replaceButton.setObjectName("replaceButton")
        self.verticalLayout.addWidget(self.replaceButton)
        self.replaceAllButton = QtGui.QPushButton(SpellCheckingDialog)
        self.replaceAllButton.setObjectName("replaceAllButton")
        self.verticalLayout.addWidget(self.replaceAllButton)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem2)
        self.gridLayout_2.addLayout(self.verticalLayout, 2, 1, 1, 1)
        self.line_3 = QtGui.QFrame(SpellCheckingDialog)
        self.line_3.setFrameShape(QtGui.QFrame.HLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.gridLayout_2.addWidget(self.line_3, 3, 0, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(SpellCheckingDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout_2.addWidget(self.buttonBox, 4, 0, 1, 2)
        self.label_3.setBuddy(self.changeEdit)
        self.label_4.setBuddy(self.suggestionsList)

        self.retranslateUi(SpellCheckingDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), SpellCheckingDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), SpellCheckingDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(SpellCheckingDialog)
        SpellCheckingDialog.setTabOrder(self.changeEdit, self.suggestionsList)
        SpellCheckingDialog.setTabOrder(self.suggestionsList, self.ignoreButton)
        SpellCheckingDialog.setTabOrder(self.ignoreButton, self.ignoreAllButton)
        SpellCheckingDialog.setTabOrder(self.ignoreAllButton, self.addButton)
        SpellCheckingDialog.setTabOrder(self.addButton, self.replaceButton)
        SpellCheckingDialog.setTabOrder(self.replaceButton, self.replaceAllButton)
        SpellCheckingDialog.setTabOrder(self.replaceAllButton, self.buttonBox)

    def retranslateUi(self, SpellCheckingDialog):
        SpellCheckingDialog.setWindowTitle(QtGui.QApplication.translate("SpellCheckingDialog", "Check spelling", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("SpellCheckingDialog", "Current language:", None, QtGui.QApplication.UnicodeUTF8))
        self.languageLabel.setToolTip(QtGui.QApplication.translate("SpellCheckingDialog", "Shows the language used for spell checking", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("SpellCheckingDialog", "Not found in dictionary", None, QtGui.QApplication.UnicodeUTF8))
        self.contextLabel.setToolTip(QtGui.QApplication.translate("SpellCheckingDialog", "Shows the unrecognized word with some context", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("SpellCheckingDialog", "Change &to:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("SpellCheckingDialog", "&Suggestions:", None, QtGui.QApplication.UnicodeUTF8))
        self.ignoreButton.setToolTip(QtGui.QApplication.translate("SpellCheckingDialog", "Press to ignore once", None, QtGui.QApplication.UnicodeUTF8))
        self.ignoreButton.setText(QtGui.QApplication.translate("SpellCheckingDialog", "&Ignore", None, QtGui.QApplication.UnicodeUTF8))
        self.ignoreAllButton.setToolTip(QtGui.QApplication.translate("SpellCheckingDialog", "Press to always ignore", None, QtGui.QApplication.UnicodeUTF8))
        self.ignoreAllButton.setText(QtGui.QApplication.translate("SpellCheckingDialog", "I&gnore All", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setToolTip(QtGui.QApplication.translate("SpellCheckingDialog", "Press to add to dictionary", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setText(QtGui.QApplication.translate("SpellCheckingDialog", "&Add to dictionary", None, QtGui.QApplication.UnicodeUTF8))
        self.replaceButton.setToolTip(QtGui.QApplication.translate("SpellCheckingDialog", "Press to replace the word", None, QtGui.QApplication.UnicodeUTF8))
        self.replaceButton.setText(QtGui.QApplication.translate("SpellCheckingDialog", "&Replace", None, QtGui.QApplication.UnicodeUTF8))
        self.replaceAllButton.setToolTip(QtGui.QApplication.translate("SpellCheckingDialog", "Press to replace all occurrences", None, QtGui.QApplication.UnicodeUTF8))
        self.replaceAllButton.setText(QtGui.QApplication.translate("SpellCheckingDialog", "Re&place All", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    SpellCheckingDialog = QtGui.QDialog()
    ui = Ui_SpellCheckingDialog()
    ui.setupUi(SpellCheckingDialog)
    SpellCheckingDialog.show()
    sys.exit(app.exec_())

