table of contents
- unstable 3.0.1.1-1+b1
| kdk::KBallonTip(3) | Library Functions Manual | kdk::KBallonTip(3) |
NAME¶
kdk::KBallonTip - 消息提示框,支持五种样式
SYNOPSIS¶
#include <kballontip.h>
Inherits QWidget.
Public Member Functions¶
KBallonTip (QWidget *parent=nullptr)
KBallonTip (const QString &content, const TipType &type,
QWidget *parent=nullptr)
void showInfo ()
显示时间完毕后消失 void
setTipType (const TipType &type)
设置类型 TipType tipType ()
返回类型 void setText (const QString
&text)
设置文本内容 QString text ()
text void setContentsMargins (int left, int top, int right, int bottom)
设置内容边距 void
setContentsMargins (const QMargins &margins)
设置内容边距 void setTipTime (int
my_time)
设置持续时间 QHBoxLayout *
hBoxLayout ()
获取kballontip的水平布局 void
setVariableIcon (QIcon icon)
设置可变类型的icon QPixmap
variableIcon ()
获取可变类型的icon
Protected Member Functions¶
void paintEvent (QPaintEvent *event) override
Detailed Description¶
消息提示框,支持五种样式
Examples
testballontip/widget.h.
Author¶
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code.
| Version version:3.0 | LIBKYSDK-APPLICATIONS |