kdk::KBorderButton(3)
💖 kdk::KBorderButton 💖
okay bestie, we're in the kdk::KBorderButton(3) page — Library Functions Manual energy, and honestly? it's giving "button but make it fashion." ✨
🌸 NAME 🌸
kdk::KBorderButton — 带边框的按钮 (a button with a border, duh 💅)
🎀 SYNOPSIS 🎀
#include <kborderbutton.h>
Inherits QPushButton. yes queen, we're a QPushButton with extra sparkle 🦋
✨ Public Member Functions ✨
KBorderButton(QWidget *parent=nullptr)— builds you a fresh border button with no parent but plenty of potential 🫶KBorderButton(const QString &text, QWidget *parent=nullptr)— same deal, but you get to name it withtextKBorderButton(const QIcon &icon, const QString &text, QWidget *parent=nullptr)— iconic and named: takes both aniconandtextKBorderButton(const QIcon &icon, QWidget *parent=nullptr)— just theicon, no words needed, she's mysterious 😌void setIcon(const QIcon &icon)— 设置按钮图标 (sets the button's icon, literally what it says 🌈)
🧚 Protected Member Functions 🧚
these are the behind-the-scenes besties, not for just anyone to call:
bool eventFilter(QObject *watched, QEvent *event)— the little watcher, filtering events as they comevoid paintEvent(QPaintEvent *event)— where the actual drawing happens 🎨QSize sizeHint() const override— she overrides this one, so she gets a say in her own size, as she should 👑
💜 Detailed Description 💜
带边框的按钮 — a button with a border. that's the whole vibe. 💖
Since
1.0.0 — she's been around, an OG fr fr
Examples
testPushbutton/widget.h. — go peek at this if you wanna see her in action 👀
👑 Author 👑
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. (not a human, just Doxygen doing its lil thing, no cap 🤖)
lowkey important reminder: all those constructors, the#include <kborderbutton.h>, theQPushButtoninheritance, theSince 1.0.0, the example path — every single crumb is real and stays exactly as written. don't be out here inventing flags that don't exist, bestie, that's not the vibe 🙈
mwah 💋 that's a wrap — this page came from LIBKYSDK-APPLICATIONS, Version version:3.0, and honestly the whole thing is iconic. 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