![]() |
SARibbon 2.5.1
SARibbon wiki
|
Ribbon quick access toolbar in the top left corner/ribbon左上顶部的快速响应栏 更多...
#include <SARibbonQuickAccessBar.h>
Public 成员函数 | |
SARibbonQuickAccessBar (QWidget *parent=nullptr) | |
![]() | |
SARibbonButtonGroupWidget (QWidget *parent=nullptr) | |
void | addMenuAction (QAction *menuAction, QToolButton::ToolButtonPopupMode popupMode=QToolButton::InstantPopup) |
Add a menu QAction to the button group widget/在按钮栏中添加一个带菜单的 QAction | |
QAction * | addMenuAction (QMenu *menu, QToolButton::ToolButtonPopupMode popupMode=QToolButton::InstantPopup) |
Create and add a menu action to the button group widget (text only version)/在按钮栏中创建并添加一个带菜单的动作(仅文本版本) | |
Ribbon quick access toolbar in the top left corner/ribbon左上顶部的快速响应栏
The SARibbonQuickAccessBar class provides a specialized toolbar that is typically placedin the top-left corner of the ribbon interface. It contains frequently used commands that users can access quickly without navigating through ribbon tabs.
This toolbar supports adding regular actions as well as menu actions with different popup modes. The menu actions can be configured with various popup behaviors such as InstantPopup, MenuButtonPopup, or DelayedPopup.
此类提供了一个专门的工具栏,通常放置在ribbon界面的左上角。它包含常用的命令用户可以快速访问这些命令,而无需浏览ribbon选项卡。
此工具栏支持添加常规动作以及具有不同弹出模式的菜单动作。菜单动作可以配置各种弹出行为,如InstantPopup、MenuButtonPopup或DelayedPopup。