kdk::KBorderlessButton(3)

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

👑 kdk::KBorderlessButton 💅

okay bestie, so this page lives in the Library Functions Manual (that's the manual name, keep it in your notes 📝), and it's all about kdk::KBorderlessButton — the borderless button. yep, that's literally what the name means: 无边框按钮. a button with no border. iconic behavior honestly ✨


🌸 NAME 🌸

kdk::KBorderlessButton — 无边框按钮, aka the borderless button 🎀


🦋 SYNOPSIS 🦋

#include <kborderlessbutton.h>

Inherits QPushButton. so yeah, it's a whole QPushButton at heart, just... no border. glow-up fr 💖

✨ Public Member Functions ✨

  • KBorderlessButton(QWidget *parent=nullptr) — the classic, no-frills constructor, takes just an optional parent 💫
  • KBorderlessButton(const QString &text, QWidget *parent=nullptr) — same deal but you get to hand it some text, plus the optional parent 🌸
  • KBorderlessButton(const QIcon &icon, const QString &text, QWidget *parent=nullptr) — full main-character build: an icon, some text, and the optional parent 👑
  • KBorderlessButton(const QIcon &icon, QWidget *parent=nullptr) — icon-only vibes, with the optional parent 🦋
  • void setIcon(const QIcon &icon) — 设置按钮图标, i.e. it sets the button's icon 🎀

🫶 Protected Member Functions 🫶

  • bool eventFilter(QObject *watched, QEvent *event)
  • void paintEvent(QPaintEvent *event)
  • QSize sizeHint() const

💜 Detailed Description 💜

无边框按钮 — it's a borderless button. that's the whole plot bestie, no cap 💅

⭐ Since ⭐

1.0.0 — it's been here since the very beginning, a true OG 🧚

🌈 Examples 🌈

testPushbutton/widget.h — go look at it, it's giving reference material 📂✨


🌟 Author 🌟

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. 🤖 (not a human, just a robot doing its lil thing)


lowkey reminder: this is LIBKYSDK-APPLICATIONS, Version version:3.0, and it's the kdk::KBorderlessButton(3) page — that's the manual-section-3, library-functions-manual energy right there. no borders were harmed in the making of this button 💀💖

stay borderless, stay slay 🫶✨🎀

📦 where this page comes from