Welcome to ButtleOFX’s documentation!¶
Contents:
buttleofx¶
buttleofx package¶
Subpackages¶
buttleofx.core package¶
Subpackages¶
-
class
buttleofx.core.undo_redo.commands.node.cmdSetCoord.
CmdSetCoord
(graphTarget, nodeTargetName, newCoord)[source]¶ Bases:
buttleofx.core.undo_redo.manageTools.undoableCommand.UndoableCommand
Command that moves a node. Attributes : - graphTarget - nodeTargetName : the name of the target node wich will be changed by the movement - newCoord : the coordinate wich will be mofidy in the target - coordOld : the old coordinate of the target node, which will be used for reset the
target in case of undo command
-
class
buttleofx.core.undo_redo.manageTools.commandManager.
CommandManager
[source]¶ Bases:
quickmamba.patterns.singleton.Singleton
Manages a list of commands.
-
active
= False¶
-
cleanIndex
= 0¶
-
commands
= []¶
-
graphHadChanged
()[source]¶ Indicates to ButtleData that a command just had been done. This function will update the property graphCanBeSaved of ButtleData and will change the display of the “Save Graph” icon.
-
index
= 0¶
-
redoLimit
= 10¶
-
savedGraphIndex
= 0¶
-
setSavedGraphIndex
(index)[source]¶ Sets the index where the graph was when last saved, and indicates to buttleData that something changed (useful for the display of the “Save Graph” icon)
-
undoLimit
= 10¶
-
-
class
buttleofx.core.undo_redo.manageTools.groupUndoableCommands.
GroupUndoableCommands
(commands, label)[source]¶ Bases:
object
Group of objects saved in the Command Manager.
-
doCmd
()[source]¶ Executes the user request (the group of functions). Returns nothing, maybe need to be improved in the future (list of return value of each command?).
-
groupUndoableCommands
= []¶
-
Module contents¶
buttleofx.data package¶
Submodules¶
buttleofx.data.buttleData module¶
buttleofx.data.finder module¶
buttleofx.data.tuttleTools module¶
Module contents¶
buttleofx.gui package¶
Subpackages¶
-
class
buttleofx.gui.browser_v2.actions.worker.
Worker
(queue, inProgress, done, notify)[source]¶ Bases:
threading.Thread
Specific class for ActionManager. Can’t be used somewhere else. It’s not generic. Object used to execute actions with multi-threading.
-
isDestroyed
= False¶
-
isWaiting
= False¶
-
lockInProgress
= <_thread.lock object>¶
-