# HG changeset patch # User lbajardsilogic # Date 1201775821 0 # Node ID 95d9c6de5a4fcce015c36ed9ca083974024403bb # Parent fa034c6ae8bffe1c0128be2b1401fcc591a02f8c add a tool tip to the fader button (plugin parameters of property box) diff -r fa034c6ae8bf -r 95d9c6de5a4f widgets/PropertyBox.cpp --- 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); diff -r fa034c6ae8bf -r 95d9c6de5a4f widgets/PropertyBox.h --- a/widgets/PropertyBox.h Thu Jan 31 10:08:45 2008 +0000 +++ b/widgets/PropertyBox.h Thu Jan 31 10:37:01 2008 +0000 @@ -85,7 +85,7 @@ QVBoxLayout *m_mainBox; LEDButton *m_showButton; LEDButton *m_playButton; - std::map m_groupLayouts; + std::map m_groupLayouts; std::map m_propertyControllers; public :