add tooltip, icon

This commit is contained in:
WorldTeacher
2024-07-03 14:42:41 +02:00
parent 72b43685c3
commit 7cfb1df9f4

View File

@@ -41,6 +41,13 @@ class ElsaAddEntry(QtWidgets.QDialog, Ui_Dialog):
self.setWindowIcon(Icon("edit").icon) self.setWindowIcon(Icon("edit").icon)
self.stackedWidget.setEnabled(False) self.stackedWidget.setEnabled(False)
self.btn_hg.setChecked(False) self.btn_hg.setChecked(False)
tooptip = "Hier die Seiten des Scans eintragen, z.B. 1-10"
self.page_warn.setToolTip(tooptip)
self.page_warn_2.setToolTip(tooptip)
self.page_warn_3.setToolTip(tooptip)
Icon("important_warn", self.page_warn)
Icon("important_warn", self.page_warn_2)
Icon("important_warn", self.page_warn_3)
self.data = None self.data = None
def copy_to_clipboard(self, field): def copy_to_clipboard(self, field):