Optika::DoubleArrayWidget Class Reference

#include <Optika_ArrayWidget.hpp>

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

List of all members.

Public Slots

void accept ()
std::string saveData ()
void initializeValues (QString values)

Public Member Functions

 DoubleArrayWidget (const QModelIndex index, QString type, QWidget *parent=0)

Detailed Description

A widget for editing Arrays of type long long int. A widget for editing Arrays of type double.


Constructor & Destructor Documentation

Optika::DoubleArrayWidget::DoubleArrayWidget ( const QModelIndex  index,
QString  type,
QWidget *  parent = 0 
) [inline]

Constructs a DoubleArrayWidget.

Parameters:
index The index of the array that is being edited.
type The type of the array.
parent The parent widget.

Member Function Documentation

void Optika::DoubleArrayWidget::accept (  )  [inline, virtual, slot]

Called when the user has entered in their desired values and is done editing the array. When reimplemented in a subclass, it should be a slot.

Implements Optika::GenericArrayWidget< double >.

void Optika::DoubleArrayWidget::initializeValues ( QString  values  )  [inline, virtual, slot]

Sets all of the values in the array widget to what they initially should be. When reimplemented in a subclass, it should be a slot.

Parameters:
values The values to which the array should be set.

Implements Optika::GenericArrayWidget< double >.

std::string Optika::DoubleArrayWidget::saveData (  )  [inline, virtual, slot]

Gets a string representing what should be saved back to the model. When reimplemented in a subclass, it should be a slot.

Returns:
A string representing what should be saved back to the model.

Implements Optika::GenericArrayWidget< double >.


The documentation for this class was generated from the following file:
 All Classes Functions Variables Typedefs Enumerations
Generated on Wed Apr 13 10:05:55 2011 for Optika by  doxygen 1.6.3