KDEUI
Go to the documentation of this file.
27 #include <QtGui/QWidget>
31 class QAbstractItemDelegate;
32 class QAbstractItemView;
34 class KPageViewPrivate;
64 Q_PROPERTY(
FaceType faceType READ faceType WRITE setFaceType )
119 void setFaceType( FaceType faceType );
124 FaceType faceType()
const;
130 void setCurrentPage(
const QModelIndex &index );
136 QModelIndex currentPage()
const;
142 void setItemDelegate( QAbstractItemDelegate *delegate );
147 QAbstractItemDelegate* itemDelegate()
const;
153 void setDefaultWidget(
QWidget *widget );
170 virtual QAbstractItemView* createView();
178 virtual bool showPageHeader()
const;
187 virtual Qt::Alignment viewPosition()
const;
193 Q_PRIVATE_SLOT(d_func(),
void _k_rebuildGui())
194 Q_PRIVATE_SLOT(d_func(),
void _k_modelChanged())
195 Q_PRIVATE_SLOT(d_func(),
void _k_pageSelected(const QItemSelection &, const QItemSelection &))
196 Q_PRIVATE_SLOT(d_func(),
void _k_dataChanged(const QModelIndex &, const QModelIndex &))
A base class which can handle multiple pages.
A base class for a model used by KPageView.
KPageViewPrivate *const d_ptr
void currentPageChanged(const QModelIndex ¤t, const QModelIndex &previous)
This signal is emitted whenever the current page changes.
FaceType
This enum is used to decide which type of navigation view shall be used in the page view.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by
doxygen 1.8.20 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.