API Documentation
Loading...
Searching...
No Matches
ModelOffsetCommandWidget.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/DesignObjectWidgetInterface.h>
3#include <QWidget>
4namespace Ui
5{
6 class ModelOffsetCommandUI;
7}
8namespace NDEVR
9{
10 /**--------------------------------------------------------------------------------------------------
11 \brief Allows the user to offset a model to a different location
12 **/
14 {
15 Q_OBJECT
16 public:
17 ModelOffsetCommandWidget(QWidget* parent = nullptr);
19 signals:
21 protected slots:
23 protected:
24 void removeTarget(const DynamicPointer<QTDesignObject>& object) override;
25 void addTarget(const DynamicPointer<QTDesignObject>& object) override;
26 void onTargetUpdated(UUID) override;
27 void init();
28 protected:
29 Ui::ModelOffsetCommandUI* ui;
30 };
31}
A base class for interacting with one or more DesignObjects.
Definition DesignObjectWidgetInterface.h:11
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
Definition Pointer.hpp:320
Allows the user to offset a model to a different location.
Definition ModelOffsetCommandWidget.h:14
void addTarget(const DynamicPointer< QTDesignObject > &object) override
Ui::ModelOffsetCommandUI * ui
Definition ModelOffsetCommandWidget.h:29
void removeTarget(const DynamicPointer< QTDesignObject > &object) override
ModelOffsetCommandWidget(QWidget *parent=nullptr)
void onTargetUpdated(UUID) override
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
Definition UUID.h:60
Definition ACIColor.h:37
Definition FontEditor.h:6