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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/HelpViewersPage.ui'
#
# Created: Sun Nov 11 19:51:04 2012
#      by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_HelpViewersPage(object):
    def setupUi(self, HelpViewersPage):
        HelpViewersPage.setObjectName(_fromUtf8("HelpViewersPage"))
        HelpViewersPage.resize(613, 634)
        self.verticalLayout_3 = QtGui.QVBoxLayout(HelpViewersPage)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.headerLabel = QtGui.QLabel(HelpViewersPage)
        self.headerLabel.setObjectName(_fromUtf8("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(_fromUtf8("line17"))
        self.verticalLayout_3.addWidget(self.line17)
        self.groupBox = QtGui.QGroupBox(HelpViewersPage)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridlayout = QtGui.QGridLayout(self.groupBox)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.customViewerEdit = QtGui.QLineEdit(self.groupBox)
        self.customViewerEdit.setEnabled(False)
        self.customViewerEdit.setObjectName(_fromUtf8("customViewerEdit"))
        self.hboxlayout.addWidget(self.customViewerEdit)
        self.customViewerSelectionButton = QtGui.QPushButton(self.groupBox)
        self.customViewerSelectionButton.setEnabled(False)
        self.customViewerSelectionButton.setObjectName(_fromUtf8("customViewerSelectionButton"))
        self.hboxlayout.addWidget(self.customViewerSelectionButton)
        self.gridlayout.addLayout(self.hboxlayout, 1, 0, 1, 4)
        self.customViewerButton = QtGui.QRadioButton(self.groupBox)
        self.customViewerButton.setObjectName(_fromUtf8("customViewerButton"))
        self.gridlayout.addWidget(self.customViewerButton, 0, 3, 1, 1)
        self.qtAssistantButton = QtGui.QRadioButton(self.groupBox)
        self.qtAssistantButton.setObjectName(_fromUtf8("qtAssistantButton"))
        self.gridlayout.addWidget(self.qtAssistantButton, 0, 1, 1, 1)
        self.helpBrowserButton = QtGui.QRadioButton(self.groupBox)
        self.helpBrowserButton.setChecked(True)
        self.helpBrowserButton.setObjectName(_fromUtf8("helpBrowserButton"))
        self.gridlayout.addWidget(self.helpBrowserButton, 0, 0, 1, 1)
        self.webBrowserButton = QtGui.QRadioButton(self.groupBox)
        self.webBrowserButton.setObjectName(_fromUtf8("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(_fromUtf8("toggled(bool)")), self.customViewerEdit.setEnabled)
        QtCore.QObject.connect(self.customViewerButton, QtCore.SIGNAL(_fromUtf8("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))

