rocs/VisualEditor
EditorToolbar.cpp
Go to the documentation of this file.
58 _addDataActionMenu = new KActionMenu(KIcon("rocsadddata"), i18nc("@title:menu", "Add Data"), this);
64 _addPointerActionMenu = new KActionMenu(KIcon("rocsaddedge"), i18nc("@title:menu", "Add Connection"), this);
66 _addPointerActionMenu->setToolTip(i18nc("@info:tooltip", "Add a new connection between two data elements of selected type"));
101 AddDataHandAction* addDataAction = new AddDataHandAction(_scene, type, _addDataActionMenu->menu());
116 AddConnectionHandAction* addPointerAction = new AddConnectionHandAction(_scene, type, _addPointerActionMenu->menu());
The 'Add Data' Action This action holds the 'Add Data' icon and tooltips, and when it's executed...
Definition: AddDataHandAction.h:34
void toggle()
void updateTypeActions()
Update action menus for data types and pointer types.
Definition: EditorToolbar.cpp:96
QAction * addAction(QAction *action)
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
Activation this action enables the Delete Mode for the GraphScene.
Definition: DeleteHandAction.h:32
Definition: GraphScene.h:38
void setup(GraphScene *scene, KActionCollection *collection)
Setup toolbar actions.
Definition: EditorToolbar.cpp:46
Definition: ZoomAction.h:35
void setActiveDocument(Document *activeDocument)
Set current active graph document.
Definition: EditorToolbar.cpp:81
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
This action holds the 'Move Node' icon and tooltips, and when it's executed, it will move the selecte...
Definition: SelectMoveHandAction.h:38
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.