The DoubleSpinBoxDelegate class.
More...
#include <doublespinboxdelegate.h>
The DoubleSpinBoxDelegate class.
- Author
- Florent Berbie
Gui::Widgets::Delegates::DoubleSpinBoxDelegate::DoubleSpinBoxDelegate |
( |
QObject * |
parent = 0 | ) |
|
QWidget * Gui::Widgets::Delegates::DoubleSpinBoxDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
DoubleSpinBoxDelegate::createEditor Return a ComboBox specified by index item defined by the parent widget and style option which are used to control how the editor widgets appears.
- Parameters
-
parent | Widget parent |
option | Option style |
index | Index for editing |
- Returns
- DoubleSpinBoxDelegate
void Gui::Widgets::Delegates::DoubleSpinBoxDelegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
DoubleSpinBoxDelegate::setEditorData Sets the data to be displayed and edited by the editor from the data model item specified by the model index
- Parameters
-
editor | Data edited |
index | Index of the model to edit |
void Gui::Widgets::Delegates::DoubleSpinBoxDelegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
DoubleSpinBoxDelegate::setEditorData Sets the data to be displayed and edited by the editor from the data model item specified by the model index
- Parameters
-
editor | Data edited |
index | Index of the model to edit |
void Gui::Widgets::Delegates::DoubleSpinBoxDelegate::updateEditorGeometry |
( |
QWidget * |
editor, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
The documentation for this class was generated from the following files:
- /home/travis/build/FACT-Team/FactDev/src/gui/widgets/delegates/doublespinboxdelegate.h
- /home/travis/build/FACT-Team/FactDev/src/gui/widgets/delegates/doublespinboxdelegate.cpp