NDEVR
API Documentation
VulkanCameraSettingsDialog.h
1#pragma once
2#include <NDEVR/Camera.h>
3#include <QWidget>
4namespace Ui
5{
6 class LocalCameraSettingsUI;
7}
8namespace NDEVR
9{
14 class VulkanCameraSettingsDialog : public QWidget
15 {
16 public:
19 VulkanCameraSettingsDialog(QWidget* parent = nullptr);
23 VulkanCameraSettingsDialog(const DynamicPointer<Camera>& camera, QWidget* parent = nullptr);
25 void init();
28 void setCamera(const DynamicPointer<Camera>& camera);
29 protected:
32 Ui::LocalCameraSettingsUI* ui;
33 };
34}
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Definition Pointer.hpp:356
A ResourceListener which will always be executed on the main UI thread and can be tied to a Qt Object...
Definition QTTools.h:493
void init()
Initializes UI elements and resource listeners.
Ui::LocalCameraSettingsUI * ui
Pointer to the auto-generated UI form.
void setCamera(const DynamicPointer< Camera > &camera)
Sets the camera whose settings are displayed and edited.
DynamicPointer< Camera > m_camera
The camera being configured.
VulkanCameraSettingsDialog(const DynamicPointer< Camera > &camera, QWidget *parent=nullptr)
Constructs the dialog and binds it to a specific camera.
QTResourceListener * m_listener
Listener for camera resource changes.
VulkanCameraSettingsDialog(QWidget *parent=nullptr)
Constructs the dialog without an associated camera.
The primary namespace for the NDEVR SDK.