diff options
author | Stijn Buys <ingar@osirion.org> | 2012-03-11 10:25:06 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-03-11 10:25:06 +0000 |
commit | f46146993b50ca5afc802288deeb5bd72a176d9a (patch) | |
tree | 6b1cde69c854c18ec885562bd97f6c5908cdc0ad /src/editorwindow.cc | |
parent | 7c17b396474fc3783664dbd4da86548389825ea3 (diff) |
Added zone properties button.
Diffstat (limited to 'src/editorwindow.cc')
-rw-r--r-- | src/editorwindow.cc | 6 |
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")); +} + } |