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

# Form implementation generated from reading ui file '/home/offedetl/Development/Eric4/eric4_3/eric4/Preferences/ConfigurationPages/EditorFilePage.ui'
#
# Created: Tue Oct  7 15:38:54 2008
#      by: PyQt4 UI code generator 4.4.4-snapshot-20080928
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_EditorFilePage(object):
    def setupUi(self, EditorFilePage):
        EditorFilePage.setObjectName("EditorFilePage")
        EditorFilePage.resize(547, 755)
        self.verticalLayout_2 = QtGui.QVBoxLayout(EditorFilePage)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.headerLabel = QtGui.QLabel(EditorFilePage)
        self.headerLabel.setObjectName("headerLabel")
        self.verticalLayout_2.addWidget(self.headerLabel)
        self.line2 = QtGui.QFrame(EditorFilePage)
        self.line2.setFrameShape(QtGui.QFrame.HLine)
        self.line2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line2.setFrameShape(QtGui.QFrame.HLine)
        self.line2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line2.setObjectName("line2")
        self.verticalLayout_2.addWidget(self.line2)
        self.groupBox_3 = QtGui.QGroupBox(EditorFilePage)
        self.groupBox_3.setObjectName("groupBox_3")
        self.vboxlayout = QtGui.QVBoxLayout(self.groupBox_3)
        self.vboxlayout.setObjectName("vboxlayout")
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.clearBreakpointsCheckBox = QtGui.QCheckBox(self.groupBox_3)
        self.clearBreakpointsCheckBox.setObjectName("clearBreakpointsCheckBox")
        self.hboxlayout.addWidget(self.clearBreakpointsCheckBox)
        self.automaticReopenCheckBox = QtGui.QCheckBox(self.groupBox_3)
        self.automaticReopenCheckBox.setObjectName("automaticReopenCheckBox")
        self.hboxlayout.addWidget(self.automaticReopenCheckBox)
        self.vboxlayout.addLayout(self.hboxlayout)
        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName("hboxlayout1")
        self.label = QtGui.QLabel(self.groupBox_3)
        self.label.setObjectName("label")
        self.hboxlayout1.addWidget(self.label)
        self.warnFilesizeSpinBox = QtGui.QSpinBox(self.groupBox_3)
        self.warnFilesizeSpinBox.setMinimum(1)
        self.warnFilesizeSpinBox.setMaximum(16384)
        self.warnFilesizeSpinBox.setSingleStep(16)
        self.warnFilesizeSpinBox.setProperty("value", QtCore.QVariant(1024))
        self.warnFilesizeSpinBox.setObjectName("warnFilesizeSpinBox")
        self.hboxlayout1.addWidget(self.warnFilesizeSpinBox)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem)
        self.vboxlayout.addLayout(self.hboxlayout1)
        self.verticalLayout_2.addWidget(self.groupBox_3)
        self.groupBox_5 = QtGui.QGroupBox(EditorFilePage)
        self.groupBox_5.setObjectName("groupBox_5")
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_5)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox_8 = QtGui.QGroupBox(self.groupBox_5)
        self.groupBox_8.setObjectName("groupBox_8")
        self._12 = QtGui.QHBoxLayout(self.groupBox_8)
        self._12.setObjectName("_12")
        self.lfRadioButton = QtGui.QRadioButton(self.groupBox_8)
        self.lfRadioButton.setObjectName("lfRadioButton")
        self._12.addWidget(self.lfRadioButton)
        self.crRadioButton = QtGui.QRadioButton(self.groupBox_8)
        self.crRadioButton.setObjectName("crRadioButton")
        self._12.addWidget(self.crRadioButton)
        self.crlfRadioButton = QtGui.QRadioButton(self.groupBox_8)
        self.crlfRadioButton.setObjectName("crlfRadioButton")
        self._12.addWidget(self.crlfRadioButton)
        self.verticalLayout.addWidget(self.groupBox_8)
        self.automaticEolConversionCheckBox = QtGui.QCheckBox(self.groupBox_5)
        self.automaticEolConversionCheckBox.setObjectName("automaticEolConversionCheckBox")
        self.verticalLayout.addWidget(self.automaticEolConversionCheckBox)
        self.verticalLayout_2.addWidget(self.groupBox_5)
        self.groupBox_4 = QtGui.QGroupBox(EditorFilePage)
        self.groupBox_4.setObjectName("groupBox_4")
        self.vboxlayout1 = QtGui.QVBoxLayout(self.groupBox_4)
        self.vboxlayout1.setObjectName("vboxlayout1")
        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setObjectName("gridlayout")
        self.automaticSyntaxCheckCheckBox = QtGui.QCheckBox(self.groupBox_4)
        self.automaticSyntaxCheckCheckBox.setObjectName("automaticSyntaxCheckCheckBox")
        self.gridlayout.addWidget(self.automaticSyntaxCheckCheckBox, 0, 0, 1, 1)
        self.stripWhitespaceCheckBox = QtGui.QCheckBox(self.groupBox_4)
        self.stripWhitespaceCheckBox.setObjectName("stripWhitespaceCheckBox")
        self.gridlayout.addWidget(self.stripWhitespaceCheckBox, 0, 1, 1, 1)
        self.createBackupFileCheckBox = QtGui.QCheckBox(self.groupBox_4)
        self.createBackupFileCheckBox.setObjectName("createBackupFileCheckBox")
        self.gridlayout.addWidget(self.createBackupFileCheckBox, 1, 0, 1, 1)
        self.vboxlayout1.addLayout(self.gridlayout)
        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setObjectName("hboxlayout2")
        self.TextLabel13_3_3 = QtGui.QLabel(self.groupBox_4)
        self.TextLabel13_3_3.setObjectName("TextLabel13_3_3")
        self.hboxlayout2.addWidget(self.TextLabel13_3_3)
        self.autosaveSlider = QtGui.QSlider(self.groupBox_4)
        self.autosaveSlider.setMinimum(0)
        self.autosaveSlider.setMaximum(30)
        self.autosaveSlider.setProperty("value", QtCore.QVariant(5))
        self.autosaveSlider.setOrientation(QtCore.Qt.Horizontal)
        self.autosaveSlider.setTickInterval(1)
        self.autosaveSlider.setObjectName("autosaveSlider")
        self.hboxlayout2.addWidget(self.autosaveSlider)
        self.autosaveLCD = QtGui.QLCDNumber(self.groupBox_4)
        self.autosaveLCD.setNumDigits(2)
        self.autosaveLCD.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.autosaveLCD.setProperty("value", QtCore.QVariant(5.0))
        self.autosaveLCD.setObjectName("autosaveLCD")
        self.hboxlayout2.addWidget(self.autosaveLCD)
        self.vboxlayout1.addLayout(self.hboxlayout2)
        self.verticalLayout_2.addWidget(self.groupBox_4)
        self.groupBox = QtGui.QGroupBox(EditorFilePage)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.advEncodingCheckBox = QtGui.QCheckBox(self.groupBox)
        self.advEncodingCheckBox.setObjectName("advEncodingCheckBox")
        self.gridLayout.addWidget(self.advEncodingCheckBox, 0, 0, 1, 2)
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 1, 0, 1, 1)
        self.defaultEncodingComboBox = QtGui.QComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.defaultEncodingComboBox.sizePolicy().hasHeightForWidth())
        self.defaultEncodingComboBox.setSizePolicy(sizePolicy)
        self.defaultEncodingComboBox.setObjectName("defaultEncodingComboBox")
        self.gridLayout.addWidget(self.defaultEncodingComboBox, 1, 1, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(EditorFilePage)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridlayout1 = QtGui.QGridLayout(self.groupBox_2)
        self.gridlayout1.setObjectName("gridlayout1")
        self.label_2 = QtGui.QLabel(self.groupBox_2)
        self.label_2.setObjectName("label_2")
        self.gridlayout1.addWidget(self.label_2, 0, 0, 1, 1)
        self.openFilesFilterComboBox = QtGui.QComboBox(self.groupBox_2)
        self.openFilesFilterComboBox.setObjectName("openFilesFilterComboBox")
        self.gridlayout1.addWidget(self.openFilesFilterComboBox, 0, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem1, 0, 2, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox_2)
        self.label_3.setObjectName("label_3")
        self.gridlayout1.addWidget(self.label_3, 1, 0, 1, 1)
        self.saveFilesFilterComboBox = QtGui.QComboBox(self.groupBox_2)
        self.saveFilesFilterComboBox.setObjectName("saveFilesFilterComboBox")
        self.gridlayout1.addWidget(self.saveFilesFilterComboBox, 1, 1, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox_2)
        spacerItem2 = QtGui.QSpacerItem(435, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem2)

        self.retranslateUi(EditorFilePage)
        QtCore.QObject.connect(self.autosaveSlider, QtCore.SIGNAL("valueChanged(int)"), self.autosaveLCD.display)
        QtCore.QMetaObject.connectSlotsByName(EditorFilePage)
        EditorFilePage.setTabOrder(self.clearBreakpointsCheckBox, self.automaticReopenCheckBox)
        EditorFilePage.setTabOrder(self.automaticReopenCheckBox, self.warnFilesizeSpinBox)
        EditorFilePage.setTabOrder(self.warnFilesizeSpinBox, self.lfRadioButton)
        EditorFilePage.setTabOrder(self.lfRadioButton, self.crRadioButton)
        EditorFilePage.setTabOrder(self.crRadioButton, self.crlfRadioButton)
        EditorFilePage.setTabOrder(self.crlfRadioButton, self.automaticEolConversionCheckBox)
        EditorFilePage.setTabOrder(self.automaticEolConversionCheckBox, self.automaticSyntaxCheckCheckBox)
        EditorFilePage.setTabOrder(self.automaticSyntaxCheckCheckBox, self.createBackupFileCheckBox)
        EditorFilePage.setTabOrder(self.createBackupFileCheckBox, self.stripWhitespaceCheckBox)
        EditorFilePage.setTabOrder(self.stripWhitespaceCheckBox, self.autosaveSlider)
        EditorFilePage.setTabOrder(self.autosaveSlider, self.advEncodingCheckBox)
        EditorFilePage.setTabOrder(self.advEncodingCheckBox, self.defaultEncodingComboBox)
        EditorFilePage.setTabOrder(self.defaultEncodingComboBox, self.openFilesFilterComboBox)
        EditorFilePage.setTabOrder(self.openFilesFilterComboBox, self.saveFilesFilterComboBox)

    def retranslateUi(self, EditorFilePage):
        self.headerLabel.setText(QtGui.QApplication.translate("EditorFilePage", "<b>Configure file handling settings</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("EditorFilePage", "Open && Close", None, QtGui.QApplication.UnicodeUTF8))
        self.clearBreakpointsCheckBox.setToolTip(QtGui.QApplication.translate("EditorFilePage", "Select, whether breakpoint belonging to an editor should be cleared, when the editor is closed", None, QtGui.QApplication.UnicodeUTF8))
        self.clearBreakpointsCheckBox.setText(QtGui.QApplication.translate("EditorFilePage", "Clear Breakpoints upon closing", None, QtGui.QApplication.UnicodeUTF8))
        self.automaticReopenCheckBox.setToolTip(QtGui.QApplication.translate("EditorFilePage", "Select to reread the file automatically, if it was changed externally", None, QtGui.QApplication.UnicodeUTF8))
        self.automaticReopenCheckBox.setText(QtGui.QApplication.translate("EditorFilePage", "Reopen automatically", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("EditorFilePage", "Warn, if file is greater than", None, QtGui.QApplication.UnicodeUTF8))
        self.warnFilesizeSpinBox.setToolTip(QtGui.QApplication.translate("EditorFilePage", "Enter the filesize, a warning dialog should be shown.", None, QtGui.QApplication.UnicodeUTF8))
        self.warnFilesizeSpinBox.setSuffix(QtGui.QApplication.translate("EditorFilePage", " KB", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_5.setTitle(QtGui.QApplication.translate("EditorFilePage", "End of Line", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_8.setTitle(QtGui.QApplication.translate("EditorFilePage", "End of Line Characters", None, QtGui.QApplication.UnicodeUTF8))
        self.lfRadioButton.setToolTip(QtGui.QApplication.translate("EditorFilePage", "Select Unix type end of line", None, QtGui.QApplication.UnicodeUTF8))
        self.lfRadioButton.setText(QtGui.QApplication.translate("EditorFilePage", "Unix", None, QtGui.QApplication.UnicodeUTF8))
        self.crRadioButton.setToolTip(QtGui.QApplication.translate("EditorFilePage", "Select Macintosh type end of line", None, QtGui.QApplication.UnicodeUTF8))
        self.crRadioButton.setText(QtGui.QApplication.translate("EditorFilePage", "Macintosh", None, QtGui.QApplication.UnicodeUTF8))
        self.crlfRadioButton.setToolTip(QtGui.QApplication.translate("EditorFilePage", "Select Windows type end of line", None, QtGui.QApplication.UnicodeUTF8))
        self.crlfRadioButton.setText(QtGui.QApplication.translate("EditorFilePage", "Windows/DOS", None, QtGui.QApplication.UnicodeUTF8))
        self.automaticEolConversionCheckBox.setToolTip(QtGui.QApplication.translate("EditorFilePage", "Select whether the eol type should be converted upon opening the file.", None, QtGui.QApplication.UnicodeUTF8))
        self.automaticEolConversionCheckBox.setText(QtGui.QApplication.translate("EditorFilePage", "Automatic End of Line Conversion", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_4.setTitle(QtGui.QApplication.translate("EditorFilePage", "Save", None, QtGui.QApplication.UnicodeUTF8))
        self.automaticSyntaxCheckCheckBox.setToolTip(QtGui.QApplication.translate("EditorFilePage", "Select, whether Python files should be checked automatically for syntax errors", None, QtGui.QApplication.UnicodeUTF8))
        self.automaticSyntaxCheckCheckBox.setText(QtGui.QApplication.translate("EditorFilePage", "Automatic Syntax Check", None, QtGui.QApplication.UnicodeUTF8))
        self.stripWhitespaceCheckBox.setToolTip(QtGui.QApplication.translate("EditorFilePage", "Select, whether trailing whitespace should be removed upon save", None, QtGui.QApplication.UnicodeUTF8))
        self.stripWhitespaceCheckBox.setText(QtGui.QApplication.translate("EditorFilePage", "Strip trailing whitespace upon save", None, QtGui.QApplication.UnicodeUTF8))
        self.createBackupFileCheckBox.setToolTip(QtGui.QApplication.translate("EditorFilePage", "Select, whether a backup file shall be generated upon save", None, QtGui.QApplication.UnicodeUTF8))
        self.createBackupFileCheckBox.setText(QtGui.QApplication.translate("EditorFilePage", "Create backup file upon save", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel13_3_3.setText(QtGui.QApplication.translate("EditorFilePage", "Autosave interval:", None, QtGui.QApplication.UnicodeUTF8))
        self.autosaveSlider.setToolTip(QtGui.QApplication.translate("EditorFilePage", "Move to set the autosave interval in minutes (0 to disable)", None, QtGui.QApplication.UnicodeUTF8))
        self.autosaveLCD.setToolTip(QtGui.QApplication.translate("EditorFilePage", "Displays the selected autosave interval.", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("EditorFilePage", "Encoding", None, QtGui.QApplication.UnicodeUTF8))
        self.advEncodingCheckBox.setToolTip(QtGui.QApplication.translate("EditorFilePage", "Select to use the advanced encoding detection ", None, QtGui.QApplication.UnicodeUTF8))
        self.advEncodingCheckBox.setWhatsThis(QtGui.QApplication.translate("EditorFilePage", "<b>Advanced encoding detection</b>\n"
"<p>Select to use the advanced encoding detection based on the &quot;universal character encoding detector&quot; from <a href=\"http://chardet.feedparser.org\">http://chardet.feedparser.org</a>.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.advEncodingCheckBox.setText(QtGui.QApplication.translate("EditorFilePage", "Use advanced encoding detection", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("EditorFilePage", "Default Encoding:", None, QtGui.QApplication.UnicodeUTF8))
        self.defaultEncodingComboBox.setToolTip(QtGui.QApplication.translate("EditorFilePage", "Select the string encoding to be used.", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("EditorFilePage", "Default File Filters", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("EditorFilePage", "Open Files:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("EditorFilePage", "Save Files:", None, QtGui.QApplication.UnicodeUTF8))


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

