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;
53 class NDEVR_API CameraToolbar :
public QWidget
57 CameraToolbar(QWidget *parent = Q_NULLPTR);
59 void setManager(QTModelManager* manager);
60 void setCamera(
const DynamicPointer<Camera>& camera);
61 void setTouchTheme(
bool touch_theme);
62 void resizeEvent(QResizeEvent *resize_event)
override;
63 void setSwapButton(
bool show,
const String& swap_button);
64 void addWidget(
const QPointer<QWidget>& widget);
65 void addWidgetLeft(
const QPointer<QWidget>& widget);
66 void removeWidget(
const QPointer<QWidget>& widget);
67 void setIconSizeMultiplier(fltp04 size);
69 void onColorComboChanged();
70 void updateSelection(
const SelectionInfo& info);
73 void swapRequestSignal();
74 void linkSelected(
bool selected);
77 QCustomDockWidget* m_mouse_editor;
78 QTResourceListener* m_selection_listener;
79 QTModelManager* m_model_manager;
80 DynamicPointer<Camera> m_camera;
81 Buffer<QPointer<QWidget>> m_left_widgets;
82 Ui::CameraToolbarUI* ui;
83 CameraLocationCombo* m_location_combo;
84 ColorChannelCombo* m_color_combo;
85 CameraActionCombo* m_action_combo;
86 bool m_has_location_widget;
Definition FontEditor.h:6