comparison main/MainWindow.cpp @ 977:ce4793b2748a

Add half-wave rectification option to Colour 3D Plot layer
author Chris Cannam
date Fri, 22 May 2015 09:17:52 +0100
parents ac144f0815a2
children 9ae8a300cf7f
comparison
equal deleted inserted replaced
974:cd14405bdb15 977:ce4793b2748a
567 connect(action, SIGNAL(triggered()), this, SLOT(importLayer())); 567 connect(action, SIGNAL(triggered()), this, SLOT(importLayer()));
568 connect(this, SIGNAL(canImportLayer(bool)), action, SLOT(setEnabled(bool))); 568 connect(this, SIGNAL(canImportLayer(bool)), action, SLOT(setEnabled(bool)));
569 m_keyReference->registerShortcut(action); 569 m_keyReference->registerShortcut(action);
570 menu->addAction(action); 570 menu->addAction(action);
571 571
572 action = new QAction(tr("Export Annotation Layer..."), this); 572 action = new QAction(tr("Export Annotation La&yer..."), this);
573 action->setShortcut(tr("Ctrl+Y"));
573 action->setStatusTip(tr("Export layer data to a file")); 574 action->setStatusTip(tr("Export layer data to a file"));
574 connect(action, SIGNAL(triggered()), this, SLOT(exportLayer())); 575 connect(action, SIGNAL(triggered()), this, SLOT(exportLayer()));
575 connect(this, SIGNAL(canExportLayer(bool)), action, SLOT(setEnabled(bool))); 576 connect(this, SIGNAL(canExportLayer(bool)), action, SLOT(setEnabled(bool)));
577 m_keyReference->registerShortcut(action);
576 menu->addAction(action); 578 menu->addAction(action);
577 579
578 menu->addSeparator(); 580 menu->addSeparator();
579 581
580 action = new QAction(tr("Export Image File..."), this); 582 action = new QAction(tr("Export Image File..."), this);