comparison layer/LayerFactory.cpp @ 101:0f36cdf407a6 sv1-v0.9rc1

* Make vertical scale alignment modes work in note layer as well as time-value layer, and several significant fixes to it * Make it possible to draw notes properly on the note layer * Show units (and frequencies etc in note layer's case) in the time-value and note layer description boxes * Minor fix to item edit dialog layout * Some minor menu rearrangement * Comment out a lot of debug output * Add SV website and reference URLs to Help menu, and add code to (attempt to) open them in the user's preferred browser
author Chris Cannam
date Fri, 12 May 2006 14:40:43 +0000
parents 705f05ab42e3
children 999ae0f7d10c
comparison
equal deleted inserted replaced
100:0db5e7492ce8 101:0f36cdf407a6
313 313
314 if (!layer) { 314 if (!layer) {
315 std::cerr << "LayerFactory::createLayer: Unknown layer type " 315 std::cerr << "LayerFactory::createLayer: Unknown layer type "
316 << type << std::endl; 316 << type << std::endl;
317 } else { 317 } else {
318 std::cerr << "LayerFactory::createLayer: Setting object name " 318 // std::cerr << "LayerFactory::createLayer: Setting object name "
319 << getLayerPresentationName(type).toStdString() << " on " << layer << std::endl; 319 // << getLayerPresentationName(type).toStdString() << " on " << layer << std::endl;
320 layer->setObjectName(getLayerPresentationName(type)); 320 layer->setObjectName(getLayerPresentationName(type));
321 } 321 }
322 322
323 return layer; 323 return layer;
324 } 324 }