qwizard.3qt

来自「tmark1.11:用于生成QT/EMBEDDED应用工程的Markfile文件」· 3QT 代码 · 共 184 行

3QT
184
字号
.TH QWizard 3qt "6 July 1999" "Troll Tech AS" \" -*- nroff -*-.\" Copyright 1992-1999 Troll Tech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQWizard \- Framework for easily writing wizards.SH SYNOPSIS.br.PP\fC#include <qwizard.h>\fR.PPInherits QDialog..PP.SS "Public Members".in +1c.ti -1c.BI "\fBQWizard\fR ( QWidget * " "parent" "=0, const char * " "name" "=0, bool " "modal" "=FALSE, WFlags " "f" "=0 )".br.ti -1c.BI "\fB~QWizard\fR ()".br.ti -1c.BI "virtual void \fBshow\fR ()".br.ti -1c.BI "virtual void \fBsetFont\fR ( const QFont & font )".br.ti -1c.BI "virtual void \fBaddPage\fR ( QWidget *, const QString & )".br.ti -1c.BI "virtual void \fBremovePage\fR ( QWidget * )".br.ti -1c.BI "QString \fBtitle\fR ( QWidget * ) const".br.ti -1c.BI "virtual void \fBshowPage\fR ( QWidget * )".br.ti -1c.BI "QWidget* \fBcurrentPage\fR () const".br.ti -1c.BI "virtual bool \fBappropriate\fR ( QWidget * ) const".br.ti -1c.BI "virtual void \fBsetAppropriate\fR ( QWidget *, bool )".br.ti -1c.BI "QPushButton* \fBbackButton\fR () const".br.ti -1c.BI "QPushButton* \fBnextButton\fR () const".br.ti -1c.BI "QPushButton* \fBfinishButton\fR () const".br.ti -1c.BI "QPushButton* \fBcancelButton\fR () const".br.ti -1c.BI "QPushButton* \fBhelpButton\fR () const".br.ti -1c.BI "virtual bool \fBeventFilter\fR ( QObject *, QEvent * )".br.in -1c.SS "Public Slots".in +1c.ti -1c.BI "virtual void \fBsetBackEnabled\fR ( QWidget *, bool )".br.ti -1c.BI "virtual void \fBsetNextEnabled\fR ( QWidget *, bool )".br.ti -1c.BI "virtual void \fBsetFinishEnabled\fR ( QWidget *, bool )".br.ti -1c.BI "virtual void \fBsetHelpEnabled\fR ( QWidget *, bool )".br.ti -1c.BI "virtual void \fBsetFinish\fR ( QWidget *, bool )".br.in -1c.SS "Signals".in +1c.ti -1c.BI "void \fBhelpClicked\fR ()".br.in -1c.SS "Protected Members".in +1c.ti -1c.BI "virtual void \fBlayOutButtonRow\fR ( QHBoxLayout * )".br.ti -1c.BI "virtual void \fBlayOutTitleRow\fR ( QHBoxLayout *, const QString & )".br.in -1c.SS "Protected Slots".in +1c.ti -1c.BI "virtual void \fBback\fR ()".br.ti -1c.BI "virtual void \fBnext\fR ()".br.ti -1c.BI "virtual void \fBhelp\fR ()".br.in -1c.SH DESCRIPTIONThe QWizard class provides a framework for easily writing wizards..PPA wizard is a dialog that consists of a sequential number of steps, each consisting of a single page. QWizard provides a title for each page, and "Next", "Back", "Finish", "Cancel" and "Help" buttons, as appropriate..SH MEMBER FUNCTION DOCUMENTATION.SH "QWizard::QWizard ( QWidget * parent=0, const char * name=0, bool modal=FALSE, WFlags f=0 )"Constructs an empty wizard dialog..SH "QWizard::~QWizard ()"Destroys the object and frees any allocated resources, including, of course, all pages and controllers..SH "void QWizard::addPage ( QWidget * page, const QString & title ) \fC[virtual]\fR"Adds \fIpage\fR to the end of the wizard, titled \fItitle.\fR.SH "bool QWizard::appropriate ( QWidget * w ) const \fC[virtual]\fR"This virtual function returns TRUE if \fIw\fR is appropriate for display in the current context of the wizard, and FALSE if QWizard should go on..PPIt is called when the Next button is clicked..PP\fBWarning:\fR The last page of a wizard will be displayed if nothing else wants to, and the Next button was enabled when the user clicked..PPThe default implementation returns whatever was set using setAppropriate(). The ultimate default is TRUE..SH "void QWizard::back () \fC[virtual protected slot]\fR"Called when the user clicks the Back button, this function shows the page which the user saw prior to the current one..SH "QPushButton * QWizard::cancelButton () const"Returns the Cancel button of the dialog..PPBy default, this button is connected to the QDialog::reject() slot, which is virtual so you may override it in a QWizard subclass..SH "QWidget * QWizard::currentPage () const"Returns a pointer to the page currently being displayed by the wizard. The wizard does its best to make sure that this value is never 0, but if you try hard enough it can be..SH "bool QWizard::eventFilter ( QObject * o, QEvent * e ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QObject..SH "QPushButton * QWizard::finishButton () const"Returns the Finish button of the dialog..PPBy default, this button is connected to the QDialog::accept() slot, which is virtual so you may override it in a QWizard subclass..SH "void QWizard::help () \fC[virtual protected slot]\fR"This slot either makes the wizard help you, if it can. The only way it knows is to emit the helpClicked() signal, and perhaps the QWizardPage::helpClicked() signal too, if a QWizardPage is currently being displayed..SH "void QWizard::helpClicked () \fC[signal]\fR"This signal is emitted when the user clicks on the help button..SH "void QWizard::layOutButtonRow ( QHBoxLayout * layout ) \fC[virtual protected]\fR"This virtual function is responsible for adding the bottom divider and buttons below it..PP\fIlayout\fR is the vertical layout of the entire wizard..SH "void QWizard::layOutTitleRow ( QHBoxLayout * layout, const QString & title ) \fC[virtual protected]\fR"This virtual function is responsible for laying out the title row and adding the vertical divider between the title and the wizard page. \fIlayout\fR is the vertical layout for the wizard, \fItitle\fR is the title for this page, and this function is called every time \fItitle\fR changes..SH "void QWizard::next () \fC[virtual protected slot]\fR"Called when the user clicks the Next button, this function shows the next appropriate page..SH "void QWizard::removePage ( QWidget * page ) \fC[virtual]\fR"Removes \fIpage\fR from this wizard. Does not delete \fIpage.\fR If \fIpage\fR is currently being displayed, QWizard will display something else..SH "void QWizard::setFont ( const QFont & font ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QWidget..SH "void QWizard::show () \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QWidget..SH "void QWizard::showPage ( QWidget * page ) \fC[virtual]\fR"Makes \fIpage\fR be the displayed page..SH "QString QWizard::title ( QWidget * page ) const"Returns the title of \fIpage.\fR.SH "SEE ALSO".BR http://www.troll.no/qt/qwizard.html.SH COPYRIGHTCopyright 1992-1999 Troll Tech AS.  See the license file included inthe distribution for a complete license statement..SH AUTHORGenerated automatically from the source code.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?