NDEVR
API Documentation
LocalCameraSettingsDialog.h
1#pragma once
2#include <NDEVR/Camera.h>
3#include <QWidget>
4namespace Ui
5{
6 class LocalCameraSettingsUI;
7}
8namespace NDEVR
9{
14 class LocalCameraSettingsDialog : public QWidget
15 {
16 public:
20 LocalCameraSettingsDialog(QWidget* parent = nullptr);
25 LocalCameraSettingsDialog(const DynamicPointer<Camera>& camera, QWidget* parent = nullptr);
27 void init();
31 void setCamera(const DynamicPointer<Camera>& camera);
32 protected:
35 Ui::LocalCameraSettingsUI* ui;
36 };
37}
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Definition Pointer.hpp:356
DynamicPointer< Camera > m_camera
The camera being configured.
LocalCameraSettingsDialog(const DynamicPointer< Camera > &camera, QWidget *parent=nullptr)
Constructs the dialog for a specific camera.
void init()
Initializes the dialog UI components.
QTResourceListener * m_listener
Listener for camera resource changes.
void setCamera(const DynamicPointer< Camera > &camera)
Sets the camera to configure in this dialog.
Ui::LocalCameraSettingsUI * ui
The Qt UI form instance.
LocalCameraSettingsDialog(QWidget *parent=nullptr)
Constructs the dialog without a camera.
A ResourceListener which will always be executed on the main UI thread and can be tied to a Qt Object...
Definition QTTools.h:493
The primary namespace for the NDEVR SDK.