mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added ShowPlotWindow feature
This commit is contained in:
@@ -160,12 +160,23 @@ void RiuMainPlotWindow::createMenus()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuMainPlotWindow::createToolBars()
|
||||
{
|
||||
// Snapshots
|
||||
QToolBar* toolbar = addToolBar(tr("View Snapshots"));
|
||||
toolbar->setObjectName(toolbar->windowTitle());
|
||||
toolbar->addAction(m_snapshotToClipboard);
|
||||
toolbar->addAction(m_snapshotToFile);
|
||||
toolbar->addAction(m_snapshotAllViewsToFile);
|
||||
{
|
||||
// Snapshots
|
||||
QToolBar* toolbar = addToolBar(tr("View Snapshots"));
|
||||
toolbar->setObjectName(toolbar->windowTitle());
|
||||
toolbar->addAction(m_snapshotToClipboard);
|
||||
toolbar->addAction(m_snapshotToFile);
|
||||
toolbar->addAction(m_snapshotAllViewsToFile);
|
||||
}
|
||||
|
||||
caf::CmdFeatureManager* cmdFeatureMgr = caf::CmdFeatureManager::instance();
|
||||
CVF_ASSERT(cmdFeatureMgr);
|
||||
|
||||
{
|
||||
QToolBar* toolbar = addToolBar(tr("Window Management"));
|
||||
toolbar->setObjectName(toolbar->windowTitle());
|
||||
toolbar->addAction(cmdFeatureMgr->action("RicTileWindowsFeature"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user