kdk::KLoopPlayPage(3)

NAME
kdk::KLoopPlayPage

SYNOPSIS

Inherits QWidget.

  Signals

void leftClick ()
void centerClick ()
void rightClick ()

  Public Member Functions

KLoopPlayPage (QWidget *parent=nullptr)
void addWidget (QWidget *widget)
添加widget
void removeWidget (QWidget *widget)
删除widget
void setCurrentWidget (int i)
设置当前中心界面
int currentWidget ()
获取当前中心界面index
void setWidgetSpacing (int spacing)
设置窗体间距
void setLoopTime (int time)
设置轮播时长

  Protected Member Functions

void resizeEvent (QResizeEvent *event)
void paintEvent (QPaintEvent *event)
void showEvent (QShowEvent *event) override

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.