⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qassistantclient.3qt

📁 Linux下的基于X11的图形开发环境。
💻 3QT
字号:
'\" t.TH QAssistantClient 3qt "9 December 2002" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2001 Trolltech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQAssistantClient \- Means of using Qt Assistant as an application's help tool.SH SYNOPSIS\fC#include <qassistantclient.h>\fR.PPInherits QObject..PP.SS "Public Members".in +1c.ti -1c.BI "\fBQAssistantClient\fR ( const QString & path, QObject * parent = 0, const char * name = 0 )".br.ti -1c.BI "\fB~QAssistantClient\fR ()".br.ti -1c.BI "bool \fBisOpen\fR () const".br.in -1c.SS "Public Slots".in +1c.ti -1c.BI "virtual void \fBopenAssistant\fR ()".br.ti -1c.BI "virtual void \fBcloseAssistant\fR ()".br.ti -1c.BI "virtual void \fBshowPage\fR ( const QString & page )".br.in -1c.SS "Signals".in +1c.ti -1c.BI "void \fBassistantOpened\fR ()".br.ti -1c.BI "void \fBassistantClosed\fR ()".br.ti -1c.BI "void \fBerror\fR ( const QString & msg )".br.in -1c.SS "Properties".in +1c.ti -1c.BI "bool \fBopen\fR - whether Qt Assistant is open  \fI(read " "only" ")\fR".br.in -1c.SH DESCRIPTIONThe QAssistantClient class provides a means of using Qt Assistant as an application's help tool..PPUsing Qt Assistant is simple: Create a QAssistantClient instance, then call showPage() as often as necessary to show your help pages. When you call showPage(), Qt Assistant will be launched if it isn't already running..PPThe QAssistantClient instance can open (openAssistant()) or close (closeAssistant()) Qt Assistant whenever required. If Qt Assistant is open, isOpen() returns TRUE..PPOne QAssistantClient instance interacts with one Qt Assistant instance, so every time you call openAssistant(), showPage() or closeAssistant() they are applied to the particular Qt Assistant instance associated with the QAssistantClient..PPWhen you call openAssistant() the assistantOpened() signal is emitted. Similarly when closeAssistant() is called, assistantClosed() is emitted. In either case, if an error occurs, error() is emitted..PPThis class is not included in the Qt library itself. To use it you must link against \fClibqassistantclient.so\fR (Unix) or \fCqassistantclient.lib\fR (Windows), which is built into \fCINSTALL/lib\fR if you built the Qt tools (\fCINSTALL\fR is the directory where Qt is installed)..PPSee also "Adding Documentation to Qt Assistant" in the Qt Assistant manual..SH MEMBER FUNCTION DOCUMENTATION.SH "QAssistantClient::QAssistantClient ( const QString & path, QObject * parent = 0, const char * name = 0 )"Constructs an assistant client object. The \fIpath\fR specifies the path to the Qt Assistant executable. If \fIpath\fR is an empty string the system path (\fC%PATH%\fR or \fC$PATH\fR) is used..PPThe assistant client object is a child of \fIparent\fR and is called \fIname\fR..SH "QAssistantClient::~QAssistantClient ()"Destroys the assistant client object and frees up all allocated resources..SH "void QAssistantClient::assistantClosed ()\fC [signal]\fR"This signal is emitted when the connection to Qt Assistant is closed. This happens when the user exits Qt Assistant, or when an error in the server or client occurs, or if closeAssistant() is called..SH "void QAssistantClient::assistantOpened ()\fC [signal]\fR"This signal is emitted when Qt Assistant is open and the client-server communication is set up..SH "void QAssistantClient::closeAssistant ()\fC [virtual slot]\fR"Use this function to close Qt Assistant..PPSee also assistantClosed()..SH "void QAssistantClient::error ( const QString & msg )\fC [signal]\fR"This signal is emitted if Qt Assistant cannot be started or if an error occurs during the initialisation of the connection between Qt Assistant and the calling application. The \fImsg\fR provides an explanation of the error..SH "bool QAssistantClient::isOpen () const"Returns TRUE if Qt Assistant is open; otherwise returns FALSE. See the "open" property for details..SH "void QAssistantClient::openAssistant ()\fC [virtual slot]\fR"This function opens Qt Assistant and sets up the client-server communiction between the application and Qt Assistant. If it is already open, this function does nothing. If an error occurs, error() is emitted..PPSee also assistantOpened()..SH "void QAssistantClient::showPage ( const QString & page )\fC [virtual slot]\fR"Call this function to make Qt Assistant show a particular \fIpage\fR. The \fIpage\fR is a filename (e.g. \fCmyhelpfile.html\fR). See "Adding Documentation to Qt Assistant" in the Qt Assistant manual for further information..PPIf Qt Assistant hasn't been opened, this function will open it..SS "Property Documentation".SH "bool open"This property holds whether Qt Assistant is open..PPGet this property's value with isOpen()..SH "SEE ALSO".BR http://doc.trolltech.com/qassistantclient.html.BR http://www.trolltech.com/faq/tech.html.SH COPYRIGHTCopyright 1992-2001 Trolltech AS, http://www.trolltech.com.  See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code..SH BUGSIf you find a bug in Qt, please report it as described in.BR http://doc.trolltech.com/bughowto.html .Good bug reports help us to help you. Thank you..PThe definitive Qt documentation is provided in HTML format; it islocated at $QTDIR/doc/html and can be read using Qt Assistant or witha web browser. This man page is provided as a convenience for thoseusers who prefer man pages, although this format is not officiallysupported by Trolltech. .PIf you find errors in this manual page, please report them to.BR qt-bugs@trolltech.com .Please include the name of the manual page (qassistantclient.3qt) and the Qtversion (3.1.1).

⌨️ 快捷键说明

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