From bc9d7cfd17da196f02d9d4fb841f56f984432593 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Tue, 21 Aug 2012 21:55:06 +0200 Subject: [PATCH] changed order of tabs, downloader is now default tab minor UI changes --- ChangeLog | 1 + GUI/Ui_VenPri.py | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4898dd6..1d9a4e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ * ensure Python 2.x is used, Python 3.x is not yet supported * separate combobox for choosing channels, system-menu in downloader as of now, region-code must be changed manually (instructions given) +* changed order of tabs, downloader is now default tab -- 0.3 -- * Updated some porject's files which still referenced wii signer diff --git a/GUI/Ui_VenPri.py b/GUI/Ui_VenPri.py index ad28619..54f105a 100644 --- a/GUI/Ui_VenPri.py +++ b/GUI/Ui_VenPri.py @@ -27,13 +27,13 @@ class Ui_Qwad(object): self.unpacktab = QtGui.QWidget() self.unpacktab.setObjectName("unpacktab") self.MuestraRutaWad = QtGui.QLineEdit(self.unpacktab) - self.MuestraRutaWad.setGeometry(QtCore.QRect(160, 40, 241, 26)) + self.MuestraRutaWad.setGeometry(QtCore.QRect(160, 40, 241, 25)) self.MuestraRutaWad.setObjectName("MuestraRutaWad") self.BotonRutaWad = QtGui.QToolButton(self.unpacktab) self.BotonRutaWad.setGeometry(QtCore.QRect(70, 40, 91, 25)) self.BotonRutaWad.setObjectName("BotonRutaWad") self.MuestraRutaExtraer = QtGui.QLineEdit(self.unpacktab) - self.MuestraRutaExtraer.setGeometry(QtCore.QRect(160, 110, 241, 26)) + self.MuestraRutaExtraer.setGeometry(QtCore.QRect(160, 110, 241, 25)) self.MuestraRutaExtraer.setObjectName("MuestraRutaExtraer") self.BotonRutaExtraer = QtGui.QToolButton(self.unpacktab) self.BotonRutaExtraer.setGeometry(QtCore.QRect(70, 110, 91, 25)) @@ -43,11 +43,10 @@ class Ui_Qwad(object): self.Desempaqueta = QtGui.QPushButton(self.unpacktab) self.Desempaqueta.setGeometry(QtCore.QRect(170, 180, 121, 25)) self.Desempaqueta.setObjectName("Desempaqueta") - self.tabWidget.addTab(self.unpacktab, "") self.TMDviewer = QtGui.QWidget() self.TMDviewer.setObjectName("TMDviewer") self.TMDfilepath = QtGui.QLineEdit(self.TMDviewer) - self.TMDfilepath.setGeometry(QtCore.QRect(150, 10, 241, 26)) + self.TMDfilepath.setGeometry(QtCore.QRect(150, 10, 241, 25)) self.TMDfilepath.setObjectName("TMDfilepath") self.TMDfilebutton = QtGui.QToolButton(self.TMDviewer) self.TMDfilebutton.setGeometry(QtCore.QRect(60, 10, 91, 25)) @@ -128,14 +127,13 @@ class Ui_Qwad(object): self.IOSversion = QtGui.QComboBox(self.widget) self.IOSversion.setObjectName("IOSversion") self.gridLayout.addWidget(self.IOSversion, 2, 1, 1, 1) - self.tabWidget.addTab(self.TMDviewer, "") self.packtab = QtGui.QWidget() self.packtab.setObjectName("packtab") self.MuestraRutaEmpaquetado = QtGui.QLineEdit(self.packtab) - self.MuestraRutaEmpaquetado.setGeometry(QtCore.QRect(160, 110, 241, 26)) + self.MuestraRutaEmpaquetado.setGeometry(QtCore.QRect(160, 110, 241, 25)) self.MuestraRutaEmpaquetado.setObjectName("MuestraRutaEmpaquetado") self.MuestraRutaDesempaquetado = QtGui.QLineEdit(self.packtab) - self.MuestraRutaDesempaquetado.setGeometry(QtCore.QRect(160, 40, 241, 26)) + self.MuestraRutaDesempaquetado.setGeometry(QtCore.QRect(160, 40, 241, 25)) self.MuestraRutaDesempaquetado.setObjectName("MuestraRutaDesempaquetado") self.BotonRutaEmpaquetado = QtGui.QToolButton(self.packtab) self.BotonRutaEmpaquetado.setGeometry(QtCore.QRect(70, 110, 91, 25)) @@ -148,7 +146,6 @@ class Ui_Qwad(object): self.Empaqueta = QtGui.QPushButton(self.packtab) self.Empaqueta.setGeometry(QtCore.QRect(170, 180, 121, 25)) self.Empaqueta.setObjectName("Empaqueta") - self.tabWidget.addTab(self.packtab, "") self.NUStab = QtGui.QWidget() self.NUStab.setObjectName("NUStab") self.NusOutputPath = QtGui.QLineEdit(self.NUStab) @@ -202,6 +199,9 @@ class Ui_Qwad(object): self.availableLabel.setGeometry(QtCore.QRect(40, 90, 120, 20)) self.availableLabel.setObjectName("availableLabel") self.tabWidget.addTab(self.NUStab, "") + self.tabWidget.addTab(self.unpacktab, "") + self.tabWidget.addTab(self.packtab, "") + self.tabWidget.addTab(self.TMDviewer, "") Qwad.setCentralWidget(self.centralWidget) self.menuBar = QtGui.QMenuBar(Qwad) self.menuBar.setGeometry(QtCore.QRect(0, 0, 481, 22)) @@ -227,7 +227,7 @@ class Ui_Qwad(object): self.menuBar.addAction(self.menuAyuda.menuAction()) self.retranslateUi(Qwad) - self.tabWidget.setCurrentIndex(1) + self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(Qwad) def retranslateUi(self, Qwad):