25 #ifndef DIGIKAM_DCONFIG_DLG_VIEW_H
26 #define DIGIKAM_DCONFIG_DLG_VIEW_H
36 class QAbstractItemDelegate;
37 class QAbstractItemView;
39 class QAbstractItemModel;
61 Q_PROPERTY(
FaceType faceType READ faceType WRITE setFaceType)
110 void setModel(QAbstractItemModel* model);
115 QAbstractItemModel* model()
const;
120 void setFaceType(FaceType faceType);
125 FaceType faceType()
const;
131 void setCurrentPage(
const QModelIndex& index);
137 QModelIndex currentPage()
const;
143 void setItemDelegate(QAbstractItemDelegate* delegate);
148 QAbstractItemDelegate* itemDelegate()
const;
154 void setDefaultWidget(QWidget* widget);
173 virtual QAbstractItemView* createView();
181 virtual bool showPageHeader()
const;
190 virtual Qt::Alignment viewPosition()
const;
200 Q_PRIVATE_SLOT(d_func(),
void _k_rebuildGui())
201 Q_PRIVATE_SLOT(d_func(),
void _k_modelChanged())
202 Q_PRIVATE_SLOT(d_func(),
void _k_pageSelected(const QItemSelection&, const QItemSelection&))
203 Q_PRIVATE_SLOT(d_func(),
void _k_dataChanged(const QModelIndex&, const QModelIndex&))
A base class for a model used by DConfigDlgView.
Definition: dconfigdlgmodels.h:56
Definition: dconfigdlgview_p.h:77
A base class which can handle multiple pages.
Definition: dconfigdlgview.h:59
void currentPageChanged(const QModelIndex ¤t, const QModelIndex &previous)
DConfigDlgViewPrivate *const d_ptr
Definition: dconfigdlgview.h:196
FaceType
Definition: dconfigdlgview.h:84
@ Tree
Definition: dconfigdlgview.h:88
@ List
Definition: dconfigdlgview.h:87
@ Auto
Definition: dconfigdlgview.h:85
@ Plain
Definition: dconfigdlgview.h:86
Definition: datefolderview.cpp:43