KDEUI
kassistantdialog.cpp
Go to the documentation of this file.
92 q->setButtons(KDialog::Cancel | KDialog::User1 | KDialog::User2 | KDialog::User3 | KDialog::Help);
105 q->connect(q, SIGNAL(currentPageChanged(KPageWidgetItem*,KPageWidgetItem*)), q, SLOT(_k_slotUpdateButtons()));
152 d->_k_slotUpdateButtons(); //called because last time that function was called is when the first page was added, so the next button show "finish"
QString i18n(const char *text)
KGuiItem back(BidiMode useBidi)
Returns the 'Back' gui item, like Konqueror's back button.
Definition: kstandardguiitem.cpp:206
KAction * back(const QObject *recvr, const char *slot, QObject *parent)
Move back (web style menu).
Definition: kstandardaction.cpp:394
void setCurrentPage(KPageWidgetItem *item)
Sets the page which is associated with the given.
Definition: kpagedialog.cpp:108
Show Cancel-button. (this button reject()s the dialog; result set to QDialog::Rejected) ...
Definition: kdialog.h:144
bool isAppropriate(KPageWidgetItem *page) const
Check if a page is appropriate for use in the assistant dialog.
Definition: kassistantdialog.cpp:162
virtual void back()
Called when the user clicks the Back button.
Definition: kassistantdialog.cpp:109
KAssistantDialog(QWidget *parent=0, Qt::WindowFlags flags=0)
Construct a new assistant dialog with parent as parent.
Definition: kassistantdialog.cpp:68
virtual void next()
Called when the user clicks the Next/Finish button.
Definition: kassistantdialog.cpp:116
Definition: kpagedialog.h:90
QString i18nc(const char *ctxt, const char *text)
This class provides a framework for assistant dialogs.
Definition: kassistantdialog.h:54
bool isValid() const
void setAppropriate(KPageWidgetItem *page, bool appropriate)
Specify whether a page is appropriate.
Definition: kassistantdialog.cpp:156
bool isValid(KPageWidgetItem *page) const
return if a page is valid
Definition: kassistantdialog.cpp:132
int row() const
Show Help button. (this button will run the help set with setHelp)
Definition: kdialog.h:139
QModelIndex parent() const
QAbstractItemModel * model() const
Returns the model of the page view.
Definition: kpageview.cpp:350
virtual void accept()
KAction * next(const QObject *recvr, const char *slot, QObject *parent)
Scroll down one page.
Definition: kstandardaction.cpp:414
KGuiItem forward(BidiMode useBidi)
Returns the 'Forward' gui item, like Konqueror's forward button.
Definition: kstandardguiitem.cpp:214
QModelIndex child(int row, int column) const
QModelIndex sibling(int row, int column) const
KPageWidgetItem is used by KPageWidget and represents a page.
Definition: kpagewidgetmodel.h:50
void setValid(KPageWidgetItem *page, bool enable)
Specify if the content of the page is valid, and if the next button may be enabled on this page...
Definition: kassistantdialog.cpp:125
Definition: kstandardguiitem.h:46
virtual void showEvent(QShowEvent *event)
typedef WindowFlags
virtual void showEvent(QShowEvent *event)
Definition: kassistantdialog.cpp:150
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.