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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/HelpViewersPage.ui'
#
# Created: Mon May 10 20:39:45 2010
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_HelpViewersPage(object):
    def setupUi(self, HelpViewersPage):
        HelpViewersPage.setObjectName("HelpViewersPage")
        HelpViewersPage.resize(613, 634)
        self.verticalLayout_3 = QtGui.QVBoxLayout(HelpViewersPage)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.headerLabel = QtGui.QLabel(HelpViewersPage)
        self.headerLabel.setObjectName("headerLabel")
        self.verticalLayout_3.addWidget(self.headerLabel)
        self.line17 = QtGui.QFrame(HelpViewersPage)
        self.line17.setFrameShape(QtGui.QFrame.HLine)
        self.line17.setFrameShadow(QtGui.QFrame.Sunken)
        self.line17.setFrameShape(QtGui.QFrame.HLine)
        self.line17.setFrameShadow(QtGui.QFrame.Sunken)
        self.line17.setObjectName("line17")
        self.verticalLayout_3.addWidget(self.line17)
        self.groupBox = QtGui.QGroupBox(HelpViewersPage)
        self.groupBox.setObjectName("groupBox")
        self.gridlayout = QtGui.QGridLayout(self.groupBox)
        self.gridlayout.setObjectName("gridlayout")
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.customViewerEdit = QtGui.QLineEdit(self.groupBox)
        self.customViewerEdit.setEnabled(False)
        self.customViewerEdit.setObjectName("customViewerEdit")
        self.hboxlayout.addWidget(self.customViewerEdit)
        self.customViewerSelectionButton = QtGui.QPushButton(self.groupBox)
        self.customViewerSelectionButton.setEnabled(False)
        self.customViewerSelectionButton.setObjectName("customViewerSelectionButton")
        self.hboxlayout.addWidget(self.customViewerSelectionButton)
        self.gridlayout.addLayout(self.hboxlayout, 1, 0, 1, 4)
        self.customViewerButton = QtGui.QRadioButton(self.groupBox)
        self.customViewerButton.setObjectName("customViewerButton")
        self.gridlayout.addWidget(self.customViewerButton, 0, 3, 1, 1)
        self.qtAssistantButton = QtGui.QRadioButton(self.groupBox)
        self.qtAssistantButton.setObjectName("qtAssistantButton")
        self.gridlayout.addWidget(self.qtAssistantButton, 0, 1, 1, 1)
        self.helpBrowserButton = QtGui.QRadioButton(self.groupBox)
        self.helpBrowserButton.setChecked(True)
        self.helpBrowserButton.setObjectName("helpBrowserButton")
        self.gridlayout.addWidget(self.helpBrowserButton, 0, 0, 1, 1)
        self.webBrowserButton = QtGui.QRadioButton(self.groupBox)
        self.webBrowserButton.setObjectName("webBrowserButton")
        self.gridlayout.addWidget(self.webBrowserButton, 0, 2, 1, 1)
        self.verticalLayout_3.addWidget(self.groupBox)
        spacerItem = QtGui.QSpacerItem(479, 121, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem)

        self.retranslateUi(HelpViewersPage)
        QtCore.QObject.connect(self.customViewerButton, QtCore.SIGNAL("toggled(bool)"), self.customViewerEdit.setEnabled)
        QtCore.QObject.connect(self.customViewerButton, QtCore.SIGNAL("toggled(bool)"), self.customViewerSelectionButton.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(HelpViewersPage)
        HelpViewersPage.setTabOrder(self.helpBrowserButton, self.qtAssistantButton)
        HelpViewersPage.setTabOrder(self.qtAssistantButton, self.webBrowserButton)
        HelpViewersPage.setTabOrder(self.webBrowserButton, self.customViewerButton)
        HelpViewersPage.setTabOrder(self.customViewerButton, self.customViewerEdit)
        HelpViewersPage.setTabOrder(self.customViewerEdit, self.customViewerSelectionButton)

    def retranslateUi(self, HelpViewersPage):
        self.headerLabel.setText(QtGui.QApplication.translate("HelpViewersPage", "<b>Configure help viewers</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("HelpViewersPage", "Help Viewer", None, QtGui.QApplication.UnicodeUTF8))
        self.customViewerEdit.setToolTip(QtGui.QApplication.translate("HelpViewersPage", "Enter the custom viewer to be used", None, QtGui.QApplication.UnicodeUTF8))
        self.customViewerSelectionButton.setToolTip(QtGui.QApplication.translate("HelpViewersPage", "Press to select the custom viewer via a file selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.customViewerSelectionButton.setText(QtGui.QApplication.translate("HelpViewersPage", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.customViewerButton.setToolTip(QtGui.QApplication.translate("HelpViewersPage", "Select to use a custom viewer", None, QtGui.QApplication.UnicodeUTF8))
        self.customViewerButton.setText(QtGui.QApplication.translate("HelpViewersPage", "Custom", None, QtGui.QApplication.UnicodeUTF8))
        self.qtAssistantButton.setToolTip(QtGui.QApplication.translate("HelpViewersPage", "Select to use Qt Assistant", None, QtGui.QApplication.UnicodeUTF8))
        self.qtAssistantButton.setText(QtGui.QApplication.translate("HelpViewersPage", "Qt Assistant", None, QtGui.QApplication.UnicodeUTF8))
        self.helpBrowserButton.setToolTip(QtGui.QApplication.translate("HelpViewersPage", "Select to use the Eric Web Browser", None, QtGui.QApplication.UnicodeUTF8))
        self.helpBrowserButton.setText(QtGui.QApplication.translate("HelpViewersPage", "Eric Web Browser", None, QtGui.QApplication.UnicodeUTF8))
        self.webBrowserButton.setToolTip(QtGui.QApplication.translate("HelpViewersPage", "Select to use the configured web browser", None, QtGui.QApplication.UnicodeUTF8))
        self.webBrowserButton.setText(QtGui.QApplication.translate("HelpViewersPage", "Web Browser", None, QtGui.QApplication.UnicodeUTF8))

