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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_2/eric4/Preferences/ConfigurationPages/ApplicationPage.ui'
#
# Created: Sun Jun  8 17:57:34 2008
#      by: PyQt4 UI code generator 4.4.2
#
# 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(583,560)
        self.verticalLayout_2 = QtGui.QVBoxLayout(ApplicationPage)
        self.verticalLayout_2.setSpacing(6)
        self.verticalLayout_2.setMargin(6)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.headerLabel = QtGui.QLabel(ApplicationPage)
        self.headerLabel.setObjectName("headerLabel")
        self.verticalLayout_2.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.verticalLayout_2.addWidget(self.line9_3)
        self.singleApplicationCheckBox = QtGui.QCheckBox(ApplicationPage)
        self.singleApplicationCheckBox.setObjectName("singleApplicationCheckBox")
        self.verticalLayout_2.addWidget(self.singleApplicationCheckBox)
        self.splashScreenCheckBox = QtGui.QCheckBox(ApplicationPage)
        self.splashScreenCheckBox.setObjectName("splashScreenCheckBox")
        self.verticalLayout_2.addWidget(self.splashScreenCheckBox)
        self.groupBox_3 = QtGui.QGroupBox(ApplicationPage)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridlayout = QtGui.QGridLayout(self.groupBox_3)
        self.gridlayout.setMargin(6)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")
        self.noOpenRadioButton = QtGui.QRadioButton(self.groupBox_3)
        self.noOpenRadioButton.setObjectName("noOpenRadioButton")
        self.gridlayout.addWidget(self.noOpenRadioButton,0,0,1,1)
        self.lastFileRadioButton = QtGui.QRadioButton(self.groupBox_3)
        self.lastFileRadioButton.setObjectName("lastFileRadioButton")
        self.gridlayout.addWidget(self.lastFileRadioButton,0,1,1,1)
        self.lastProjectRadioButton = QtGui.QRadioButton(self.groupBox_3)
        self.lastProjectRadioButton.setObjectName("lastProjectRadioButton")
        self.gridlayout.addWidget(self.lastProjectRadioButton,1,0,1,1)
        self.lastMultiprojectRadioButton = QtGui.QRadioButton(self.groupBox_3)
        self.lastMultiprojectRadioButton.setObjectName("lastMultiprojectRadioButton")
        self.gridlayout.addWidget(self.lastMultiprojectRadioButton,1,1,1,1)
        self.globalSessionRadioButton = QtGui.QRadioButton(self.groupBox_3)
        self.globalSessionRadioButton.setObjectName("globalSessionRadioButton")
        self.gridlayout.addWidget(self.globalSessionRadioButton,2,0,1,1)
        self.verticalLayout_2.addWidget(self.groupBox_3)
        self.groupBox_2 = QtGui.QGroupBox(ApplicationPage)
        self.groupBox_2.setObjectName("groupBox_2")
        self.hboxlayout = QtGui.QHBoxLayout(self.groupBox_2)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setMargin(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.verticalLayout_2.addWidget(self.groupBox_2)
        self.groupBox = QtGui.QGroupBox(ApplicationPage)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setSpacing(-1)
        self.verticalLayout.setMargin(6)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_6 = QtGui.QLabel(self.groupBox)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout.addWidget(self.label_6)
        self.downloadDirEdit = QtGui.QLineEdit(self.groupBox)
        self.downloadDirEdit.setObjectName("downloadDirEdit")
        self.horizontalLayout.addWidget(self.downloadDirEdit)
        self.downloadDirButton = QtGui.QPushButton(self.groupBox)
        self.downloadDirButton.setObjectName("downloadDirButton")
        self.horizontalLayout.addWidget(self.downloadDirButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        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")
        self.label_5 = QtGui.QLabel(self.proxyGroup)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5,0,0,1,1)
        self.proxyTypeCombo = QtGui.QComboBox(self.proxyGroup)
        self.proxyTypeCombo.setObjectName("proxyTypeCombo")
        self.gridLayout.addWidget(self.proxyTypeCombo,0,1,1,2)
        self.label = QtGui.QLabel(self.proxyGroup)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label,1,0,1,1)
        self.proxyHostEdit = QtGui.QLineEdit(self.proxyGroup)
        self.proxyHostEdit.setObjectName("proxyHostEdit")
        self.gridLayout.addWidget(self.proxyHostEdit,1,1,1,2)
        self.label_2 = QtGui.QLabel(self.proxyGroup)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2,2,0,1,1)
        self.proxyPortSpin = QtGui.QSpinBox(self.proxyGroup)
        self.proxyPortSpin.setAlignment(QtCore.Qt.AlignRight)
        self.proxyPortSpin.setMinimum(1)
        self.proxyPortSpin.setMaximum(65535)
        self.proxyPortSpin.setProperty("value",QtCore.QVariant(80))
        self.proxyPortSpin.setObjectName("proxyPortSpin")
        self.gridLayout.addWidget(self.proxyPortSpin,2,1,1,1)
        spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem,2,2,1,1)
        self.label_3 = QtGui.QLabel(self.proxyGroup)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3,3,0,1,1)
        self.proxyUserEdit = QtGui.QLineEdit(self.proxyGroup)
        self.proxyUserEdit.setObjectName("proxyUserEdit")
        self.gridLayout.addWidget(self.proxyUserEdit,3,1,1,2)
        self.label_4 = QtGui.QLabel(self.proxyGroup)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4,4,0,1,1)
        self.proxyPasswordEdit = QtGui.QLineEdit(self.proxyGroup)
        self.proxyPasswordEdit.setEchoMode(QtGui.QLineEdit.Password)
        self.proxyPasswordEdit.setObjectName("proxyPasswordEdit")
        self.gridLayout.addWidget(self.proxyPasswordEdit,4,1,1,2)
        self.verticalLayout.addWidget(self.proxyGroup)
        self.verticalLayout_2.addWidget(self.groupBox)
        spacerItem1 = QtGui.QSpacerItem(571,21,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem1)

        self.retranslateUi(ApplicationPage)
        QtCore.QMetaObject.connectSlotsByName(ApplicationPage)
        ApplicationPage.setTabOrder(self.singleApplicationCheckBox,self.splashScreenCheckBox)
        ApplicationPage.setTabOrder(self.splashScreenCheckBox,self.noOpenRadioButton)
        ApplicationPage.setTabOrder(self.noOpenRadioButton,self.lastFileRadioButton)
        ApplicationPage.setTabOrder(self.lastFileRadioButton,self.lastProjectRadioButton)
        ApplicationPage.setTabOrder(self.lastProjectRadioButton,self.lastMultiprojectRadioButton)
        ApplicationPage.setTabOrder(self.lastMultiprojectRadioButton,self.globalSessionRadioButton)
        ApplicationPage.setTabOrder(self.globalSessionRadioButton,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.downloadDirButton)
        ApplicationPage.setTabOrder(self.downloadDirButton,self.downloadDirEdit)
        ApplicationPage.setTabOrder(self.downloadDirEdit,self.proxyGroup)
        ApplicationPage.setTabOrder(self.proxyGroup,self.proxyTypeCombo)
        ApplicationPage.setTabOrder(self.proxyTypeCombo,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_3.setTitle(QtGui.QApplication.translate("ApplicationPage", "Open at startup", None, QtGui.QApplication.UnicodeUTF8))
        self.noOpenRadioButton.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Select to not open anything", None, QtGui.QApplication.UnicodeUTF8))
        self.noOpenRadioButton.setText(QtGui.QApplication.translate("ApplicationPage", "None", None, QtGui.QApplication.UnicodeUTF8))
        self.lastFileRadioButton.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Select to open the most recently opened file", None, QtGui.QApplication.UnicodeUTF8))
        self.lastFileRadioButton.setText(QtGui.QApplication.translate("ApplicationPage", "Last File", None, QtGui.QApplication.UnicodeUTF8))
        self.lastProjectRadioButton.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Select to open the most recently opened project", None, QtGui.QApplication.UnicodeUTF8))
        self.lastProjectRadioButton.setText(QtGui.QApplication.translate("ApplicationPage", "Last Project", None, QtGui.QApplication.UnicodeUTF8))
        self.lastMultiprojectRadioButton.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Select to open the most recently opened multiproject", None, QtGui.QApplication.UnicodeUTF8))
        self.lastMultiprojectRadioButton.setText(QtGui.QApplication.translate("ApplicationPage", "Last Multiproject", None, QtGui.QApplication.UnicodeUTF8))
        self.globalSessionRadioButton.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Select to restore the global session", None, QtGui.QApplication.UnicodeUTF8))
        self.globalSessionRadioButton.setText(QtGui.QApplication.translate("ApplicationPage", "Global Session", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("ApplicationPage", "Check for updates", 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.groupBox.setTitle(QtGui.QApplication.translate("ApplicationPage", "Network", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("ApplicationPage", "Download directory:", None, QtGui.QApplication.UnicodeUTF8))
        self.downloadDirEdit.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Enter the download directory (leave empty to use the default location)", None, QtGui.QApplication.UnicodeUTF8))
        self.downloadDirButton.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Select the download directory via a directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.downloadDirButton.setText(QtGui.QApplication.translate("ApplicationPage", "...", 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 network proxy", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("ApplicationPage", "Proxy-Type:", None, QtGui.QApplication.UnicodeUTF8))
        self.proxyTypeCombo.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Select the type of the proxy", 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.label_2.setText(QtGui.QApplication.translate("ApplicationPage", "Proxy-Port:", None, QtGui.QApplication.UnicodeUTF8))
        self.proxyPortSpin.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Enter the proxy port", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("ApplicationPage", "Username:", None, QtGui.QApplication.UnicodeUTF8))
        self.proxyUserEdit.setToolTip(QtGui.QApplication.translate("ApplicationPage", "Enter the username for the proxy", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("ApplicationPage", "Password:", 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_())

