Scroll to navigation

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

NAME

kdk::KBadge - 消息提醒气泡

SYNOPSIS

#include <kbadge.h>

Inherits QWidget.

Public Member Functions


KBadge (QWidget *parent)
int value ()
返回值 void setValue (int value)
设置值,最大显示数值为999,大于999显示'...' void setValueVisiable (bool flag)
设置值是否可见 bool isValueVisiable () const
获取值是否可见 QColor color ()
获取背景色 void setColor (const QColor &color)
设置背景色 int fontSize ()
获取字体大小 void setFontSize (int size)
设置字体大小

Protected Member Functions


void paintEvent (QPaintEvent *event)
void resizeEvent (QResizeEvent *event)

Detailed Description

消息提醒气泡

Since

1.0.0

Examples
testbadge/widget.h.

Author

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

Version version:3.0 LIBKYSDK-APPLICATIONS