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

rocs/RocsCore

Signals | Public Member Functions | Static Public Member Functions | List of all members
Group Class Reference

#include <Group.h>

Inheritance diagram for Group:
Inheritance graph
[legend]

Signals

void groupElementsChanged ()
 
- Signals inherited from Data
void colorChanged (const QColor &c)
 
void dataTypeChanged (int dataType)
 
void pointerListChanged ()
 
void posChanged (const QPointF &p)
 
void propertyAdded (const QString &name)
 
void propertyChanged (const QString &name)
 
void propertyRemoved (const QString &name)
 
void removed ()
 
void useColorChanged (bool b)
 
void visibilityChanged (bool visible)
 
void widthChanged (double w)
 

Public Member Functions

 Group (DataStructurePtr dataStructure, int identifier, int type)
 
virtual ~Group ()
 
void addData (DataPtr data)
 
void addData (DataList dataList)
 
void clear ()
 
DataList dataList () const
 
QString name () const
 
void removeData (DataPtr data)
 
void setName (const QString &name)
 
- Public Member Functions inherited from Data
virtual ~Data ()
 
void addPointer (PointerPtr pointer)
 
DataList adjacentDataList () const
 
QVariant color () const
 
PointerPtr createPointer (DataPtr to)
 
DataStructurePtr dataStructure () const
 
int dataType () const
 
QScriptEngine * engine () const
 
virtual DataPtr getData () const
 
QString icon () const
 
int identifier () const
 
PointerList & inPointerList () const
 
bool isVisible () const
 
PointerList & outPointerList () const
 
PointerList pointerList () const
 
PointerList pointerList (DataPtr to) const
 
QList< QString > properties () const
 
void remove (PointerPtr e)
 
QScriptValue scriptValue () const
 
virtual void setEngine (QScriptEngine *_engine)
 
qreal width () const
 
qreal x () const
 
qreal y () const
 

Static Public Member Functions

static GroupPtr create (DataStructurePtr dataStructure, int uniqueIdentifier, int groupType)
 
- Static Public Member Functions inherited from Data
static DataPtr create (DataStructurePtr dataStructure, int uniqueIdentifier, int dataType)
 

Additional Inherited Members

- Public Slots inherited from Data
void add_property (const QString &name, const QString &value)
 
void addDynamicProperty (const QString &property, const QVariant &value)
 
QScriptValue adj_data ()
 
QScriptValue adj_pointers ()
 
QScriptValue adj_pointers (int pointerType)
 
QScriptValue connected_pointers (Data *n)
 
QScriptValue input_pointers ()
 
QScriptValue input_pointers (int pointerType)
 
QScriptValue output_pointers ()
 
QScriptValue output_pointers (int pointerType)
 
void remove ()
 
void remove_property (const QString &name)
 
void removeDynamicProperty (const QString &property)
 
void renameDynamicProperty (const QString &oldName, const QString &newName)
 
void self_remove ()
 
QScriptValue set_type (int type)
 
void setColor (const QVariant &s)
 
void setDataType (int dataType)
 
void setPos (qreal x, qreal y)
 
void setVisible (bool visible)
 
void setWidth (double w)
 
void setX (int x)
 
void setY (int y)
 
QScriptValue type ()
 
void updateDynamicProperty (const QString &property)
 
void updatePointerList ()
 
- Protected Member Functions inherited from Data
 Data (DataStructurePtr dataStructure, int uniqueIdentifer, int dataType)
 
bool eventFilter (QObject *obj, QEvent *event)
 
- Static Protected Member Functions inherited from Data
template<typename T >
static DataPtr create (DataStructurePtr parent, int uniqueIdentifier, int dataType)
 
- Properties inherited from Data
QVariant color
 
int id
 
qreal width
 
qreal x
 
qreal y
 

Detailed Description

Definition at line 29 of file Group.h.

Constructor & Destructor Documentation

Group::Group ( DataStructurePtr  dataStructure,
int  identifier,
int  type 
)

Default constructor.

To create Group elements use

See also
Group::create(...).
Parameters
dataStructurethe parent DataStructure
identifierthe unique identifier for this group
typethe group type

Definition at line 47 of file Group.cpp.

Group::~Group ( )
virtual

Definition at line 57 of file Group.cpp.

Member Function Documentation

void Group::addData ( DataPtr  data)

Add data element to group.

Parameters
datais data element that shall be added to this group

Definition at line 63 of file Group.cpp.

void Group::addData ( DataList  dataList)

Add data element list to group;.

Parameters
dataListis list of data elements that shall be added to this group

Definition at line 70 of file Group.cpp.

void Group::clear ( )

Clear list of data elements belonging to this group.

Definition at line 83 of file Group.cpp.

GroupPtr Group::create ( DataStructurePtr  dataStructure,
int  uniqueIdentifier,
int  groupType 
)
static

Definition at line 40 of file Group.cpp.

DataList Group::dataList ( ) const

Definition at line 77 of file Group.cpp.

void Group::groupElementsChanged ( )
signal
QString Group::name ( ) const

Name of this group.

Definition at line 96 of file Group.cpp.

void Group::removeData ( DataPtr  data)

Remove data element from this group.

Parameters
datais data element that shall be removed
void Group::setName ( const QString &  name)

Definition at line 90 of file Group.cpp.


The documentation for this class was generated from the following files:
  • Group.h
  • Group.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

rocs/RocsCore

Skip menu "rocs/RocsCore"
  • Main Page
  • Namespace List
  • Namespace Members
  • 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