Logo Search packages:      
Sourcecode: calibre version File versions  Download package

look_feel_ui.py

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

# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/preferences/look_feel.ui'
#
# Created: Wed Aug 25 13:58:52 2010
#      by: PyQt4 UI code generator 4.7.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(670, 385)
        self.gridLayout_2 = QtGui.QGridLayout(Form)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_17 = QtGui.QLabel(Form)
        self.label_17.setObjectName("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("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("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("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("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("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("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("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("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("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("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("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("opt_separate_cover_flow")
        self.gridLayout_2.addWidget(self.opt_separate_cover_flow, 6, 0, 1, 1)
        self.opt_search_as_you_type = QtGui.QCheckBox(Form)
        self.opt_search_as_you_type.setChecked(True)
        self.opt_search_as_you_type.setObjectName("opt_search_as_you_type")
        self.gridLayout_2.addWidget(self.opt_search_as_you_type, 6, 1, 1, 1)
        self.groupBox_2 = QtGui.QGroupBox(Form)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout.setObjectName("gridLayout")
        self.opt_toolbar_icon_size = QtGui.QComboBox(self.groupBox_2)
        self.opt_toolbar_icon_size.setObjectName("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("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.opt_toolbar_text = QtGui.QComboBox(self.groupBox_2)
        self.opt_toolbar_text.setObjectName("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("label_4")
        self.gridLayout.addWidget(self.label_4, 1, 0, 1, 1)
        self.gridLayout_2.addWidget(self.groupBox_2, 7, 0, 1, 2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 8, 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.setBuddy(self.opt_toolbar_icon_size)
        self.label_4.setBuddy(self.opt_toolbar_text)

        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.opt_search_as_you_type.setText(_("Search as you type"))
        self.groupBox_2.setTitle(_("&Toolbar"))
        self.label.setText(_("&Icon size:"))
        self.label_4.setText(_("Show &text under icons:"))


Generated by  Doxygen 1.6.0   Back to index