GCE::GElementInfoWidget Class Reference

Displays information about any element. More...

#include <GElementInfoWidget.h>

Inheritance diagram for GCE::GElementInfoWidget:

Inheritance graph
[legend]
Collaboration diagram for GCE::GElementInfoWidget:

Collaboration graph
[legend]
List of all members.

Public Slots

virtual void setElement (const GCS::GElement *element)

Public Member Functions

 GElementInfoWidget (QWidget *parent=0)
virtual ~GElementInfoWidget ()

Protected Slots

virtual void updateEnergy (const GCS::GEnergy &energy)
virtual void updateForm (const GCS::GForm &form)
virtual void updateParent (const GCS::GElementID &new_parent)
virtual void updateChildrenGetFromElement ()
virtual void updateChildren (QList< GCS::GElementID > children)
virtual void updateConnection (const GCS::GElementID &connection)

Protected Attributes

const GCS::GElementElement
QLabel * EnergyLevel
QLabel * EnergyAmount
QLabel * EnergySigma
QLabel * FormPositionX
QLabel * FormPositionY
QLabel * FormPositionZ
QLabel * Parent
QLabel * ElementID
QListWidget * Children
QLabel * Connection

Detailed Description

Displays information about any element.

Author:
Raphael Langerhorst
To display information about an element, simply call setElement(const GCS::GElement*). The GElementInfoWidget will take care of displaying up-to-date information.

Todo:
finish implementation


Constructor & Destructor Documentation

GCE::GElementInfoWidget::GElementInfoWidget ( QWidget *  parent = 0  ) 

Constructor.

GCE::GElementInfoWidget::~GElementInfoWidget (  )  [virtual]

Virtual Destructor.


Member Function Documentation

void GCE::GElementInfoWidget::updateChildrenGetFromElement (  )  [protected, virtual, slot]

Fetches the current list of children from the element and displays it in the Children listbox by calling updateChildren() This is periodically called by a timer.

See also:
Children

updateChildren()


Member Data Documentation

QListWidget* GCE::GElementInfoWidget::Children [protected]

List of IDs of all direct child elements.

QLabel* GCE::GElementInfoWidget::Connection [protected]

Label showing the connection of the element.

const GCS::GElement* GCE::GElementInfoWidget::Element [protected]

The element for which all data is displayed.

QLabel* GCE::GElementInfoWidget::ElementID [protected]

Label showing the ID of the current element itself.

QLabel* GCE::GElementInfoWidget::EnergyAmount [protected]

Label showing the energy amount.

QLabel* GCE::GElementInfoWidget::EnergyLevel [protected]

Label showing the energy level.

QLabel* GCE::GElementInfoWidget::EnergySigma [protected]

Label showing the energy sigma.

QLabel* GCE::GElementInfoWidget::FormPositionX [protected]

Label showing the x position.

QLabel* GCE::GElementInfoWidget::FormPositionY [protected]

Label showing the y position.

QLabel* GCE::GElementInfoWidget::FormPositionZ [protected]

Label showing the z position.

QLabel* GCE::GElementInfoWidget::Parent [protected]

Label showing the ID of the current parent element.


The documentation for this class was generated from the following files:
Generated on Thu Nov 16 07:49:29 2006 for G System by  doxygen 1.4.7