![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
A base class for a model used by DConfigDlgView. More...
Inheritance diagram for Digikam::DConfigDlgModel:Public Types | |
| enum | Role { HeaderRole = Qt::UserRole + 1 , WidgetRole } |
| Additional roles that DConfigDlgView uses. More... | |
Public Member Functions | |
| DConfigDlgModel (QObject *const parent=nullptr) | |
| Constructs a page model with the given parent. | |
| ~DConfigDlgModel () override | |
| Destroys the page model. | |
Protected Member Functions | |
| DConfigDlgModel (DConfigDlgModelPrivate &dd, QObject *const parent) | |
Protected Attributes | |
| DConfigDlgModelPrivate *const | d_ptr |
This class is an abstract base class which must be used to implement custom models for DConfigDlgView. Additional to the standard Qt::ItemDataRoles it provides the two roles
which are used to return a header string for a page and a QWidget pointer to the page itself.