From 46f48143ed59eddafa86f2711f518792f362a46c Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 19 Feb 2012 13:26:32 +0000 Subject: Added text area with all entity properties, made location editable. --- src/sidebar.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/sidebar.h') 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; }; } -- cgit v1.2.3