VR-Engage  2.2
Loading...
Searching...
No Matches
optimizingVRPerformanceDialog.h
Go to the documentation of this file.
1/******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4******************************************************************************/
5
6//! \file optimizingVRPerformanceDialog.h
7//! \brief Defines the VR performance optimization tip dialog
8//!
9//! This file contains the DtOptimizingVRPerformanceDialog class which provides
10//! a dialog with performance optimization tips for VR users. The dialog appears
11//! when a user takes control of an entity with a VR display configuration,
12//! offering suggestions for graphics settings and other adjustments to achieve
13//! optimal frame rates in VR. Users can optionally choose to not see this dialog
14//! again during the current application session.
15
16#pragma once
17
19#include "vrePlayerStation/optimizingVRPerformanceDialogUI.hpp"
20
21#include <QtWidgets/QDialog>
22
23namespace makVrv
24{
25class DtDe;
26}
27
28namespace makVre
29{
30//! \brief Dialog for displaying VR performance optimization tips
31//!
32//! DtOptimizingVRPerformanceDialog displays a dialog with performance optimization
33//! suggestions for users running VR-Engage in VR mode. It provides tips about
34//! graphics settings and other configuration adjustments that can help achieve
35//! optimal performance in VR, which requires high and consistent frame rates.
36//!
37//! The dialog includes a checkbox option allowing users to prevent it from
38//! appearing again during the current application session.
39class PLAYERSTATION_DLL DtOptimizingVRPerformanceDialog : public QDialog, public Ui::DtOptimizingVRPerformanceDialog
40{
41 Q_OBJECT
42
43public:
44 //! \brief Constructor
45 //! \param parent Parent widget for this dialog
46 //! \param flags Window flags controlling the dialog's appearance and behavior
47 //!
48 //! Creates a new VR performance optimization dialog with the specified parent
49 //! and window flags. The dialog is initialized with performance tips and a
50 //! checkbox to prevent showing it again.
51 DtOptimizingVRPerformanceDialog(QWidget* parent = nullptr, const Qt::WindowFlags& flags = 0);
52
53 //! \brief Virtual destructor
54 //!
55 //! Ensures proper cleanup of dialog resources.
57
58 //! \brief Checks if the dialog should not be shown again
59 //! \return True if the "Don't show again" checkbox is checked, false otherwise
60 //!
61 //! Returns the state of the "Don't show this dialog again" checkbox,
62 //! allowing the calling code to respect the user's preference about
63 //! seeing this dialog in the future.
64 virtual bool neverShowAgain();
65};
66} // namespace makVre
virtual ~DtOptimizingVRPerformanceDialog() override
Virtual destructor.
virtual bool neverShowAgain()
Checks if the dialog should not be shown again.
DtOptimizingVRPerformanceDialog(QWidget *parent=nullptr, const Qt::WindowFlags &flags=0)
Constructor.
Defines export macros for the VR-Engage Player Station library.
#define PLAYERSTATION_DLL
Definition export.h:24
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
Definition appLauncherComponent.h:28