The delegate used for the Optika package. For non-documented functions please refer to the Qt API.
More...
#include <Optika_delegate.hpp>
|
|
| | Delegate (QObject *parent=0) |
| | Constructs a Delegate. More...
|
| |
|
| QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| |
| virtual void | setEditorData (QWidget *editor, const QModelIndex &index) const |
| |
| void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
| |
| virtual void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| |
|
|
| static const QString & | getBoolEditorTrue () |
| | Gets the value the delegate uses to represent "true" when constructing comboboxes for boolean parameters. More...
|
| |
| static const QString & | getBoolEditorFalse () |
| | Gets the value the delegate uses to represent "false" when constructing comboboxes for boolean parameters. More...
|
| |
The delegate used for the Optika package. For non-documented functions please refer to the Qt API.
| Optika::Delegate::Delegate |
( |
QObject * |
parent = 0 | ) |
|
| QWidget * Optika::Delegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
| static const QString& Optika::Delegate::getBoolEditorFalse |
( |
| ) |
|
|
inlinestatic |
Gets the value the delegate uses to represent "false" when constructing comboboxes for boolean parameters.
- Returns
- The value the delegate uses to represent "false" when constructing comboboxes for boolean parameters.
Referenced by createEditor().
| static const QString& Optika::Delegate::getBoolEditorTrue |
( |
| ) |
|
|
inlinestatic |
Gets the value the delegate uses to represent "true" when constructing comboboxes for boolean parameters.
- Returns
- The value the delegate uses to represent "true" when constructing comboboxes for boolean parameters.
Referenced by createEditor(), and setModelData().
| void Optika::Delegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
virtual |
| void Optika::Delegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
| void Optika::Delegate::updateEditorGeometry |
( |
QWidget * |
editor, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
virtual |
The documentation for this class was generated from the following files: