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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_1/eric4/Preferences/ConfigurationPages/QtPage.ui'
#
# Created: Wed Aug 15 15:24:29 2007
#      by: PyQt4 UI code generator 4.3-snapshot-20070810
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_QtPage(object):
    def setupUi(self, QtPage):
        QtPage.setObjectName("QtPage")
        QtPage.resize(QtCore.QSize(QtCore.QRect(0,0,642,614).size()).expandedTo(QtPage.minimumSizeHint()))

        self.vboxlayout = QtGui.QVBoxLayout(QtPage)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.headerLabel = QtGui.QLabel(QtPage)
        self.headerLabel.setObjectName("headerLabel")
        self.vboxlayout.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("line12")
        self.vboxlayout.addWidget(self.line12)

        self.disableQt3CheckBox = QtGui.QCheckBox(QtPage)
        self.disableQt3CheckBox.setObjectName("disableQt3CheckBox")
        self.vboxlayout.addWidget(self.disableQt3CheckBox)

        self.groupBox = QtGui.QGroupBox(QtPage)
        self.groupBox.setObjectName("groupBox")

        self.gridlayout = QtGui.QGridLayout(self.groupBox)
        self.gridlayout.setMargin(6)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.exportQtDirCheckBox = QtGui.QCheckBox(self.groupBox)
        self.exportQtDirCheckBox.setEnabled(False)
        self.exportQtDirCheckBox.setObjectName("exportQtDirCheckBox")
        self.gridlayout.addWidget(self.exportQtDirCheckBox,3,0,1,2)

        self.textLabel1_2_2 = QtGui.QLabel(self.groupBox)
        self.textLabel1_2_2.setObjectName("textLabel1_2_2")
        self.gridlayout.addWidget(self.textLabel1_2_2,2,0,1,2)

        self.TextLabel1_2_2_3 = QtGui.QLabel(self.groupBox)
        self.TextLabel1_2_2_3.setObjectName("TextLabel1_2_2_3")
        self.gridlayout.addWidget(self.TextLabel1_2_2_3,0,0,1,2)

        self.qtEdit = QtGui.QLineEdit(self.groupBox)
        self.qtEdit.setObjectName("qtEdit")
        self.gridlayout.addWidget(self.qtEdit,1,0,1,1)

        self.qtButton = QtGui.QPushButton(self.groupBox)
        self.qtButton.setObjectName("qtButton")
        self.gridlayout.addWidget(self.qtButton,1,1,1,1)
        self.vboxlayout.addWidget(self.groupBox)

        self.groupBox_3 = QtGui.QGroupBox(QtPage)
        self.groupBox_3.setObjectName("groupBox_3")

        self.gridlayout1 = QtGui.QGridLayout(self.groupBox_3)
        self.gridlayout1.setMargin(6)
        self.gridlayout1.setSpacing(6)
        self.gridlayout1.setObjectName("gridlayout1")

        self.qt4TransButton = QtGui.QPushButton(self.groupBox_3)
        self.qt4TransButton.setObjectName("qt4TransButton")
        self.gridlayout1.addWidget(self.qt4TransButton,1,1,1,1)

        self.qt4TransEdit = QtGui.QLineEdit(self.groupBox_3)
        self.qt4TransEdit.setObjectName("qt4TransEdit")
        self.gridlayout1.addWidget(self.qt4TransEdit,1,0,1,1)

        self.TextLabel1_2_2_5 = QtGui.QLabel(self.groupBox_3)
        self.TextLabel1_2_2_5.setObjectName("TextLabel1_2_2_5")
        self.gridlayout1.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("textLabel1_2_4")
        self.gridlayout1.addWidget(self.textLabel1_2_4,2,0,1,2)
        self.vboxlayout.addWidget(self.groupBox_3)

        self.groupBox_4 = QtGui.QGroupBox(QtPage)
        self.groupBox_4.setObjectName("groupBox_4")

        self.gridlayout2 = QtGui.QGridLayout(self.groupBox_4)
        self.gridlayout2.setMargin(6)
        self.gridlayout2.setSpacing(6)
        self.gridlayout2.setObjectName("gridlayout2")

        self.label = QtGui.QLabel(self.groupBox_4)
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.gridlayout2.addWidget(self.label,0,0,1,5)

        self.label_3 = QtGui.QLabel(self.groupBox_4)
        self.label_3.setObjectName("label_3")
        self.gridlayout2.addWidget(self.label_3,2,0,1,1)

        self.label_2 = QtGui.QLabel(self.groupBox_4)
        self.label_2.setObjectName("label_2")
        self.gridlayout2.addWidget(self.label_2,1,0,1,1)

        self.qt3PrefixEdit = QtGui.QLineEdit(self.groupBox_4)
        self.qt3PrefixEdit.setObjectName("qt3PrefixEdit")
        self.gridlayout2.addWidget(self.qt3PrefixEdit,1,1,1,1)

        self.qt4PrefixEdit = QtGui.QLineEdit(self.groupBox_4)
        self.qt4PrefixEdit.setObjectName("qt4PrefixEdit")
        self.gridlayout2.addWidget(self.qt4PrefixEdit,2,1,1,1)

        self.label_4 = QtGui.QLabel(self.groupBox_4)
        self.label_4.setObjectName("label_4")
        self.gridlayout2.addWidget(self.label_4,1,2,1,1)

        self.label_5 = QtGui.QLabel(self.groupBox_4)
        self.label_5.setObjectName("label_5")
        self.gridlayout2.addWidget(self.label_5,2,2,1,1)

        self.qt3PostfixEdit = QtGui.QLineEdit(self.groupBox_4)
        self.qt3PostfixEdit.setObjectName("qt3PostfixEdit")
        self.gridlayout2.addWidget(self.qt3PostfixEdit,1,3,1,1)

        self.qt4PostfixEdit = QtGui.QLineEdit(self.groupBox_4)
        self.qt4PostfixEdit.setObjectName("qt4PostfixEdit")
        self.gridlayout2.addWidget(self.qt4PostfixEdit,2,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("qt4SampleLabel")
        self.gridlayout2.addWidget(self.qt4SampleLabel,2,4,1,1)

        self.qt3SampleLabel = QtGui.QLabel(self.groupBox_4)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.qt3SampleLabel.sizePolicy().hasHeightForWidth())
        self.qt3SampleLabel.setSizePolicy(sizePolicy)
        self.qt3SampleLabel.setObjectName("qt3SampleLabel")
        self.gridlayout2.addWidget(self.qt3SampleLabel,1,4,1,1)
        self.vboxlayout.addWidget(self.groupBox_4)

        spacerItem = QtGui.QSpacerItem(496,20,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem)

        self.retranslateUi(QtPage)
        QtCore.QObject.connect(self.disableQt3CheckBox,QtCore.SIGNAL("toggled(bool)"),self.groupBox.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(QtPage)
        QtPage.setTabOrder(self.disableQt3CheckBox,self.qtEdit)
        QtPage.setTabOrder(self.qtEdit,self.qtButton)
        QtPage.setTabOrder(self.qtButton,self.exportQtDirCheckBox)
        QtPage.setTabOrder(self.exportQtDirCheckBox,self.qt4TransEdit)
        QtPage.setTabOrder(self.qt4TransEdit,self.qt4TransButton)
        QtPage.setTabOrder(self.qt4TransButton,self.qt3PrefixEdit)
        QtPage.setTabOrder(self.qt3PrefixEdit,self.qt3PostfixEdit)
        QtPage.setTabOrder(self.qt3PostfixEdit,self.qt4PrefixEdit)
        QtPage.setTabOrder(self.qt4PrefixEdit,self.qt4PostfixEdit)

    def retranslateUi(self, QtPage):
        self.headerLabel.setText(QtGui.QApplication.translate("QtPage", "<b>Configure Qt</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.disableQt3CheckBox.setToolTip(QtGui.QApplication.translate("QtPage", "Select to disable the Qt3 support or if Qt3 is not installed", None, QtGui.QApplication.UnicodeUTF8))
        self.disableQt3CheckBox.setText(QtGui.QApplication.translate("QtPage", "Disable Qt3 support", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("QtPage", "Qt3 Directory", None, QtGui.QApplication.UnicodeUTF8))
        self.exportQtDirCheckBox.setToolTip(QtGui.QApplication.translate("QtPage", "Select, whether the Qt Directory entered should be exported to the environment", None, QtGui.QApplication.UnicodeUTF8))
        self.exportQtDirCheckBox.setText(QtGui.QApplication.translate("QtPage", "Export Qt3 Directory entered above", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_2_2.setText(QtGui.QApplication.translate("QtPage", "<b>Note:</b> Leave this entry empty to use the QTDIR environment variable.", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1_2_2_3.setText(QtGui.QApplication.translate("QtPage", "<font color=\"#FF0000\"><b>Note:</b> These settings are activated at the next startup of the application.</font>", None, QtGui.QApplication.UnicodeUTF8))
        self.qtEdit.setToolTip(QtGui.QApplication.translate("QtPage", "Enter the path of the Qt3 directory.", None, QtGui.QApplication.UnicodeUTF8))
        self.qtButton.setToolTip(QtGui.QApplication.translate("QtPage", "Press to select the Qt3 directory via a directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.qtButton.setText(QtGui.QApplication.translate("QtPage", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("QtPage", "Qt4 Translations Directory", None, QtGui.QApplication.UnicodeUTF8))
        self.qt4TransButton.setToolTip(QtGui.QApplication.translate("QtPage", "Press to select the Qt4 translations directory via a directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.qt4TransButton.setText(QtGui.QApplication.translate("QtPage", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.qt4TransEdit.setToolTip(QtGui.QApplication.translate("QtPage", "Enter the path of the Qt4 translations directory.", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1_2_2_5.setText(QtGui.QApplication.translate("QtPage", "<font color=\"#FF0000\"><b>Note:</b> These settings are activated at the next startup of the application.</font>", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_2_4.setText(QtGui.QApplication.translate("QtPage", "<b>Note:</b> Leave this entry empty to use the QT4TRANSLATIONSDIR environment variable or the path compiled into the Qt4 library.", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_4.setTitle(QtGui.QApplication.translate("QtPage", "Qt Tools", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("QtPage", "The tool executable is composed of the prefix, the tool name and the postfix. For win32, the extension is added automatically.", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("QtPage", "Qt4-Prefix:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("QtPage", "Qt3-Prefix:", None, QtGui.QApplication.UnicodeUTF8))
        self.qt3PrefixEdit.setToolTip(QtGui.QApplication.translate("QtPage", "Enter the prefix for the Qt3 tools name", None, QtGui.QApplication.UnicodeUTF8))
        self.qt4PrefixEdit.setToolTip(QtGui.QApplication.translate("QtPage", "Enter the prefix for the Qt4 tools name", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("QtPage", "Qt3-Postfix:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("QtPage", "Qt4-Postfix:", None, QtGui.QApplication.UnicodeUTF8))
        self.qt3PostfixEdit.setToolTip(QtGui.QApplication.translate("QtPage", "Enter the postfix for the Qt3 tools name", None, QtGui.QApplication.UnicodeUTF8))
        self.qt4PostfixEdit.setToolTip(QtGui.QApplication.translate("QtPage", "Enter the postfix for the Qt4 tools name", None, QtGui.QApplication.UnicodeUTF8))
        self.qt4SampleLabel.setToolTip(QtGui.QApplication.translate("QtPage", "This gives an example of the complete tool name", None, QtGui.QApplication.UnicodeUTF8))
        self.qt4SampleLabel.setText(QtGui.QApplication.translate("QtPage", "designer", None, QtGui.QApplication.UnicodeUTF8))
        self.qt3SampleLabel.setToolTip(QtGui.QApplication.translate("QtPage", "This gives an example of the complete tool name", None, QtGui.QApplication.UnicodeUTF8))
        self.qt3SampleLabel.setText(QtGui.QApplication.translate("QtPage", "designer", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    QtPage = QtGui.QWidget()
    ui = Ui_QtPage()
    ui.setupUi(QtPage)
    QtPage.show()
    sys.exit(app.exec_())
