comparison layer/SpectrogramLayer.cpp @ 1209:f7bb22999d2e 3.0-integration

Provisionally add labels for normalisation menu (sigh)
author Chris Cannam
date Tue, 03 Jan 2017 16:23:11 +0000
parents 69ff93e0c624
children 7a19738b9762
comparison
equal deleted inserted replaced
1208:0a13a1de1d7e 1209:f7bb22999d2e
438 case 3: return tr("dBV"); 438 case 3: return tr("dBV");
439 case 4: return tr("Phase"); 439 case 4: return tr("Phase");
440 } 440 }
441 } 441 }
442 if (name == "Normalization") { 442 if (name == "Normalization") {
443 return ""; // icon only 443 switch(value) {
444 default:
445 case 0: return tr("None");
446 case 1: return tr("Col");
447 case 2: return tr("View");
448 case 3: return tr("Hybrid");
449 }
450 // return ""; // icon only
444 } 451 }
445 if (name == "Window Size") { 452 if (name == "Window Size") {
446 return QString("%1").arg(32 << value); 453 return QString("%1").arg(32 << value);
447 } 454 }
448 if (name == "Window Increment") { 455 if (name == "Window Increment") {