kdk::KComboBoxFrame(3)
๐ NAME ๐
kdk::KComboBoxFrame โ bestie, it's the Frame that comes with a QComboBox already installed. Like, the whole package. No assembly required. ๐
This page lives in the Library Functions Manual, section 3 (that's the "C++ library functions" section, iykyk).
โจ SYNOPSIS โจ
It Inherits kdk::KBaseFrame. So everything KBaseFrame can do? Yeah, she can do that too. Family traits. ๐งฌ
๐ธ Public Member Functions ๐ธ
KComboBoxFrame(const QString title, QWidget *parent=nullptr, BorderRadiusStyle style=BorderRadiusStyle::None)โ ๅๅปบไธไธชๅธฆQComboBox็ Frame โ literally "makes a Frame with a QComboBox in it". That's the whole job description. ๐KLabel *titleLabel ()โ ่ทๅlabel โ grab the label. ๐ท๏ธQHBoxLayout *mainHLayout ()โ ่ทๅlayout โ grab the layout. ๐QComboBox *comboBox ()โ ่ทๅไธๆๆกๆงไปถ โ grab the dropdown widget itself. The main character of this whole operation. ๐
๐ซถ Public Member Functions inherited from kdk::KBaseFrame ๐ซถ
KBaseFrame(QWidget *parent=nullptr, BorderRadiusStyle style=Around, bool heightAdaptive=false)โ ๆ้ ๅฝๆฐ โ the constructor. ๐๏ธvoid setRadiusType (BorderRadiusStyle style)โ ่ฎพ็ฝฎๅ่ง้ฃๆ ผ โ set the corner-rounding style. Soft edges only. โจbool getTabletMode ()โ ่ทๅๅนณๆฟๆจกๅผ โ get whether tablet mode is on. ๐ฑbool isContainer ()โ ่ทๅๆฏๅฆๆฏไธไธชๅฎนๅจframe๏ผๆญคๆถsettinggroup้่ฆ่ฎพ็ฝฎ็ๆฏๅ ถๅญframe็ๅ่ง โ tells you whether this is a container frame, and in that case what settinggroup needs to set is the corner rounding of its child frame, not its own. lowkey important detail, don't skip it. ๐งvoid setContainer (bool b=false)โ ่ฎพ็ฝฎ่ฏฅframeๆฏๅฆๆฏไธไธชๅฎนๅจframe,ๅฆๆๆฏๅๆถsetFrameShape(NoFrame)๏ผโ sets whether this frame is a container frame, and if it is, it also doessetFrameShape(NoFrame)at the same time. Two-for-one. ๐
๐ Additional Inherited Members ๐
- Public Types inherited from
kdk::KBaseFrameenum BorderRadiusStyle { Top, None, Bottom, Around }โ the four corner moods: top only, none at all, bottom only, all the way around. โจ
- Signals inherited from
kdk::KBaseFramevoid tabletModeChanged (bool b)โ fires when tablet mode flips. ๐ฆ
- Protected Member Functions inherited from
kdk::KBaseFramevoid paintEvent (QPaintEvent *e)โ the paint event, protected, so hands off unless you're the subclass. ๐
๐ Constructor & Destructor Documentation ๐
kdk::KComboBoxFrame::KComboBoxFrame (const QString title, QWidget * parent = nullptr, BorderRadiusStyle style = BorderRadiusStyle::None) [explicit]
ๅๅปบไธไธชๅธฆ QComboBox ็ Frame โ yes bestie, it builds you a Frame with a QComboBox in it. Also it's marked [explicit], so no sneaky implicit conversions, periodt. ๐
Parameters
- title โ text of
m_settingName - style โ ่ฎพ็ฝฎๅ่ง๏ผ
None:ๆ ๅ่ง,Top:ไธๅ่ง,Bottom:ไธๅ่ง,Around:ๅๅ่ง๏ผโ sets the corner rounding:None= no rounded corners,Top= top corners,Bottom= bottom corners,Around= all four corners. Pick your vibe. ๐ธ - parent โ the parent. That's it, that's the description. ๐ซถ
๐ Member Function Documentation ๐
QComboBox * kdk::KComboBoxFrame::comboBox ()
่ทๅไธๆๆกๆงไปถ โ hands you the dropdown widget. ๐
Returns
QComboBox
QHBoxLayout * kdk::KComboBoxFrame::mainHLayout ()
่ทๅlayout โ hands you the layout. ๐
Returns
QHBoxLayout
KLabel * kdk::KComboBoxFrame::titleLabel ()
่ทๅlabel โ hands you the label. ๐ท๏ธ
Returns
QLabel
โญ tiny plot twist bestie: the declared return type up top isKLabel *, but the documented Returns saysQLabel. Both are in the original, so both are staying right here. Not my business to pick a side. ๐
๐ Author ๐
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. So nobody hand-wrote this, the robot did it, and honestly? She ate. ๐คโจ
okay that's the whole page bestie, ily, go build something iconic ๐
This was brought to you by LIBKYSDK-APPLICATIONS, Version version:3.0, and page kdk::KComboBoxFrame(3) โ catch you in the next manpage, mwah ๐ซถ๐
๐ฆ 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