diff widgets/PropertyBox.cpp @ 456:035d62c4cddf

* Permit viewing (though not editing) colour 3d plot layer data in the spreadsheet data viewer dialog * Add somewhat simplistic RDF export for layers * Fix display of peak frequencies in spectrum layer * Fix (I hope) sizing of plugin parameter dialog
author Chris Cannam
date Tue, 02 Dec 2008 17:17:25 +0000
parents e2a40fdadd8c
children 4afdcecbd62e
line wrap: on
line diff
--- a/widgets/PropertyBox.cpp	Mon Dec 01 16:45:17 2008 +0000
+++ b/widgets/PropertyBox.cpp	Tue Dec 02 17:17:25 2008 +0000
@@ -51,7 +51,7 @@
 #include <iostream>
 #include <cmath>
 
-#define DEBUG_PROPERTY_BOX 1
+//#define DEBUG_PROPERTY_BOX 1
 
 PropertyBox::PropertyBox(PropertyContainer *container) :
     m_container(container),
@@ -60,7 +60,7 @@
 {
 #ifdef DEBUG_PROPERTY_BOX
     std::cerr << "PropertyBox[" << this << "(\"" <<
-	container->getPropertyContainerName().toStdString() << "\")]::PropertyBox" << std::endl;
+	container->getPropertyContainerName().toStdString() << "\" at " << container << ")]::PropertyBox" << std::endl;
 #endif
 
     m_mainBox = new QVBoxLayout;
@@ -561,6 +561,10 @@
     std::cerr << "PropertyBox[" << this << "]: unitDatabaseChanged" << std::endl;
     blockSignals(true);
 
+//    std::cerr << "my container is " << m_container << std::endl;
+//    std::cerr << "my container's name is... " << std::endl;
+//    std::cerr << m_container->objectName().toStdString() << std::endl;
+
     PropertyContainer::PropertyList properties = m_container->getProperties();
     for (size_t i = 0; i < properties.size(); ++i) {
         if (m_container->getPropertyType(properties[i]) ==