diff widgets/PropertyBox.cpp @ 108:4772fc75ac7c

* Some work on switching property box layout between one-box-per-pane and one-box-overall layouts. Not enabled in GUI yet.
author Chris Cannam
date Mon, 26 Jun 2006 16:08:57 +0000
parents bf196d6e8998
children 33929e0c3c6b
line wrap: on
line diff
--- a/widgets/PropertyBox.cpp	Mon Jun 19 16:14:16 2006 +0000
+++ b/widgets/PropertyBox.cpp	Mon Jun 26 16:08:57 2006 +0000
@@ -284,7 +284,7 @@
 	    connect(cb, SIGNAL(stateChanged(int)),
 		    this, SLOT(propertyControllerChanged(int)));
 	    if (inGroup) {
-		cb->setToolTip(name);
+		cb->setToolTip(propertyLabel);
 		m_groupLayouts[groupName]->addWidget(cb);
 	    } else {
 		m_layout->addWidget(cb, row, 1, 1, 2);
@@ -324,7 +324,7 @@
 	    if (inGroup) {
 		dial->setFixedWidth(24);
 		dial->setFixedHeight(24);
-		dial->setToolTip(name);
+		dial->setToolTip(propertyLabel);
 		m_groupLayouts[groupName]->addWidget(dial);
 	    } else {
 		dial->setFixedWidth(32);
@@ -382,7 +382,7 @@
 		    this, SLOT(propertyControllerChanged(int)));
 
 	    if (inGroup) {
-		cb->setToolTip(name);
+		cb->setToolTip(propertyLabel);
 		m_groupLayouts[groupName]->addWidget(cb);
 	    } else {
 		m_layout->addWidget(cb, row, 1, 1, 2);