Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/sidebar.h')
-rw-r--r--src/sidebar.h23
1 files changed, 19 insertions, 4 deletions
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 <QWidget>
+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__