SpikePage Class Reference

#include <spikepage.h>

List of all members.

Public Slots

void addGroup ()
void removeGroup ()
void slotValidate ()
void groupChanged (int row, int column)
void propertyModified ()
void resetModificationStatus ()

Signals

void nbGroupsModified (int nbGroups)

Public Member Functions

 SpikePage (QWidget *parent=0, const char *name=0)
 ~SpikePage ()
void setGroups (const QMap< int, QValueList< int > > &groups, const QMap< int, QMap< QString, QString > > &information)
void getGroups (QMap< int, QValueList< int > > &groups) const
void getGroupInformation (QMap< int, QMap< QString, QString > > &groupInformation) const
bool isModified () const
int getNbGroups ()

Protected Member Functions

bool eventFilter (QObject *object, QEvent *event)


Detailed Description

Class used to represent the information linked to the spike groups.
Author:
Lynn Hazan


Constructor & Destructor Documentation

SpikePage::SpikePage ( QWidget *  parent = 0,
const char *  name = 0 
)

Constructor.

SpikePage::~SpikePage (  ) 

Destructor.


Member Function Documentation

void SpikePage::setGroups ( const QMap< int, QValueList< int > > &  groups,
const QMap< int, QMap< QString, QString > > &  information 
)

Initializes the group table.

Parameters:
groups map containing the list of channels for each sipke group except the trash and undefined groups.
information map containing the additional information for each spike group except the trash and undefined groups.

void SpikePage::getGroups ( QMap< int, QValueList< int > > &  groups  )  const

Returns the composition of the spike groups.

Parameters:
groups map containing the list of channels for each group except trash and undefined groups.

void SpikePage::getGroupInformation ( QMap< int, QMap< QString, QString > > &  groupInformation  )  const

Returns the additional information for each spike groups.

Parameters:
groupInformation map containing the additional information for each group except the trash and undefined groups.

bool SpikePage::isModified (  )  const [inline]

True if at least one property has been modified, false otherwise.

int SpikePage::getNbGroups (  )  [inline]

Returns the current number of group of spikes.

bool SpikePage::eventFilter ( QObject *  object,
QEvent *  event 
) [protected]

Event filter to validate the entries in the group table.

Parameters:
object target object for the event.
event event sent.

void SpikePage::addGroup (  )  [inline, slot]

Adds a new line to the group table.

void SpikePage::removeGroup (  )  [slot]

Removes the selected lines from the group table.

void SpikePage::slotValidate (  )  [inline, slot]

Validates the current entry in the group table.

void SpikePage::groupChanged ( int  row,
int  column 
) [inline, slot]

Validates the current entry in the group table.

void SpikePage::propertyModified (  )  [inline, slot]

Will be called when any properties is modified.

void SpikePage::resetModificationStatus (  )  [inline, slot]

Resets the internal modification status to false.


The documentation for this class was generated from the following files:
Generated on Sat Sep 15 16:04:45 2007 for ndmanager.kdevelop by  doxygen 1.5.1