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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_2/eric4/Preferences/ConfigurationPages/EditorExportersPage.ui'
#
# Created: Thu Jul 24 19:36:00 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_EditorExportersPage(object):
    def setupUi(self, EditorExportersPage):
        EditorExportersPage.setObjectName("EditorExportersPage")
        EditorExportersPage.resize(531,531)
        self.verticalLayout = QtGui.QVBoxLayout(EditorExportersPage)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setMargin(6)
        self.verticalLayout.setObjectName("verticalLayout")
        self.headerLabel = QtGui.QLabel(EditorExportersPage)
        self.headerLabel.setObjectName("headerLabel")
        self.verticalLayout.addWidget(self.headerLabel)
        self.line1 = QtGui.QFrame(EditorExportersPage)
        self.line1.setFrameShape(QtGui.QFrame.HLine)
        self.line1.setFrameShadow(QtGui.QFrame.Sunken)
        self.line1.setFrameShape(QtGui.QFrame.HLine)
        self.line1.setFrameShadow(QtGui.QFrame.Sunken)
        self.line1.setObjectName("line1")
        self.verticalLayout.addWidget(self.line1)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setObjectName("hboxlayout")
        self.TextLabel1_3 = QtGui.QLabel(EditorExportersPage)
        self.TextLabel1_3.setObjectName("TextLabel1_3")
        self.hboxlayout.addWidget(self.TextLabel1_3)
        self.exportersCombo = QtGui.QComboBox(EditorExportersPage)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.exportersCombo.sizePolicy().hasHeightForWidth())
        self.exportersCombo.setSizePolicy(sizePolicy)
        self.exportersCombo.setObjectName("exportersCombo")
        self.hboxlayout.addWidget(self.exportersCombo)
        self.verticalLayout.addLayout(self.hboxlayout)
        self.stackedWidget = QtGui.QStackedWidget(EditorExportersPage)
        self.stackedWidget.setObjectName("stackedWidget")
        self.emptyPage = QtGui.QWidget()
        self.emptyPage.setGeometry(QtCore.QRect(0,0,519,271))
        self.emptyPage.setObjectName("emptyPage")
        self.stackedWidget.addWidget(self.emptyPage)
        self.htmlPage = QtGui.QWidget()
        self.htmlPage.setGeometry(QtCore.QRect(0,0,519,283))
        self.htmlPage.setObjectName("htmlPage")
        self.vboxlayout = QtGui.QVBoxLayout(self.htmlPage)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setMargin(0)
        self.vboxlayout.setObjectName("vboxlayout")
        self.htmlWysiwygCheckBox = QtGui.QCheckBox(self.htmlPage)
        self.htmlWysiwygCheckBox.setObjectName("htmlWysiwygCheckBox")
        self.vboxlayout.addWidget(self.htmlWysiwygCheckBox)
        self.htmlFoldingCheckBox = QtGui.QCheckBox(self.htmlPage)
        self.htmlFoldingCheckBox.setObjectName("htmlFoldingCheckBox")
        self.vboxlayout.addWidget(self.htmlFoldingCheckBox)
        self.htmlStylesCheckBox = QtGui.QCheckBox(self.htmlPage)
        self.htmlStylesCheckBox.setObjectName("htmlStylesCheckBox")
        self.vboxlayout.addWidget(self.htmlStylesCheckBox)
        self.htmlTitleCheckBox = QtGui.QCheckBox(self.htmlPage)
        self.htmlTitleCheckBox.setObjectName("htmlTitleCheckBox")
        self.vboxlayout.addWidget(self.htmlTitleCheckBox)
        self.htmlTabsCheckBox = QtGui.QCheckBox(self.htmlPage)
        self.htmlTabsCheckBox.setObjectName("htmlTabsCheckBox")
        self.vboxlayout.addWidget(self.htmlTabsCheckBox)
        spacerItem = QtGui.QSpacerItem(507,21,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem)
        self.stackedWidget.addWidget(self.htmlPage)
        self.pdfPage = QtGui.QWidget()
        self.pdfPage.setGeometry(QtCore.QRect(0,0,519,271))
        self.pdfPage.setObjectName("pdfPage")
        self.gridLayout = QtGui.QGridLayout(self.pdfPage)
        self.gridLayout.setMargin(0)
        self.gridLayout.setSpacing(6)
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtGui.QLabel(self.pdfPage)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label,0,0,1,1)
        self.pdfMagnificationSlider = QtGui.QSlider(self.pdfPage)
        self.pdfMagnificationSlider.setMaximum(20)
        self.pdfMagnificationSlider.setOrientation(QtCore.Qt.Horizontal)
        self.pdfMagnificationSlider.setObjectName("pdfMagnificationSlider")
        self.gridLayout.addWidget(self.pdfMagnificationSlider,0,1,1,1)
        self.pdfMagnificationLCD = QtGui.QLCDNumber(self.pdfPage)
        self.pdfMagnificationLCD.setNumDigits(2)
        self.pdfMagnificationLCD.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.pdfMagnificationLCD.setObjectName("pdfMagnificationLCD")
        self.gridLayout.addWidget(self.pdfMagnificationLCD,0,2,1,1)
        self.label_2 = QtGui.QLabel(self.pdfPage)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2,1,0,1,1)
        self.pdfFontCombo = QtGui.QComboBox(self.pdfPage)
        self.pdfFontCombo.setObjectName("pdfFontCombo")
        self.gridLayout.addWidget(self.pdfFontCombo,1,1,1,2)
        self.label_3 = QtGui.QLabel(self.pdfPage)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3,2,0,1,1)
        self.pdfPageSizeCombo = QtGui.QComboBox(self.pdfPage)
        self.pdfPageSizeCombo.setObjectName("pdfPageSizeCombo")
        self.gridLayout.addWidget(self.pdfPageSizeCombo,2,1,1,2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(6)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.groupBox = QtGui.QGroupBox(self.pdfPage)
        self.groupBox.setObjectName("groupBox")
        self.gridlayout = QtGui.QGridLayout(self.groupBox)
        self.gridlayout.setObjectName("gridlayout")
        self.pdfMarginTopSpin = QtGui.QSpinBox(self.groupBox)
        self.pdfMarginTopSpin.setMaximum(288)
        self.pdfMarginTopSpin.setObjectName("pdfMarginTopSpin")
        self.gridlayout.addWidget(self.pdfMarginTopSpin,0,1,1,1)
        self.pdfMarginLeftSpin = QtGui.QSpinBox(self.groupBox)
        self.pdfMarginLeftSpin.setMaximum(288)
        self.pdfMarginLeftSpin.setObjectName("pdfMarginLeftSpin")
        self.gridlayout.addWidget(self.pdfMarginLeftSpin,1,0,1,1)
        self.pdfMarginRightSpin = QtGui.QSpinBox(self.groupBox)
        self.pdfMarginRightSpin.setMaximum(288)
        self.pdfMarginRightSpin.setObjectName("pdfMarginRightSpin")
        self.gridlayout.addWidget(self.pdfMarginRightSpin,1,2,1,1)
        self.pdfMarginBottomSpin = QtGui.QSpinBox(self.groupBox)
        self.pdfMarginBottomSpin.setMaximum(288)
        self.pdfMarginBottomSpin.setObjectName("pdfMarginBottomSpin")
        self.gridlayout.addWidget(self.pdfMarginBottomSpin,2,1,1,1)
        self.horizontalLayout.addWidget(self.groupBox)
        spacerItem1 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.gridLayout.addLayout(self.horizontalLayout,3,0,1,3)
        spacerItem2 = QtGui.QSpacerItem(20,21,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2,4,1,1,1)
        self.stackedWidget.addWidget(self.pdfPage)
        self.rtfPage = QtGui.QWidget()
        self.rtfPage.setGeometry(QtCore.QRect(0,0,519,271))
        self.rtfPage.setObjectName("rtfPage")
        self.vboxlayout1 = QtGui.QVBoxLayout(self.rtfPage)
        self.vboxlayout1.setSpacing(6)
        self.vboxlayout1.setMargin(0)
        self.vboxlayout1.setObjectName("vboxlayout1")
        self.rtfWysiwygCheckBox = QtGui.QCheckBox(self.rtfPage)
        self.rtfWysiwygCheckBox.setObjectName("rtfWysiwygCheckBox")
        self.vboxlayout1.addWidget(self.rtfWysiwygCheckBox)
        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName("hboxlayout1")
        self.rtfFontButton = QtGui.QPushButton(self.rtfPage)
        self.rtfFontButton.setObjectName("rtfFontButton")
        self.hboxlayout1.addWidget(self.rtfFontButton)
        self.rtfFontSample = QtGui.QLineEdit(self.rtfPage)
        self.rtfFontSample.setFocusPolicy(QtCore.Qt.NoFocus)
        self.rtfFontSample.setAlignment(QtCore.Qt.AlignHCenter)
        self.rtfFontSample.setReadOnly(True)
        self.rtfFontSample.setObjectName("rtfFontSample")
        self.hboxlayout1.addWidget(self.rtfFontSample)
        self.vboxlayout1.addLayout(self.hboxlayout1)
        self.rtfTabsCheckBox = QtGui.QCheckBox(self.rtfPage)
        self.rtfTabsCheckBox.setObjectName("rtfTabsCheckBox")
        self.vboxlayout1.addWidget(self.rtfTabsCheckBox)
        spacerItem3 = QtGui.QSpacerItem(451,21,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout1.addItem(spacerItem3)
        self.stackedWidget.addWidget(self.rtfPage)
        self.texPage = QtGui.QWidget()
        self.texPage.setGeometry(QtCore.QRect(0,0,519,271))
        self.texPage.setObjectName("texPage")
        self.vboxlayout2 = QtGui.QVBoxLayout(self.texPage)
        self.vboxlayout2.setSpacing(6)
        self.vboxlayout2.setMargin(0)
        self.vboxlayout2.setObjectName("vboxlayout2")
        self.texStylesCheckBox = QtGui.QCheckBox(self.texPage)
        self.texStylesCheckBox.setObjectName("texStylesCheckBox")
        self.vboxlayout2.addWidget(self.texStylesCheckBox)
        self.texTitleCheckBox = QtGui.QCheckBox(self.texPage)
        self.texTitleCheckBox.setObjectName("texTitleCheckBox")
        self.vboxlayout2.addWidget(self.texTitleCheckBox)
        spacerItem4 = QtGui.QSpacerItem(507,21,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout2.addItem(spacerItem4)
        self.stackedWidget.addWidget(self.texPage)
        self.verticalLayout.addWidget(self.stackedWidget)
        spacerItem5 = QtGui.QSpacerItem(519,21,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem5)

        self.retranslateUi(EditorExportersPage)
        self.stackedWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.rtfWysiwygCheckBox,QtCore.SIGNAL("toggled(bool)"),self.rtfFontButton.setDisabled)
        QtCore.QObject.connect(self.rtfWysiwygCheckBox,QtCore.SIGNAL("toggled(bool)"),self.rtfFontSample.setDisabled)
        QtCore.QObject.connect(self.pdfMagnificationSlider,QtCore.SIGNAL("sliderMoved(int)"),self.pdfMagnificationLCD.display)
        QtCore.QObject.connect(self.pdfMagnificationSlider,QtCore.SIGNAL("valueChanged(int)"),self.pdfMagnificationLCD.display)
        QtCore.QMetaObject.connectSlotsByName(EditorExportersPage)
        EditorExportersPage.setTabOrder(self.exportersCombo,self.htmlWysiwygCheckBox)
        EditorExportersPage.setTabOrder(self.htmlWysiwygCheckBox,self.htmlFoldingCheckBox)
        EditorExportersPage.setTabOrder(self.htmlFoldingCheckBox,self.htmlStylesCheckBox)
        EditorExportersPage.setTabOrder(self.htmlStylesCheckBox,self.htmlTitleCheckBox)
        EditorExportersPage.setTabOrder(self.htmlTitleCheckBox,self.htmlTabsCheckBox)
        EditorExportersPage.setTabOrder(self.htmlTabsCheckBox,self.pdfMagnificationSlider)
        EditorExportersPage.setTabOrder(self.pdfMagnificationSlider,self.pdfFontCombo)
        EditorExportersPage.setTabOrder(self.pdfFontCombo,self.pdfPageSizeCombo)
        EditorExportersPage.setTabOrder(self.pdfPageSizeCombo,self.pdfMarginTopSpin)
        EditorExportersPage.setTabOrder(self.pdfMarginTopSpin,self.pdfMarginLeftSpin)
        EditorExportersPage.setTabOrder(self.pdfMarginLeftSpin,self.pdfMarginRightSpin)
        EditorExportersPage.setTabOrder(self.pdfMarginRightSpin,self.pdfMarginBottomSpin)
        EditorExportersPage.setTabOrder(self.pdfMarginBottomSpin,self.rtfWysiwygCheckBox)
        EditorExportersPage.setTabOrder(self.rtfWysiwygCheckBox,self.rtfFontButton)
        EditorExportersPage.setTabOrder(self.rtfFontButton,self.rtfTabsCheckBox)
        EditorExportersPage.setTabOrder(self.rtfTabsCheckBox,self.texStylesCheckBox)
        EditorExportersPage.setTabOrder(self.texStylesCheckBox,self.texTitleCheckBox)

    def retranslateUi(self, EditorExportersPage):
        self.headerLabel.setText(QtGui.QApplication.translate("EditorExportersPage", "<b>Configure exporters</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1_3.setText(QtGui.QApplication.translate("EditorExportersPage", "Exporter Type:", None, QtGui.QApplication.UnicodeUTF8))
        self.exportersCombo.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Select the exporter to be configured.", None, QtGui.QApplication.UnicodeUTF8))
        self.htmlWysiwygCheckBox.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Select to export in WYSIWYG mode", None, QtGui.QApplication.UnicodeUTF8))
        self.htmlWysiwygCheckBox.setText(QtGui.QApplication.translate("EditorExportersPage", "Use WYSIWYG mode", None, QtGui.QApplication.UnicodeUTF8))
        self.htmlFoldingCheckBox.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Select to include folding functionality", None, QtGui.QApplication.UnicodeUTF8))
        self.htmlFoldingCheckBox.setText(QtGui.QApplication.translate("EditorExportersPage", "Include folding functionality", None, QtGui.QApplication.UnicodeUTF8))
        self.htmlStylesCheckBox.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Select to include only used styles", None, QtGui.QApplication.UnicodeUTF8))
        self.htmlStylesCheckBox.setText(QtGui.QApplication.translate("EditorExportersPage", "Include only used styles", None, QtGui.QApplication.UnicodeUTF8))
        self.htmlTitleCheckBox.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Select to use the full pathname as the document title", None, QtGui.QApplication.UnicodeUTF8))
        self.htmlTitleCheckBox.setText(QtGui.QApplication.translate("EditorExportersPage", "Use full pathname as document title", None, QtGui.QApplication.UnicodeUTF8))
        self.htmlTabsCheckBox.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Select to use tabs in the generated file", None, QtGui.QApplication.UnicodeUTF8))
        self.htmlTabsCheckBox.setText(QtGui.QApplication.translate("EditorExportersPage", "Use tabs", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("EditorExportersPage", "Magnification:", None, QtGui.QApplication.UnicodeUTF8))
        self.pdfMagnificationSlider.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Select the magnification value to be added to the font sizes of the styles", None, QtGui.QApplication.UnicodeUTF8))
        self.pdfMagnificationLCD.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Displays the selected magnification value", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("EditorExportersPage", "Font:", None, QtGui.QApplication.UnicodeUTF8))
        self.pdfFontCombo.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Select the font from the list", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("EditorExportersPage", "Pagesize:", None, QtGui.QApplication.UnicodeUTF8))
        self.pdfPageSizeCombo.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Select the page size from the list", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("EditorExportersPage", "Margins", None, QtGui.QApplication.UnicodeUTF8))
        self.pdfMarginTopSpin.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Select the top margin in points (72 pt == 1\")", None, QtGui.QApplication.UnicodeUTF8))
        self.pdfMarginLeftSpin.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Select the left margin in points (72 pt == 1\")", None, QtGui.QApplication.UnicodeUTF8))
        self.pdfMarginRightSpin.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Select the right margin in points (72 pt == 1\")", None, QtGui.QApplication.UnicodeUTF8))
        self.pdfMarginBottomSpin.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Select the bottom margin in points (72 pt == 1\")", None, QtGui.QApplication.UnicodeUTF8))
        self.rtfWysiwygCheckBox.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Select to export in WYSIWYG mode", None, QtGui.QApplication.UnicodeUTF8))
        self.rtfWysiwygCheckBox.setText(QtGui.QApplication.translate("EditorExportersPage", "Use WYSIWYG mode", None, QtGui.QApplication.UnicodeUTF8))
        self.rtfFontButton.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Press to select the font for the RTF export", None, QtGui.QApplication.UnicodeUTF8))
        self.rtfFontButton.setText(QtGui.QApplication.translate("EditorExportersPage", "Select Font", None, QtGui.QApplication.UnicodeUTF8))
        self.rtfFontSample.setText(QtGui.QApplication.translate("EditorExportersPage", "Font for RTF export", None, QtGui.QApplication.UnicodeUTF8))
        self.rtfTabsCheckBox.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Select to use tabs in the generated file", None, QtGui.QApplication.UnicodeUTF8))
        self.rtfTabsCheckBox.setText(QtGui.QApplication.translate("EditorExportersPage", "Use tabs", None, QtGui.QApplication.UnicodeUTF8))
        self.texStylesCheckBox.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Select to include only used styles", None, QtGui.QApplication.UnicodeUTF8))
        self.texStylesCheckBox.setText(QtGui.QApplication.translate("EditorExportersPage", "Include only used styles", None, QtGui.QApplication.UnicodeUTF8))
        self.texTitleCheckBox.setToolTip(QtGui.QApplication.translate("EditorExportersPage", "Select to use the full pathname as the document title", None, QtGui.QApplication.UnicodeUTF8))
        self.texTitleCheckBox.setText(QtGui.QApplication.translate("EditorExportersPage", "Use full pathname as document title", None, QtGui.QApplication.UnicodeUTF8))


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

