VR-Engage  2.2
Loading...
Searching...
No Matches
vreVrfHelpActions.h
Go to the documentation of this file.
1/*******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4*******************************************************************************/
5
6//! \file vreVrfHelpActions.h
7//! \ingroup vreManager
8//! \brief VREngage-specific help system and about box customizations
9//!
10//! This file defines VREngage-specific extensions to the VRF help system and about
11//! dialog to indicate that the VREngage add-on is installed in the application.
12
13#pragma once
14
15#include "vreManager/export.h"
16
17#include <vrfGuiCoreQt/helpActions.h>
18
19#include <QStyledItemDelegate>
20
21namespace makVre
22{
23//! \brief Custom about box with VREngage information
24//!
25//! This class extends the standard VRF about box to add an indication
26//! that the VREngage add-on is installed in the application.
27class VREMANAGER_DLL DtVreVrfAboutBox : public makVrf::DtVrfAboutBox
28{
29 Q_OBJECT
30public:
31 //! \brief Constructor
32 //! \param igApp The VRV application reference
33 //! \param parent The parent widget
34 //! \param f Window flags to apply to the dialog
35 //!
36 //! Initializes a new about box with VREngage-specific information.
37 DtVreVrfAboutBox(makVrv::DtVrvApplication& igApp, QWidget* parent, Qt::WindowFlags f);
38
39 //! \brief Virtual destructor
40 //!
41 //! Cleans up resources used by the about box.
42 virtual ~DtVreVrfAboutBox() override;
43};
44
45
46//! \brief Custom about menu item for VREngage
47//!
48//! This class extends the standard VRF about menu item to display
49//! the VREngage-specific about box when triggered.
50class VREMANAGER_DLL DtVreVrfAboutItem : public makVrf::DtVrfAboutItem
51{
52 Q_OBJECT
53public:
54 //! \brief Constructor
55 //! \param de The distributed environment reference
56 //!
57 //! Initializes a new about menu item that will show the VREngage-specific
58 //! about box when triggered.
59 DtVreVrfAboutItem(makVrv::DtDe& de);
60
61 //! \brief Virtual destructor
62 //!
63 //! Cleans up resources used by the about menu item.
64 virtual ~DtVreVrfAboutItem() override;
65
66 //! \brief Handles menu item triggering
67 //!
68 //! Called when the about menu item is triggered. Creates and displays
69 //! the VREngage-specific about box.
70 virtual void on_triggered() override;
71};
72
73} // namespace makVre
DtVreVrfAboutBox(makVrv::DtVrvApplication &igApp, QWidget *parent, Qt::WindowFlags f)
Constructor.
virtual ~DtVreVrfAboutBox() override
Virtual destructor.
virtual ~DtVreVrfAboutItem() override
Virtual destructor.
DtVreVrfAboutItem(makVrv::DtDe &de)
Constructor.
virtual void on_triggered() override
Handles menu item triggering.
Export macros for the VREngage Manager library.
#define VREMANAGER_DLL
Platform-specific export/import macro for VREngage Manager library.
Definition export.h:28
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
makVrv::DtDe * de()
Gets the display element pointer used by the plugin.