diff options
Diffstat (limited to 'src/sidebar.h')
-rw-r--r-- | src/sidebar.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/sidebar.h b/src/sidebar.h index 5a20c37..05a79f0 100644 --- a/src/sidebar.h +++ b/src/sidebar.h @@ -8,6 +8,8 @@ #ifndef __INCLUDED_EDITOR_SIDEBAR__ #define __INCLUDED_EDITOR_SIDEBAR__ +#include "entityproperties.h" + #include <QWidget> class QLabel; @@ -31,14 +33,24 @@ class SideBar : public QWidget public: SideBar(QWidget *parent = 0); -public slots: - void setEntity(EntityWidget *entity); +public slots: + + /** + * @brief set the sidebar properties + * */ + void setProperties(EntityProperties *properties); + /** + * @brief set the zone name + * */ void setZoneName(const QString &name); private slots: + void updateEntityLocationX(const QString &value); + void updateEntityLocationY(const QString &value); + void updateEntityLocationZ(const QString &value); signals: @@ -55,7 +67,7 @@ private: QTextEdit *text_entityproperties; QTextEdit *text_subsections; - EntityWidget *last_selected; + EntityProperties *last_selected; }; } |