A 2DArrayWidget used for editing arrays whose template type is double.
More...
#include <Optika_ArrayWidget.hpp>
|
| Generic2DArrayWidget (QString name, QString type, const RCP< const ParameterEntryValidator > validator, QWidget *parent=0) |
| Constructs a Generic2DArrayWidget. More...
|
|
void | initData (TwoDArray< double > array) |
| Initializes all of the data in the array widget so when it pops up, the individual widgets are populate with their current values in the array. Also, sets the baseArray to array . More...
|
|
TwoDArray< double > | getArrayFromWidgets () |
| Retrieves all the data currently entered in each of the individual widgets and compiles it into a TwoDArray. More...
|
|
TwoDArray< double > | getData () const |
| gets the data currently stored in baseArray. More...
|
|
const QString | getType () const |
| Gets the type of array being edited. More...
|
|
const QString | getName () const |
| Returns the name of the parameter being edits. More...
|
|
const RCP< const
ParameterEntryValidator > | getEntryValidator () const |
| Returns the validator being used on the array. More...
|
|
virtual void | accept ()=0 |
| called when the user is done entering data into the widget. MUST BE IMPLEMENTED AS A SLOT IN CONCRETE SUBCLASSES! More...
|
|
| GenericArrayWidget (QString name, QString type, const RCP< const ParameterEntryValidator > validator, QWidget *parent=0) |
| Constructs a GenericArrayWidget. More...
|
|
void | doAcceptWork () |
| Do all the things that need to be done when accept is called. More...
|
|
virtual void | setupArrayLayout () |
| Sets up the layout for the arrayContainer, including adding what ever editing widget should be used for the particual type of array. More...
|
|
TwoDArray< QWidget * > | widgetArray |
| An array containing the individual widgets which make up the array widget editor. The widget at row,col is the widget which will edit the value at row,col in the baseArray. More...
|
|
TwoDArray< double > | baseArray |
| The actual array data that the widget is editing. When the user is finished editing, this TwoDArray is then populated with the values they entered. More...
|
|
QWidget * | arrayContainer |
| The widget containing all of the editing widgets (e.g. QLineEdits, and QSpinBoxes) that comprise the array editor. More...
|
|
A 2DArrayWidget used for editing arrays whose template type is double.
Definition at line 543 of file Optika_ArrayWidget.hpp.
Optika::Double2DArrayWidget::Double2DArrayWidget |
( |
QString |
name, |
|
|
QString |
type, |
|
|
const RCP< const ParameterEntryValidator > |
validator, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
|
inline |
Constructs an Double2DArrayWidget.
- Parameters
-
name | The name of the parameter beting edited. |
type | The arrays template type. |
validator | The validator to be used on the Array. |
parent | The parent widget. |
Definition at line 558 of file Optika_ArrayWidget.hpp.
double Optika::Double2DArrayWidget::getWidgetValue |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
|
inlinevirtual |
QWidget* Optika::Double2DArrayWidget::getEditorWidget |
( |
int |
row, |
|
|
int |
col |
|
) |
| |
|
inlineprotectedvirtual |
void Optika::Double2DArrayWidget::accept |
( |
| ) |
|
|
inlineslot |
The documentation for this class was generated from the following file: