Initial
This commit is contained in:
@@ -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.
|
||||||
@@ -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()
|
||||||
Reference in New Issue
Block a user