Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/entitywidget.h')
-rw-r--r--src/entitywidget.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/entitywidget.h b/src/entitywidget.h
index 2eb1a42..e284650 100644
--- a/src/entitywidget.h
+++ b/src/entitywidget.h
@@ -28,6 +28,11 @@ public:
EntityWidget(QWidget *parent = 0);
/**
+ * @brief copy another EntityWidget
+ * */
+ EntityWidget(EntityWidget &entity_widget, QWidget *parent = 0);
+
+ /**
* @brief returns the entity propertie
* */
inline EntityProperties *properties() {
@@ -38,6 +43,11 @@ public:
return is_selected;
}
+ /**
+ * @brief assignment operator
+ * */
+ void assign(EntityWidget &other);
+
signals:
/**
* @brief this signal is emitted if the entity is clicked with the left mouse button