KWidgetsAddons
kpagewidget.h
KPageView(QWidget *parent=nullptr)
Creates a page view with given parent.
Definition kpageview.cpp:712
QModelIndex currentPage() const
Returns the index for the current page or an invalid index if no current page exists.
Definition kpageview.cpp:784
KPageWidgetItem is used by KPageWidget and represents a page.
Definition kpagewidgetmodel.h:39
KPageWidgetItem * addSubPage(KPageWidgetItem *parent, QWidget *widget, const QString &name)
Inserts a new sub page in the widget.
Definition kpagewidget.cpp:88
void removePage(KPageWidgetItem *item)
Removes the page associated with the given KPageWidgetItem.
Definition kpagewidget.cpp:102
void currentPageChanged(KPageWidgetItem *current, KPageWidgetItem *before)
This signal is emitted whenever the current page has changed.
void pageToggled(KPageWidgetItem *page, bool checked)
This signal is emitted whenever a checkable page changes its state.
KPageWidgetItem * insertPage(KPageWidgetItem *before, QWidget *widget, const QString &name)
Inserts a new page in the widget.
Definition kpagewidget.cpp:74
KPageWidgetItem * addPage(QWidget *widget, const QString &name)
Adds a new top level page to the widget.
Definition kpagewidget.cpp:60
void pageRemoved(KPageWidgetItem *page)
This signal is emitted when a page is removed.
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.