comparison widgets/PropertyBox.cpp @ 1223:312f99a9f2aa

Switch widget type to one that gets mouseover notifications
author Chris Cannam
date Thu, 26 Jan 2017 21:15:20 +0000
parents d421df27e184
children a34a2a25907c
comparison
equal deleted inserted replaced
1222:3ef162c9df00 1223:312f99a9f2aa
196 this, SLOT(mouseLeftWidget())); 196 this, SLOT(mouseLeftWidget()));
197 197
198 layout->addWidget(m_playButton, 0, col++, Qt::AlignCenter); 198 layout->addWidget(m_playButton, 0, col++, Qt::AlignCenter);
199 199
200 if (params->getPlayClipId() != "") { 200 if (params->getPlayClipId() != "") {
201 QToolButton *playParamButton = new QToolButton; 201 NotifyingToolButton *playParamButton = new NotifyingToolButton;
202 playParamButton->setObjectName("playParamButton"); 202 playParamButton->setObjectName("playParamButton");
203 playParamButton->setIcon(IconLoader().load("faders")); 203 playParamButton->setIcon(IconLoader().load("faders"));
204 playParamButton->setFixedSize(buttonSize); 204 playParamButton->setFixedSize(buttonSize);
205 layout->addWidget(playParamButton, 0, col++, Qt::AlignCenter); 205 layout->addWidget(playParamButton, 0, col++, Qt::AlignCenter);
206 connect(playParamButton, SIGNAL(clicked()), 206 connect(playParamButton, SIGNAL(clicked()),