kdk::KAboutDialog(3)
💖 kdk::KAboutDialog(3) 💖
okay bestie, buckle up, because today we're talking about kdk::KAboutDialog from the kdk library — it lives in the Library Functions Manual section and honestly? it's giving "the little popup that tells you who made the app". ✨
🌸 NAME 🌸
kdk::KAboutDialog — the About dialog, and it comes in two styles: one with no specific description, and one with a specific description. pick your fighter 💅
🎀 SYNOPSIS 🎀
#include <kaboutdialog.h>
It inherits kdk::KDialog — so everything KDialog can do, this baby can do too. nepotism but make it C++ 💀
👑 Public Member Functions
KAboutDialog (QWidget *parent=nullptr, const QIcon &appIcon=QIcon(), const QString &appName='', const QString &appVersion='', const QString &appInfo='')— the constructor, obviously. she takes a parent widget, an app icon, an app name, an app version and some app info, all with defaults so you can be as lazy as you want. no cap.void setAppIcon (const QIcon &icon)— sets the app icon. that little picture in the corner? yeah, that one. 🦋void setAppName (const QString &appName)— sets the application name.QString appName ()— hands you back the application name. getter queen 👑void setAppVersion (const QString &appVersion)— sets the application version number.QString appVersion ()— gives you the application version number back.void setBodyText (const QString &bodyText)— sets the actual description content. this is the "specific description" part of the whole vibe. 📝QString bodyText ()— returns that description content.void setAppSupport (const QString &appSupport)— sets the service and support email. it has a default already, so if you don't set it, don't stress. 🫶QString appSupport ()— returns the service and support email.void setBodyTextVisiable (bool flag)— sets whether the description content is shown. ⚠️ heads up: by design requirements, as of1.2.0.9the description content is no longer displayed. yes, the flag is spelledVisiable. we don't talk about it. moving on. 😭void setAppPrivacyLabelVisible (bool flag)— sets whether the privacy button is visible.bool AppPrivacyLabelIsVisible ()— returns whether the privacy button is visible. yes/no, iconic binary behaviour.
✨ Public Member Functions inherited from kdk::KDialog
KDialog (QWidget *parent=nullptr)— the base constructor.void setWindowIcon (const QIcon &icon)— sets the dialog icon.void setWindowIcon (const QString &iconName)— sets the dialog icon, but with a name this time. two ways, one job. 💅void setWindowIcon (const QString &iconName)... wait no bestie, it'svoid setWindowTitle (const QString &)— sets the dialog title name.QPushButton * maximumButton ()— gets the maximize button.QPushButton * minimumButton ()— gets the minimize button.QPushButton * closeButton ()— gets the close button. the most used button in all of software, fr fr.KMenuButton * menuButton ()— gets the dropdown menu button.QWidget * mainWidget ()— gets the main content area Widget.KWindowButtonBar * windowButtonBar ()— gets thewindowButtonBar.KIconBar * iconBar ()— gets theiconBar.
🧚 Protected Member Functions
void changeTheme () override— overrides the theme change. glow-up handler ✨void paintEvent (QPaintEvent *paintEvent) override— overrides the paint event. she paints. 💅
🌈 Protected Member Functions inherited from kdk::KDialog
bool eventFilter (QObject *target, QEvent *event) override— overrides the event filter.void changeTheme ()— changes the theme.void changeIconStyle ()— changes the icon style.QBoxLayout * mainLayout ()— gets the main layout.
🦋 Detailed Description 🦋
The About dialog. Two styles, remember: one with no specific description, and one with a specific description. that's the whole personality. periodt. 💖
Since
1.0.0 — she's been here since day one, an absolute veteran 👑
🍓 Author 🍓
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code.</purlple>
lowkey the most relatable thing about this whole page is that a robot wrote the author section. not me being jealous of a Doxygen template 😭
and that's the whole page bestie!! this was LIBKYSDK-APPLICATIONS, Version version:3.0, and yes the docs really do say "Version version:3.0", we're not fixing it, we're just vibing. mwah 💋 ✨
📦 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