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

plugins_ui.py

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

# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/preferences/plugins.ui'
#
# Created: Fri Nov  5 12:08:54 2010
#      by: PyQt4 UI code generator 4.8.1
#
# 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(723, 540)
        self.verticalLayout = QtGui.QVBoxLayout(Form)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label_8 = QtGui.QLabel(Form)
        self.label_8.setWordWrap(True)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.verticalLayout.addWidget(self.label_8)
        self.plugin_view = QtGui.QTreeView(Form)
        self.plugin_view.setAlternatingRowColors(True)
        self.plugin_view.setIconSize(QtCore.QSize(32, 32))
        self.plugin_view.setAnimated(True)
        self.plugin_view.setWordWrap(True)
        self.plugin_view.setHeaderHidden(True)
        self.plugin_view.setObjectName(_fromUtf8("plugin_view"))
        self.verticalLayout.addWidget(self.plugin_view)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.toggle_plugin_button = QtGui.QPushButton(Form)
        self.toggle_plugin_button.setObjectName(_fromUtf8("toggle_plugin_button"))
        self.horizontalLayout_6.addWidget(self.toggle_plugin_button)
        self.customize_plugin_button = QtGui.QPushButton(Form)
        self.customize_plugin_button.setObjectName(_fromUtf8("customize_plugin_button"))
        self.horizontalLayout_6.addWidget(self.customize_plugin_button)
        self.remove_plugin_button = QtGui.QPushButton(Form)
        self.remove_plugin_button.setObjectName(_fromUtf8("remove_plugin_button"))
        self.horizontalLayout_6.addWidget(self.remove_plugin_button)
        self.verticalLayout.addLayout(self.horizontalLayout_6)
        self.groupBox_4 = QtGui.QGroupBox(Form)
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.groupBox_4)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.label_14 = QtGui.QLabel(self.groupBox_4)
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.horizontalLayout_5.addWidget(self.label_14)
        self.plugin_path = QtGui.QLineEdit(self.groupBox_4)
        self.plugin_path.setObjectName(_fromUtf8("plugin_path"))
        self.horizontalLayout_5.addWidget(self.plugin_path)
        self.button_plugin_browse = QtGui.QToolButton(self.groupBox_4)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(I("document_open.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.button_plugin_browse.setIcon(icon)
        self.button_plugin_browse.setObjectName(_fromUtf8("button_plugin_browse"))
        self.horizontalLayout_5.addWidget(self.button_plugin_browse)
        self.verticalLayout_5.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem)
        self.button_plugin_add = QtGui.QPushButton(self.groupBox_4)
        self.button_plugin_add.setObjectName(_fromUtf8("button_plugin_add"))
        self.horizontalLayout_4.addWidget(self.button_plugin_add)
        self.verticalLayout_5.addLayout(self.horizontalLayout_4)
        self.verticalLayout.addWidget(self.groupBox_4)
        self.label_14.setBuddy(self.plugin_path)

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

    def retranslateUi(self, Form):
        Form.setWindowTitle(_("Form"))
        self.label_8.setText(_("Here you can customize the behavior of Calibre by controlling what plugins it uses."))
        self.toggle_plugin_button.setText(_("Enable/&Disable plugin"))
        self.customize_plugin_button.setText(_("&Customize plugin"))
        self.remove_plugin_button.setText(_("&Remove plugin"))
        self.groupBox_4.setTitle(_("Add new plugin"))
        self.label_14.setText(_("Plugin &file:"))
        self.button_plugin_browse.setText(_("..."))
        self.button_plugin_add.setText(_("&Add"))



Generated by  Doxygen 1.6.0   Back to index