35#include <NDEVR/Camera.h>
36#include <NDEVR/Pointer.h>
41 class CameraToolbarUI;
45 class QTResourceListener;
46 class CameraLocationCombo;
47 class QCustomDockWidget;
49 class ColorChannelCombo;
50 class CameraActionCombo;
57 class NDEVR_API CameraToolbar :
public QWidget
61 CameraToolbar(QWidget *parent = Q_NULLPTR);
63 void setManager(QTModelManager* manager);
64 void setCamera(
const DynamicPointer<Camera>& camera);
65 void setTouchTheme(
bool touch_theme);
66 void resizeEvent(QResizeEvent *resize_event)
override;
67 void setSwapButton(
bool show,
const String& swap_button);
68 void addWidget(
const QPointer<QWidget>& widget);
69 void addWidgetLeft(
const QPointer<QWidget>& widget);
70 void removeWidget(
const QPointer<QWidget>& widget);
71 void setIconSizeMultiplier(fltp04 size);
73 void onColorComboChanged();
74 void updateSelection(
const SelectionInfo& info);
77 void swapRequestSignal();
78 void linkSelected(
bool selected);
81 QCustomDockWidget* m_mouse_editor;
82 QTResourceListener* m_selection_listener;
83 QTModelManager* m_model_manager;
84 DynamicPointer<Camera> m_camera;
85 Buffer<QPointer<QWidget>> m_left_widgets;
86 Ui::CameraToolbarUI* ui;
87 CameraLocationCombo* m_location_combo;
88 ColorChannelCombo* m_color_combo;
89 CameraActionCombo* m_action_combo;
90 bool m_has_location_widget;
Definition FontEditor.h:6