kdk::KItemWidget(3)

πŸ“¦ version 3.0.1.2, in arch rolling, ubuntu resolute, ubuntu stonking

πŸ’– 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 a parent widget. 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 a QSize size and boom, sized. she's flexible like that 🌈

🧚 Protected Member Functions

  • void paintEvent(QPaintEvent *event) β€” the protected one, the behind-the-scenes queen. she takes a QPaintEvent *event and 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