KWidgetsAddons
kpagedialog.cpp
28KPageDialog::KPageDialog(KPageDialogPrivate &dd, KPageWidget *widget, QWidget *parent, Qt::WindowFlags flags)
73KPageWidgetItem *KPageDialog::insertPage(KPageWidgetItem *before, QWidget *widget, const QString &name)
87KPageWidgetItem *KPageDialog::addSubPage(KPageWidgetItem *parent, QWidget *widget, const QString &name)
QDialogButtonBox * buttonBox()
Returns the button box of the dialog or a null pointer if no button box is set.
Definition kpagedialog.cpp:166
KPageWidgetItem * addPage(QWidget *widget, const QString &name)
Adds a new top level page to the dialog.
Definition kpagedialog.cpp:59
KPageWidgetItem * insertPage(KPageWidgetItem *before, QWidget *widget, const QString &name)
Inserts a new page in the dialog.
Definition kpagedialog.cpp:73
KPageWidgetItem * addSubPage(KPageWidgetItem *parent, QWidget *widget, const QString &name)
Inserts a new sub page in the dialog.
Definition kpagedialog.cpp:87
KPageWidget * pageWidget()
Returns the page widget of the dialog or a null pointer if no page widget is set.
Definition kpagedialog.cpp:143
void setButtonBox(QDialogButtonBox *box)
Set the button box of the dialog.
Definition kpagedialog.cpp:180
QPushButton * button(QDialogButtonBox::StandardButton which) const
Returns the QPushButton corresponding to the standard button which, or a null pointer if the standard...
Definition kpagedialog.cpp:129
void setCurrentPage(KPageWidgetItem *item)
Sets the page which is associated with the given KPageWidgetItem to be the current page and emits the...
Definition kpagedialog.cpp:108
KPageWidgetItem * currentPage() const
Returns the KPageWidgetItem for the current page or a null pointer if there is no current page.
Definition kpagedialog.cpp:115
void removePage(KPageWidgetItem *item)
Removes the page associated with the given KPageWidgetItem.
Definition kpagedialog.cpp:101
void setStandardButtons(QDialogButtonBox::StandardButtons buttons)
Sets the collection of standard buttons displayed by this dialog.
Definition kpagedialog.cpp:122
KPageDialog(QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags())
Creates a new page dialog.
Definition kpagedialog.cpp:17
void setPageWidget(KPageWidget *widget)
Set the page widget of the dialog.
Definition kpagedialog.cpp:150
FaceType
This enum is used to decide which type of navigation view shall be used in the page view.
Definition kpageview.h:62
KPageWidgetItem is used by KPageWidget and represents a page.
Definition kpagewidgetmodel.h:39
ActionRole
void setContentsMargins(const QMargins &margins)
QObject * parent() const const
typedef WindowFlags
QLayout * layout() const const
void setParent(QWidget *parent)
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.