kdk::KAddButton(3)
โจ NAME โจ
kdk::KAddButton โ that's the whole name, bestie. ๐ It's a page straight out of the Library Functions Manual, and its full address in man-land is kdk::KAddButton(3), so that's where you'll find it if you go looking. ๐ซถ
๐ธ SYNOPSIS ๐ธ
Okay so first things first: this thing inherits QPushButton. Which means it's giving push-button energy at its core, and then it adds its own little sparkle on top. ๐
๐ซ Signals
void tabletModeChanged (bool b)
๐ Public Member Functions
KAddButton (QWidget *parent=nullptr, KBaseFrame::BorderRadiusStyle style=KBaseFrame::BorderRadiusStyle::Bottom, bool heightAdaptive=true)โ the constructor, withparentdefaulting tonullptr,styledefaulting toKBaseFrame::BorderRadiusStyle::Bottom, andheightAdaptivedefaulting totrueโจvoid setRadiusType (KBaseFrame::BorderRadiusStyle style)โ ่ฎพ็ฝฎๅ่งๆจกๅผ, i.e. set the corner-radius mode ๐bool getTabletMode ()โ ่ทๅๅนณๆฟๆจกๅผ, i.e. go get that tablet mode ๐ฆvoid setHeightAdaptive (bool flag)โ ่ฎพ็ฝฎ้ซๅบฆๆฏๅฆ่ช้ๅบ, i.e. set whether the height is adaptive ๐
๐ก๏ธ Protected Member Functions
void paintEvent (QPaintEvent *event)
๐ Member Function Documentation ๐
๐ bool kdk::KAddButton::getTabletMode ()
่ทๅๅนณๆฟๆจกๅผ โ translation for the besties: get the tablet mode. ๐
Returns
boolโ ๆฏๅฆๆฏๅนณๆฟๆจกๅผ, so: whether it's tablet mode or not. Yes/no, in or out. ๐
๐ void kdk::KAddButton::setHeightAdaptive (bool flag)
่ฎพ็ฝฎ้ซๅบฆๆฏๅฆ่ช้ๅบ โ set whether the height is adaptive. ๐
Parameters
flag๐ฉ
๐ void kdk::KAddButton::setRadiusType (KBaseFrame::BorderRadiusStyle style)
่ฎพ็ฝฎๅ่งๆจกๅผ โ set the corner-radius mode. Rounded corners are a whole aesthetic and this is how you pick yours. ๐
Parameters
styleโจ
๐ Author ๐
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code.
Yes bestie, a robot wrote this one โ Doxygen, specifically, cranking out docs for LIBKYSDK-APPLICATIONS straight from the source. ๐ค๐
And that's the whole page, periodt. ๐ Cute little sign-off for you: this gorgeous thing is stamped LIBKYSDK-APPLICATIONS with version:3.0, and it signs itself off as kdk::KAddButton(3). Slay, go build something iconic with it. ๐
๐โจ
๐ฆ 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