1
0
forked from IPKM/nmreval

add disclaimer

This commit is contained in:
Dominik Demuth 2024-09-29 15:50:50 +02:00
parent f185b24967
commit 4b75aa9267

View File

@ -15,6 +15,10 @@ class QEditor(QUsermodelEditor):
self.add_run_button()
def add_run_button(self):
self.disclaimer = QtWidgets.QLabel("This is work in progress and less than perfect :(")
self.disclaimer.setStyleSheet('QLabel {color: rgb(255, 0, 0); font-weight: bold; font-size: 2.5em;};')
self.centralwidget.layout().insertWidget(0, self.disclaimer)
self.run_button = QtWidgets.QPushButton("Run")
self.centralwidget.layout().addWidget(self.run_button)