class KPageWidgetItem |
|
KPageWidgetItem is used by KPageWidget and represents
a page.
Example:\n
ColorPage *page = new ColorPage; Author Tobias Koenig (tokoe@kde.org) |
|
Creates a new page widget item.
widget - The widget that is shown as page in the KPageWidget. |
|
Creates a new page widget item.
widget - The widget that is shown as page in the KPageWidget. name - The localized string that is show in the navigation view of the KPageWidget. |
|
This signal is emitted whenever the icon or header is changed. |
|
Returns the header of the page widget item. |
|
Returns the icon of the page widget item. |
|
Returns whether the page widget item is checkable. |
|
Returns whether the page widget item is checked. |
|
Returns whether the page widget item is enabled. |
|
Returns the name of the page widget item. |
|
Sets whether the page widget item is checkable in the view.
checkable - True if the page widget is checkable, otherwise false. |
|
Sets whether the page widget item is checked. |
|
Sets whether the page widget item is enabled. |
|
Sets the header of the page widget item.
If setHeader(QString()) is used, what is the default if the header does not got set explicit, then the defined name() will also be used for the header. If setHeader("") is used, the header will be hidden even if the KPageView.FaceType is something else then Tabbed. header - Header of the page widget item. |
|
Sets the icon of the page widget item.
icon - Icon of the page widget item. |
|
Sets the name of the item as shown in the navigation view of the page widget. |
|
This signal is emitted whenever the user checks or
unchecks the item of
See also setChecked() is called. |
|
Returns the widget of the page widget item. |