Added CopyViewToClipboard feature

This commit is contained in:
Magne Sjaastad
2016-06-27 21:01:17 +02:00
parent 2e0553d99c
commit 0680e830b4
11 changed files with 202 additions and 3 deletions

View File

@@ -160,6 +160,9 @@ void RiuMainPlotWindow::createMenus()
//--------------------------------------------------------------------------------------------------
void RiuMainPlotWindow::createToolBars()
{
caf::CmdFeatureManager* cmdFeatureMgr = caf::CmdFeatureManager::instance();
CVF_ASSERT(cmdFeatureMgr);
{
// Snapshots
QToolBar* toolbar = addToolBar(tr("View Snapshots"));
@@ -167,10 +170,10 @@ void RiuMainPlotWindow::createToolBars()
toolbar->addAction(m_snapshotToClipboard);
toolbar->addAction(m_snapshotToFile);
toolbar->addAction(m_snapshotAllViewsToFile);
toolbar->addAction(cmdFeatureMgr->action("RicSnapshotViewToClipboardFeature"));
}
caf::CmdFeatureManager* cmdFeatureMgr = caf::CmdFeatureManager::instance();
CVF_ASSERT(cmdFeatureMgr);
{
QToolBar* toolbar = addToolBar(tr("Window Management"));