kdk::KItemWidget(3)
π kdk::KItemWidget β from the Library Functions Manual (section 3, bestie) π
okay so picture this: you're deep in LIBKYSDK-APPLICATIONS land and you meet this little widget. her name is kdk::KItemWidget and she is, genuinely, that girl. let's get into it π
β¨ NAME β¨
kdk::KItemWidget β yes that's the whole name, she needs no subtitle, she's iconic like that π
πΈ SYNOPSIS πΈ
Inherits <code>QWidget</code>. so yeah, she's a widget, she's got the whole Qt bloodline going on, main character energy fr fr π
π«Ά Public Member Functions π«Ά
KItemWidget (const QIcon &Myicon, QString MmainText, QString MsecText,
QWidget *parent)
void SetInverse ()
void CancelInverse ()
void SetIconSize (QSize size)
π¦ Protected Member Functions π¦
void paintEvent (QPaintEvent *event)
π DESCRIPTION π
ngl the docs here are giving mystery on purpose, because this page is short and it knows it. what you get is what you get: a widget that inherits QWidget, takes an icon and two chunks of text, and lets you flip it, unflip it, and resize the icon. that's the whole vibe. no cap.
β OPTIONS β
(aka the member functions, which is basically the same thing here β every one of them, no skipping, we don't do that π)
π Public Member Functions
KItemWidget(const QIcon &Myicon, QString MmainText, QString MsecText, QWidget *parent)β the constructor, the origin story. you hand her an icon (Myicon), a main text string (MmainText), a secondary text string (MsecText), and aparentwidget. that's the whole roster, bestie, she needs all four π«Άvoid SetInverse()β flips her into inverse mode. that's what the name says and that's what we're telling you, periodt β¨void CancelInverse()β un-flips her. inverse mode? cancelled. we said what we said πvoid SetIconSize(QSize size)β you want a different icon size? you pass aQSize sizeand boom, sized. she's flexible like that π
π§ Protected Member Functions
void paintEvent(QPaintEvent *event)β the protected one, the behind-the-scenes queen. she takes aQPaintEvent *eventand does the painting. protected means it's her business, not yours, iykyk π
π Author π
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. so like, no human wrote this, a robot did, and honestly? the robot ate. π₯
and that's the page!! LIBKYSDK-APPLICATIONS, Version version:3.0, manual section 3, kdk::KItemWidget(3) β mwah, slay, go build something cute with her, bestie πβ¨ππ¦
π¦ 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