minor ui adjustments

This commit is contained in:
Christopher Roy Bratusek 2012-11-10 19:29:45 +01:00
parent 50ba8e8e9e
commit 4ab16d8837
2 changed files with 7 additions and 15 deletions

View File

@ -14,27 +14,24 @@ class Ui_Dialog(object):
Dialog.setObjectName("Dialog") Dialog.setObjectName("Dialog")
Dialog.resize(450, 325) 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(160, 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.setGeometry(QtCore.QRect(70, 70, 91, 51))
self.Qwad_name.setObjectName("Qwad_name")
self.Version = QtGui.QLabel(Dialog) self.Version = QtGui.QLabel(Dialog)
self.Version.setGeometry(QtCore.QRect(70, 110, 51, 20)) self.Version.setGeometry(QtCore.QRect(40, 90, 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, 125, 51, 20)) self.byAuthor.setGeometry(QtCore.QRect(40, 115, 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(120, 110, 131, 20)) self.versionNumber.setGeometry(QtCore.QRect(90, 90, 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, 125, 311, 20)) self.AuthorName.setGeometry(QtCore.QRect(90, 115, 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, 150, 421, 150)) self.abuttabs.setGeometry(QtCore.QRect(10, 150, 421, 150))
@ -64,11 +61,6 @@ class Ui_Dialog(object):
def retranslateUi(self, Dialog): def retranslateUi(self, Dialog):
Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8)) Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
self.Qwad_name.setText(QtGui.QApplication.translate("Dialog", "<!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:\'DejaVu Sans\'; font-size:9pt; font-weight:300; 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:22pt; font-weight:600;\">Qwad</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.Version.setText(QtGui.QApplication.translate("Dialog", "Version", 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.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))

View File

@ -16,7 +16,7 @@ class Ui_Qwad(object):
Qwad.setMinimumSize(QtCore.QSize(481, 296)) Qwad.setMinimumSize(QtCore.QSize(481, 296))
Qwad.setMaximumSize(QtCore.QSize(481, 296)) Qwad.setMaximumSize(QtCore.QSize(481, 296))
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)
Qwad.setWindowIcon(icon) Qwad.setWindowIcon(icon)
self.centralWidget = QtGui.QWidget(Qwad) self.centralWidget = QtGui.QWidget(Qwad)
self.centralWidget.setObjectName("centralWidget") self.centralWidget.setObjectName("centralWidget")