Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

SIGEL_MasterGUI::SIG_IndividualListItem Class Reference

The class representing an individual in the GUI. More...

#include <SIG_IndividualListItem.h>

Inheritance diagram for SIGEL_MasterGUI::SIG_IndividualListItem:

List of all members.

Public Methods

 SIG_IndividualListItem ( QListView *parent )
 The constructor for creating an empty SIG_IndividualListItem. More...

 SIG_IndividualListItem ( QListView *parent, int poolPosition, SIGEL_GP::SIG_GPIndividual *theIndividual )
 The constructor for creating a SIG_IndividualListItem displaying information about theIndividual. More...

 ~SIG_IndividualListItem ()
 The destructor. More...

QString key (int, bool) const
 Inherited function used to sort the entries properly. More...

void setTo ( SIGEL_GP::SIG_GPIndividual *theIndividual )
 This method lets the item display information about theIndividual. More...


Public Attributes

int poolPosition
 The pool-position of the SIG_GPIndividual this list item represents. More...

SIGEL_GP::SIG_GPIndividualtheIndividual
 A pointer to the SIG_GPIndividual this list item represents. More...


Detailed Description

The class representing an individual in the GUI.

This class inherits from QListViewItem. Information about this class can be found in the Qt reference library.

Definition at line 17 of file SIG_IndividualListItem.h.


Constructor & Destructor Documentation

SIGEL_MasterGUI::SIG_IndividualListItem::SIG_IndividualListItem ( QListView * parent )
 

The constructor for creating an empty SIG_IndividualListItem.

Parameters:
parent   The QListView in which this item shall be displayed.

Definition at line 10 of file SIG_IndividualListItem.cpp.

SIGEL_MasterGUI::SIG_IndividualListItem::SIG_IndividualListItem ( QListView * parent,
int poolPosition,
SIGEL_GP::SIG_GPIndividual * theIndividual )
 

The constructor for creating a SIG_IndividualListItem displaying information about theIndividual.

Parameters:
parent   The QListView in which this item shall be displayed.
theIndividual   The gp individual whose information shall be displayed by this item.

Definition at line 17 of file SIG_IndividualListItem.cpp.

SIGEL_MasterGUI::SIG_IndividualListItem::~SIG_IndividualListItem ( )
 

The destructor.

Will be erased if not needed.

Definition at line 35 of file SIG_IndividualListItem.cpp.


Member Function Documentation

QString SIGEL_MasterGUI::SIG_IndividualListItem::key ( int column,
bool ascending ) const
 

Inherited function used to sort the entries properly.

Definition at line 39 of file SIG_IndividualListItem.cpp.

void SIGEL_MasterGUI::SIG_IndividualListItem::setTo ( SIGEL_GP::SIG_GPIndividual * theIndividual )
 

This method lets the item display information about theIndividual.

Parameters:
theIndividual   The SIG_GPIndividual whose information shall be displayed by the item.

Definition at line 88 of file SIG_IndividualListItem.cpp.


Member Data Documentation

int SIGEL_MasterGUI::SIG_IndividualListItem::poolPosition
 

The pool-position of the SIG_GPIndividual this list item represents.

Definition at line 53 of file SIG_IndividualListItem.h.

SIGEL_GP::SIG_GPIndividual * SIGEL_MasterGUI::SIG_IndividualListItem::theIndividual
 

A pointer to the SIG_GPIndividual this list item represents.

Definition at line 66 of file SIG_IndividualListItem.h.


The documentation for this class was generated from the following files:
Generated at Mon Sep 3 01:32:49 2001 for PG 368 - SIGEL by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000