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

# Form implementation generated from reading ui file 'eric/Project/SpellingPropertiesDialog.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_SpellingPropertiesDialog(object):
    def setupUi(self, SpellingPropertiesDialog):
        SpellingPropertiesDialog.setObjectName(_fromUtf8("SpellingPropertiesDialog"))
        SpellingPropertiesDialog.resize(600, 114)
        SpellingPropertiesDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(SpellingPropertiesDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.textLabel1_3 = QtGui.QLabel(SpellingPropertiesDialog)
        self.textLabel1_3.setObjectName(_fromUtf8("textLabel1_3"))
        self.gridLayout.addWidget(self.textLabel1_3, 0, 0, 1, 1)
        self.spellingComboBox = QtGui.QComboBox(SpellingPropertiesDialog)
        self.spellingComboBox.setObjectName(_fromUtf8("spellingComboBox"))
        self.gridLayout.addWidget(self.spellingComboBox, 0, 1, 1, 1)
        self.label = QtGui.QLabel(SpellingPropertiesDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.pwlPicker = E5PathPicker(SpellingPropertiesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pwlPicker.sizePolicy().hasHeightForWidth())
        self.pwlPicker.setSizePolicy(sizePolicy)
        self.pwlPicker.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.pwlPicker.setObjectName(_fromUtf8("pwlPicker"))
        self.gridLayout.addWidget(self.pwlPicker, 1, 1, 1, 1)
        self.label_2 = QtGui.QLabel(SpellingPropertiesDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.pelPicker = E5PathPicker(SpellingPropertiesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pelPicker.sizePolicy().hasHeightForWidth())
        self.pelPicker.setSizePolicy(sizePolicy)
        self.pelPicker.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.pelPicker.setObjectName(_fromUtf8("pelPicker"))
        self.gridLayout.addWidget(self.pelPicker, 2, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(SpellingPropertiesDialog)
        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, 3, 0, 1, 2)
        self.textLabel1_3.setBuddy(self.spellingComboBox)
        self.label.setBuddy(self.pwlPicker)
        self.label_2.setBuddy(self.pelPicker)

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

    def retranslateUi(self, SpellingPropertiesDialog):
        SpellingPropertiesDialog.setWindowTitle(_translate("SpellingPropertiesDialog", "Spelling Properties", None))
        self.textLabel1_3.setText(_translate("SpellingPropertiesDialog", "Project &Language:", None))
        self.spellingComboBox.setToolTip(_translate("SpellingPropertiesDialog", "Select the project\'s language", None))
        self.label.setText(_translate("SpellingPropertiesDialog", "Project &Word List:", None))
        self.pwlPicker.setToolTip(_translate("SpellingPropertiesDialog", "Enter the filename of the project word list", None))
        self.label_2.setText(_translate("SpellingPropertiesDialog", "Project E&xclude List:", None))
        self.pelPicker.setToolTip(_translate("SpellingPropertiesDialog", "Enter the filename of the project exclude list", None))

from E5Gui.E5PathPicker import E5PathPicker
