VR-Engage  2.2
Loading...
Searching...
No Matches
sarSettingsMenuItem.h
Go to the documentation of this file.
1/******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4******************************************************************************/
5
6//! \file sarSettingsMenuItem.h
7//! \brief Defines the menu item for accessing SAR settings dialog
8//! \ingroup sarClient
9
10#pragma once
11
13#include <vrvCoreQt/DtToolbar.h>
14#include <vrvCoreQt/DtMenuItem.h>
15
16namespace makVrv
17{
18//! \brief Forward declaration of the display element class
19class DtDe;
20
22{
23//! \brief Menu item for accessing the SAR settings dialog
24//!
25//! This class provides a menu item that opens the Synthetic Aperture Radar
26//! settings dialog when triggered, allowing users to configure SAR imagery
27//! options through the UI.
28class DT_DLL_sarClient DtSarSettingsMenuItem : public DtMenuItem
29{
30public:
31 //! \brief Constructor
32 //! \param de Reference to the display element
33 DtSarSettingsMenuItem(makVrv::DtDe& de);
34
35 //! \brief Virtual destructor
36 virtual ~DtSarSettingsMenuItem() override;
37
38 //! \brief Creates a QAction for this menu item
39 //! \param de Reference to the display element
40 //! \param parent Parent widget for the action
41 //! \return Pointer to the newly created QAction
42 //!
43 //! Creates and configures a QAction that represents this menu item in the UI
44 virtual QAction* createAction(DtDe& de, QWidget* parent) override;
45
46 //! \brief Handles menu item activation
47 //!
48 //! Opens the SAR settings dialog when the menu item is triggered
49 virtual void on_triggered() override;
50
51 //! \brief Reference to the display element
52 makVrv::DtDe& myDe;
53};
54} // namespace sarClientPlugin
55} // namespace makVrv
DtSarSettingsMenuItem(makVrv::DtDe &de)
Constructor.
makVrv::DtDe & myDe
Reference to the display element.
Definition sarSettingsMenuItem.h:52
virtual void on_triggered() override
Handles menu item activation.
virtual ~DtSarSettingsMenuItem() override
Virtual destructor.
virtual QAction * createAction(DtDe &de, QWidget *parent) override
Creates a QAction for this menu item.
Definition sarSettingsMenuItem.h:22
Definition appLauncherComponent.h:28
Defines DLL export macros for the SAR client plugin.
#define DT_DLL_sarClient
Definition sarClientPlugin.h:19
makVrv::DtDe * de()
Gets the display element pointer used by the plugin.