Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-03-11 10:25:06 +0000
committerStijn Buys <ingar@osirion.org>2012-03-11 10:25:06 +0000
commitf46146993b50ca5afc802288deeb5bd72a176d9a (patch)
tree6b1cde69c854c18ec885562bd97f6c5908cdc0ad /src/editorwindow.cc
parent7c17b396474fc3783664dbd4da86548389825ea3 (diff)
Added zone properties button.
Diffstat (limited to 'src/editorwindow.cc')
-rw-r--r--src/editorwindow.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/editorwindow.cc b/src/editorwindow.cc
index 37d4f69..fc183c6 100644
--- a/src/editorwindow.cc
+++ b/src/editorwindow.cc
@@ -32,6 +32,7 @@ EditorWindow::EditorWindow(QWidget *parent) : QWidget(parent)
connect(editorwindow_mapwidget, SIGNAL(propertiesChanged(EntityProperties *)), editorwindow_sidebar, SLOT(setProperties(EntityProperties *)));
connect(editorwindow_sidebar, SIGNAL(entityChanged()), editorwindow_mapwidget, SLOT(resizeChildren()));
+ connect(editorwindow_sidebar, SIGNAL(zonePropertiesClicked()), this, SLOT(showZoneProperties()));
}
QSize EditorWindow::sizeHint () const
@@ -251,4 +252,9 @@ void EditorWindow::deleteSelected()
editorwindow_mapwidget->deleteSelected();
}
+void EditorWindow::showZoneProperties()
+{
+ QMessageBox::information(this, tr("Zone properties"), tr("Not yet iplemented"));
+}
+
}