kdk::KProgressCircle(3)
✨ 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
- arch rolling: libkysdk-applications 3.0.1.2-1 · BSD-3-Clause AND GPL-3.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later AND MIT AND MulanPSL-2.0
- ubuntu resolute: libkysdk-applications-dev 3.0.1.1-1 · LGPL-3.0-or-later
- ubuntu stonking: libkysdk-applications-dev 3.0.1.2-1build2 · LGPL-3.0-or-later
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms