diff widgets/PropertyBox.cpp @ 207:95d9c6de5a4f

add a tool tip to the fader button (plugin parameters of property box)
author lbajardsilogic
date Thu, 31 Jan 2008 10:37:01 +0000
parents fa034c6ae8bf
children a89ab7dfbf4c
line wrap: on
line diff
--- a/widgets/PropertyBox.cpp	Thu Jan 31 10:08:45 2008 +0000
+++ b/widgets/PropertyBox.cpp	Thu Jan 31 10:37:01 2008 +0000
@@ -187,14 +187,16 @@
 
 	layout->insertStretch(-1, 10);
 
-        if (params->getPlayPluginId() != "") {
-            QPushButton *pluginButton = new QPushButton(QIcon(":icons/faders.png"), "");
-            pluginButton->setFixedWidth(24);
-            pluginButton->setFixedHeight(24);
-            layout->addWidget(pluginButton);
-            connect(pluginButton, SIGNAL(clicked()),
+	if (params->getPlayPluginId() != "") {
+		QPushButton *pluginButton = new QPushButton(QIcon(":icons/faders.png"), "");
+		pluginButton->setObjectName("fadersButton");
+		pluginButton->setToolTip("Plugin parameters");
+		pluginButton->setFixedWidth(24);
+		pluginButton->setFixedHeight(24);
+		layout->addWidget(pluginButton);
+		connect(pluginButton, SIGNAL(clicked()),
                     this, SLOT(editPlugin()));
-        }
+	}
 
 	AudioDial *gainDial = new AudioDial;
 	layout->addWidget(gainDial);