comparison framework/MainWindowBase.cpp @ 259:7ee215c095dd sv_v2.0

Add canReplaceMainAudio indicator signal
author Chris Cannam
date Mon, 02 Jul 2012 12:45:38 +0100
parents a7ab511107fa
children 98993f4904df 2925a4bbca5e
comparison
equal deleted inserted replaced
258:a7ab511107fa 259:7ee215c095dd
439 emit canDeleteCurrentPane(haveCurrentPane); 439 emit canDeleteCurrentPane(haveCurrentPane);
440 emit canZoom(haveMainModel && haveCurrentPane); 440 emit canZoom(haveMainModel && haveCurrentPane);
441 emit canScroll(haveMainModel && haveCurrentPane); 441 emit canScroll(haveMainModel && haveCurrentPane);
442 emit canAddLayer(haveMainModel && haveCurrentPane); 442 emit canAddLayer(haveMainModel && haveCurrentPane);
443 emit canImportMoreAudio(haveMainModel); 443 emit canImportMoreAudio(haveMainModel);
444 emit canReplaceMainAudio(haveMainModel);
444 emit canImportLayer(haveMainModel && haveCurrentPane); 445 emit canImportLayer(haveMainModel && haveCurrentPane);
445 emit canExportAudio(haveMainModel); 446 emit canExportAudio(haveMainModel);
446 emit canExportLayer(haveMainModel && 447 emit canExportLayer(haveMainModel &&
447 (haveCurrentEditableLayer || haveCurrentColour3DPlot)); 448 (haveCurrentEditableLayer || haveCurrentColour3DPlot));
448 emit canExportImage(haveMainModel && haveCurrentPane); 449 emit canExportImage(haveMainModel && haveCurrentPane);