VR-Engage  2.2
Loading...
Searching...
No Matches
vreEntitySelectionDialog.h
Go to the documentation of this file.
1/******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4******************************************************************************/
5
6//! \file vreEntitySelectionDialog.h
7//! \ingroup vreManager
8//! \brief Entity selection dialog for VREngage Manager
9//!
10//! This file defines the DtVreEntitySelectionDialog class, which provides a customized
11//! dialog for selecting entities within the VREngage Manager.
12
13#pragma once
14
15#include "vreManager/export.h"
16#include <vrfGuiCoreQt/entitySelectionDialog.h>
17
18namespace makVrf
19{
20class DtVrfSelectionObjectFilter;
21class DtVrfOrFilter;
22} // namespace makVrf
23
24namespace makVre
25{
27
28//! \brief Dialog for selecting entities in the VREngage Manager
29//!
30//! This dialog extends the VRF entity selection dialog with VREngage-specific
31//! filtering capabilities, allowing users to select entities based on
32//! VREngage-specific criteria.
33class VREMANAGER_DLL DtVreEntitySelectionDialog : public makVrf::DtEntitySelectionDialog
34{
35 Q_OBJECT
36public:
37 //! \brief Constructor
38 //! \param de The distributed environment reference
39 //! \param parent The parent widget
40 //! \param flags Window flags to apply to the dialog
41 //!
42 //! Initializes a new entity selection dialog with the specified parameters.
43 DtVreEntitySelectionDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
44
45 //! \brief Destructor
46 //!
47 //! Cleans up resources used by the entity selection dialog.
48 virtual ~DtVreEntitySelectionDialog() override;
49
50 //! \brief Sets up the dialog GUI components
51 //! \param addAggregateFilter Whether to add an aggregate filter option
52 //!
53 //! Configures the user interface elements of the dialog, including
54 //! the entity filters and selection controls. When addAggregateFilter
55 //! is true, additional filtering options for aggregate entities are included.
56 virtual void setupGui(bool addAggregateFilter = false) override;
57
58protected:
59 //! \brief VREngage-specific entity selection filter
60 //!
61 //! Provides filtering capabilities specifically for VREngage entities.
63
64 //! \brief Filter for selecting no objects
65 //!
66 //! Used to create a null selection option in the filter combo.
67 makVrf::DtVrfSelectionObjectFilter* myNoneSelectionFilter;
68
69 //! \brief Compound OR filter
70 //!
71 //! Combines multiple selection filters using logical OR operations.
72 makVrf::DtVrfOrFilter* myOrSelectionFilter;
73};
74} // namespace makVre
makVrf::DtVrfOrFilter * myOrSelectionFilter
Compound OR filter.
Definition vreEntitySelectionDialog.h:72
DtVreEntitySelectionDialog(makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0)
Constructor.
virtual ~DtVreEntitySelectionDialog() override
Destructor.
makVrf::DtVrfSelectionObjectFilter * myNoneSelectionFilter
Filter for selecting no objects.
Definition vreEntitySelectionDialog.h:67
DtVreEntitySelectionFilter * myEntitySelectionFilter
VREngage-specific entity selection filter.
Definition vreEntitySelectionDialog.h:62
virtual void setupGui(bool addAggregateFilter=false) override
Sets up the dialog GUI components.
Filter for selecting entities in the VREngage Manager.
Definition vreEntitySelectionFilter.h:35
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
Definition connectorAccessory.h:39
makVrv::DtDe * de()
Gets the display element pointer used by the plugin.