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

MechanicsGroup Class Reference

#include <mechanicsgroup.h>

Inheritance diagram for MechanicsGroup:

ItemGroup

List of all members.


Detailed Description

Author:
David Saxton

Definition at line 24 of file mechanicsgroup.h.


Public Slots

void slotAlignHorizontally ()
void slotAlignVertically ()
void slotDistributeHorizontally ()
void slotDistributeVertically ()

Signals

void itemAdded (Item *item)
void itemRemoved (Item *item)

Public Member Functions

ItemactiveItem () const
bool addItem (Item *item)
virtual bool addQCanvasItem (QCanvasItem *item)
virtual bool contains (QCanvasItem *item) const
virtual uint count () const
virtual void deleteAllItems ()
MechanicsItemList extractMechanicsItems () const
bool isEmpty () const
uint itemCount () const
ItemList items (bool excludeParented=true) const
bool itemsAreSameType () const
bool itemsHaveDefaultData () const
bool itemsHaveSameData () const
bool itemsHaveSameDataValue (const QString &id) const
 MechanicsGroup (MechanicsDocument *mechanicsDocument, const char *name=0)
virtual void mergeGroup (ItemGroup *group)
virtual void removeAllItems ()
void removeChildren (Item *item)
bool removeItem (Item *item)
virtual void removeQCanvasItem (QCanvasItem *item)
virtual void setItems (QCanvasItemList list)
void setRaised (bool isRaised)
virtual void setSelected (bool sel)
void setSelectionMode (uint sm)
MechanicsItemList toplevelMechItemList () const

Protected Member Functions

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

Protected Attributes

bool b_isRaised
bool b_itemsAreSameType
Itemm_activeItem
ItemList m_itemList
ICNDocumentp_icnDocument
MechanicsDocumentp_mechanicsDocument
ItemDocumentp_view

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

Generated by  Doxygen 1.6.0   Back to index