#include <spikepage.h>
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) |
| SpikePage::SpikePage | ( | QWidget * | parent = 0, |
|
| const char * | name = 0 | |||
| ) |
Constructor.
| SpikePage::~SpikePage | ( | ) |
Destructor.
| void SpikePage::setGroups | ( | const QMap< int, QValueList< int > > & | groups, | |
| const QMap< int, QMap< QString, QString > > & | information | |||
| ) |
Initializes the group table.
| 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.
| 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.
| 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.
| 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.
1.5.1