dev #295
@ -15,6 +15,10 @@ class QEditor(QUsermodelEditor):
|
|||||||
self.add_run_button()
|
self.add_run_button()
|
||||||
|
|
||||||
def add_run_button(self):
|
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.run_button = QtWidgets.QPushButton("Run")
|
||||||
self.centralwidget.layout().addWidget(self.run_button)
|
self.centralwidget.layout().addWidget(self.run_button)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user