kdk::KComboBoxWidget(3)
๐ NAME ๐
kdk::KComboBoxWidget โ bestie, it's a whole widget, and it lives in the kdk namespace ๐ (that's manual page kdk::KComboBoxWidget(3) if you're keeping receipts)
โจ SYNOPSIS โจ
Okay so first thing you need to know, no cap:
Inherits QWidget.
That's the whole vibe. It's a QWidget underneath, so all that Qt parent energy is inherited, periodt. ๐
๐ธ Signals ๐ธ
void comBoxWidgetClicked ()โ it yells this at you when the combobox widget gets clicked. That's the signal, that's the whole thing ๐ซถ
๐ฆ Public Member Functions ๐ฆ
KComboBoxWidget (QWidget *parent=nullptr)โ the constructor, and yes theparentdefaults tonullptr, so you can absolutely make one with no parent like the independent main character it is ๐void setStringList (QStringList list)โ ่ฎพ็ฝฎcombobox็้้กนๅ่กจ (sets the combobox's option list, iykyk)QStringList getChosenList ()โ ่ทๅ้ไธญ็ๅ่กจ (grabs the list of what got chosen โจ)void setMainText (QString text)โ ่ฎพ็ฝฎไธปๆๆฌ (sets the main text, literally what it says)QMenu * menu ()โ ่ทๅๅผนๅบ่ๅ (gets the popup menu, and it hands you aQMenu *pointer, not a copy, so be normal about it)
๐ง Protected Member Functions ๐ง
These are the protected ones, so they're lowkey doing their own thing in the backstage area of the class ๐
void mouseReleaseEvent (QMouseEvent *event)void mousePressEvent (QMouseEvent *event)void leaveEvent (QEvent *e)void enterEvent (QEvent *e)void paintEvent (QPaintEvent *event)
๐ Member Function Documentation ๐
๐ QStringList kdk::KComboBoxWidget::getChosenList () ๐
่ทๅ้ไธญ็ๅ่กจ โ it gives you back the list of selected stuff. Iconic behaviour, fr fr.
Returns
(the original doesn't spell out a return description here, bestie โ it just says Returns and leaves it at that ๐)
๐ QMenu * kdk::KComboBoxWidget::menu () ๐
่ทๅๅผนๅบ่ๅ โ it gets you that popup menu. Obsessed. ๐
Returns
(again, the source just says Returns with nothing after it โ we're keeping it 100% honest here ๐ญ)
โญ void kdk::KComboBoxWidget::setMainText (QString text) โญ
่ฎพ็ฝฎไธปๆๆฌ โ sets the main text. Slay. โจ
Parameters
- text
๐ฆ void kdk::KComboBoxWidget::setStringList (QStringList list) ๐ฆ
่ฎพ็ฝฎcombobox็้้กนๅ่กจ โ sets the option list for the combobox. This is the one that actually gives the thing something to show, and honestly? Ate. ๐
Parameters
- list
๐ Author ๐
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code.
Not a human author, not a group chat, just Doxygen doing its little automatic thing and taking full credit ๐คโจ we respect it.
And that's the whole page, bestie โ brought to you by LIBKYSDK-APPLICATIONS, Version version:3.0, straight out of the kdk::KComboBoxWidget(3) manual. Go build something cute 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