kdk::KPushButtonFrame(3)

📦 version 3.0.1.2, in arch rolling, ubuntu resolute, ubuntu stonking

💖 kdk::KPushButtonFrame(3) 💖

okay bestie, welcome to the manual page for kdk::KPushButtonFrame — she's a Library Functions Manual girlie and she lives in section 3, iykyk 🎀


✨ NAME ✨

kdk::KPushButtonFrame — that's her, that's the whole name, no notes 💅


🌸 SYNOPSIS 🌸

Inherits kdk::KBaseFrame.

🦋 Public Member Functions

  • KPushButtonFrame(const QString title, QWidget *parent=nullptr, BorderRadiusStyle style=BorderRadiusStyle::None) — builds a Frame that has a QPushButton in it (创建一个带 QPushButton 的 Frame) 🔥
  • KPushButton * pushButton() — grabs m_pushButton (获取 m_pushButton)
  • KLabel * titleLabel() — grabs the label (获取label)
  • QHBoxLayout * mainHLayout() — grabs the layout (获取layout)

🧚 Public Member Functions inherited from kdk::KBaseFrame

  • KBaseFrame(QWidget *parent=nullptr, BorderRadiusStyle style=Around, bool heightAdaptive=false) — the constructor (构造函数)
  • void setRadiusType(BorderRadiusStyle style) — sets the corner-radius style (设置圆角风格)
  • bool getTabletMode() — tells you the tablet mode (获取平板模式)
  • bool isContainer() — tells you whether this is a container frame; when it is, what the settinggroup needs to set is the corner radius of its child frame (获取是否是一个容器frame,此时settinggroup需要设置的是其子frame的圆角)
  • void setContainer(bool b=false) — sets whether this frame is a container frame; if it is, it also does setFrameShape(NoFrame) at the same time (设置该frame是否是一个容器frame,如果是同时setFrameShape(NoFrame);)

💜 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::KPushButtonFrame::KPushButtonFrame(const QString title, QWidget *parent = nullptr, BorderRadiusStyle style = BorderRadiusStyle::None) [explicit]

creates a Frame with a QPushButton in it, periodt (创建一个带 QPushButton 的 Frame) 💅✨

🫶 Parameters

  • title — text of m_settingName
  • style — sets the corner radius (设置圆角(None:无圆角,Top:上圆角,Bottom:下圆角,Around:四圆角)): None = no corners rounded, Top = top corners rounded, Bottom = bottom corners rounded, Around = all four corners rounded
  • parent — (no description given, she's mysterious like that 🙈)

💖 Member Function Documentation 💖

QHBoxLayout * kdk::KPushButtonFrame::mainHLayout()

grabs the layout (获取layout) 🦋

Returns

QHBoxLayout


KPushButton * kdk::KPushButtonFrame::pushButton()

grabs m_pushButton (获取 m_pushButton) 👑

Returns

KPushButton: m_pushButton


KLabel * kdk::KPushButtonFrame::titleLabel()

grabs the label (获取label) 🌸

Returns

KLabel


✨ Author ✨

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. no cap, a robot wrote this and honestly? she ate 🤖💅


and that's the whole page bestie!! this doc came to you courtesy of LIBKYSDK-APPLICATIONS, Version version:3.0, serving kdk::KPushButtonFrame(3) realness 💖✨🦋 mwah, go build something iconic 🎀
📦 where this page comes from