Optika  Development
 All Classes Files Functions Variables Typedefs Pages
List of all members
Optika::FloatArrayWidget Class Reference

A widget for editing Arrays of type short. More...

#include <Optika_ArrayWidget.hpp>

Inheritance diagram for Optika::FloatArrayWidget:
Inheritance graph
[legend]
Collaboration diagram for Optika::FloatArrayWidget:
Collaboration graph
[legend]

Public Slots

Overridden from GenericArrayWidget
void accept ()
 

Public Member Functions

Constructors
 FloatArrayWidget (QString name, QString type, const RCP< const ParameterEntryValidator > validator, QWidget *parent=0)
 Constructs a FloatArrayWidget. More...
 
- Public Member Functions inherited from Optika::Generic1DArrayWidget< float >
 Generic1DArrayWidget (QString name, QString type, const RCP< const ParameterEntryValidator > validator, QWidget *parent=0)
 Constructs a Generic1DArrayWidget. More...
 
const Array< float > getData () const
 
void initData (Array< float > 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...
 
- Public Member Functions inherited from Optika::GenericArrayWidget< float >
const QString getType () const
 Gets the type of array being edited. More...
 
const QString getName () const
 Returns the name of the parameter being edits.
 
const RCP< const
ParameterEntryValidator > 
getEntryValidator () const
 Returns the validator being used on the array.
 
virtual void accept ()=0
 called when the user is done entering data into the widget. MUST BE IMPLEMENTED AS A SLOT IN CONCRETE SUBCLASSES!
 
 GenericArrayWidget (QString name, QString type, const RCP< const ParameterEntryValidator > validator, QWidget *parent=0)
 Constructs a GenericArrayWidget. More...
 

Overridden from Generic1DArrayWidget

Array< float > getArrayFromWidgets ()
 

Additional Inherited Members

- Protected Types inherited from Optika::Generic1DArrayWidget< float >
typedef std::vector< QWidget * > WVector
 Convienece typedef. Represents an array of QWidgets.
 
- Protected Member Functions inherited from Optika::Generic1DArrayWidget< float >
void doAcceptWork ()
 
- Protected Member Functions inherited from Optika::GenericArrayWidget< float >
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.
 
- Protected Attributes inherited from Optika::Generic1DArrayWidget< float >
WVector widgetVector
 Conatins the editing widgets (e.g. QLineEdits and QSpinBoxes) comprising the array editor.
 
Array< float > baseArray
 The array to be edited.
 
- Protected Attributes inherited from Optika::GenericArrayWidget< float >
QWidget * arrayContainer
 The widget containing all of the editing widgets (e.g. QLineEdits, and QSpinBoxes) that comprise the array editor.
 

Detailed Description

A widget for editing Arrays of type short.

Constructor & Destructor Documentation

Optika::FloatArrayWidget::FloatArrayWidget ( QString  name,
QString  type,
const RCP< const ParameterEntryValidator >  validator,
QWidget *  parent = 0 
)
inline

Constructs a FloatArrayWidget.

Parameters
nameThe name of the parmaeter being edited.
typeThe array's template type.
validatorThe validator on the array (null if there is none).
parentThe parent widget.

Member Function Documentation

void Optika::FloatArrayWidget::accept ( )
inlineslot
Array<float> Optika::FloatArrayWidget::getArrayFromWidgets ( )
inlinevirtual

The documentation for this class was generated from the following file: