Allows the end user to set default mouse buttons and behavior for navigating in a Viewport.
More...
|
| void | setBackgroundImage (const StringView &image) |
| | Sets the background image displayed behind the mouse diagram.
|
|
void | updateFromController () |
| | Updates the dialog UI to reflect the current mouse controller state.
|
|
void | updateFromDialog () |
| | Updates the mouse controller from the current dialog UI values.
|
|
|
QPixmap | m_background |
| | The scaled background pixmap for the mouse diagram.
|
|
String | m_background_resource |
| | The resource identifier of the current background image.
|
|
DynamicPointer< MouseController > | m_mouse_controller |
| | The mouse controller being edited.
|
|
Ui::MouseSetupEditor * | ui |
| | The auto-generated UI form for mouse setup editing.
|
Allows the end user to set default mouse buttons and behavior for navigating in a Viewport.
Definition at line 49 of file MouseEditorWidget.h.
◆ MouseEditorWidget()
| MouseEditorWidget::MouseEditorWidget |
( |
QWidget * | parent = nullptr | ) |
|
◆ resizeEvent()
| void MouseEditorWidget::resizeEvent |
( |
QResizeEvent * | resize_event | ) |
|
|
override |
Handles resize events to update the background image scaling.
- Parameters
-
| [in] | resize_event | The resize event. |
◆ setBackgroundImage()
| void MouseEditorWidget::setBackgroundImage |
( |
const StringView & | image | ) |
|
|
protected |
Sets the background image displayed behind the mouse diagram.
- Parameters
-
| [in] | image | The resource identifier of the background image. |
◆ setMouseController()
Sets the mouse controller whose bindings this widget edits.
- Parameters
-
The documentation for this class was generated from the following file: