Summary: | the box with detailed info disappears | ||
---|---|---|---|
Product: | [Frameworks and Libraries] massif-visualizer | Reporter: | jamokoo |
Component: | general | Assignee: | Massif Visualizer developers <massif-visualizer> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | 0.1 | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
jamokoo
2010-11-30 12:02:17 UTC
commit 320210bb7ff824024b0218172da8fc4e6ca00433 branch master Author: Milian Wolff <mail@milianw.de> Date: Thu Dec 23 18:28:37 2010 +0100 make it possible to re-add the data tree dock widget via the menu BUG: 258358 diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp index f78cdf5..c39de0e 100644 --- a/app/mainwindow.cpp +++ b/app/mainwindow.cpp @@ -254,6 +254,9 @@ void MainWindow::setupActions() stackNumLayout->addWidget(box); stackNumWidget->setLayout(stackNumLayout); stackNumAction->setDefaultWidget(stackNumWidget); + + //dock actions + actionCollection()->addAction("toggleDataTree", ui.dataTreeDock->toggleViewAction()); } void MainWindow::openFile() diff --git a/app/massif-visualizerui.rc b/app/massif-visualizerui.rc index b6c8c65..abd23dc 100644 --- a/app/massif-visualizerui.rc +++ b/app/massif-visualizerui.rc @@ -1,5 +1,5 @@ <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> -<kpartgui name="massif-visualizer" version="4"> +<kpartgui name="massif-visualizer" version="5"> <MenuBar> <Menu name="file" noMerge="1"><text>&File</text> @@ -25,6 +25,9 @@ <Menu name="settings"><text>&Settings</text> <Merge name="StandardToolBarMenuHandler" /> + <Menu name="dockWidgets"><text>&Dock Widgets</text> + <Action name="toggleDataTree" /> + </Menu> <DefineGroup name="show_toolbar_merge" /> <Action name="set_configure_toolbars" /> <Action name="settings_configure" /> |