From 430bd172a1f6e005ce919fc226673d9a5b73ec9c Mon Sep 17 00:00:00 2001 From: Papoteur Date: Thu, 5 May 2016 16:07:09 +0200 Subject: Set tab order in Rename dialog box --- mageiaSync/mageiaSyncDBrename.py | 8 ++++---- mageiaSync/mageiaSyncDBrename.ui | 9 +++++++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/mageiaSync/mageiaSyncDBrename.py b/mageiaSync/mageiaSyncDBrename.py index b638e10..7164889 100644 --- a/mageiaSync/mageiaSyncDBrename.py +++ b/mageiaSync/mageiaSyncDBrename.py @@ -2,8 +2,7 @@ # Form implementation generated from reading ui file 'mageiaSyncDBrename.ui' # -# Created: Sat Sep 20 19:26:15 2014 -# by: PyQt5 UI code generator 5.1.1 +# Created by: PyQt5 UI code generator 5.4.2 # # WARNING! All changes made in this file will be lost! @@ -21,10 +20,9 @@ class Ui_renameDialog(object): self.buttonBox.setCenterButtons(True) self.buttonBox.setObjectName("buttonBox") self.gridLayoutWidget = QtWidgets.QWidget(renameDialog) - self.gridLayoutWidget.setGeometry(QtCore.QRect(0, 0, 556, 100)) + self.gridLayoutWidget.setGeometry(QtCore.QRect(0, 0, 655, 115)) self.gridLayoutWidget.setObjectName("gridLayoutWidget") self.gridLayout = QtWidgets.QGridLayout(self.gridLayoutWidget) - self.gridLayout.setContentsMargins(0, 0, 0, 0) self.gridLayout.setObjectName("gridLayout") self.label = QtWidgets.QLabel(self.gridLayoutWidget) self.label.setObjectName("label") @@ -55,6 +53,8 @@ class Ui_renameDialog(object): self.buttonBox.accepted.connect(renameDialog.accept) self.buttonBox.rejected.connect(renameDialog.reject) QtCore.QMetaObject.connectSlotsByName(renameDialog) + renameDialog.setTabOrder(self.chooseDir, self.oldRelease) + renameDialog.setTabOrder(self.oldRelease, self.newRelease) def retranslateUi(self, renameDialog): _translate = QtCore.QCoreApplication.translate diff --git a/mageiaSync/mageiaSyncDBrename.ui b/mageiaSync/mageiaSyncDBrename.ui index 1f0ae5a..9db208e 100644 --- a/mageiaSync/mageiaSyncDBrename.ui +++ b/mageiaSync/mageiaSyncDBrename.ui @@ -40,8 +40,8 @@ 0 0 - 556 - 100 + 655 + 115 @@ -98,6 +98,11 @@ + + chooseDir + oldRelease + newRelease + -- cgit v1.2.1