kdk::KLoopPlayPage(3)

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

✨ 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 optional parent widget, defaults to nullptr.
  • 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 an int, 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 marked override, 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