Mercurial > hg > easaier-soundaccess
comparison 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 |
comparison
equal
deleted
inserted
replaced
206:fa034c6ae8bf | 207:95d9c6de5a4f |
---|---|
185 m_playButton, SLOT(setState(bool))); | 185 m_playButton, SLOT(setState(bool))); |
186 layout->setAlignment(m_playButton, Qt::AlignVCenter); | 186 layout->setAlignment(m_playButton, Qt::AlignVCenter); |
187 | 187 |
188 layout->insertStretch(-1, 10); | 188 layout->insertStretch(-1, 10); |
189 | 189 |
190 if (params->getPlayPluginId() != "") { | 190 if (params->getPlayPluginId() != "") { |
191 QPushButton *pluginButton = new QPushButton(QIcon(":icons/faders.png"), ""); | 191 QPushButton *pluginButton = new QPushButton(QIcon(":icons/faders.png"), ""); |
192 pluginButton->setFixedWidth(24); | 192 pluginButton->setObjectName("fadersButton"); |
193 pluginButton->setFixedHeight(24); | 193 pluginButton->setToolTip("Plugin parameters"); |
194 layout->addWidget(pluginButton); | 194 pluginButton->setFixedWidth(24); |
195 connect(pluginButton, SIGNAL(clicked()), | 195 pluginButton->setFixedHeight(24); |
196 layout->addWidget(pluginButton); | |
197 connect(pluginButton, SIGNAL(clicked()), | |
196 this, SLOT(editPlugin())); | 198 this, SLOT(editPlugin())); |
197 } | 199 } |
198 | 200 |
199 AudioDial *gainDial = new AudioDial; | 201 AudioDial *gainDial = new AudioDial; |
200 layout->addWidget(gainDial); | 202 layout->addWidget(gainDial); |
201 gainDial->setMeterColor(Qt::darkRed); | 203 gainDial->setMeterColor(Qt::darkRed); |
202 gainDial->setMinimum(-50); | 204 gainDial->setMinimum(-50); |