CurveCreator widget: mask detection mode, not implemented

This commit is contained in:
Paul RASCLE 2016-05-27 18:04:22 +02:00
parent 9613091414
commit 89af3a1499

View File

@ -165,9 +165,9 @@ CurveCreator_Widget::CurveCreator_Widget(QWidget* parent,
anAct->setCheckable(true); anAct->setCheckable(true);
connect(anAct, SIGNAL(triggered(bool)), this, SLOT(onDetectionMode(bool)) ); connect(anAct, SIGNAL(triggered(bool)), this, SLOT(onDetectionMode(bool)) );
connect(anAct, SIGNAL(toggled(bool)), this, SLOT(onModeChanged(bool)) ); connect(anAct, SIGNAL(toggled(bool)), this, SLOT(onModeChanged(bool)) );
if ( !(theActionFlags & DisableDetectionMode) ) { // if ( !(theActionFlags & DisableDetectionMode) ) {
aTB->addAction(anAct); // aTB->addAction(anAct);
} // }
anAct = createAction( CLOSE_SECTIONS_ID, tr("CLOSE_SECTIONS"), QPixmap(), tr("CLOSE_SECTIONS_TLT"), anAct = createAction( CLOSE_SECTIONS_ID, tr("CLOSE_SECTIONS"), QPixmap(), tr("CLOSE_SECTIONS_TLT"),
QKeySequence(Qt::ControlModifier|Qt::Key_W) ); QKeySequence(Qt::ControlModifier|Qt::Key_W) );