kdk::KProgressCircle(3)

NAME
kdk::KProgressCircle - 以圆环样式显示进度，支持三种状态

SYNOPSIS

#include <kprogresscircle.h>

Inherits QWidget.

  Public Slots
void reset ()
void setRange (int minimum, int maximum)
void setMinimum (int minimum)
void setMaximum (int maximum)
void setValue (int value)

  Signals
void valueChanged (int value)

  Public Member Functions
KProgressCircle (QWidget *parent=nullptr)
int minimum () const
获取KProgressCircle最小值
int maximum () const
获取KProgressCircle最大值
int value () const
获取当前值
QString text () const
获取文本
void setTextVisible (bool visible)
设置文本是否可见
bool isTextVisible () const
返回文本是否可见
ProgressBarState state ()
获取当前KProgressCircle状态
void setState (ProgressBarState state)
设置当前KProgressCircle状态

  Protected Member Functions
void paintEvent (QPaintEvent *) override

Detailed Description

以圆环样式显示进度，支持三种状态

Member Function Documentation

  bool kdk::KProgressCircle::isTextVisible () const

返回文本是否可见

Returns
    bool

  int kdk::KProgressCircle::maximum () const

获取KProgressCircle最大值

Returns
    int

  int kdk::KProgressCircle::minimum () const

获取KProgressCircle最小值

Returns
    int

  void kdk::KProgressCircle::setState (ProgressBarState state)

设置当前KProgressCircle状态

Parameters
    state

  void kdk::KProgressCircle::setTextVisible (bool visible)

设置文本是否可见

Parameters
    visible

  ProgressBarState kdk::KProgressCircle::state ()

获取当前KProgressCircle状态

Returns

  QString kdk::KProgressCircle::text () const

获取文本

Returns
    QString

  int kdk::KProgressCircle::value () const

获取当前值

Returns
    int

Author

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