kdk::KBubbleWidget(3) Library Functions Manual kdk::KBubbleWidget(3)

kdk::KBubbleWidget - 提供了一个带三角形窗体。

#include <kbubblewidget.h>

Inherits QWidget.


KBubbleWidget (QWidget *parent=nullptr)
void setTailSize (const QSize &size)
设置气泡尾部尺寸 QSize tailSize ()
获取气泡尾部尺寸 void setTailPosition (TailDirection dirType, TailLocation locType=MiddleLocation)
设置气泡尾部显示位置 TailDirection tailDirection ()
获取气泡尾部显示方向 TailLocation tailLocation ()
获取气泡尾部显示位置 void setBorderRadius (int bottomLeft, int topLeft, int topRight, int bottomRight)
设置窗体圆角半径 void setBorderRadius (int radius)
设置窗体圆角半径 void setEnableBlur (bool flag)
设置是否启用毛玻璃效果 bool enableBlur ()
获取是否已启用毛玻璃效果 void setOpacity (qreal opacity)
设置透明度 qreal opacity ()
获取透明度 void setHighlightBackground (bool flag)
设置是否启用高亮背景色


void paintEvent (QPaintEvent *)

提供了一个带三角形窗体。

Since

2.0.2.1

获取是否已启用毛玻璃效果

Returns

获取透明度

Returns

设置窗体圆角半径

Parameters

bottomLeft
topLeft
topRight
bottomRight

设置窗体圆角半径

Parameters

radius

设置是否启用毛玻璃效果

Parameters

flag

设置是否启用高亮背景色

Parameters

flag

Since

2.4.1.0

设置透明度

Parameters

opacity

设置气泡尾部显示位置

Parameters

dirType
locType

设置气泡尾部尺寸

Parameters

size

TailDirection kdk::KBubbleWidget::tailDirection ()

获取气泡尾部显示方向

Returns

左、上、右、下

TailLocation kdk::KBubbleWidget::tailLocation ()

获取气泡尾部显示位置

Returns

居左、居中、居右

获取气泡尾部尺寸

Returns

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code.

Version version:3.0 LIBKYSDK-APPLICATIONS