diff options
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; }; } |