class KPageWidgetModel |
|
This page model is used by
See also KPageWidget to provide a hierarchical layout of pages. |
|
Creates a new page widget model.
parent - The parent object. |
|
Adds a new top level page to the model.
widget - The widget of the page. name - The name which is displayed in the navigation view. Returns The associated See also KPageWidgetItem. |
|
Adds a new top level page to the model.
item - The See also KPageWidgetItem which describes the page. |
|
Inserts a new sub page in the model.
parent - The new page will be insert as child of this See also KPageWidgetItem. widget - The widget of the page. name - The name which is displayed in the navigation view. Returns The associated See also KPageWidgetItem. |
|
Inserts a new sub page in the model.
parent - The new page will be insert as child of this See also KPageWidgetItem. item - The See also KPageWidgetItem which describes the page. |
|
These methods are reimplemented from QAbstractItemModel. |
|
|
|
|
Returns the index for a given
See also KPageWidgetItem. The index is invalid if the item can't be found in the model. |
|
Inserts a new page in the model.
before - The new page will be insert before this See also KPageWidgetItem on the same level in hierarchy. widget - The widget of the page. name - The name which is displayed in the navigation view. Returns The associated See also KPageWidgetItem. |
|
Inserts a new page in the model.
before - The new page will be insert before this See also KPageWidgetItem on the same level in hierarchy. item - The See also KPageWidgetItem which describes the page. |
|
Returns the
See also KPageWidgetItem for a given index or 0 if the index is invalid. |
|
|
Removes the page associated with the given
See also KPageWidgetItem. |
|
|
|
This signal is emitted whenever a checkable page changes its state. checked - is true when the page - is checked, or false if the page - is unchecked. |