From 698f901a6d983f3f44b07f6560b1370850483fa0 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 18 Feb 2012 22:13:02 +0000 Subject: Added map entities, added ini file reader. --- src/sidebar.h | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'src/sidebar.h') diff --git a/src/sidebar.h b/src/sidebar.h index c7dbb5a..9117a84 100644 --- a/src/sidebar.h +++ b/src/sidebar.h @@ -1,6 +1,6 @@ /* sidebar.h - This file is part of the Project::OSiRiON zone editor + This file is part of the Project::OSiRiON world editor and is distributed under the terms and conditions of the GNU General Public License version 2 */ @@ -10,13 +10,18 @@ #include +class QLabel; +class QLineEdit; + namespace editor { - + +class MapEntity; + /** * @brief Sidebar is the EditorWindow sidebar * The sidebar show the properties of the currently - * selected entity + * selected map entity * */ class SideBar : public QWidget { @@ -24,8 +29,18 @@ class SideBar : public QWidget public: SideBar(QWidget *parent = 0); + +public slots: + void setEntity(MapEntity *entity); + + void setZoneName(const QString &name); + +private: + QLabel *label_zone; + QLineEdit *edit_entitylabel; + QLineEdit *edit_entityname; }; } -#endif // __INCLUDED_EDITOR_SIDEBAR__ \ No newline at end of file +#endif // __INCLUDED_EDITOR_SIDEBAR__ -- cgit v1.2.3