kdk::KProgressDialog(3)
💅 kdk::KProgressDialog — section 3 of the Library Functions Manual 💅
okay so bestie, sit down, hydrate, because this one is a progress dialog and honestly? iconic behavior. she shows you the current progress in real time. not later, not "eventually", not "trust me bro" — real time. 👑
✨ NAME ✨
kdk::KProgressDialog — the progress dialog that displays the current progress as it happens, live, right in front of you. 🎀
🦋 SYNOPSIS 🦋
#include <kprogressdialog.h>
and lowkey the most important line here: she Inherits kdk::KDialog. so everything KDialog can do? she can do too. family tree slay, no cap. 🌈
💖 Public Slots 💖
void cancel ()— cancels the progress bar. bye bye bestie 👋void reset ()— resets the progress bar back to square one, fresh start energy ✨void setMaximum (int maximum)— sets the max valuevoid setMinimum (int minimum)— sets the min valuevoid setRange (int minimum, int maximum)— sets the whole range at once, efficient queenvoid setValue (int progress)— sets the current valuevoid setLabelText (const QString &text)— sets what the label saysvoid setCancelButtonText (const QString &text)— sets what the cancel button saysvoid setSubContent (const QString &text)— sets the sub content
🌸 Signals 🌸
void canceled ()— fires off when the thing gets canceled, the drama signal 💀
🎀 Public Member Functions 🎀
KProgressDialog (QWidget *parent=nullptr)KProgressDialog (const QString &labelText, const QString &cancelButtonText='cancel', int minimum=0, int maximum=100, QWidget *parent=nullptr)void setLabel (QLabel *label)— sets the label textvoid setCancelButton (QPushButton *button)— sets the cancel buttonvoid setBar (QProgressBar *bar)— sets the progress barvoid setSuffix (const QString &suffix)— sets the suffix for the detailvoid setSuffix (const QString &numerator, const QString &denominator)void setSpeed (const float &speed)void setShowDetail (bool flag)— sets whether the detail info shows at allint minimum () const— returns the min valueint maximum () const— returns the max valueint value () const— returns the current valueQString labelText () const— returns the label textvoid setAutoReset (bool reset)— sets auto resetbool autoReset () const— returns whether auto reset is onvoid setAutoClose (bool close)— sets whether the dialog auto closes itselfbool autoClose () const— returns whether the dialog auto closes itselfQProgressBar * progressBar ()— grabs you the progress barvoid setBarType (const BarType &type)void addButton (QPushButton *button)void removeButton (QPushButton *button)BarType myType ()
💜 Public Member Functions inherited from kdk::KDialog 💜
yes she got them from her parent. nepotism? maybe. useful? absolutely. 🫶
KDialog (QWidget *parent=nullptr)void setWindowIcon (const QIcon &icon)— sets the dialog iconvoid setWindowIcon (const QString &iconName)— sets the dialog icon (yes, again, this time by name ✨)void setWindowTitle (const QString &)— sets the dialog's title nameQPushButton * maximumButton ()— gets you the maximize buttonQPushButton * minimumButton ()— gets you the minimize buttonQPushButton * closeButton ()— gets you the close buttonKMenuButton * menuButton ()— gets you the dropdown menu buttonQWidget * mainWidget ()— gets you the main content area WidgetKWindowButtonBar * windowButtonBar ()— it's thewindowButtonBar, that's the whole note 💀KIconBar * iconBar ()— and this one's theiconBar. same vibe.
🔥 Protected Member Functions 🔥
void changeTheme ()
⭐ Protected Member Functions inherited from kdk::KDialog ⭐
bool eventFilter (QObject *target, QEvent *event) overridevoid changeTheme ()void changeIconStyle ()QBoxLayout * mainLayout ()
🌈 Detailed Description 🌈
it's a progress dialog, and it shows the current progress in real time. that's the whole personality and honestly? she ate. 💅
🧚 Examples 🧚
testprogressdialog/widget.cpp
👑 Author 👑
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. so like, a robot wrote her bio. still slayed. 🤖✨
ngl if you made it this far you're basically a Unix main character now. go forth and show that progress. 🦋
and that's the whole page bestie — brought to you by LIBKYSDK-APPLICATIONS, Version version:3.0, kdk::KProgressDialog(3), periodt. 💖🎀💅
📦 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