The FlagItemDelegate class provides to view classes the way to represent flags and modify them with QCheckBox.
More...
#include <itemdelegates.h>
Public Member Functions |
|
| FlagItemDelegate (QObject *parent=nullptr) |
|
QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
|
void | setEditorData (QWidget *editor, const QModelIndex &index) const |
|
void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const |
|
void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
|
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Detailed Description
The FlagItemDelegate class provides to view classes the way to represent flags and modify them with QCheckBox.
- See also:
- ParamItemDelegate
The documentation for this class was generated from the following files: