⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 menu.cc

📁 c++的guiQt做的开发
💻 CC
字号:
/** @file This class manages Menu, Toolbars and Shortcuts Menus, menu items, toolbars and toolbar items share the same namespace and often menu and toolbar items are interchangable (only difference is that toolbar item must have icon, while menu item can be without an icon) @author Martin Petricek*/#include "menu.h"#include "toolfactory.h"namespace gui {/** Contructor of menu system for one specific window @param _main Main application window */Menu::Menu(QMainWindow *_main) : MenuTool(_main) {}/** Destructor */Menu::~Menu() {}/** Create special item given its name @param tb toolbar in which the item is inserted @param item name of the item @param mainWindow main application window*/QWidget* Menu::specialItem(ToolBar *tb,const QString &item,QMainWindow *mainWindow) { return ToolFactory::specialItem(tb,item,mainWindow);}} // namespace gui

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -