DtVreSelectConnectionPageQML provides the interface between the C++ backend and the QML frontend of the connection selection page. It manages the list of available connection drivers and handles communication between the UI and the underlying connection system.
#include <vreSelectConnectionPage.h>
◆ DtVreSelectConnectionPageQML()
| makVre::DtVreSelectConnectionPageQML::DtVreSelectConnectionPageQML |
( |
QObject * | parent = nullptr | ) |
|
|
explicit |
Constructor.
- Parameters
-
| parent | Optional parent QObject for memory management |
Creates a new QML interface for the connection selection page. Registers message handlers and requests connection information.
◆ ~DtVreSelectConnectionPageQML()
| virtual makVre::DtVreSelectConnectionPageQML::~DtVreSelectConnectionPageQML |
( |
| ) |
|
|
overridevirtual |
Destructor.
Cleans up resources and unregisters message handlers.
◆ getDrivers()
| virtual QVariantList makVre::DtVreSelectConnectionPageQML::getDrivers |
( |
| ) |
|
|
virtual |
Gets the list of available connection drivers.
- Returns
- List of connection drivers as QVariantList
Returns the current list of available connection drivers (DIS, HLA) for display in the QML interface. Each driver contains information about the connection protocol and its configuration options.
◆ back()
| virtual Q_INVOKABLE void makVre::DtVreSelectConnectionPageQML::back |
( |
| ) |
|
|
virtual |
Invokable method to navigate back.
QML-invokable method that handles back navigation requests from the UI. This is typically connected to back buttons in the QML interface.
◆ handleHLADriverMessage()
Handles HLA connection information messages.
- Parameters
-
| msg | Pointer to the HLA connection info message |
- Returns
- Message handling result
Processes messages containing information about available HLA connections and updates the driver list accordingly.
◆ handleDISDriverMessage()
Handles DIS connection information messages.
- Parameters
-
| msg | Pointer to the DIS connection info message |
- Returns
- Message handling result
Processes messages containing information about available DIS connections and updates the driver list accordingly.
◆ setDrivers
| void makVre::DtVreSelectConnectionPageQML::setDrivers |
( |
QVariantList | list | ) |
|
|
slot |
Sets the list of connection drivers.
- Parameters
-
| list | New list of connection drivers |
Updates the internal list of connection drivers and notifies the QML interface of the change.
◆ addDriver
Adds a connection driver to the list.
- Parameters
-
| driver | Pointer to the driver to add |
Adds a new connection driver to the list of available drivers and updates the QML interface.
◆ driversChanged
| void makVre::DtVreSelectConnectionPageQML::driversChanged |
( |
QVariantList | list | ) |
|
|
signal |
Signal emitted when the driver list changes.
- Parameters
-
| list | Updated list of drivers |
Notifies the QML interface that the list of available connection drivers has changed.
◆ driversDoneLoading
| void makVre::DtVreSelectConnectionPageQML::driversDoneLoading |
( |
| ) |
|
|
signal |
Signal emitted when all drivers have finished loading.
Notifies the QML interface that all connection drivers have finished loading and the UI can be updated accordingly.
◆ myDrivers
List of available connection drivers.
Stores the current list of available connection drivers that can be selected and configured by the user.
◆ myApp
Pointer to the player station application.
Provides access to application services and state. Not owned by this class, simply a convenience pointer.
◆ drivers
| QVariantList makVre::DtVreSelectConnectionPageQML::drivers |
|
readwrite |
List of available connection drivers.
QML property that exposes the list of available connection drivers to the QML frontend. Can be accessed and modified from QML.
The documentation for this class was generated from the following file: