diff options
author | Stijn Buys <ingar@osirion.org> | 2012-02-19 16:11:07 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-02-19 16:11:07 +0000 |
commit | 85500fcb7a8aae73da87af337e2984cc91425eb8 (patch) | |
tree | f8cc7ca6dacd72fa72cf0ba6a6d8cc1054706965 /src/entitywidget.h | |
parent | 7a9c504720e494ee07d16a6234b77c500af4da93 (diff) |
Added subsections textbox
Diffstat (limited to 'src/entitywidget.h')
-rw-r--r-- | src/entitywidget.h | 19 |
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; |