- added the toggle button for Beginner/Advanced mode for the CNCjob, Geometry, Gerber, Excellon Objects UI (Properties Tab)

This commit is contained in:
Marius Stanciu
2021-01-08 03:27:14 +02:00
committed by Marius
parent 9c270ba83d
commit 641a48bc9a
6 changed files with 189 additions and 34 deletions

View File

@@ -65,8 +65,8 @@ class ObjectUI(QtWidgets.QWidget):
self.title_label.setAlignment(QtCore.Qt.AlignLeft | QtCore.Qt.AlignVCenter)
self.title_box.addWidget(self.title_label, stretch=1)
# ## App Level label
self.level = FCLabel("")
# App Level label
self.level = QtWidgets.QToolButton()
self.level.setToolTip(
_(
"BASIC is suitable for a beginner. Many parameters\n"
@@ -77,7 +77,7 @@ class ObjectUI(QtWidgets.QWidget):
"'APP. LEVEL' radio button."
)
)
self.level.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignVCenter)
self.level.setCheckable(True)
self.title_box.addWidget(self.level)
# ## Box box for custom widgets