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