kdk::KSwitchButtonFrame(3)
π NAME π
kdk::KSwitchButtonFrame β that's it, that's the name, that's the whole entire icon. She's a frame that comes with a switch button, and she lives in the Library Functions Manual for kdk::KSwitchButtonFrame(3). Bestie, if you were looking for the girl who holds a KSwitchButton, you found her. π
π¦ SYNOPSIS π¦
She inherits kdk::KBaseFrame. Nepo baby? Lowkey yes. Deserved? Also yes. π
π Public Member Functions
KSwitchButtonFrame(const QString title, QWidget *parent=nullptr, BorderRadiusStyle style=BorderRadiusStyle::None)β makes a Frame that has aKSwitchButtonin it β¨void setHintText(QString &hintText)β sets the hint text π¬KSwitchButton * switchButton()β grabs the switchbutton πKLabel * titleLabel()β grabs the label π·οΈQHBoxLayout * mainHLayout()β grabs 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-rounding style πbool getTabletMode()β gets the tablet mode π±bool isContainer()β gets whether this is a container frame; when it is, what the settinggroup needs to set is the corner radius of its child frame π§Ίvoid setContainer(bool b=false)β sets whether this frame is a container frame, and if it is, it also doessetFrameShape(NoFrame)at the same time π¦
π Additional Inherited Members
π§ Public Types inherited from kdk::KBaseFrame
enum BorderRadiusStyle { Top, None, Bottom, Around }
π£ Signals inherited from kdk::KBaseFrame
void tabletModeChanged(bool b)
π οΈ Protected Member Functions inherited from kdk::KBaseFrame
void paintEvent(QPaintEvent *e)
π₯ Constructor & Destructor Documentation π₯
kdk::KSwitchButtonFrame::KSwitchButtonFrame(const QString title, QWidget *parent = nullptr, BorderRadiusStyle style = BorderRadiusStyle::None) [explicit]
Creates a Frame that has a KSwitchButton in it. Main character energy fr fr. π
β¨
Parameters
- title β text of
m_settingName(yes, that exact name, don't come for me) - style β sets the corner rounding (
None: no rounded corners,Top: top corners rounded,Bottom: bottom corners rounded,Around: all four corners rounded) π - parent β the parent. That's the whole description, she's just there being a parent. π
π Member Function Documentation π
QHBoxLayout * kdk::KSwitchButtonFrame::mainHLayout()
grabs the layout π
Returns
QHBoxLayout
void kdk::KSwitchButtonFrame::setHintText(QString & hintText)
sets the hint text π¬
Parameters
- hintText β (that's the hint text, bestie, no further notes given)
KSwitchButton * kdk::KSwitchButtonFrame::switchButton()
grabs the switchbutton π
Returns
KSlider: m_slider
ngl the docs literally say that, so I'm saying that too. Not me editing the source material, no ma'am. π
KLabel * kdk::KSwitchButtonFrame::titleLabel()
grabs the label π·οΈ
Returns
QLabel
βοΈ Author βοΈ
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. Slay, robot. π€π
Okay bestie that's the whole page, mwah. This lil masterpiece comes to you from LIBKYSDK-APPLICATIONS, Version version:3.0, and the footer was repping kdk::KSwitchButtonFrame(3) the whole time. Go forth and switch those buttons. Periodt. π¦π
β¨
π¦ 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