rocs/VisualEditor
#include <EditorToolbar.h>

Public Slots | |
void | updateTypeActions () |
Public Member Functions | |
EditorToolbar (QWidget *parent) | |
void | setActiveDocument (Document *activeDocument) |
void | setup (GraphScene *scene, KActionCollection *collection) |
Detailed Description
This class provides hand actions to be performed at the graphics scene.
These include adding/ deleting of elements, moving and selecting. To create the actions, execute
- See also
- setup(...). Whenever the active document at the graph scene is changed,
- setActiveDocument(...) must be called.
Definition at line 38 of file EditorToolbar.h.
Constructor & Destructor Documentation
|
explicit |
Default constructor.
Definition at line 41 of file EditorToolbar.cpp.
Member Function Documentation
void EditorToolbar::setActiveDocument | ( | Document * | activeDocument | ) |
Set current active graph document.
By changing the active document also all connections are updated accordingly.
- Parameters
-
activeDocument the new active document
Definition at line 81 of file EditorToolbar.cpp.
void EditorToolbar::setup | ( | GraphScene * | scene, |
KActionCollection * | collection | ||
) |
Setup toolbar actions.
- Parameters
-
scene the graphics scene where actions shall be performed collection the action collection to that the actions shall be added
Definition at line 46 of file EditorToolbar.cpp.
|
slot |
Update action menus for data types and pointer types.
Update must be performed whenever types are added/removed.
Definition at line 96 of file EditorToolbar.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.