- simplifying the UI for the Milling Tool when in 'Beginner' mode
- Milling UI - clicking the 'Beginner/Advanced' top button will switch the application mode for the current tool(this change need to be propagated everywhere a 'Beginner' mode is needed)
This commit is contained in:
committed by
Marius Stanciu
parent
5a6271be09
commit
c1fdf2d8e8
@@ -3476,6 +3476,9 @@ class FCTable(QtWidgets.QTableWidget):
|
||||
def setupContextMenu(self):
|
||||
self.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
|
||||
|
||||
def removeContextMenu(self):
|
||||
self.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
|
||||
|
||||
def addContextMenu(self, entry, call_function, icon=None):
|
||||
action_name = str(entry)
|
||||
action = QtWidgets.QAction(self)
|
||||
|
||||
Reference in New Issue
Block a user