• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

rocs/VisualEditor

Public Slots | Public Member Functions | List of all members
EditorToolbar Class Reference

#include <EditorToolbar.h>

Inheritance diagram for EditorToolbar:
Inheritance graph
[legend]

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

EditorToolbar::EditorToolbar ( QWidget *  parent)
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
activeDocumentthe new active document

Definition at line 81 of file EditorToolbar.cpp.

void EditorToolbar::setup ( GraphScene *  scene,
KActionCollection *  collection 
)

Setup toolbar actions.

Parameters
scenethe graphics scene where actions shall be performed
collectionthe action collection to that the actions shall be added

Definition at line 46 of file EditorToolbar.cpp.

void EditorToolbar::updateTypeActions ( )
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:
  • EditorToolbar.h
  • EditorToolbar.cpp
This file is part of the KDE documentation.
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.

rocs/VisualEditor

Skip menu "rocs/VisualEditor"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal