kdk::KLoopPlayPage(3)
✨ NAME ✨
kdk::KLoopPlayPage — bestie, this is a whole page that loops. It's the kdk:: one, from section 3 of the manual (the library functions girlies), and it's about to be your new obsession. 💖
🦋 SYNOPSIS 🦋
Inherits QWidget. So yes, it's a widget. It ate and left no crumbs.
💅 Signals
void leftClick ()
void centerClick ()
void rightClick ()
🎀 Public Member Functions
KLoopPlayPage (QWidget *parent=nullptr)
void addWidget (QWidget *widget)
void removeWidget (QWidget *widget)
void setCurrentWidget (int i)
int currentWidget ()
void setWidgetSpacing (int spacing)
void setLoopTime (int time)
KLoopPlayPage (QWidget *parent=nullptr)— the constructor, the birth of the icon. Takes an optionalparentwidget, defaults tonullptr.void addWidget (QWidget *widget)— 添加widget. (Translation: add a widget. Slay.)void removeWidget (QWidget *widget)— 删除widget. (Translation: remove a widget. It's giving goodbye.)void setCurrentWidget (int i)— 设置当前中心界面. (Set the current center page, bestie.)int currentWidget ()— 获取当前中心界面index. (Get the current center page index. Returns anint, no cap.)void setWidgetSpacing (int spacing)— 设置窗体间距. (Set the widget spacing, okay?)void setLoopTime (int time)— 设置轮播时长. (Set the carousel duration. The loop time.)
🌈 Protected Member Functions
void resizeEvent (QResizeEvent *event)
void paintEvent (QPaintEvent *event)
void showEvent (QShowEvent *event) override
void resizeEvent (QResizeEvent *event)— protected, so it's for the inside circle only.void paintEvent (QPaintEvent *event)— also protected. It paints. Main character energy.void showEvent (QShowEvent *event) override— protected and markedoverride, because it's overriding what it inherited. Periodt.
🫶 Member Function Documentation 🫶
⭐ void kdk::KLoopPlayPage::addWidget (QWidget * widget)
添加widget
Parameters
widget
⭐ int kdk::KLoopPlayPage::currentWidget ()
获取当前中心界面index
Returns
⭐ void kdk::KLoopPlayPage::removeWidget (QWidget * widget)
删除widget
Parameters
widget
⭐ void kdk::KLoopPlayPage::setCurrentWidget (int i)
设置当前中心界面
Parameters
i
⭐ void kdk::KLoopPlayPage::setLoopTime (int time)
设置轮播时长
Parameters
time
⭐ void kdk::KLoopPlayPage::setWidgetSpacing (int spacing)
设置窗体间距
Parameters
spacing
👑 Author 👑
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code. Not me writing it by hand, the robot did it. Respect the robot. 🤖✨
And that's the whole page, bestie — no skipped options, no missing params, we kept every single crumb. 💜
This was brought to you by LIBKYSDK-APPLICATIONS, Version version:3.0, dated kdk::KLoopPlayPage(3). Byeee, go loop something iconic. 💅🌸🦋
📦 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