/
klischa
/
AstraScanner2
Обзор
Документация
Войти
/
klischa
/
AstraScanner2
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/controllers/MenuBarBinder.h
28 строк
814 B
Arena Agent
ui: add built-in scanner help and user guide
18 июн 2026, 20:40
18 июн 2026, 20:40
cfd7428
Код
Авторство
О чём код?
#ifndef MENUBARBINDER_H #define MENUBARBINDER_H #include <QObject> #include <functional> class QMenuBar; class QWidget; class MenuBarBinder : public QObject { Q_OBJECT public: explicit MenuBarBinder(QObject *parent = nullptr); void bind(QMenuBar *menuBar, QWidget *owner, const std::function<void()> &onNewProject, const std::function<void()> &onOpenProject, const std::function<void()> &onSaveProject, const std::function<void()> &onSaveProjectAs, const std::function<void()> &onExportCurrentCloud, const std::function<void()> &onExportMesh, const std::function<void()> &onShowSettingsDialog, const std::function<void()> &onShowHelpDialog); }; #endif // MENUBARBINDER_H