24 public Gui::TransformEditor,
31 enum GizmoType { NONE, TRANSLATION, ROTATION, SCALE };
38 virtual bool handleMousePressEvent( QMouseEvent* event,
39 const Qt::MouseButtons& buttons,
40 const Qt::KeyboardModifiers& modifiers,
43 virtual bool handleMouseReleaseEvent( QMouseEvent* event );
44 virtual bool handleMouseMoveEvent( QMouseEvent* event,
45 const Qt::MouseButtons& buttons,
46 const Qt::KeyboardModifiers& modifiers,
58 void handlePickingResult(
int drawableId );
61 void setLocal(
bool useLocal );
64 void changeGizmoType( GizmoType type );
67 void updateValues()
override;
76 Gizmo* currentGizmo();
80 GizmoType m_currentGizmoType;
83 static void configureKeyMapping_impl();
85#define KeyMappingGizmo \
86 KMA_VALUE( GIZMOMANAGER_MANIPULATION ) \
87 KMA_VALUE( GIZMOMANAGER_STEP ) \
88 KMA_VALUE( GIZMOMANAGER_WHOLE ) \
89 KMA_VALUE( GIZMOMANAGER_STEP_WHOLE )
91#define KMA_VALUE( XX ) static KeyMappingManager::KeyMappingAction XX;