diff options
author | Stijn Buys <ingar@osirion.org> | 2012-02-19 13:26:32 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-02-19 13:26:32 +0000 |
commit | 46f48143ed59eddafa86f2711f518792f362a46c (patch) | |
tree | 42db107c1ea0f361bb9cdda18959a3fa6d3b84c9 /src/sidebar.h | |
parent | 8aa0a55840f02482884e29b33b770daa6028b81e (diff) |
Added text area with all entity properties, made location editable.
Diffstat (limited to 'src/sidebar.h')
-rw-r--r-- | src/sidebar.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/sidebar.h b/src/sidebar.h index 9117a84..78a62f2 100644 --- a/src/sidebar.h +++ b/src/sidebar.h @@ -12,6 +12,7 @@ class QLabel; class QLineEdit; +class QTextEdit; namespace editor { @@ -34,11 +35,26 @@ public slots: void setEntity(MapEntity *entity); void setZoneName(const QString &name); + +private slots: + void updateEntityLocationX(const QString &value); + void updateEntityLocationY(const QString &value); + void updateEntityLocationZ(const QString &value); + +signals: + void entityChanged(); private: QLabel *label_zone; QLineEdit *edit_entitylabel; QLineEdit *edit_entityname; + + QLineEdit *edit_entitylocation_x; + QLineEdit *edit_entitylocation_y; + QLineEdit *edit_entitylocation_z; + QTextEdit *text_entityproperties; + + MapEntity *last_selected; }; } |