qwad/GUI/Ui_AboutQwad.py

82 lines
3.9 KiB
Python
Raw Normal View History

2012-08-21 19:28:14 +02:00
# -*- 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")
2012-08-22 22:46:56 +02:00
Dialog.resize(450, 325)
2012-08-21 19:28:14 +02:00
icon = QtGui.QIcon()
2012-11-10 19:29:45 +01:00
icon.addPixmap(QtGui.QPixmap("icons/wad.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
2012-08-21 19:28:14 +02:00
Dialog.setWindowIcon(icon)
self.QwadIcon = QtGui.QLabel(Dialog)
2012-08-22 22:46:56 +02:00
self.QwadIcon.setGeometry(QtCore.QRect(160, 0, 131, 131))
2012-11-10 19:29:45 +01:00
self.QwadIcon.setPixmap(QtGui.QPixmap("icons/wad.png"))
2012-08-22 22:46:56 +02:00
#self.QwadIcon.setScaledContents(False)
2012-08-21 19:28:14 +02:00
self.QwadIcon.setObjectName("QwadIcon")
self.Version = QtGui.QLabel(Dialog)
2012-11-10 19:29:45 +01:00
self.Version.setGeometry(QtCore.QRect(40, 90, 51, 20))
2012-08-21 19:28:14 +02:00
self.Version.setObjectName("Version")
self.byAuthor = QtGui.QLabel(Dialog)
2012-11-10 19:29:45 +01:00
self.byAuthor.setGeometry(QtCore.QRect(40, 115, 51, 20))
2012-08-21 19:28:14 +02:00
self.byAuthor.setObjectName("byAuthor")
self.versionNumber = QtGui.QLabel(Dialog)
2012-11-10 19:29:45 +01:00
self.versionNumber.setGeometry(QtCore.QRect(90, 90, 131, 20))
2012-08-21 19:28:14 +02:00
self.versionNumber.setObjectName("versionNumber")
self.AuthorName = QtGui.QLabel(Dialog)
2012-11-10 19:29:45 +01:00
self.AuthorName.setGeometry(QtCore.QRect(90, 115, 311, 20))
2012-08-21 19:28:14 +02:00
self.AuthorName.setObjectName("AuthorName")
self.abuttabs = QtGui.QTabWidget(Dialog)
2012-08-22 22:46:56 +02:00
self.abuttabs.setGeometry(QtCore.QRect(10, 150, 421, 150))
2012-08-21 19:28:14 +02:00
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))
2012-08-22 21:47:43 +02:00
self.textEdit.setText(QtGui.QApplication.translate("Dialog", "GNU General Public License v3", None, QtGui.QApplication.UnicodeUTF8))
2012-08-21 19:28:14 +02:00
self.abuttabs.setTabText(self.abuttabs.indexOf(self.licensetab), QtGui.QApplication.translate("Dialog", "License", None, QtGui.QApplication.UnicodeUTF8))
2012-08-22 22:46:56 +02:00
self.label.setText(QtGui.QApplication.translate("Dialog", "Thanks to Wii.py team: Xuzz, SquidMan, megazig, TheLemonMan, |Omega, and Matt_P.", None, QtGui.QApplication.UnicodeUTF8))
2012-08-21 19:28:14 +02:00
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_())