kdk::KSliderFrame(3)

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

💖 kdk::KSliderFrame 💖

okay so this is page kdk::KSliderFrame(3) from the Library Functions Manual, and bestie, it's a whole vibe. settle in, we're reading it together 🫶


✨ NAME ✨

kdk::KSliderFrame

that's it. that's the name section. no tagline, no little subtitle, just the name sitting there with main character energy 👑


🦋 SYNOPSIS 🦋

Inherits kdk::KBaseFrame.

💫 Public Member Functions

  • KSliderFrame (QString title, bool hasNode, QWidget *parent=nullptr, BorderRadiusStyle style=BorderRadiusStyle::None, Qt::Orientation orientation=Qt::Horizontal) — creates a Frame with a KSlider inside it (the original doc says 创建一个带 KSlider 的 Frame)
  • KSlider * slider () — grabs m_slider (获取 m_slider)
  • QLabel * leftLabel () — grabs the label on the left side of the slider (获取滑动条左侧label)
  • QLabel * rightLabel () — grabs the label on the right side of the slider (获取滑动条右侧label)
  • 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 () — gets tablet mode (获取平板模式)
  • bool isContainer () — tells you whether this is a container frame; if it is, the setting group needs to set the corner radius of its child frame instead (获取是否是一个容器frame,此时settinggroup需要设置的是其子frame的圆角)
  • void setContainer (bool b=false) — sets whether this frame is a container frame; if it is, it also calls setFrameShape(NoFrame) (设置该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::KSliderFrame::KSliderFrame (QString title, bool hasNode, QWidget * parent = nullptr, BorderRadiusStyle style = BorderRadiusStyle::None, Qt::Orientation orientation = Qt::Horizontal) [explicit]

creates a Frame with a KSlider in it 💅 (the original wording: 创建一个带 KSlider 的 Frame)

Parameters

  • title — text of m_settingName
  • hasNode — whether it has a node (是否带节点)
  • style — sets the corner radius (None: no rounded corners, Top: top corners rounded, Bottom: bottom corners rounded, Around: all four corners rounded) — original: 设置圆角(None:无圆角,Top:上圆角,Bottom:下圆角,Around:四圆角)
  • parent — (no description given in the original, bestie, it just says parent and moves on 🙈)

💅 Member Function Documentation 💅

QLabel * kdk::KSliderFrame::leftLabel ()

grabs the label on the left side of the slider (获取滑动条左侧label)

Returns

QLabel

QHBoxLayout * kdk::KSliderFrame::mainHLayout ()

grabs the layout (获取layout)

Returns

QHBoxLayout

QLabel * kdk::KSliderFrame::rightLabel ()

grabs the label on the right side of the slider (获取滑动条右侧label)

Returns

QLabel

KSlider * kdk::KSliderFrame::slider ()

grabs m_slider (获取 m_slider)

Returns

KSlider

KLabel * kdk::KSliderFrame::titleLabel ()

grabs the label (获取label)

Returns

QLabel

not me noticing the signature says KLabel * but the Returns block says QLabel 😭 i'm just telling you what the page says, i do not make the rules, i only report them fr fr

🎀 Author 🎀

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. so nobody hand-wrote this one, it's a Doxygen baby 🤖✨


and that's the whole page, bestie! this little icon of a manpage came to you courtesy of LIBKYSDK-APPLICATIONS, Version version:3.0, page kdk::KSliderFrame(3) — go forth and slay your sliders 🦋💖

📦 where this page comes from