Mercurial > hg > svgui
comparison widgets/PropertyBox.cpp @ 585:f4960f8ce798 debug-output
Convert many cerrs to DEBUGs
author | Chris Cannam |
---|---|
date | Mon, 16 May 2011 17:19:25 +0100 |
parents | 1fe7951a61e8 |
children | 4806715f7a19 |
comparison
equal
deleted
inserted
replaced
584:1fe7951a61e8 | 585:f4960f8ce798 |
---|---|
146 m_viewPlayFrame->setLayout(layout); | 146 m_viewPlayFrame->setLayout(layout); |
147 | 147 |
148 layout->setMargin(layout->margin() / 2); | 148 layout->setMargin(layout->margin() / 2); |
149 | 149 |
150 #ifdef DEBUG_PROPERTY_BOX | 150 #ifdef DEBUG_PROPERTY_BOX |
151 std::cerr << "PropertyBox::populateViewPlayFrame: container " << m_container << " (name " << m_container->getPropertyContainerName() << ") params " << params << std::endl; | 151 DEBUG << "PropertyBox::populateViewPlayFrame: container " << m_container << " (name " << m_container->getPropertyContainerName() << ") params " << params << endl; |
152 #endif | 152 #endif |
153 | 153 |
154 if (layer) { | 154 if (layer) { |
155 QLabel *showLabel = new QLabel(tr("Show")); | 155 QLabel *showLabel = new QLabel(tr("Show")); |
156 layout->addWidget(showLabel); | 156 layout->addWidget(showLabel); |
528 PropertyBox::propertyContainerPropertyChanged(PropertyContainer *pc) | 528 PropertyBox::propertyContainerPropertyChanged(PropertyContainer *pc) |
529 { | 529 { |
530 if (pc != m_container) return; | 530 if (pc != m_container) return; |
531 | 531 |
532 #ifdef DEBUG_PROPERTY_BOX | 532 #ifdef DEBUG_PROPERTY_BOX |
533 std::cerr << "PropertyBox::propertyContainerPropertyChanged" << std::endl; | 533 DEBUG << "PropertyBox::propertyContainerPropertyChanged" << endl; |
534 #endif | 534 #endif |
535 | 535 |
536 PropertyContainer::PropertyList properties = m_container->getProperties(); | 536 PropertyContainer::PropertyList properties = m_container->getProperties(); |
537 size_t i; | 537 size_t i; |
538 | 538 |
606 { | 606 { |
607 QObject *obj = sender(); | 607 QObject *obj = sender(); |
608 QString name = obj->objectName(); | 608 QString name = obj->objectName(); |
609 | 609 |
610 #ifdef DEBUG_PROPERTY_BOX | 610 #ifdef DEBUG_PROPERTY_BOX |
611 std::cerr << "PropertyBox::propertyControllerChanged(" << name.toStdString() | 611 DEBUG << "PropertyBox::propertyControllerChanged(" << name << ", " << value << ")" << endl; |
612 << ", " << value << ")" << std::endl; | |
613 #endif | 612 #endif |
614 | 613 |
615 PropertyContainer::PropertyType type = m_container->getPropertyType(name); | 614 PropertyContainer::PropertyType type = m_container->getPropertyType(name); |
616 | 615 |
617 Command *c = 0; | 616 Command *c = 0; |