From 4ab16d8837fd7b0f7a356a82c8e3ee72081cc667 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sat, 10 Nov 2012 19:29:45 +0100 Subject: [PATCH] minor ui adjustments --- GUI/Ui_AboutQwad.py | 20 ++++++-------------- GUI/Ui_VenPri.py | 2 +- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/GUI/Ui_AboutQwad.py b/GUI/Ui_AboutQwad.py index 7fd0c5c..ab3f73c 100644 --- a/GUI/Ui_AboutQwad.py +++ b/GUI/Ui_AboutQwad.py @@ -14,27 +14,24 @@ class Ui_Dialog(object): Dialog.setObjectName("Dialog") Dialog.resize(450, 325) 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) self.QwadIcon = QtGui.QLabel(Dialog) 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.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.setGeometry(QtCore.QRect(70, 110, 51, 20)) + self.Version.setGeometry(QtCore.QRect(40, 90, 51, 20)) self.Version.setObjectName("Version") 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.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.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.abuttabs = QtGui.QTabWidget(Dialog) self.abuttabs.setGeometry(QtCore.QRect(10, 150, 421, 150)) @@ -64,11 +61,6 @@ class Ui_Dialog(object): def retranslateUi(self, Dialog): Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8)) - self.Qwad_name.setText(QtGui.QApplication.translate("Dialog", "\n" -"\n" -"

Qwad

", 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)) diff --git a/GUI/Ui_VenPri.py b/GUI/Ui_VenPri.py index 330adcf..4803d67 100644 --- a/GUI/Ui_VenPri.py +++ b/GUI/Ui_VenPri.py @@ -16,7 +16,7 @@ class Ui_Qwad(object): Qwad.setMinimumSize(QtCore.QSize(481, 296)) Qwad.setMaximumSize(QtCore.QSize(481, 296)) 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) self.centralWidget = QtGui.QWidget(Qwad) self.centralWidget.setObjectName("centralWidget")