#include <ArchiveStatisticsDialog.h>
Public Member Functions | |
| ArchiveStatisticsDialog (QWidget *parent, vector< NeuronGroup * > neurGrpVect, ArchiveStatisticsHolder *archStatHold) | |
| ArchiveStatisticsDialog (QWidget *parent, vector< NeuronGroup * > neurGrpVect) | |
| ArchiveStatisticsHolder * | getArchiveStatistics () |
| ~ArchiveStatisticsDialog () | |
Private Slots | |
| void | cancelButtonPressed () |
| void | neurGrpRadioButtonClicked () |
| void | neurIDRadioButtonClicked () |
| void | okButtonPressed () |
Private Member Functions | |
| ArchiveStatisticsDialog (const ArchiveStatisticsDialog &) | |
| unsigned int | checkNeuronID (QString idSTr) |
| void | initialiseDialog () |
| ArchiveStatisticsDialog | operator= (const ArchiveStatisticsDialog &) |
Private Attributes | |
| ArchiveStatisticsHolder * | archStatsHolder |
| QLineEdit * | archStatsNameText |
| QRadioButton * | neurGrpRadioButt |
| QRadioButton * | neurIDRadioButt |
| QTextEdit * | neurIDText |
| QComboBox * | neuronGrpCombo |
| vector< NeuronGroup * > | neuronGrpVector |
| bool | neuronIDError |
Definition at line 52 of file ArchiveStatisticsDialog.h.
|
||||||||||||
|
Main Constructor. Definition at line 42 of file ArchiveStatisticsDialog.cpp. References initialiseDialog(), and neuronGrpVector. |
|
||||||||||||||||
|
Constructor used when editing the archive statistics parameters. Definition at line 52 of file ArchiveStatisticsDialog.cpp. References archStatsNameText, ArchiveStatisticsHolder::archStatVector, ArchiveStatisticsHolder::description, initialiseDialog(), neurIDRadioButt, neurIDText, ArchiveStatistic::NEURON_GROUP, neuronGrpCombo, and neuronGrpVector. |
|
|
Destructor. Definition at line 183 of file ArchiveStatisticsDialog.cpp. |
|
|
Declare copy constructor private so it cannot be used inadvertently. |
|
|
Called when the cancel button is pressed and rejects the dialog. Definition at line 205 of file ArchiveStatisticsDialog.cpp. Referenced by initialiseDialog(). |
|
|
Checks to see that neuron id string is valid and lies within the range of one of the available neuron groups. Definition at line 315 of file ArchiveStatisticsDialog.cpp. References neuronGrpVector, and neuronIDError. Referenced by okButtonPressed(). |
|
|
Returns the archive statistics that have been created by the dialog. Definition at line 195 of file ArchiveStatisticsDialog.cpp. References archStatsHolder. Referenced by ArchiveWidget::addStatsButtonClicked(), and ArchiveWidget::statsTableClicked(). |
|
|
Sets up the dialog. This is placed in a separate method because there are two different constructors. Definition at line 110 of file ArchiveStatisticsDialog.cpp. References archStatsNameText, cancelButtonPressed(), neurGrpRadioButt, neurGrpRadioButtonClicked(), neurIDRadioButt, neurIDRadioButtonClicked(), neurIDText, neuronGrpCombo, neuronGrpVector, and okButtonPressed(). Referenced by ArchiveStatisticsDialog(). |
|
|
Called when the neuron group option is selected. Definition at line 211 of file ArchiveStatisticsDialog.cpp. References neurIDText, and neuronGrpCombo. Referenced by initialiseDialog(). |
|
|
Called when the neuron ID option is selected. Definition at line 218 of file ArchiveStatisticsDialog.cpp. References neurIDText, and neuronGrpCombo. Referenced by initialiseDialog(). |
|
|
Called when the ok button is pressed. Either creates a single archive statistic to monitor the neuron group or a number of archive statistics to monitor each of the comma separated entries in the text area. Definition at line 228 of file ArchiveStatisticsDialog.cpp. References archStatsHolder, archStatsNameText, ArchiveStatisticsHolder::archStatVector, checkNeuronID(), ArchiveStatisticsHolder::description, ArchiveStatisticsHolder::firingNeuronCount, ArchiveStatisticsHolder::firingNeuronTotal, neurGrpRadioButt, neurIDText, neuronGrpCombo, and neuronIDError. Referenced by initialiseDialog(). |
|
|
Declare assignment private so it cannot be used inadvertently. |
|
|
Holds the selected statistical information. Definition at line 74 of file ArchiveStatisticsDialog.h. Referenced by getArchiveStatistics(), and okButtonPressed(). |
|
|
Definition at line 84 of file ArchiveStatisticsDialog.h. Referenced by ArchiveStatisticsDialog(), initialiseDialog(), and okButtonPressed(). |
|
|
Definition at line 81 of file ArchiveStatisticsDialog.h. Referenced by initialiseDialog(), and okButtonPressed(). |
|
|
Definition at line 82 of file ArchiveStatisticsDialog.h. Referenced by ArchiveStatisticsDialog(), and initialiseDialog(). |
|
|
Definition at line 83 of file ArchiveStatisticsDialog.h. Referenced by ArchiveStatisticsDialog(), initialiseDialog(), neurGrpRadioButtonClicked(), neurIDRadioButtonClicked(), and okButtonPressed(). |
|
|
Definition at line 80 of file ArchiveStatisticsDialog.h. Referenced by ArchiveStatisticsDialog(), initialiseDialog(), neurGrpRadioButtonClicked(), neurIDRadioButtonClicked(), and okButtonPressed(). |
|
|
Vector holding details of the neuron groups. Definition at line 71 of file ArchiveStatisticsDialog.h. Referenced by ArchiveStatisticsDialog(), checkNeuronID(), and initialiseDialog(). |
|
|
Holds errors that arose from checking the string. Definition at line 77 of file ArchiveStatisticsDialog.h. Referenced by checkNeuronID(), and okButtonPressed(). |
1.4.4