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

# Form implementation generated from reading ui file '/work/a/ports/deskutils/calibre/work/calibre-src/src/calibre/gui2/preferences/behavior.ui'
#
# Created: Wed Aug 21 18:25:06 2013
#      by: PyQt4 UI code generator 4.10.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    pass
except AttributeError:
    pass

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(941, 563)
        self.gridLayout = QtGui.QGridLayout(Form)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.opt_new_version_notification = QtGui.QCheckBox(Form)
        self.opt_new_version_notification.setObjectName(_fromUtf8("opt_new_version_notification"))
        self.gridLayout.addWidget(self.opt_new_version_notification, 1, 0, 1, 1)
        self.opt_bools_are_tristate = QtGui.QCheckBox(Form)
        self.opt_bools_are_tristate.setObjectName(_fromUtf8("opt_bools_are_tristate"))
        self.gridLayout.addWidget(self.opt_bools_are_tristate, 1, 1, 1, 1)
        self.opt_upload_news_to_device = QtGui.QCheckBox(Form)
        self.opt_upload_news_to_device.setObjectName(_fromUtf8("opt_upload_news_to_device"))
        self.gridLayout.addWidget(self.opt_upload_news_to_device, 3, 0, 1, 1)
        self.opt_delete_news_from_library_on_upload = QtGui.QCheckBox(Form)
        self.opt_delete_news_from_library_on_upload.setObjectName(_fromUtf8("opt_delete_news_from_library_on_upload"))
        self.gridLayout.addWidget(self.opt_delete_news_from_library_on_upload, 3, 1, 1, 1)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.label_23 = QtGui.QLabel(Form)
        self.label_23.setObjectName(_fromUtf8("label_23"))
        self.hboxlayout.addWidget(self.label_23)
        self.opt_output_format = QtGui.QComboBox(Form)
        self.opt_output_format.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon)
        self.opt_output_format.setMinimumContentsLength(10)
        self.opt_output_format.setObjectName(_fromUtf8("opt_output_format"))
        self.hboxlayout.addWidget(self.opt_output_format)
        self.gridLayout.addLayout(self.hboxlayout, 5, 0, 1, 1)
        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1"))
        self.label_2 = QtGui.QLabel(Form)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.hboxlayout1.addWidget(self.label_2)
        self.opt_network_timeout = QtGui.QSpinBox(Form)
        self.opt_network_timeout.setMinimum(2)
        self.opt_network_timeout.setMaximum(120)
        self.opt_network_timeout.setProperty("value", 5)
        self.opt_network_timeout.setObjectName(_fromUtf8("opt_network_timeout"))
        self.hboxlayout1.addWidget(self.opt_network_timeout)
        self.gridLayout.addLayout(self.hboxlayout1, 5, 1, 1, 1)
        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setObjectName(_fromUtf8("hboxlayout2"))
        self.priority_label = QtGui.QLabel(Form)
        self.priority_label.setObjectName(_fromUtf8("priority_label"))
        self.hboxlayout2.addWidget(self.priority_label)
        self.opt_worker_process_priority = QtGui.QComboBox(Form)
        self.opt_worker_process_priority.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon)
        self.opt_worker_process_priority.setMinimumContentsLength(20)
        self.opt_worker_process_priority.setObjectName(_fromUtf8("opt_worker_process_priority"))
        self.opt_worker_process_priority.addItem(_fromUtf8(""))
        self.opt_worker_process_priority.addItem(_fromUtf8(""))
        self.opt_worker_process_priority.addItem(_fromUtf8(""))
        self.hboxlayout2.addWidget(self.opt_worker_process_priority)
        self.gridLayout.addLayout(self.hboxlayout2, 7, 0, 1, 1)
        self.hboxlayout3 = QtGui.QHBoxLayout()
        self.hboxlayout3.setObjectName(_fromUtf8("hboxlayout3"))
        self.label_170 = QtGui.QLabel(Form)
        self.label_170.setObjectName(_fromUtf8("label_170"))
        self.hboxlayout3.addWidget(self.label_170)
        self.opt_virtual_lib_on_startup = QtGui.QComboBox(Form)
        self.opt_virtual_lib_on_startup.setMaximumSize(QtCore.QSize(250, 16777215))
        self.opt_virtual_lib_on_startup.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLengthWithIcon)
        self.opt_virtual_lib_on_startup.setMinimumContentsLength(15)
        self.opt_virtual_lib_on_startup.setObjectName(_fromUtf8("opt_virtual_lib_on_startup"))
        self.hboxlayout3.addWidget(self.opt_virtual_lib_on_startup)
        self.gridLayout.addLayout(self.hboxlayout3, 7, 1, 1, 1)
        self.hboxlayout4 = QtGui.QHBoxLayout()
        self.hboxlayout4.setObjectName(_fromUtf8("hboxlayout4"))
        self.edit_metadata_single_label = QtGui.QLabel(Form)
        self.edit_metadata_single_label.setObjectName(_fromUtf8("edit_metadata_single_label"))
        self.hboxlayout4.addWidget(self.edit_metadata_single_label)
        self.opt_edit_metadata_single_layout = QtGui.QComboBox(Form)
        self.opt_edit_metadata_single_layout.setObjectName(_fromUtf8("opt_edit_metadata_single_layout"))
        self.hboxlayout4.addWidget(self.opt_edit_metadata_single_layout)
        self.gridLayout.addLayout(self.hboxlayout4, 8, 0, 1, 1)
        self.groupBox_5 = QtGui.QGroupBox(Form)
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
        self.verticalLayout_11 = QtGui.QVBoxLayout(self.groupBox_5)
        self.verticalLayout_11.setObjectName(_fromUtf8("verticalLayout_11"))
        self.horizontalLayout_10 = QtGui.QHBoxLayout()
        self.horizontalLayout_10.setObjectName(_fromUtf8("horizontalLayout_10"))
        self.opt_input_order = QtGui.QListWidget(self.groupBox_5)
        self.opt_input_order.setAlternatingRowColors(True)
        self.opt_input_order.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.opt_input_order.setObjectName(_fromUtf8("opt_input_order"))
        self.horizontalLayout_10.addWidget(self.opt_input_order)
        self.verticalLayout_10 = QtGui.QVBoxLayout()
        self.verticalLayout_10.setObjectName(_fromUtf8("verticalLayout_10"))
        self.input_up_button = QtGui.QToolButton(self.groupBox_5)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(I("arrow-up.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.input_up_button.setIcon(icon)
        self.input_up_button.setObjectName(_fromUtf8("input_up_button"))
        self.verticalLayout_10.addWidget(self.input_up_button)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_10.addItem(spacerItem)
        self.input_down_button = QtGui.QToolButton(self.groupBox_5)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(I("arrow-down.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.input_down_button.setIcon(icon1)
        self.input_down_button.setObjectName(_fromUtf8("input_down_button"))
        self.verticalLayout_10.addWidget(self.input_down_button)
        self.horizontalLayout_10.addLayout(self.verticalLayout_10)
        self.verticalLayout_11.addLayout(self.horizontalLayout_10)
        self.gridLayout.addWidget(self.groupBox_5, 19, 0, 1, 1)
        self.groupBox_3 = QtGui.QGroupBox(Form)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.gridLayout_4 = QtGui.QGridLayout(self.groupBox_3)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.opt_internally_viewed_formats = QtGui.QListWidget(self.groupBox_3)
        self.opt_internally_viewed_formats.setAlternatingRowColors(True)
        self.opt_internally_viewed_formats.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
        self.opt_internally_viewed_formats.setObjectName(_fromUtf8("opt_internally_viewed_formats"))
        self.gridLayout_4.addWidget(self.opt_internally_viewed_formats, 0, 0, 1, 1)
        self.gridLayout.addWidget(self.groupBox_3, 19, 1, 1, 1)
        self.reset_confirmation_button = QtGui.QPushButton(Form)
        self.reset_confirmation_button.setObjectName(_fromUtf8("reset_confirmation_button"))
        self.gridLayout.addWidget(self.reset_confirmation_button, 8, 1, 1, 1)
        self.label_23.setBuddy(self.opt_output_format)
        self.label_2.setBuddy(self.opt_network_timeout)
        self.priority_label.setBuddy(self.opt_worker_process_priority)
        self.label_170.setBuddy(self.opt_virtual_lib_on_startup)
        self.edit_metadata_single_label.setBuddy(self.opt_edit_metadata_single_layout)

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

    def retranslateUi(self, Form):
        Form.setWindowTitle(_("Form"))
        self.opt_new_version_notification.setText(_("Show notification when &new version is available"))
        self.opt_bools_are_tristate.setToolTip(_("If checked, Yes/No custom columns values can be Yes, No, or Unknown.\n"
"If not checked, the values can be Yes or No."))
        self.opt_bools_are_tristate.setText(_("Yes/No columns have three values (Requires restart)"))
        self.opt_upload_news_to_device.setText(_("Automatically send downloaded &news to ebook reader"))
        self.opt_delete_news_from_library_on_upload.setText(_("&Delete news from library when it is automatically sent to reader"))
        self.label_23.setText(_("Preferred &output format:"))
        self.label_2.setText(_("Default network &timeout:"))
        self.opt_network_timeout.setToolTip(_("Set the default timeout for network fetches (i.e. anytime we go out to the internet to get information)"))
        self.opt_network_timeout.setSuffix(_(" seconds"))
        self.priority_label.setText(_("Job &priority:"))
        self.opt_worker_process_priority.setItemText(0, _("Normal"))
        self.opt_worker_process_priority.setItemText(1, _("High"))
        self.opt_worker_process_priority.setItemText(2, _("Low"))
        self.label_170.setText(_("Virtual library to apply when the current library is opened:"))
        self.opt_virtual_lib_on_startup.setToolTip(_("Use this virtual library on calibre startup if the current library is being used. Also applied when switching to this library. Note that this setting is per library. "))
        self.edit_metadata_single_label.setText(_("Edit metadata (single) layout:"))
        self.opt_edit_metadata_single_layout.setToolTip(_("Choose a different layout for the Edit Metadata dialog. The compact metadata layout favors editing custom metadata over changing covers and formats."))
        self.groupBox_5.setTitle(_("Preferred &input format order:"))
        self.input_up_button.setText(_("..."))
        self.input_down_button.setText(_("..."))
        self.groupBox_3.setTitle(_("Use internal &viewer for:"))
        self.reset_confirmation_button.setText(_("Reset all disabled &confirmation dialogs"))


