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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/QtPage.ui'
#
# Created: Sun Jan 18 22:19:52 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_QtPage(object):
    def setupUi(self, QtPage):
        QtPage.setObjectName(_fromUtf8("QtPage"))
        QtPage.resize(642, 614)
        self.verticalLayout = QtGui.QVBoxLayout(QtPage)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.headerLabel = QtGui.QLabel(QtPage)
        self.headerLabel.setObjectName(_fromUtf8("headerLabel"))
        self.verticalLayout.addWidget(self.headerLabel)
        self.line12 = QtGui.QFrame(QtPage)
        self.line12.setFrameShape(QtGui.QFrame.HLine)
        self.line12.setFrameShadow(QtGui.QFrame.Sunken)
        self.line12.setFrameShape(QtGui.QFrame.HLine)
        self.line12.setFrameShadow(QtGui.QFrame.Sunken)
        self.line12.setObjectName(_fromUtf8("line12"))
        self.verticalLayout.addWidget(self.line12)
        self.groupBox_3 = QtGui.QGroupBox(QtPage)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.gridlayout = QtGui.QGridLayout(self.groupBox_3)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.qt4TransEdit = QtGui.QLineEdit(self.groupBox_3)
        self.qt4TransEdit.setObjectName(_fromUtf8("qt4TransEdit"))
        self.gridlayout.addWidget(self.qt4TransEdit, 1, 0, 1, 1)
        self.TextLabel1_2_2_5 = QtGui.QLabel(self.groupBox_3)
        self.TextLabel1_2_2_5.setObjectName(_fromUtf8("TextLabel1_2_2_5"))
        self.gridlayout.addWidget(self.TextLabel1_2_2_5, 0, 0, 1, 2)
        self.textLabel1_2_4 = QtGui.QLabel(self.groupBox_3)
        self.textLabel1_2_4.setWordWrap(True)
        self.textLabel1_2_4.setObjectName(_fromUtf8("textLabel1_2_4"))
        self.gridlayout.addWidget(self.textLabel1_2_4, 2, 0, 1, 2)
        self.qt4TransButton = QtGui.QToolButton(self.groupBox_3)
        self.qt4TransButton.setObjectName(_fromUtf8("qt4TransButton"))
        self.gridlayout.addWidget(self.qt4TransButton, 1, 1, 1, 1)
        self.verticalLayout.addWidget(self.groupBox_3)
        self.groupBox_4 = QtGui.QGroupBox(QtPage)
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.gridlayout1 = QtGui.QGridLayout(self.groupBox_4)
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.label = QtGui.QLabel(self.groupBox_4)
        self.label.setWordWrap(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridlayout1.addWidget(self.label, 0, 0, 1, 5)
        self.label_3 = QtGui.QLabel(self.groupBox_4)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridlayout1.addWidget(self.label_3, 1, 0, 1, 1)
        self.qt4PrefixEdit = QtGui.QLineEdit(self.groupBox_4)
        self.qt4PrefixEdit.setObjectName(_fromUtf8("qt4PrefixEdit"))
        self.gridlayout1.addWidget(self.qt4PrefixEdit, 1, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.groupBox_4)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridlayout1.addWidget(self.label_5, 1, 2, 1, 1)
        self.qt4PostfixEdit = QtGui.QLineEdit(self.groupBox_4)
        self.qt4PostfixEdit.setObjectName(_fromUtf8("qt4PostfixEdit"))
        self.gridlayout1.addWidget(self.qt4PostfixEdit, 1, 3, 1, 1)
        self.qt4SampleLabel = QtGui.QLabel(self.groupBox_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.qt4SampleLabel.sizePolicy().hasHeightForWidth())
        self.qt4SampleLabel.setSizePolicy(sizePolicy)
        self.qt4SampleLabel.setObjectName(_fromUtf8("qt4SampleLabel"))
        self.gridlayout1.addWidget(self.qt4SampleLabel, 1, 4, 1, 1)
        self.verticalLayout.addWidget(self.groupBox_4)
        self.groupBox = QtGui.QGroupBox(QtPage)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.pyuicIndentSpinBox = QtGui.QSpinBox(self.groupBox)
        self.pyuicIndentSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.pyuicIndentSpinBox.setMinimum(2)
        self.pyuicIndentSpinBox.setMaximum(16)
        self.pyuicIndentSpinBox.setProperty("value", 4)
        self.pyuicIndentSpinBox.setObjectName(_fromUtf8("pyuicIndentSpinBox"))
        self.gridLayout.addWidget(self.pyuicIndentSpinBox, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(448, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.pyuicImportsCheckBox = QtGui.QCheckBox(self.groupBox)
        self.pyuicImportsCheckBox.setObjectName(_fromUtf8("pyuicImportsCheckBox"))
        self.gridLayout.addWidget(self.pyuicImportsCheckBox, 1, 0, 1, 3)
        self.verticalLayout.addWidget(self.groupBox)
        spacerItem1 = QtGui.QSpacerItem(496, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem1)

        self.retranslateUi(QtPage)
        QtCore.QMetaObject.connectSlotsByName(QtPage)
        QtPage.setTabOrder(self.qt4TransEdit, self.qt4TransButton)
        QtPage.setTabOrder(self.qt4TransButton, self.qt4PrefixEdit)
        QtPage.setTabOrder(self.qt4PrefixEdit, self.qt4PostfixEdit)
        QtPage.setTabOrder(self.qt4PostfixEdit, self.pyuicIndentSpinBox)
        QtPage.setTabOrder(self.pyuicIndentSpinBox, self.pyuicImportsCheckBox)

    def retranslateUi(self, QtPage):
        self.headerLabel.setText(_translate("QtPage", "<b>Configure Qt</b>", None))
        self.groupBox_3.setTitle(_translate("QtPage", "Qt Translations Directory", None))
        self.qt4TransEdit.setToolTip(_translate("QtPage", "Enter the path of the Qt translations directory.", None))
        self.TextLabel1_2_2_5.setText(_translate("QtPage", "<font color=\"#FF0000\"><b>Note:</b> This setting is activated at the next startup of the application.</font>", None))
        self.textLabel1_2_4.setText(_translate("QtPage", "<b>Note:</b> Leave this entry empty to use the QT4TRANSLATIONSDIR environment variable or the path compiled into the Qt library.", None))
        self.qt4TransButton.setToolTip(_translate("QtPage", "Press to select the Qt translations directory via a directory selection dialog", None))
        self.groupBox_4.setTitle(_translate("QtPage", "Qt Tools", None))
        self.label.setText(_translate("QtPage", "The tool executable is composed of the prefix, the tool name and the postfix. For win, the extension is added automatically.", None))
        self.label_3.setText(_translate("QtPage", "Qt-Prefix:", None))
        self.qt4PrefixEdit.setToolTip(_translate("QtPage", "Enter the prefix for the Qt tools name", None))
        self.label_5.setText(_translate("QtPage", "Qt-Postfix:", None))
        self.qt4PostfixEdit.setToolTip(_translate("QtPage", "Enter the postfix for the Qt tools name", None))
        self.qt4SampleLabel.setToolTip(_translate("QtPage", "This gives an example of the complete tool name", None))
        self.qt4SampleLabel.setText(_translate("QtPage", "designer", None))
        self.groupBox.setTitle(_translate("QtPage", "pyuic / pyside-uic Options", None))
        self.label_2.setText(_translate("QtPage", "Indent Width:", None))
        self.pyuicIndentSpinBox.setToolTip(_translate("QtPage", "Select the indent width (default: 4)", None))
        self.pyuicImportsCheckBox.setText(_translate("QtPage", "Generate imports relative to \'.\'", None))

