improved about dialog

This commit is contained in:
Christopher Roy Bratusek 2012-08-22 22:46:56 +02:00
parent 66a1f877a6
commit ff66c4109e
5 changed files with 11 additions and 10 deletions

View File

@ -13,6 +13,7 @@
- display reserved - display reserved
- display required IOS (properly) - display required IOS (properly)
- use QLabel instead of QLineEdit - use QLabel instead of QLineEdit
* improved about dialog
-- 0.3 -- -- 0.3 --
* Updated some porject's files which still referenced wii signer * Updated some porject's files which still referenced wii signer

View File

@ -12,32 +12,32 @@ from PyQt4 import QtCore, QtGui
class Ui_Dialog(object): class Ui_Dialog(object):
def setupUi(self, Dialog): def setupUi(self, Dialog):
Dialog.setObjectName("Dialog") Dialog.setObjectName("Dialog")
Dialog.resize(441, 496) Dialog.resize(450, 325)
icon = QtGui.QIcon() icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(":/icons/wad.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) icon.addPixmap(QtGui.QPixmap(":/icons/wad.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Dialog.setWindowIcon(icon) Dialog.setWindowIcon(icon)
self.QwadIcon = QtGui.QLabel(Dialog) self.QwadIcon = QtGui.QLabel(Dialog)
self.QwadIcon.setGeometry(QtCore.QRect(150, 0, 131, 131)) self.QwadIcon.setGeometry(QtCore.QRect(160, 0, 131, 131))
self.QwadIcon.setPixmap(QtGui.QPixmap(":/icons/wad.png")) self.QwadIcon.setPixmap(QtGui.QPixmap(":/icons/wad.png"))
self.QwadIcon.setScaledContents(False) #self.QwadIcon.setScaledContents(False)
self.QwadIcon.setObjectName("QwadIcon") self.QwadIcon.setObjectName("QwadIcon")
self.Qwad_name = QtGui.QLabel(Dialog) self.Qwad_name = QtGui.QLabel(Dialog)
self.Qwad_name.setGeometry(QtCore.QRect(170, 110, 91, 51)) self.Qwad_name.setGeometry(QtCore.QRect(70, 70, 91, 51))
self.Qwad_name.setObjectName("Qwad_name") self.Qwad_name.setObjectName("Qwad_name")
self.Version = QtGui.QLabel(Dialog) self.Version = QtGui.QLabel(Dialog)
self.Version.setGeometry(QtCore.QRect(180, 150, 51, 21)) self.Version.setGeometry(QtCore.QRect(70, 110, 51, 20))
self.Version.setObjectName("Version") self.Version.setObjectName("Version")
self.byAuthor = QtGui.QLabel(Dialog) self.byAuthor = QtGui.QLabel(Dialog)
self.byAuthor.setGeometry(QtCore.QRect(70, 170, 51, 20)) self.byAuthor.setGeometry(QtCore.QRect(70, 125, 51, 20))
self.byAuthor.setObjectName("byAuthor") self.byAuthor.setObjectName("byAuthor")
self.versionNumber = QtGui.QLabel(Dialog) self.versionNumber = QtGui.QLabel(Dialog)
self.versionNumber.setGeometry(QtCore.QRect(230, 150, 131, 21)) self.versionNumber.setGeometry(QtCore.QRect(120, 110, 131, 20))
self.versionNumber.setObjectName("versionNumber") self.versionNumber.setObjectName("versionNumber")
self.AuthorName = QtGui.QLabel(Dialog) self.AuthorName = QtGui.QLabel(Dialog)
self.AuthorName.setGeometry(QtCore.QRect(120, 170, 311, 20)) self.AuthorName.setGeometry(QtCore.QRect(120, 125, 311, 20))
self.AuthorName.setObjectName("AuthorName") self.AuthorName.setObjectName("AuthorName")
self.abuttabs = QtGui.QTabWidget(Dialog) self.abuttabs = QtGui.QTabWidget(Dialog)
self.abuttabs.setGeometry(QtCore.QRect(10, 200, 421, 281)) self.abuttabs.setGeometry(QtCore.QRect(10, 150, 421, 150))
self.abuttabs.setObjectName("abuttabs") self.abuttabs.setObjectName("abuttabs")
self.licensetab = QtGui.QWidget() self.licensetab = QtGui.QWidget()
self.licensetab.setObjectName("licensetab") self.licensetab.setObjectName("licensetab")
@ -73,7 +73,7 @@ class Ui_Dialog(object):
self.byAuthor.setText(QtGui.QApplication.translate("Dialog", "Author: ", 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.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.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. Qwad is only a frontend for their unbelievably awesome framework.", 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)) self.abuttabs.setTabText(self.abuttabs.indexOf(self.thankstab), QtGui.QApplication.translate("Dialog", "Thanks", None, QtGui.QApplication.UnicodeUTF8))
import Qwad_rc import Qwad_rc

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB