kdk::KBorderButton(3)

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

💖 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 with text
  • KBorderButton(const QIcon &icon, const QString &text, QWidget *parent=nullptr) — iconic and named: takes both an icon and text
  • KBorderButton(const QIcon &icon, QWidget *parent=nullptr) — just the icon, 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 come
  • void 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>, the QPushButton inheritance, the Since 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