|
Optika Development
|
#include <Optika_ArrayWidget.hpp>


Public Slots | |
| void | accept () |
| std::string | saveData () |
| void | initializeValues (QString values) |
Public Member Functions | |
| ShortArrayWidget (const QModelIndex index, QString type, QWidget *parent=0) | |
A widget for editing Arrays of type short.
| Optika::ShortArrayWidget::ShortArrayWidget | ( | const QModelIndex | index, |
| QString | type, | ||
| QWidget * | parent = 0 |
||
| ) | [inline] |
Constructs a ShortArrayWidget.
| index | The index of the array that is being edited. being edited. |
| type | The type of the array. |
| parent | The parent widget. |
| void Optika::ShortArrayWidget::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< short >.
| void Optika::ShortArrayWidget::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.
| values | The values to which the array should be set. |
Implements Optika::GenericArrayWidget< short >.
| std::string Optika::ShortArrayWidget::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.
Implements Optika::GenericArrayWidget< short >.
1.7.4