From 33a0f3a6d99962251cc37f5487ea29bfc7718e84 Mon Sep 17 00:00:00 2001 From: torsten Date: Sun, 26 Apr 2026 16:06:42 +0000 Subject: [PATCH] Initial --- README.md | 4 ++-- Teil_60_Qt_1.py | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 Teil_60_Qt_1.py diff --git a/README.md b/README.md index 2ad3d8a..25974e5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# Python - +## Mein Python Repository +In diesem Repository erscheinen alle meine Versuche mit Python. Es gibt kein bestimmtes Projekt, nur eventuelle Unterordner wo es mehr als nur eine Datei gibt. \ No newline at end of file diff --git a/Teil_60_Qt_1.py b/Teil_60_Qt_1.py new file mode 100644 index 0000000..865bced --- /dev/null +++ b/Teil_60_Qt_1.py @@ -0,0 +1,14 @@ +from PySide6.QtWidgets import QApplication, QMainWindow +from pyqt5_gui import Ui_MainWindow + +class Frm_main(QMainWindow, Ui_MainWindow): + def __init__(self): + super().__init__() + self.setupUi(self) + +app = QApplication() +frm_main = Frm_main() +frm_main.lbl_eins.setText("Ein Label") +#self.lbl_eins.setText(QCoreApplication.translate("MainWindow", u"Das Label", None)) +frm_main.show() +app.exec()