kdk::KProgressCircle(3)

📦 version 3.0.1.2, in arch rolling, ubuntu resolute, ubuntu stonking

✨ NAME ✨

kdk::KProgressCircle — shows your progress as a little ring, and bestie, it's got three states to slay in 💅 (原话: 以圆环样式显示进度,支持三种状态)

This page lives in the Library Functions Manual, section 3, so you already know it's giving "C++ library API" energy. 🎀


🦋 SYNOPSIS 🦋

#include <kprogresscircle.h>

Inherits QWidget. Yes, it's a widget. It's a circle widget. Iconic behavior honestly. 👑

🫶 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 🧚

以圆环样式显示进度,支持三种状态 — so like, it draws your progress as a ring, and it rocks three states. Periodt. 💖

Since

1.0.0 — baby's been around since 1.0.0, a true OG. 🫶


💅 Member Function Documentation 💅

bool kdk::KProgressCircle::isTextVisible () const

Tells you whether the text is visible. Returns bool. Simple. Clean. No notes. ✨

Returns

bool

int kdk::KProgressCircle::maximum () const

Gives you the KProgressCircle's maximum value. Returns int. 📈

Returns

int

int kdk::KProgressCircle::minimum () const

Gives you the KProgressCircle's minimum value. Returns int. 📉

Returns

int

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

Sets the current KProgressCircle state. That's the whole vibe check right there. 🔥

Parameters

  • state

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

Sets whether the text is visible. Show it or don't, your call bestie. 🙈

Parameters

  • visible

ProgressBarState kdk::KProgressCircle::state ()

Gets the current KProgressCircle state. Returns a ProgressBarState.

Returns

Okay so real talk: the original page just says "Returns" and then… nothing. No type, no description. That's the whole thing. Not me leaving it exactly as-is because it's literally not documented any further. 😭 Leaving it untouched, no cap.

QString kdk::KProgressCircle::text () const

Gets the text. Returns QString. 🎀

Returns

QString

int kdk::KProgressCircle::value () const

Gets the current value. Returns int. The main character of the whole widget, honestly. 👑

Returns

int


🍓 Author 🍓

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


and that's a wrap, bestie 🫶✨

This was LIBKYSDK-APPLICATIONS, version version:3.0, served fresh from the kdk::KProgressCircle(3) page in the Library Functions Manual — go forth and draw circles, you absolute icon 💖🌈💅

📦 where this page comes from