kdk::KBorderlessButton(3)
👑 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 isLIBKYSDK-APPLICATIONS, Version version:3.0, and it's thekdk::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
- 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