kdk::KSwitchButtonFrame(3)

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

πŸ’– 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 a KSwitchButton in 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 does setFrameShape(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