2#include <NDEVR/ModelCommandsWidget.h>
6 class ScaleCommandWidget :
public QtModelFunction,
public QWidget
9 ScaleCommandWidget(QTModelManager* manager);
10 virtual ~ScaleCommandWidget();
11 virtual TranslatedString
group()
const override;
12 virtual TranslatedString hint()
const override;
13 virtual TranslatedString expandedHint()
const override;
14 virtual bool processKeyEvent(
const KeyEvent& event, DesignObjectLookup* lookup, Camera* camera)
override;
15 virtual bool selectionModeAllowed(
const SubSelectionMode& mode)
const override;
16 virtual void refreshState(ModelEditController& controller)
override;
17 virtual SubSelectionMode defaultSelectionMode()
const override;
18 virtual void setupFilters(SelectionController* controller)
override;
19 virtual void onSelect(
const Buffer<UUID>& selection)
override;
20 virtual bool isSelecting()
const override;
21 virtual void onCancel()
override;
22 virtual QWidget* editWidget()
override;
24 QTModelManager* m_manager;