feat: add "save and create" button
This commit is contained in:
@@ -584,13 +584,13 @@ class Ui_MainWindow(object):
|
||||
self.valid_check_telnr.setText("")
|
||||
self.valid_check_telnr.setAutoRaise(True)
|
||||
self.valid_check_telnr.setObjectName("valid_check_telnr")
|
||||
self.pushButton = QtWidgets.QPushButton(parent=self.app_group_box)
|
||||
self.pushButton.setGeometry(QtCore.QRect(270, 180, 161, 24))
|
||||
self.saveandcreate = QtWidgets.QPushButton(parent=self.app_group_box)
|
||||
self.saveandcreate.setGeometry(QtCore.QRect(270, 180, 161, 24))
|
||||
font = QtGui.QFont()
|
||||
font.setPointSize(9)
|
||||
font.setBold(False)
|
||||
self.pushButton.setFont(font)
|
||||
self.pushButton.setObjectName("pushButton")
|
||||
self.saveandcreate.setFont(font)
|
||||
self.saveandcreate.setObjectName("saveandcreate")
|
||||
self.gridLayout_2.addWidget(self.app_group_box, 1, 0, 1, 1)
|
||||
self.add_medium = QtWidgets.QPushButton(parent=self.createApparat)
|
||||
self.add_medium.setGeometry(QtCore.QRect(3, 695, 121, 20))
|
||||
@@ -816,7 +816,7 @@ class Ui_MainWindow(object):
|
||||
MainWindow.setTabOrder(self.select_action_box, self.prof_id_adis)
|
||||
MainWindow.setTabOrder(self.prof_id_adis, self.apparat_id_adis)
|
||||
MainWindow.setTabOrder(self.apparat_id_adis, self.automation_add_selected_books)
|
||||
MainWindow.setTabOrder(self.automation_add_selected_books, self.pushButton)
|
||||
MainWindow.setTabOrder(self.automation_add_selected_books, self.saveandcreate)
|
||||
|
||||
def retranslateUi(self, MainWindow):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
@@ -904,7 +904,7 @@ class Ui_MainWindow(object):
|
||||
self.label_6.setText(_translate("MainWindow", "Semester"))
|
||||
self.valid_check_profname.setStatusTip(_translate("MainWindow", "Format: Nachname, Vorname"))
|
||||
self.valid_check_mail.setStatusTip(_translate("MainWindow", "mail@irgendwas.wasanderes"))
|
||||
self.pushButton.setText(_translate("MainWindow", "Speichern und anlegen"))
|
||||
self.saveandcreate.setText(_translate("MainWindow", "Speichern und anlegen"))
|
||||
self.add_medium.setText(_translate("MainWindow", "Medien hinzufügen"))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.createApparat), _translate("MainWindow", "Anlegen"))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.search_statistics), _translate("MainWindow", "Suchen / Statistik"))
|
||||
|
||||
@@ -1484,7 +1484,7 @@
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<widget class="QPushButton" name="saveandcreate">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>270</x>
|
||||
@@ -1978,7 +1978,7 @@
|
||||
<tabstop>prof_id_adis</tabstop>
|
||||
<tabstop>apparat_id_adis</tabstop>
|
||||
<tabstop>automation_add_selected_books</tabstop>
|
||||
<tabstop>pushButton</tabstop>
|
||||
<tabstop>saveandcreate</tabstop>
|
||||
</tabstops>
|
||||
<resources>
|
||||
<include location="../../resources.qrc"/>
|
||||
|
||||
Reference in New Issue
Block a user