kdk::KMenuButton(3)

NAME
kdk::KMenuButton - 下拉菜单按钮

SYNOPSIS

#include <kmenubutton.h>

Inherits QToolButton, and ThemeController.

  Public Member Functions
KMenuButton (QWidget *parent=nullptr)
QMenu * menu ()
获取主菜单
QMenu * themeMenu ()
获取主题菜单
QAction * settingAction ()
获取设置action
QAction * themeAction ()
获取主题Action
QAction * assistAction ()
获取帮助Action
QAction * aboutAction ()
获取关于Action
QAction * quitAction ()
获取离开Action
QAction * autoAction ()
获取跟随主题Action
QAction * lightAction ()
获取浅色主题Action
QAction * darkAction ()
获取深色Action

  Protected Member Functions
void changeTheme () override
void paintEvent (QPaintEvent *painteEvent)
QSize sizeHint () const override

Detailed Description

下拉菜单按钮

Author

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code.