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

# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/preferences/look_feel.ui'
#
# Created: Tue Feb  8 11:25:36 2011
#      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_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(670, 392)
        self.gridLayout_2 = QtGui.QGridLayout(Form)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_17 = QtGui.QLabel(Form)
        self.label_17.setObjectName(_fromUtf8("label_17"))
        self.gridLayout_2.addWidget(self.label_17, 0, 0, 1, 1)
        self.opt_gui_layout = QtGui.QComboBox(Form)
        self.opt_gui_layout.setMaximumSize(QtCore.QSize(250, 16777215))
        self.opt_gui_layout.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon)
        self.opt_gui_layout.setMinimumContentsLength(20)
        self.opt_gui_layout.setObjectName(_fromUtf8("opt_gui_layout"))
        self.gridLayout_2.addWidget(self.opt_gui_layout, 0, 1, 1, 1)
        self.label_6 = QtGui.QLabel(Form)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_2.addWidget(self.label_6, 1, 0, 1, 1)
        self.opt_cover_flow_queue_length = QtGui.QSpinBox(Form)
        self.opt_cover_flow_queue_length.setObjectName(_fromUtf8("opt_cover_flow_queue_length"))
        self.gridLayout_2.addWidget(self.opt_cover_flow_queue_length, 1, 1, 1, 1)
        self.label_7 = QtGui.QLabel(Form)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout_2.addWidget(self.label_7, 2, 0, 1, 1)
        self.opt_language = QtGui.QComboBox(Form)
        self.opt_language.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon)
        self.opt_language.setMinimumContentsLength(20)
        self.opt_language.setObjectName(_fromUtf8("opt_language"))
        self.gridLayout_2.addWidget(self.opt_language, 2, 1, 1, 1)
        self.opt_show_avg_rating = QtGui.QCheckBox(Form)
        self.opt_show_avg_rating.setChecked(True)
        self.opt_show_avg_rating.setObjectName(_fromUtf8("opt_show_avg_rating"))
        self.gridLayout_2.addWidget(self.opt_show_avg_rating, 3, 0, 1, 1)
        self.opt_disable_animations = QtGui.QCheckBox(Form)
        self.opt_disable_animations.setObjectName(_fromUtf8("opt_disable_animations"))
        self.gridLayout_2.addWidget(self.opt_disable_animations, 3, 1, 1, 1)
        self.opt_systray_icon = QtGui.QCheckBox(Form)
        self.opt_systray_icon.setObjectName(_fromUtf8("opt_systray_icon"))
        self.gridLayout_2.addWidget(self.opt_systray_icon, 4, 0, 1, 1)
        self.opt_show_splash_screen = QtGui.QCheckBox(Form)
        self.opt_show_splash_screen.setObjectName(_fromUtf8("opt_show_splash_screen"))
        self.gridLayout_2.addWidget(self.opt_show_splash_screen, 4, 1, 1, 1)
        self.opt_disable_tray_notification = QtGui.QCheckBox(Form)
        self.opt_disable_tray_notification.setObjectName(_fromUtf8("opt_disable_tray_notification"))
        self.gridLayout_2.addWidget(self.opt_disable_tray_notification, 5, 0, 1, 1)
        self.opt_use_roman_numerals_for_series_number = QtGui.QCheckBox(Form)
        self.opt_use_roman_numerals_for_series_number.setChecked(True)
        self.opt_use_roman_numerals_for_series_number.setObjectName(_fromUtf8("opt_use_roman_numerals_for_series_number"))
        self.gridLayout_2.addWidget(self.opt_use_roman_numerals_for_series_number, 5, 1, 1, 1)
        self.opt_separate_cover_flow = QtGui.QCheckBox(Form)
        self.opt_separate_cover_flow.setObjectName(_fromUtf8("opt_separate_cover_flow"))
        self.gridLayout_2.addWidget(self.opt_separate_cover_flow, 6, 0, 1, 2)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.label_61 = QtGui.QLabel(Form)
        self.label_61.setObjectName(_fromUtf8("label_61"))
        self.hboxlayout.addWidget(self.label_61)
        self.opt_tags_browser_partition_method = QtGui.QComboBox(Form)
        self.opt_tags_browser_partition_method.setObjectName(_fromUtf8("opt_tags_browser_partition_method"))
        self.hboxlayout.addWidget(self.opt_tags_browser_partition_method)
        self.label_62 = QtGui.QLabel(Form)
        self.label_62.setObjectName(_fromUtf8("label_62"))
        self.hboxlayout.addWidget(self.label_62)
        self.opt_tags_browser_collapse_at = QtGui.QSpinBox(Form)
        self.opt_tags_browser_collapse_at.setMaximum(10000)
        self.opt_tags_browser_collapse_at.setObjectName(_fromUtf8("opt_tags_browser_collapse_at"))
        self.hboxlayout.addWidget(self.opt_tags_browser_collapse_at)
        spacerItem = QtGui.QSpacerItem(20, 5, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.gridLayout_2.addLayout(self.hboxlayout, 7, 0, 1, 2)
        self.groupBox_2 = QtGui.QGroupBox(Form)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.opt_toolbar_icon_size = QtGui.QComboBox(self.groupBox_2)
        self.opt_toolbar_icon_size.setObjectName(_fromUtf8("opt_toolbar_icon_size"))
        self.gridLayout.addWidget(self.opt_toolbar_icon_size, 0, 1, 1, 1)
        self.label = QtGui.QLabel(self.groupBox_2)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.opt_toolbar_text = QtGui.QComboBox(self.groupBox_2)
        self.opt_toolbar_text.setObjectName(_fromUtf8("opt_toolbar_text"))
        self.gridLayout.addWidget(self.opt_toolbar_text, 1, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.groupBox_2)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 1, 0, 1, 1)
        self.opt_show_child_bar = QtGui.QCheckBox(self.groupBox_2)
        self.opt_show_child_bar.setObjectName(_fromUtf8("opt_show_child_bar"))
        self.gridLayout.addWidget(self.opt_show_child_bar, 2, 0, 1, 2)
        self.gridLayout_2.addWidget(self.groupBox_2, 15, 0, 1, 2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_2 = QtGui.QLabel(Form)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout.addWidget(self.label_2)
        self.font_display = QtGui.QLineEdit(Form)
        self.font_display.setReadOnly(True)
        self.font_display.setObjectName(_fromUtf8("font_display"))
        self.horizontalLayout.addWidget(self.font_display)
        self.gridLayout_2.addLayout(self.horizontalLayout, 16, 0, 1, 1)
        self.change_font_button = QtGui.QPushButton(Form)
        self.change_font_button.setObjectName(_fromUtf8("change_font_button"))
        self.gridLayout_2.addWidget(self.change_font_button, 16, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem1, 17, 0, 1, 2)
        self.label_17.setBuddy(self.opt_gui_layout)
        self.label_6.setBuddy(self.opt_cover_flow_queue_length)
        self.label_7.setBuddy(self.opt_language)
        self.label_61.setBuddy(self.opt_tags_browser_partition_method)
        self.label_62.setBuddy(self.opt_tags_browser_collapse_at)
        self.label.setBuddy(self.opt_toolbar_icon_size)
        self.label_4.setBuddy(self.opt_toolbar_text)
        self.label_2.setBuddy(self.font_display)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        Form.setWindowTitle(_("Form"))
        self.label_17.setText(_("User Interface &layout (needs restart):"))
        self.label_6.setText(_("&Number of covers to show in browse mode (needs restart):"))
        self.label_7.setText(_("Choose &language (requires restart):"))
        self.opt_show_avg_rating.setText(_("Show &average ratings in the tags browser"))
        self.opt_disable_animations.setToolTip(_("Disable all animations. Useful if you have a slow/old computer."))
        self.opt_disable_animations.setText(_("Disable &animations"))
        self.opt_systray_icon.setText(_("Enable system &tray icon (needs restart)"))
        self.opt_show_splash_screen.setText(_("Show &splash screen at startup"))
        self.opt_disable_tray_notification.setText(_("Disable &notifications in system tray"))
        self.opt_use_roman_numerals_for_series_number.setText(_("Use &Roman numerals for series"))
        self.opt_separate_cover_flow.setText(_("Show cover &browser in a separate window (needs restart)"))
        self.label_61.setText(_("Tags browser category partitioning method:"))
        self.opt_tags_browser_partition_method.setToolTip(_("Choose how tag browser subcategories are displayed when\n"
"there are more items than the limit. Select by first\n"
"letter to see an A, B, C list. Choose partitioned to\n"
"have a list of fixed-sized groups. Set to disabled\n"
"if you never want subcategories"))
        self.label_62.setText(_("Collapse when more items than:"))
        self.opt_tags_browser_collapse_at.setToolTip(_("If a Tag Browser category has more than this number of items, it is divided\n"
"up into sub-categories. If the partition method is set to disable, this value is ignored."))
        self.groupBox_2.setTitle(_("&Toolbar"))
        self.label.setText(_("&Icon size:"))
        self.label_4.setText(_("Show &text under icons:"))
        self.opt_show_child_bar.setText(_("&Split the toolbar into two toolbars"))
        self.label_2.setText(_("Interface font:"))
        self.change_font_button.setText(_("Change &font (needs restart)"))

