kdk::KMenuButton(3)

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

✨ NAME ✨

kdk::KMenuButton — 下拉菜单按钮 💅 (a dropdown menu button, and yes she's giving main character energy)

This is a section 3 manual page (kdk::KMenuButton(3)), so it's a library function situation — welcome to the library functions manual, bestie 🫶


🎀 SYNOPSIS 🎀

#include <kmenubutton.h>

Inherits QToolButton, and ThemeController. Yeah. Both. She's multi-talented like that 💖

🌸 Public Member Functions 🌸

  • KMenuButton (QWidget *parent=nullptr) — the constructor, and parent defaults to nullptr so you can go solo if you want to 🙈
  • QMenu * menu () — 获取主菜单 (grabs you the main menu)
  • QMenu * themeMenu () — 获取主题菜单 (grabs you the theme menu)
  • QAction * settingAction () — 获取设置action (hands over the settings action)
  • QAction * themeAction () — 获取主题Action (the theme action)
  • QAction * assistAction () — 获取帮助Action (the help action)
  • QAction * aboutAction () — 获取关于Action (the about action)
  • QAction * feedbackAction () — 获取意见反馈Action (the feedback action)
  • QAction * quitAction () — 获取离开Action (the quit action, the goodbye girlie)
  • QAction * autoAction () — 获取跟随主题Action (the follow-the-theme action)
  • QAction * lightAction () — 获取浅色主题Action (the light theme action)
  • QAction * darkAction () — 获取深色Action (the dark action 🌙)

🦋 Protected Member Functions 🦋

  • void changeTheme () override — overrides the theme switcheroo ✨
  • void paintEvent (QPaintEvent *painteEvent) — the paint event handler, and yes the parameter is literally spelled painteEvent, we do not touch it, we respect it 💀
  • QSize sizeHint () const override — overrides the size hint, she knows exactly how big she wants to be 👑

💜 Detailed Description 💜

下拉菜单按钮 (dropdown menu button. that's the whole vibe. periodt.)

⭐ Since ⭐

1.0.0 — she's been iconic since day one, no cap 🔥


🌈 Author 🌈

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

(Not a human author, just Doxygen doing its little robot thing 🤖✨ 自动生成, fr fr.)


Heads up bestie: this page was auto-generated, so if something looks weird, that's the machine's handwriting, not mine 🫶

LIBKYSDK-APPLICATIONS · Version version:3.0 · that's the whole manual page, mwah, go slay some dropdown menus 💅💖🎀

📦 where this page comes from