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.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/entitywidget.h b/src/entitywidget.h
index 04a925b..4eaaf49 100644
--- a/src/entitywidget.h
+++ b/src/entitywidget.h
@@ -59,7 +59,13 @@ public:
inline const QString &properties() const {
return entity_properties;
}
-
+
+ /**
+ * @brief returns the subsections string
+ * */
+ inline const QString &subsections() const {
+ return entity_subsections;
+ }
signals:
/**
* @brief this signal is emitted if the entity is clicked with the left mouse button
@@ -104,6 +110,16 @@ public slots:
void add_property(const QString &key, const QString &value);
/**
+ * @brief add a subsection
+ * */
+ void add_subsection(const QString &name);
+
+ /**
+ * @brief add a subsection property
+ * */
+ void add_subsection_property(const QString &key, const QString &value);
+
+ /**
* @brief set the selected state
* */
void set_selected(const bool selected);
@@ -138,6 +154,7 @@ private:
QString entity_type;
QString entity_properties;
+ QString entity_subsections;
float entity_location[3];
float entity_radius;