Typically shown under a virtual camera view, allows the user to input various settings for a camera or viewport.
More...
|
| | CameraToolbar (QWidget *parent=Q_NULLPTR) |
| | Constructs a CameraToolbar.
|
|
| ~CameraToolbar () |
| | Destructor.
|
| void | addWidget (const QPointer< QWidget > &widget) |
| | Adds a widget to the right side of the toolbar.
|
| void | addWidgetLeft (const QPointer< QWidget > &widget) |
| | Adds a widget to the left side of the toolbar.
|
|
void | layerSelected () |
| | Emitted when a layer is selected in the toolbar.
|
| void | linkSelected (bool selected) |
| | Emitted when the link selection state changes.
|
|
void | onColorComboChanged () |
| | Slot invoked when the color channel combo selection changes.
|
| void | removeWidget (const QPointer< QWidget > &widget) |
| | Removes a widget from the toolbar.
|
| void | resizeEvent (QResizeEvent *resize_event) override |
| | Handles resize events to adjust toolbar layout.
|
| void | setCamera (const DynamicPointer< Camera > &camera) |
| | Sets the camera this toolbar controls.
|
| void | setIconSizeMultiplier (fltp04 size) |
| | Sets a multiplier for the toolbar icon sizes.
|
| void | setManager (QTModelManager *manager) |
| | Sets the model manager for this toolbar.
|
| void | setSwapButton (bool show, const StringView &swap_button) |
| | Shows or hides the swap button with the given icon.
|
| void | setTouchTheme (bool touch_theme) |
| | Enables or disables touch-optimized theme for the toolbar.
|
|
void | swapRequestSignal () |
| | Emitted when the user requests a camera swap.
|
| void | updateSelection (const SelectionInfo &info) |
| | Slot invoked when the viewport selection changes.
|
Typically shown under a virtual camera view, allows the user to input various settings for a camera or viewport.
Definition at line 57 of file CameraToolbar.h.
◆ CameraToolbar()
| CameraToolbar::CameraToolbar |
( |
QWidget * | parent = Q_NULLPTR | ) |
|
Constructs a CameraToolbar.
- Parameters
-
| [in] | parent | The optional parent widget. |
◆ addWidget()
| void CameraToolbar::addWidget |
( |
const QPointer< QWidget > & | widget | ) |
|
Adds a widget to the right side of the toolbar.
- Parameters
-
| [in] | widget | The widget to add. |
◆ addWidgetLeft()
| void CameraToolbar::addWidgetLeft |
( |
const QPointer< QWidget > & | widget | ) |
|
Adds a widget to the left side of the toolbar.
- Parameters
-
| [in] | widget | The widget to add. |
◆ linkSelected()
| void CameraToolbar::linkSelected |
( |
bool | selected | ) |
|
Emitted when the link selection state changes.
- Parameters
-
| [in] | selected | Whether the link is now selected. |
◆ removeWidget()
| void CameraToolbar::removeWidget |
( |
const QPointer< QWidget > & | widget | ) |
|
Removes a widget from the toolbar.
- Parameters
-
| [in] | widget | The widget to remove. |
◆ resizeEvent()
| void CameraToolbar::resizeEvent |
( |
QResizeEvent * | resize_event | ) |
|
|
override |
Handles resize events to adjust toolbar layout.
- Parameters
-
| [in] | resize_event | The resize event. |
◆ setCamera()
Sets the camera this toolbar controls.
- Parameters
-
| [in] | camera | The camera to bind. |
◆ setIconSizeMultiplier()
| void CameraToolbar::setIconSizeMultiplier |
( |
fltp04 | size | ) |
|
Sets a multiplier for the toolbar icon sizes.
- Parameters
-
| [in] | size | The icon size multiplier. |
◆ setManager()
Sets the model manager for this toolbar.
- Parameters
-
| [in] | manager | The model manager providing data context. |
◆ setSwapButton()
| void CameraToolbar::setSwapButton |
( |
bool | show, |
|
|
const StringView & | swap_button ) |
Shows or hides the swap button with the given icon.
- Parameters
-
| [in] | show | Whether to show the swap button. |
| [in] | swap_button | The icon name for the swap button. |
◆ setTouchTheme()
| void CameraToolbar::setTouchTheme |
( |
bool | touch_theme | ) |
|
Enables or disables touch-optimized theme for the toolbar.
- Parameters
-
| [in] | touch_theme | Whether to use touch-friendly controls. |
◆ updateSelection()
| void CameraToolbar::updateSelection |
( |
const SelectionInfo & | info | ) |
|
Slot invoked when the viewport selection changes.
- Parameters
-
| [in] | info | The updated selection information. |
The documentation for this class was generated from the following file: