API Documentation
Loading...
Searching...
No Matches
ScaleCommandWidget.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/ModelCommandsWidget.h>
3#if NDEVR_VIEWPORT
4namespace NDEVR
5{
6 class ScaleCommandWidget : public QtModelFunction, public QWidget
7 {
8 public:
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;
23 protected:
24 QTModelManager* m_manager;
25 };
26}
27#endif
Definition ACIColor.h:37
QAction * group(nullptr)