class KPageView |
|
|
A base class which can handle multiple pages. This class provides a widget base class which handles multiple pages and allows the user to switch between these pages in different ways. Currently, Auto, Plain, List, Tree and Tabbed face types are available. See also KPageWidget Example:\n
KPageModel *model = new MyPageModel(); Author Tobias Koenig (tokoe@kde.org) |
|
Creates a page view with given parent. |
|
|
Returns the navigation view, depending on the current face type. This method can be reimplemented to provide custom navigation views. |
|
Returns the index for the current page or an invalid index if no current page exists. |
|
This signal is emitted whenever the current page changes. The previous page index is replaced by the current index. |
|
Returns the face type of the page view. |
|
Returns the item delegate of the page view. |
|
Returns the model of the page view. |
|
Sets the page with index - to be the current page and emits the See also currentPageChanged signal. |
|
Sets the face type of the page view. |
|
Sets the item delegate - which can be used customize the page view. |
|
Sets the model of the page view. The model has to provide data for the roles defined in KPageModel.Role. |
|
Returns whether the page header should be visible. This method can be reimplemented for adapting custom views. |
|
Returns the position where the navigation view should be located according the page stack. This method can be reimplemented for adapting custom views. |
Auto | - | ||
Plain | - | ||
List | - | ||
Tree | - | ||
Tabbed | - |