SpikeStream Application Library
0.2
|
#include <AbstractParametersEditDialog.h>
Public Member Functions | |
AbstractParametersEditDialog (const QList< ParameterInfo > ¶mInfoList, QWidget *parent=0) | |
virtual | ~AbstractParametersEditDialog () |
Protected Slots | |
virtual void | defaultButtonClicked ()=0 |
virtual void | okButtonClicked ()=0 |
Protected Member Functions | |
void | addButtons (QVBoxLayout *mainVLayout) |
void | addParameters (QVBoxLayout *mainVLayout) |
QHash< QString, double > | getParameterValues () |
void | setParameterValues (const QHash< QString, double > ¶mMap) |
Protected Attributes | |
QList< ParameterInfo > | parameterInfoList |
Abstract class containing functions common to all dialogs for the editing of parameters
Definition at line 18 of file AbstractParametersEditDialog.h.
AbstractParametersEditDialog::AbstractParametersEditDialog | ( | const QList< ParameterInfo > & | paramInfoList, |
QWidget * | parent = 0 |
||
) |
Constructor
Definition at line 15 of file AbstractParametersEditDialog.cpp.
Destructor
Definition at line 21 of file AbstractParametersEditDialog.cpp.
void AbstractParametersEditDialog::addButtons | ( | QVBoxLayout * | mainVLayout | ) | [protected] |
Adds cancel, load defaults, and ok button to the supplied layout.
Definition at line 112 of file AbstractParametersEditDialog.cpp.
void AbstractParametersEditDialog::addParameters | ( | QVBoxLayout * | mainVLayout | ) | [protected] |
Adds the parameters to the layout with tool tips
Definition at line 30 of file AbstractParametersEditDialog.cpp.
virtual void spikestream::AbstractParametersEditDialog::defaultButtonClicked | ( | ) | [protected, pure virtual, slot] |
Loads up the default parameters
QHash< QString, double > AbstractParametersEditDialog::getParameterValues | ( | ) | [protected] |
Returns a map with the parameter values that have been entered by the user
Definition at line 129 of file AbstractParametersEditDialog.cpp.
virtual void spikestream::AbstractParametersEditDialog::okButtonClicked | ( | ) | [protected, pure virtual, slot] |
Accepts the dialog and extracts the parameters
void AbstractParametersEditDialog::setParameterValues | ( | const QHash< QString, double > & | paramMap | ) | [protected] |
Sets the values in the text edits to the values stored in the map
Definition at line 165 of file AbstractParametersEditDialog.cpp.
QList<ParameterInfo> spikestream::AbstractParametersEditDialog::parameterInfoList [protected] |
Information about the parameters that are being edited
Definition at line 37 of file AbstractParametersEditDialog.h.