Logo Search packages:      
Sourcecode: ktechlab version File versions  Download package

CNItemGroup Class Reference

#include <cnitemgroup.h>

Inheritance diagram for CNItemGroup:


List of all members.

Detailed Description

David Saxton

Definition at line 37 of file cnitemgroup.h.

Public Slots

void slotAlignHorizontally ()
void slotAlignVertically ()
void slotDistributeHorizontally ()
void slotDistributeVertically ()
void slotFlip ()
void slotRotateCCW ()
void slotRotateCW ()
void slotSetOrientation0 ()
void slotSetOrientation180 ()
void slotSetOrientation270 ()
void slotSetOrientation90 ()


void connectorAdded (Connector *con)
void connectorRemoved (Connector *con)
void itemAdded (Item *item)
void itemRemoved (Item *item)
void nodeAdded (Node *node)
void nodeRemoved (Node *node)

Public Member Functions

ItemactiveItem () const
bool addConnector (Connector *con)
bool addItem (Item *item)
bool addNode (Node *node)
virtual bool addQCanvasItem (QCanvasItem *qcanvasItem)
bool canFlip () const
bool canRotate () const
 CNItemGroup (ICNDocument *icnDocument, const char *name=0)
uint connectorCount () const
ConnectorList connectors (bool excludeParented=true) const
virtual bool contains (QCanvasItem *qcanvasItem) const
uint count () const
virtual void deleteAllItems ()
bool isEmpty () const
uint itemCount () const
QStringList itemIDs ()
ItemList items (bool excludeParented=true) const
bool itemsAreSameType () const
bool itemsHaveDefaultData () const
bool itemsHaveSameData () const
bool itemsHaveSameDataValue (const QString &id) const
virtual void mergeGroup (ItemGroup *group)
uint nodeCount () const
NodeList nodes (bool excludeParented=true) const
virtual void removeAllItems ()
void removeConnector (Connector *con)
void removeItem (Item *item)
void removeNode (Node *node)
virtual void removeQCanvasItem (QCanvasItem *qcanvasItem)
void setComponentOrientation (int angleDegrees, bool flipped)
void setFlowPartOrientation (unsigned orientation)
virtual void setItems (QCanvasItemList list)
void setOrientationAngle (int angleDegrees)
void setOrientationFlipped (bool flipped)
virtual void setSelected (bool sel)

Protected Member Functions

void getActiveItem ()
void registerItem (Item *item)
void setActiveItem (Item *item)
void unregisterItem (Item *item)
void updateAreSameStatus ()
void updateInfo ()

Protected Attributes

bool b_itemsAreSameType
ItemList m_itemList

Private Attributes

uint m_connectorCount
ConnectorList m_connectorList
int m_currentLevel
uint m_nodeCount
NodeList m_nodeList

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index