qwad/GUI/Ui_AboutQwad.py
Christopher Roy Bratusek 4ab16d8837 minor ui adjustments
2012-11-10 19:29:45 +01:00

82 lines
3.9 KiB
Python

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '/home/ssorgatem/Documents/python/Qwad/GUI/AboutQwad.ui'
#
# Created: Sat Jul 25 02:02:44 2009
# by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(450, 325)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("icons/wad.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Dialog.setWindowIcon(icon)
self.QwadIcon = QtGui.QLabel(Dialog)
self.QwadIcon.setGeometry(QtCore.QRect(160, 0, 131, 131))
self.QwadIcon.setPixmap(QtGui.QPixmap("icons/wad.png"))
#self.QwadIcon.setScaledContents(False)
self.QwadIcon.setObjectName("QwadIcon")
self.Version = QtGui.QLabel(Dialog)
self.Version.setGeometry(QtCore.QRect(40, 90, 51, 20))
self.Version.setObjectName("Version")
self.byAuthor = QtGui.QLabel(Dialog)
self.byAuthor.setGeometry(QtCore.QRect(40, 115, 51, 20))
self.byAuthor.setObjectName("byAuthor")
self.versionNumber = QtGui.QLabel(Dialog)
self.versionNumber.setGeometry(QtCore.QRect(90, 90, 131, 20))
self.versionNumber.setObjectName("versionNumber")
self.AuthorName = QtGui.QLabel(Dialog)
self.AuthorName.setGeometry(QtCore.QRect(90, 115, 311, 20))
self.AuthorName.setObjectName("AuthorName")
self.abuttabs = QtGui.QTabWidget(Dialog)
self.abuttabs.setGeometry(QtCore.QRect(10, 150, 421, 150))
self.abuttabs.setObjectName("abuttabs")
self.licensetab = QtGui.QWidget()
self.licensetab.setObjectName("licensetab")
self.textEdit = QtGui.QTextEdit(self.licensetab)
self.textEdit.setGeometry(QtCore.QRect(0, 10, 411, 231))
self.textEdit.setUndoRedoEnabled(False)
self.textEdit.setReadOnly(True)
self.textEdit.setAcceptRichText(False)
self.textEdit.setObjectName("textEdit")
self.abuttabs.addTab(self.licensetab, "")
self.thankstab = QtGui.QWidget()
self.thankstab.setObjectName("thankstab")
self.label = QtGui.QLabel(self.thankstab)
self.label.setGeometry(QtCore.QRect(10, 10, 391, 121))
self.label.setScaledContents(True)
self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
self.label.setWordWrap(True)
self.label.setObjectName("label")
self.abuttabs.addTab(self.thankstab, "")
self.retranslateUi(Dialog)
self.abuttabs.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
self.Version.setText(QtGui.QApplication.translate("Dialog", "Version", None, QtGui.QApplication.UnicodeUTF8))
self.byAuthor.setText(QtGui.QApplication.translate("Dialog", "Author: ", None, QtGui.QApplication.UnicodeUTF8))
self.textEdit.setText(QtGui.QApplication.translate("Dialog", "GNU General Public License v3", None, QtGui.QApplication.UnicodeUTF8))
self.abuttabs.setTabText(self.abuttabs.indexOf(self.licensetab), QtGui.QApplication.translate("Dialog", "License", None, QtGui.QApplication.UnicodeUTF8))
self.label.setText(QtGui.QApplication.translate("Dialog", "Thanks to Wii.py team: Xuzz, SquidMan, megazig, TheLemonMan, |Omega, and Matt_P.", None, QtGui.QApplication.UnicodeUTF8))
self.abuttabs.setTabText(self.abuttabs.indexOf(self.thankstab), QtGui.QApplication.translate("Dialog", "Thanks", None, QtGui.QApplication.UnicodeUTF8))
import Qwad_rc
if __name__ == "__main__":
import sys
app = QtGui.QApplication(sys.argv)
Dialog = QtGui.QDialog()
ui = Ui_Dialog()
ui.setupUi(Dialog)
Dialog.show()
sys.exit(app.exec_())