mangle/ui/about_ui.py

71 lines
4.2 KiB
Python
Raw Normal View History

2011-08-28 14:57:22 +00:00
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'dev/ui/about.ui'
#
2011-08-28 23:12:48 +00:00
# Created: Sun Aug 28 16:12:10 2011
# by: PyQt4 UI code generator 4.8.5
2011-08-28 14:57:22 +00:00
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
2011-08-28 23:12:48 +00:00
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
_fromUtf8 = lambda s: s
2011-08-28 14:57:22 +00:00
class Ui_DialogAbout(object):
def setupUi(self, DialogAbout):
2011-08-28 23:12:48 +00:00
DialogAbout.setObjectName(_fromUtf8("DialogAbout"))
2011-08-28 14:57:22 +00:00
DialogAbout.resize(470, 200)
2011-08-28 23:12:48 +00:00
DialogAbout.setWindowTitle(QtGui.QApplication.translate("DialogAbout", "About", None, QtGui.QApplication.UnicodeUTF8))
2011-08-28 14:57:22 +00:00
self.horizontalLayout = QtGui.QHBoxLayout(DialogAbout)
self.horizontalLayout.setSpacing(0)
self.horizontalLayout.setSizeConstraint(QtGui.QLayout.SetFixedSize)
self.horizontalLayout.setMargin(0)
2011-08-28 23:12:48 +00:00
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
2011-08-28 14:57:22 +00:00
self.label = QtGui.QLabel(DialogAbout)
2011-08-28 23:12:48 +00:00
self.label.setPixmap(QtGui.QPixmap(_fromUtf8(":/img/img/banner_about.png")))
self.label.setObjectName(_fromUtf8("label"))
2011-08-28 14:57:22 +00:00
self.horizontalLayout.addWidget(self.label)
self.verticalLayout = QtGui.QVBoxLayout()
self.verticalLayout.setMargin(9)
2011-08-28 23:12:48 +00:00
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
2011-08-28 14:57:22 +00:00
self.labelReadme = QtGui.QLabel(DialogAbout)
self.labelReadme.setMinimumSize(QtCore.QSize(350, 0))
2011-08-28 23:12:48 +00:00
self.labelReadme.setText(QtGui.QApplication.translate("DialogAbout", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:14pt;\">Mangle</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Version 2.2</p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Manga processor by Alex Yatskov for the Kindle e-book reader. Please see <span style=\" font-style:italic;\">license.txt</span> for licensing information. Visit the homepage at <a href=\"http://foosoft.net/mangle\"><span style=\" text-decoration: underline; color:#0000ff;\">http://foosoft.net/mangle</span></a>.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
2011-08-28 14:57:22 +00:00
self.labelReadme.setWordWrap(True)
self.labelReadme.setOpenExternalLinks(True)
2011-08-28 23:12:48 +00:00
self.labelReadme.setObjectName(_fromUtf8("labelReadme"))
2011-08-28 14:57:22 +00:00
self.verticalLayout.addWidget(self.labelReadme)
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.verticalLayout.addItem(spacerItem)
spacerItem1 = QtGui.QSpacerItem(0, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem1)
self.buttonBox = QtGui.QDialogButtonBox(DialogAbout)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.buttonBox.sizePolicy().hasHeightForWidth())
self.buttonBox.setSizePolicy(sizePolicy)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok)
2011-08-28 23:12:48 +00:00
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
2011-08-28 14:57:22 +00:00
self.verticalLayout.addWidget(self.buttonBox)
self.horizontalLayout.addLayout(self.verticalLayout)
self.retranslateUi(DialogAbout)
2011-08-28 23:12:48 +00:00
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), DialogAbout.accept)
2011-08-28 14:57:22 +00:00
QtCore.QMetaObject.connectSlotsByName(DialogAbout)
def retranslateUi(self, DialogAbout):
2011-08-28 23:12:48 +00:00
pass
2011-08-28 14:57:22 +00:00
import resources_rc