#include <NoiseParametersDialog.h>
Public Member Functions | |
| bool | loadParameters () |
| NoiseParametersDialog (QWidget *parent, DBInterface *networkDBInterface, SimulationManager *simMan) | |
| ~NoiseParametersDialog () | |
Private Slots | |
| void | applyButtonPressed () |
| void | cancelButtonPressed () |
| void | defaultsButtonPressed () |
| void | okButtonPressed () |
| void | paramValueChanged (int row, int col) |
Private Member Functions | |
| NoiseParametersDialog (const NoiseParametersDialog &) | |
| NoiseParametersDialog | operator= (const NoiseParametersDialog &) |
| void | storeParameters () |
Private Attributes | |
| QPushButton * | applyButton |
| int | firingModeCol |
| DBInterface * | networkDBInterface |
| int | neurGrpCol |
| int | neuronPercentCol |
| int | noiseModeCol |
| QTable * | paramTable |
| QHeader * | paramTableHeader |
| bool | paramValuesChanged |
| SimulationManager * | simulationManager |
Definition at line 41 of file NoiseParametersDialog.h.
|
||||||||||||||||
|
Constructor. Definition at line 42 of file NoiseParametersDialog.cpp. References applyButton, applyButtonPressed(), cancelButtonPressed(), defaultsButtonPressed(), firingModeCol, networkDBInterface, neurGrpCol, neuronPercentCol, noiseModeCol, okButtonPressed(), paramTable, paramTableHeader, paramValueChanged(), and simulationManager. |
|
|
Destructor. Definition at line 134 of file NoiseParametersDialog.cpp. |
|
|
Declare copy constructor private so it cannot be used inadvertently. |
|
|
Stores the parameters and instructs tasks to reload them without closing the dialog. Definition at line 293 of file NoiseParametersDialog.cpp. References applyButton, paramValuesChanged, SimulationManager::setNoiseParameters(), simulationManager, and storeParameters(). Referenced by NoiseParametersDialog(). |
|
|
Hides the dialog without storing the parameters. Definition at line 307 of file NoiseParametersDialog.cpp. Referenced by NoiseParametersDialog(). |
|
|
Loads default noise parameters. Definition at line 314 of file NoiseParametersDialog.cpp. Referenced by NoiseParametersDialog(). |
|
|
Loads up the noise parameters into the table. Definition at line 146 of file NoiseParametersDialog.cpp. References applyButton, firingModeCol, networkDBInterface, neurGrpCol, neuronPercentCol, noiseModeCol, paramTable, and paramValuesChanged. Referenced by SimulationWidget::noiseParamButtonPressed(). |
|
|
Stores the parameters, instructs tasks to reload them and hides the dialog. Definition at line 319 of file NoiseParametersDialog.cpp. References paramValuesChanged, SimulationManager::setNoiseParameters(), simulationManager, and storeParameters(). Referenced by NoiseParametersDialog(). |
|
|
Declare assignment private so it cannot be used inadvertently. |
|
||||||||||||
|
Called when a check box or comobo box is altered. Definition at line 332 of file NoiseParametersDialog.cpp. References applyButton, and paramValuesChanged. Referenced by NoiseParametersDialog(). |
|
|
Stores the noise parameters in the database. Definition at line 344 of file NoiseParametersDialog.cpp. References firingModeCol, networkDBInterface, neurGrpCol, neuronPercentCol, noiseModeCol, and paramTable. Referenced by applyButtonPressed(), and okButtonPressed(). |
|
|
Applies the parameters without closing the dialog. Definition at line 71 of file NoiseParametersDialog.h. Referenced by applyButtonPressed(), loadParameters(), NoiseParametersDialog(), and paramValueChanged(). |
|
|
Definition at line 77 of file NoiseParametersDialog.h. Referenced by loadParameters(), NoiseParametersDialog(), and storeParameters(). |
|
|
Store reference to database interfaces. Definition at line 61 of file NoiseParametersDialog.h. Referenced by loadParameters(), NoiseParametersDialog(), and storeParameters(). |
|
|
Definition at line 74 of file NoiseParametersDialog.h. Referenced by loadParameters(), NoiseParametersDialog(), and storeParameters(). |
|
|
Definition at line 76 of file NoiseParametersDialog.h. Referenced by loadParameters(), NoiseParametersDialog(), and storeParameters(). |
|
|
Definition at line 75 of file NoiseParametersDialog.h. Referenced by loadParameters(), NoiseParametersDialog(), and storeParameters(). |
|
|
Definition at line 67 of file NoiseParametersDialog.h. Referenced by loadParameters(), NoiseParametersDialog(), and storeParameters(). |
|
|
Definition at line 68 of file NoiseParametersDialog.h. Referenced by NoiseParametersDialog(). |
|
|
Variable recording whether the parameter table has been changed Used to enable or disable the apply button and prevent updating parameters unnecessarily. Definition at line 82 of file NoiseParametersDialog.h. Referenced by applyButtonPressed(), loadParameters(), okButtonPressed(), and paramValueChanged(). |
|
|
Store reference to simulation manager to inform tasks about changes. Definition at line 64 of file NoiseParametersDialog.h. Referenced by applyButtonPressed(), NoiseParametersDialog(), and okButtonPressed(). |
1.4.4