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