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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Preferences/ConfigurationPages/ApplicationPage.ui'
#
# Created: Sat Feb  3 15:33:38 2007
#      by: PyQt4 UI code generator 4-snapshot-20070125
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_ApplicationPage(object):
    def setupUi(self, ApplicationPage):
        ApplicationPage.setObjectName("ApplicationPage")
        ApplicationPage.resize(QtCore.QSize(QtCore.QRect(0,0,583,390).size()).expandedTo(ApplicationPage.minimumSizeHint()))

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

        self.headerLabel = QtGui.QLabel(ApplicationPage)
        self.headerLabel.setObjectName("headerLabel")
        self.vboxlayout.addWidget(self.headerLabel)

        self.line9_3 = QtGui.QFrame(ApplicationPage)
        self.line9_3.setFrameShape(QtGui.QFrame.HLine)
        self.line9_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line9_3.setFrameShape(QtGui.QFrame.HLine)
        self.line9_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line9_3.setObjectName("line9_3")
        self.vboxlayout.addWidget(self.line9_3)

        self.singleApplicationCheckBox = QtGui.QCheckBox(ApplicationPage)
        self.singleApplicationCheckBox.setObjectName("singleApplicationCheckBox")
        self.vboxlayout.addWidget(self.singleApplicationCheckBox)

        self.splashScreenCheckBox = QtGui.QCheckBox(ApplicationPage)
        self.splashScreenCheckBox.setObjectName("splashScreenCheckBox")
        self.vboxlayout.addWidget(self.splashScreenCheckBox)

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

        self.vboxlayout1 = QtGui.QVBoxLayout(self.groupBox)
        self.vboxlayout1.setMargin(6)
        self.vboxlayout1.setSpacing(6)
        self.vboxlayout1.setObjectName("vboxlayout1")

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

        self.hboxlayout = QtGui.QHBoxLayout(self.groupBox_2)
        self.hboxlayout.setMargin(6)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        self.noCheckRadioButton = QtGui.QRadioButton(self.groupBox_2)
        self.noCheckRadioButton.setObjectName("noCheckRadioButton")
        self.hboxlayout.addWidget(self.noCheckRadioButton)

        self.alwaysCheckRadioButton = QtGui.QRadioButton(self.groupBox_2)
        self.alwaysCheckRadioButton.setObjectName("alwaysCheckRadioButton")
        self.hboxlayout.addWidget(self.alwaysCheckRadioButton)

        self.dailyCheckRadioButton = QtGui.QRadioButton(self.groupBox_2)
        self.dailyCheckRadioButton.setObjectName("dailyCheckRadioButton")
        self.hboxlayout.addWidget(self.dailyCheckRadioButton)

        self.weeklyCheckRadioButton = QtGui.QRadioButton(self.groupBox_2)
        self.weeklyCheckRadioButton.setObjectName("weeklyCheckRadioButton")
        self.hboxlayout.addWidget(self.weeklyCheckRadioButton)

        self.monthlyCheckRadioButton = QtGui.QRadioButton(self.groupBox_2)
        self.monthlyCheckRadioButton.setObjectName("monthlyCheckRadioButton")
        self.hboxlayout.addWidget(self.monthlyCheckRadioButton)
        self.vboxlayout1.addWidget(self.groupBox_2)

        self.proxyGroup = QtGui.QGroupBox(self.groupBox)
        self.proxyGroup.setCheckable(True)
        self.proxyGroup.setChecked(False)
        self.proxyGroup.setObjectName("proxyGroup")

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

        spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem,1,2,1,1)

        self.proxyPortSpin = QtGui.QSpinBox(self.proxyGroup)
        self.proxyPortSpin.setAlignment(QtCore.Qt.AlignRight)
        self.proxyPortSpin.setMaximum(65535)
        self.proxyPortSpin.setMinimum(1)
        self.proxyPortSpin.setProperty("value",QtCore.QVariant(80))
        self.proxyPortSpin.setObjectName("proxyPortSpin")
        self.gridlayout.addWidget(self.proxyPortSpin,1,1,1,1)

        self.label_4 = QtGui.QLabel(self.proxyGroup)
        self.label_4.setObjectName("label_4")
        self.gridlayout.addWidget(self.label_4,3,0,1,1)

        self.label_3 = QtGui.QLabel(self.proxyGroup)
        self.label_3.setObjectName("label_3")
        self.gridlayout.addWidget(self.label_3,2,0,1,1)

        self.label_2 = QtGui.QLabel(self.proxyGroup)
        self.label_2.setObjectName("label_2")
        self.gridlayout.addWidget(self.label_2,1,0,1,1)

        self.label = QtGui.QLabel(self.proxyGroup)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label,0,0,1,1)

        self.proxyHostEdit = QtGui.QLineEdit(self.proxyGroup)
        self.proxyHostEdit.setObjectName("proxyHostEdit")
        self.gridlayout.addWidget(self.proxyHostEdit,0,1,1,2)

        self.proxyUserEdit = QtGui.QLineEdit(self.proxyGroup)
        self.proxyUserEdit.setObjectName("proxyUserEdit")
        self.gridlayout.addWidget(self.proxyUserEdit,2,1,1,2)

        self.proxyPasswordEdit = QtGui.QLineEdit(self.proxyGroup)
        self.proxyPasswordEdit.setEchoMode(QtGui.QLineEdit.Password)
        self.proxyPasswordEdit.setObjectName("proxyPasswordEdit")
        self.gridlayout.addWidget(self.proxyPasswordEdit,3,1,1,2)
        self.vboxlayout1.addWidget(self.proxyGroup)
        self.vboxlayout.addWidget(self.groupBox)

        spacerItem1 = QtGui.QSpacerItem(571,20,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem1)

        self.retranslateUi(ApplicationPage)
        QtCore.QMetaObject.connectSlotsByName(ApplicationPage)
        ApplicationPage.setTabOrder(self.singleApplicationCheckBox,self.splashScreenCheckBox)
        ApplicationPage.setTabOrder(self.splashScreenCheckBox,self.noCheckRadioButton)
        ApplicationPage.setTabOrder(self.noCheckRadioButton,self.alwaysCheckRadioButton)
        ApplicationPage.setTabOrder(self.alwaysCheckRadioButton,self.dailyCheckRadioButton)
        ApplicationPage.setTabOrder(self.dailyCheckRadioButton,self.weeklyCheckRadioButton)
        ApplicationPage.setTabOrder(self.weeklyCheckRadioButton,self.monthlyCheckRadioButton)
        ApplicationPage.setTabOrder(self.monthlyCheckRadioButton,self.proxyHostEdit)
        ApplicationPage.setTabOrder(self.proxyHostEdit,self.proxyPortSpin)
        ApplicationPage.setTabOrder(self.proxyPortSpin,self.proxyUserEdit)
        ApplicationPage.setTabOrder(self.proxyUserEdit,self.proxyPasswordEdit)

    def retranslateUi(self, ApplicationPage):
        self.headerLabel.setText(QtGui.QApplication.translate("ApplicationPage", "<b>Configure the application</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.singleApplicationCheckBox.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Select, if only one instance of the application should be running", None, QtGui.QApplication.UnicodeUTF8))
        self.singleApplicationCheckBox.setText(QtGui.QApplication.translate("ApplicationPage", "Single Application Mode", None, QtGui.QApplication.UnicodeUTF8))
        self.splashScreenCheckBox.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Select to show the startup splash screen", None, QtGui.QApplication.UnicodeUTF8))
        self.splashScreenCheckBox.setText(QtGui.QApplication.translate("ApplicationPage", "Show Splash Screen at startup", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("ApplicationPage", "Updates", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("ApplicationPage", "Check period", None, QtGui.QApplication.UnicodeUTF8))
        self.noCheckRadioButton.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Select to disable update checking", None, QtGui.QApplication.UnicodeUTF8))
        self.noCheckRadioButton.setText(QtGui.QApplication.translate("ApplicationPage", "None", None, QtGui.QApplication.UnicodeUTF8))
        self.alwaysCheckRadioButton.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Select to check for updates at every startup", None, QtGui.QApplication.UnicodeUTF8))
        self.alwaysCheckRadioButton.setText(QtGui.QApplication.translate("ApplicationPage", "Always", None, QtGui.QApplication.UnicodeUTF8))
        self.dailyCheckRadioButton.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Select to check for updates once a day", None, QtGui.QApplication.UnicodeUTF8))
        self.dailyCheckRadioButton.setText(QtGui.QApplication.translate("ApplicationPage", "Daily", None, QtGui.QApplication.UnicodeUTF8))
        self.weeklyCheckRadioButton.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Select to check for updates once a week", None, QtGui.QApplication.UnicodeUTF8))
        self.weeklyCheckRadioButton.setText(QtGui.QApplication.translate("ApplicationPage", "Weekly", None, QtGui.QApplication.UnicodeUTF8))
        self.monthlyCheckRadioButton.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Select to check for updates once a month", None, QtGui.QApplication.UnicodeUTF8))
        self.monthlyCheckRadioButton.setText(QtGui.QApplication.translate("ApplicationPage", "Monthly", None, QtGui.QApplication.UnicodeUTF8))
        self.proxyGroup.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Select to use a web proxy", None, QtGui.QApplication.UnicodeUTF8))
        self.proxyGroup.setTitle(QtGui.QApplication.translate("ApplicationPage", "Use proxy", None, QtGui.QApplication.UnicodeUTF8))
        self.proxyPortSpin.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Enter the proxy port", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("ApplicationPage", "Password:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("ApplicationPage", "Username:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("ApplicationPage", "Proxy-Port:", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("ApplicationPage", "Proxy-Host:", None, QtGui.QApplication.UnicodeUTF8))
        self.proxyHostEdit.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Enter the name of the proxy host", None, QtGui.QApplication.UnicodeUTF8))
        self.proxyUserEdit.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Enter the username for the proxy", None, QtGui.QApplication.UnicodeUTF8))
        self.proxyPasswordEdit.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Enter the password for the proxy", None, QtGui.QApplication.UnicodeUTF8))



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