kdk::KBreadCrumb(3)
✨ NAME ✨
okay so bestie, meet kdk::KBreadCrumb — it's a 面包屑控件, aka a breadcrumb widget 🍞💖 (yes like the fairy-tale trail, but for navigating your UI, slay). That's it, that's the name. And for the record, this whole page lives under kdk::KBreadCrumb(3) in the Library Functions Manual — section 3, library functions, iykyk.
🦋 SYNOPSIS 🦋
#include <kbreadcrumb.h>
And the plot twist nobody expected: it Inherits QTabBar. A breadcrumb widget that's secretly a tab bar?? lowkey iconic, highkey cursed, we love it 💅
🎀 Public Member Functions
KBreadCrumb(QWidget *parent=nullptr)— the constructor, the birth of a breadcrumb 🐣 (parent defaults tonullptr, no cap)void setIcon(const QIcon &icon)— 设置图标, sets the icon ✨QIcon icon() const— 获取图标, gets the icon 🫶bool isFlat() const— 返回按钮边框是否凸起, tells you whether the button border is raised or not 🔍void setFlat(bool flat)— 设置按钮边框是否凸起, sets whether the button border is raised or not 🎚️
🧚 Protected Member Functions
QSize tabSizeHint(int index) const— the size hint for the tab, for your eyes only (protected, we respect privacy here 🙈)void paintEvent(QPaintEvent *event)— where the actual painting happens, protected, very backstage-at-the-met-gala energy 💅
🌸 Detailed Description 🌸
面包屑控件 — it's a breadcrumb widget, periodt. That's the whole description, and honestly? It ate. 🍞👑
⭐ Since
1.0.0 — so it's been around, a true veteran of the SDK, not a new girl on the block 💜
💖 Member Function Documentation 💖
QIcon kdk::KBreadCrumb::icon() const
获取图标 — grabs the icon, bestie 🎀
Returns
okay so the original literally has a Returns heading with nothing under it. Empty. Void. A whole mood. 😭 So that's all the intel we have, fr fr.
bool kdk::KBreadCrumb::isFlat() const
返回按钮边框是否凸起 — answers the big question: is the button border raised or not? 🤔
Returns
same situation as above — Returns is sitting there with nothing after it. We're working with vibes only on this one 💀
void kdk::KBreadCrumb::setFlat(bool flat)
设置按钮边框是否凸起 — sets whether the button border is raised or not, you're the one in control now 👑
Parameters
flat— that's the whole parameter list, no further detail given 🙈
void kdk::KBreadCrumb::setIcon(const QIcon &icon)
设置图标 — sets the icon, go make it cute ✨
Parameters
icon— yep, that's the parameter, and that's all the docs say about it 💅
🫶 Author 🫶
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. Not a human, not a bestie, just Doxygen doing its little robot thing 🤖🌸
and that's the whole page, babe! 💖 This was LIBKYSDK-APPLICATIONS, Version version:3.0, filed under kdk::KBreadCrumb(3). go build something gorgeous with your breadcrumbs, 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