comparison framework/MainWindowBase.cpp @ 289:2925a4bbca5e

Add dedicated signal for ability to change template
author Chris Cannam
date Tue, 09 Jul 2013 11:44:51 +0100
parents 7ee215c095dd
children a3fcaad1a269 3fc0df289533
comparison
equal deleted inserted replaced
288:868db2bf6a69 289:2925a4bbca5e
442 emit canAddLayer(haveMainModel && haveCurrentPane); 442 emit canAddLayer(haveMainModel && haveCurrentPane);
443 emit canImportMoreAudio(haveMainModel); 443 emit canImportMoreAudio(haveMainModel);
444 emit canReplaceMainAudio(haveMainModel); 444 emit canReplaceMainAudio(haveMainModel);
445 emit canImportLayer(haveMainModel && haveCurrentPane); 445 emit canImportLayer(haveMainModel && haveCurrentPane);
446 emit canExportAudio(haveMainModel); 446 emit canExportAudio(haveMainModel);
447 emit canChangeSessionTemplate(haveMainModel);
447 emit canExportLayer(haveMainModel && 448 emit canExportLayer(haveMainModel &&
448 (haveCurrentEditableLayer || haveCurrentColour3DPlot)); 449 (haveCurrentEditableLayer || haveCurrentColour3DPlot));
449 emit canExportImage(haveMainModel && haveCurrentPane); 450 emit canExportImage(haveMainModel && haveCurrentPane);
450 emit canDeleteCurrentLayer(haveCurrentLayer); 451 emit canDeleteCurrentLayer(haveCurrentLayer);
451 emit canRenameLayer(haveCurrentLayer); 452 emit canRenameLayer(haveCurrentLayer);