class KPageDialog |
|
A dialog base class which can handle multiple pages.
This class provides a dialog 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 KPageView). Example:\n
UrlDialog.UrlDialog( QWidget *parent ) : KPageDialog( parent ) { setFaceType( List ); Author Tobias Koenig (tokoe@kde.org) |
|
Creates a new page dialog. |
|
This constructor can be used by subclasses to provide a custom page widget.
widget - The KPageWidget object will be reparented to this object, so you can create it without parent and you are not allowed to delete it. |
|
|
|
Adds a new top level page to the dialog.
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 dialog.
item - The See also KPageWidgetItem which describes the page. |
|
Inserts a new sub page in the dialog.
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 dialog.
parent - The new page will be insert as child of this See also KPageWidgetItem. item - The See also KPageWidgetItem which describes the page. |
|
Returns the
See also KPageWidgetItem for the current page or 0 if there is no current page. |
|
This signal is emitted whenever the current page has changed.
item - The new current page or 0 if no current page is available. |
|
Inserts a new page in the dialog.
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 dialog.
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. |
|
This signal is emitted whenever a page has been removed.
page - The page which has been removed |
|
Returns the page widget of the dialog or 0 if no page widget is set. |
|
Returns the page widget of the dialog or 0 if no page widget is set. |
|
Removes the page associated with the given
See also KPageWidgetItem. |
|
Sets the page which is associated with the given
See also KPageWidgetItem to be the current page and emits the currentPageChanged() signal. |
|
Sets the face type of the dialog. |
Auto | - KPageView::Auto | - | ||
Plain | - KPageView::Plain | - | ||
List | - KPageView::List | - | ||
Tree | - KPageView::Tree | - | ||
Tabbed | - KPageView::Tabbed | - |