kdk::KAddButton(3)

๐Ÿ“ฆ version 3.0.1.2, in arch rolling, ubuntu resolute, ubuntu stonking

โœจ 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, with parent defaulting to nullptr, style defaulting to KBaseFrame::BorderRadiusStyle::Bottom, and heightAdaptive defaulting to true โœจ
  • 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