3#include <NDEVR/CameraView.h>
4#include <NDEVR/QCustomDockWidget.h>
5#include <NDEVR/ViewportLayout.h>
6#include <NDEVR/Buffer.h>
11 class DesignObjectLookup;
17 virtual DockWidget<CameraView>* removeViewport(
const UUID&
id);
18 virtual bool removeView(QPointer<DockWidget<CameraView>> view) = 0;
19 virtual bool addView(QPointer<DockWidget<CameraView>> view) = 0;
20 virtual void onGlobalLayoutUpdated(Buffer<QPointer<DockWidget<CameraView>>>&) {};
21 virtual Buffer<QPointer<DockWidget<CameraView>>> views()
const;
22 virtual DockWidget<CameraView>* viewport(
const UUID&
id)
const;
23 virtual void onViewsSwapped(DockWidget<CameraView>* camera_a, DockWidget<CameraView>* camera_b);
24 virtual void layoutViews(ViewportLayout camera_theme, DesignObjectLookup* manager, Buffer<QPointer<DockWidget<CameraView>>>& removed_views);
25 virtual UUID activeViewport()
const {
return m_active_viewport; }
26 virtual CameraView* mainViewport();
27 virtual QCustomDockWidget* mainViewportDock();
28 virtual bool hasViewport(
const UUID&
id)
const {
return m_view_docks.hasKey(
id); }
29 virtual uint04 layoutIndex(
const UUID&
id)
const;
31 virtual DockWidget<CameraView>* createView(DynamicPointer<Camera>& camera, DesignObjectLookup* manager);
33 UUID m_active_viewport = Constant<UUID>::NaN;
34 Dictionary<UUID, QPointer<DockWidget<CameraView>>> m_view_docks;
35 ViewportLayout m_current_layout;
36 bool m_is_dirty =
false;
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:115