kdk::KRadioButtonFrame(3)
โจ kdk::KRadioButtonFrame(3) โจ
Library Functions Manual ๐
okay bestie, sit DOWN, because today we're learning about kdk::KRadioButtonFrame โ a whole entire frame that comes with a QButtonGroup built right in. she's giving "radio buttons but make it organized" ๐
๐ NAME ๐
kdk::KRadioButtonFrame โ no cap, that's the whole name ๐
๐ธ SYNOPSIS ๐ธ
Inherits kdk::KBaseFrame. family tree stays winning ๐ณ
๐ Public Member Functions ๐
KRadioButtonFrame (const QString title, QWidget *parent=nullptr,
BorderRadiusStyle style=BorderRadiusStyle::None)
ๅๅปบไธไธชๅธฆ QButtonGroup ็ Frame โ literally "makes a Frame with a QButtonGroup in it", she's a container girlie โจ
void addButton (QRadioButton *button, int id=-1, bool addStretch=false)
ๆทปๅ ไธไธช id = id ็ QRadioButton ๅฐ m_buttonGroup๏ผๅนถๆพๅฐ radioLayout ไธญ โ drops a QRadioButton with id = id into m_buttonGroup and tucks it into radioLayout ๐ซถ
QHBoxLayout * radioHLayout ()
layout of radiobutton โ the layout where the radiobuttons live ๐
QButtonGroup * buttonGroup ()
่ทๅ m_buttonGroup โ grab m_buttonGroup ๐
KLabel * titleLabel ()
่ทๅ label โ grab the label ๐ท๏ธ
QHBoxLayout * mainHLayout ()
่ทๅ layout โ grab the layout โจ
๐ Public Member Functions inherited from kdk::KBaseFrame ๐
KBaseFrame (QWidget *parent=nullptr, BorderRadiusStyle style=Around, bool heightAdaptive=false)โ ๆ้ ๅฝๆฐ, the constructor, the origin story ๐ฃvoid setRadiusType (BorderRadiusStyle style)โ ่ฎพ็ฝฎๅ่ง้ฃๆ ผ, sets the corner-radius style ๐bool getTabletMode ()โ ่ทๅๅนณๆฟๆจกๅผ, tells you if tablet mode is on ๐ฑbool isContainer ()โ ่ทๅๆฏๅฆๆฏไธไธชๅฎนๅจ frame๏ผๆญคๆถ settinggroup ้่ฆ่ฎพ็ฝฎ็ๆฏๅ ถๅญ frame ็ๅ่ง โ is this a container frame? when it is, the settinggroup needs to set the corner radius on its <em>child</em> frames, iykyk ๐งบ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)๐
๐ฆ Additional Inherited Members ๐ฆ
โญ Public Types inherited from kdk::KBaseFrame
enum BorderRadiusStyle { Top, None, Bottom, Around }
four flavors of round, pick your fighter ๐ฌ
๐ Signals inherited from kdk::KBaseFrame
void tabletModeChanged (bool b)
she beeps when tablet mode flips, we love a signal ๐
๐ Protected Member Functions inherited from kdk::KBaseFrame
void paintEvent (QPaintEvent *e)
the paint goblin, doing her thing ๐จ
๐ Constructor & Destructor Documentation ๐
kdk::KRadioButtonFrame::KRadioButtonFrame (const QString title, QWidget * parent = nullptr, BorderRadiusStyle style = BorderRadiusStyle::None) [explicit]
ๅๅปบไธไธชๅธฆ QButtonGroup ็ Frame โ yes, she makes a Frame that comes with a QButtonGroup, main character energy fr fr โจ
Parameters
titleโ text ofm_settingName๐ท๏ธstyleโ ่ฎพ็ฝฎๅ่ง๏ผNone:ๆ ๅ่ง,Top:ไธๅ่ง,Bottom:ไธๅ่ง,Around:ๅๅ่ง๏ผโ sets the corner radius:None= no rounding,Top= top corners,Bottom= bottom corners,Around= all four corners ๐parentโ (no description given, she's mysterious like that ๐)
lowkey iconic thatstyledefaults toBorderRadiusStyle::Nonehere, notAroundlike the base class. no cap, that's just how it is ๐
๐ Member Function Documentation ๐
void kdk::KRadioButtonFrame::addButton (QRadioButton * button, int id = -1, bool addStretch = false)
ๆทปๅ ไธไธช id = id ็ QRadioButton ๅฐ m_buttonGroup๏ผๅนถๆพๅฐ radioLayout ไธญ โ adds a QRadioButton with id = id into m_buttonGroup and places it into radioLayout ๐ซถ
Parameters
buttonโ ้่ฆๆทปๅ ็QRadioButtonโ theQRadioButtonyou wanna add ๐ฏidโ ็จไบbuttonClickedไฟกๅทไผ ้็ๅๆฐ โ the value passed along by thebuttonClickedsignal ๐กaddStretchโ ๆฏๅฆaddStretchโ whether toaddStretch๐ชข
QButtonGroup * kdk::KRadioButtonFrame::buttonGroup ()
่ทๅ m_buttonGroup โ grabs m_buttonGroup ๐
Returns
QButtonGroup ๐
QHBoxLayout * kdk::KRadioButtonFrame::mainHLayout ()
่ทๅ layout โ grabs the layout โจ
Returns
QHBoxLayout ๐
QHBoxLayout * kdk::KRadioButtonFrame::radioHLayout ()
layout of radiobutton โ the layout of the radiobutton ๐
Returns
QHBoxLayout ๐
KLabel * kdk::KRadioButtonFrame::titleLabel ()
่ทๅ label โ grabs the label ๐ท๏ธ
Returns
QLabel โญ
๐ Author ๐
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. โ so like, a robot wrote it, not a girlie, but she ate anyway ๐คโจ
and that's the whole page bestie!! ๐ go forth and build radio button frames, you've got this, periodt ๐
LIBKYSDK-APPLICATIONS ยท Version version:3.0 ยท kdk::KRadioButtonFrame(3) ๐ฆ๐๐ธ
๐ฆ 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