diff --git a/src/ui/sources/Ui_dialog_createUser.py b/src/ui/sources/Ui_dialog_createUser.py index 36c2ff4..039367a 100644 --- a/src/ui/sources/Ui_dialog_createUser.py +++ b/src/ui/sources/Ui_dialog_createUser.py @@ -47,6 +47,8 @@ class Ui_Dialog(object): self.buttonBox.accepted.connect(Dialog.accept) # type: ignore self.buttonBox.rejected.connect(Dialog.reject) # type: ignore QtCore.QMetaObject.connectSlotsByName(Dialog) + Dialog.setTabOrder(self.username, self.userno) + Dialog.setTabOrder(self.userno, self.user_mail) def retranslateUi(self, Dialog): _translate = QtCore.QCoreApplication.translate diff --git a/src/ui/sources/Ui_dialog_multipleUserfound.py b/src/ui/sources/Ui_dialog_multipleUserfound.py new file mode 100644 index 0000000..074ac2e --- /dev/null +++ b/src/ui/sources/Ui_dialog_multipleUserfound.py @@ -0,0 +1,52 @@ +# Form implementation generated from reading ui file 'c:\Users\aky547\GitHub\LibrarySystem\src\ui\sources\dialog_multipleUserfound.ui' +# +# Created by: PyQt6 UI code generator 6.6.1 +# +# WARNING: Any manual changes made to this file will be lost when pyuic6 is +# run again. Do not edit this file unless you know what you are doing. + + +from PyQt6 import QtCore, QtGui, QtWidgets + + +class Ui_Dialog(object): + def setupUi(self, Dialog): + Dialog.setObjectName("Dialog") + Dialog.resize(470, 300) + self.verticalLayout = QtWidgets.QVBoxLayout(Dialog) + self.verticalLayout.setObjectName("verticalLayout") + self.label = QtWidgets.QLabel(parent=Dialog) + self.label.setObjectName("label") + self.verticalLayout.addWidget(self.label) + self.tableWidget = QtWidgets.QTableWidget(parent=Dialog) + self.tableWidget.setObjectName("tableWidget") + self.tableWidget.setColumnCount(3) + self.tableWidget.setRowCount(0) + item = QtWidgets.QTableWidgetItem() + self.tableWidget.setHorizontalHeaderItem(0, item) + item = QtWidgets.QTableWidgetItem() + self.tableWidget.setHorizontalHeaderItem(1, item) + item = QtWidgets.QTableWidgetItem() + self.tableWidget.setHorizontalHeaderItem(2, item) + self.verticalLayout.addWidget(self.tableWidget) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=Dialog) + self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) + self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) + self.buttonBox.setObjectName("buttonBox") + self.verticalLayout.addWidget(self.buttonBox) + + self.retranslateUi(Dialog) + self.buttonBox.accepted.connect(Dialog.accept) # type: ignore + self.buttonBox.rejected.connect(Dialog.reject) # type: ignore + QtCore.QMetaObject.connectSlotsByName(Dialog) + + def retranslateUi(self, Dialog): + _translate = QtCore.QCoreApplication.translate + Dialog.setWindowTitle(_translate("Dialog", "Dialog")) + self.label.setText(_translate("Dialog", "Es wurden mehrere passende Personen gefunden. Bitte die richtige Person auswählen.")) + item = self.tableWidget.horizontalHeaderItem(0) + item.setText(_translate("Dialog", "Matrikelnr.")) + item = self.tableWidget.horizontalHeaderItem(1) + item.setText(_translate("Dialog", "Name, Vorname")) + item = self.tableWidget.horizontalHeaderItem(2) + item.setText(_translate("Dialog", "eMail")) diff --git a/src/ui/sources/dialog_createUser.ui b/src/ui/sources/dialog_createUser.ui index 051bb7b..60efe56 100644 --- a/src/ui/sources/dialog_createUser.ui +++ b/src/ui/sources/dialog_createUser.ui @@ -76,6 +76,11 @@ + + username + userno + user_mail + diff --git a/src/ui/sources/dialog_multipleUserfound.ui b/src/ui/sources/dialog_multipleUserfound.ui new file mode 100644 index 0000000..fd5cd8b --- /dev/null +++ b/src/ui/sources/dialog_multipleUserfound.ui @@ -0,0 +1,90 @@ + + + Dialog + + + + 0 + 0 + 470 + 300 + + + + Dialog + + + + + + Es wurden mehrere passende Personen gefunden. Bitte die richtige Person auswählen. + + + + + + + + Matrikelnr. + + + + + Name, Vorname + + + + + eMail + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + buttonBox + accepted() + Dialog + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + Dialog + reject() + + + 316 + 260 + + + 286 + 274 + + + + +