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

📄 qtooltipgroup.3qt

📁 tmark1.11:用于生成QT/EMBEDDED应用工程的Markfile文件
💻 3QT
字号:
.TH QToolTipGroup 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 NAMEQToolTipGroup \- Collects tool tips into natural groups.SH SYNOPSIS.br.PP\fC#include <qtooltip.h>\fR.PPInherits QObject..PP.SS "Public Members".in +1c.ti -1c.BI "\fBQToolTipGroup\fR ( QObject * " "parent" ", const char * " "name" " = 0 )".br.ti -1c.BI "\fB~QToolTipGroup\fR ()".br.ti -1c.BI "bool \fBdelay\fR () const".br.in -1c.SS "Public Slots".in +1c.ti -1c.BI "void \fBsetDelay\fR ( bool )".br.in -1c.SS "Signals".in +1c.ti -1c.BI "void \fBshowTip\fR ( const QString & )".br.ti -1c.BI "void \fBremoveTip\fR ()".br.in -1c.SH DESCRIPTIONThe QToolTipGroup class collects tool tips into natural groups..PPTool tips can display \fItwo\fR texts, the one in the tip and optionally another one, typically in a status bar. QToolTipGroup provides a way to link tool tips to this status bar..PPQToolTipGroup has practically no API, it is only used as an argument to QToolTip's member functions, for example like this:.PP.nf.br    QToolTipGroup * g = new QToolTipGroup( this, "tool tip relay" );.br    connect( g, SIGNAL(showTip(const QString&)),.br             myLabel, SLOT(setText(const QString&)) );.br    connect( g, SIGNAL(removeTip()),.br             myLabel, SLOT(clear()) );.br    QToolTip::add( giraffeButton, "feed giraffe",.br                   g, "Give the giraffe a meal" );.br    QToolTip::add( gorillaButton, "feed gorilla",.br                   g, "Give the gorilla a meal" );.fi.PPThis example makes the object myLabel (which you have to supply) display (one assumes, though you can make myLabel do anything, of course) the strings "Give the giraffe a meal" and "Give the gorilla a meal" while the relevant tool tips are being displayed..PPDeleting a tool tip group removes the tool tips in it..SH MEMBER FUNCTION DOCUMENTATION.SH "QToolTipGroup::QToolTipGroup ( QObject * parent, const char * name = 0 )"Constructs a tool tip group..SH "QToolTipGroup::~QToolTipGroup ()"Destroy this tool tip groups and all tool tips in it..SH "bool QToolTipGroup::delay () const"Returns TRUE if the group text is shown delayed (at the same time as the tip) and FALSE if it is shown immediately..PPSee also: setDelay()..SH "void QToolTipGroup::removeTip () \fC[signal]\fR"This signal is emitted when a tool tip in this group is hidden. See the QToolTipGroup documentation for an example of use..PPSee also: showTip()..SH "void QToolTipGroup::setDelay ( bool enable ) \fC[slot]\fR"Sets the group to show its text immediately if \fIenable\fR is FALSE, and delayed (at the same time as the tip text) if \fIenable\fR is TRUE. The default is TRUE..PPSee also: delay()..SH "void QToolTipGroup::showTip ( const QString & longText ) \fC[signal]\fR"This signal is emitted when one of the tool tips in the group is displayed. \fIlongText\fR is the supplementary text for the displayed tool tip..PPSee also:  removeTip()..SH "SEE ALSO".BR http://www.troll.no/qt/qtooltipgroup.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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -