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

book_info_ui.py

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

# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/dialogs/book_info.ui'
#
# Created: Sat Sep  4 12:53:16 2010
#      by: PyQt4 UI code generator 4.7.5
#
# 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_BookInfo(object):
    def setupUi(self, BookInfo):
        BookInfo.setObjectName(_fromUtf8("BookInfo"))
        BookInfo.resize(917, 783)
        self.gridLayout = QtGui.QGridLayout(BookInfo)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.title = QtGui.QLabel(BookInfo)
        self.title.setAlignment(QtCore.Qt.AlignCenter)
        self.title.setObjectName(_fromUtf8("title"))
        self.gridLayout.addWidget(self.title, 0, 0, 1, 2)
        self.cover = QtGui.QGraphicsView(BookInfo)
        self.cover.setObjectName(_fromUtf8("cover"))
        self.gridLayout.addWidget(self.cover, 1, 0, 1, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.text = QtGui.QLabel(BookInfo)
        self.text.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.text.setWordWrap(True)
        self.text.setObjectName(_fromUtf8("text"))
        self.verticalLayout.addWidget(self.text)
        self.groupBox = QtGui.QGroupBox(BookInfo)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridlayout = QtGui.QGridLayout(self.groupBox)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.comments = QtGui.QTextBrowser(self.groupBox)
        self.comments.setObjectName(_fromUtf8("comments"))
        self.gridlayout.addWidget(self.comments, 0, 0, 1, 1)
        self.verticalLayout.addWidget(self.groupBox)
        self.fit_cover = QtGui.QCheckBox(BookInfo)
        self.fit_cover.setObjectName(_fromUtf8("fit_cover"))
        self.verticalLayout.addWidget(self.fit_cover)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.previous_button = QtGui.QPushButton(BookInfo)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(I("previous.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.previous_button.setIcon(icon)
        self.previous_button.setObjectName(_fromUtf8("previous_button"))
        self.horizontalLayout.addWidget(self.previous_button)
        self.next_button = QtGui.QPushButton(BookInfo)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(I("next.png"))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.next_button.setIcon(icon1)
        self.next_button.setObjectName(_fromUtf8("next_button"))
        self.horizontalLayout.addWidget(self.next_button)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.gridLayout.addLayout(self.verticalLayout, 1, 1, 1, 1)

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

    def retranslateUi(self, BookInfo):
        BookInfo.setWindowTitle(_("Dialog"))
        self.title.setText(_("TextLabel"))
        self.text.setText(_("TextLabel"))
        self.groupBox.setTitle(_("Comments"))
        self.fit_cover.setText(_("Fit &cover within view"))
        self.previous_button.setText(_("&Previous"))
        self.next_button.setText(_("&Next"))



Generated by  Doxygen 1.6.0   Back to index