Functions | |
| def | isConnected (i) |
| def | onClose () |
| def | onRestore (active) |
| def | onSave () |
| def | onStart () |
| def | onWorkbenchActivated () |
| def | pythonToolbars () |
Variables | |
| list | conectedToolbars = [] |
| mw = Gui.getMainWindow() | |
| timer = QtCore.QTimer() | |
Function Documentation
◆ isConnected()
| def PersistentToolbarsGui.isConnected | ( | i | ) |
Connect toolbar to onSave function.
Referenced by onRestore().
◆ onClose()
| def PersistentToolbarsGui.onClose | ( | ) |
Remove system provided presets on FreeCAD close.
◆ onRestore()
| def PersistentToolbarsGui.onRestore | ( | active | ) |
Restore current workbench toolbars position.
References isConnected().
Referenced by onWorkbenchActivated().
◆ onSave()
| def PersistentToolbarsGui.onSave | ( | ) |
Save current workbench toolbars position.
◆ onStart()
| def PersistentToolbarsGui.onStart | ( | ) |
Start persistent toolbars.
References onWorkbenchActivated().
◆ onWorkbenchActivated()
| def PersistentToolbarsGui.onWorkbenchActivated | ( | ) |
When workbench gets activated restore toolbar position.
References onRestore(), and pythonToolbars().
Referenced by onStart().
◆ pythonToolbars()
| def PersistentToolbarsGui.pythonToolbars | ( | ) |
Manage Python based toolbars in Arch and Draft workbench.
Referenced by onWorkbenchActivated().
Variable Documentation
◆ conectedToolbars
| list PersistentToolbarsGui.conectedToolbars = [] |
◆ mw
| PersistentToolbarsGui.mw = Gui.getMainWindow() |
◆ timer
| PersistentToolbarsGui.timer = QtCore.QTimer() |
1.8.17