Mercurial > hg > svgui
comparison widgets/Thumbwheel.cpp @ 188:dd573e090eed
* Add range input dialog
* Make Panner support middle-click/ctrl-left-click to reset and emit
doubleClicked when doubleClicked instead of resetting
* Use range input dialog to enter new values for panner on double-click
author | Chris Cannam |
---|---|
date | Fri, 12 Jan 2007 21:52:56 +0000 |
parents | e7cf6044c2a0 |
children | 5b7472db612b |
comparison
equal
deleted
inserted
replaced
187:e7cf6044c2a0 | 188:dd573e090eed |
---|---|
276 } | 276 } |
277 | 277 |
278 void | 278 void |
279 Thumbwheel::mouseDoubleClickEvent(QMouseEvent *mouseEvent) | 279 Thumbwheel::mouseDoubleClickEvent(QMouseEvent *mouseEvent) |
280 { | 280 { |
281 //!!! needs a common base class with AudioDial | 281 //!!! needs a common base class with AudioDial (and Panner?) |
282 | 282 |
283 if (mouseEvent->button() != Qt::LeftButton) { | 283 if (mouseEvent->button() != Qt::LeftButton) { |
284 return; | 284 return; |
285 } | 285 } |
286 | 286 |