comparison widgets/Thumbwheel.cpp @ 189:5b7472db612b

* Add large chunks of context help in the optional status bar * Add an extra overlay mode in which even the centre frame is disabled * Fixes to FTP retrieval
author Chris Cannam
date Fri, 19 Jan 2007 13:13:14 +0000
parents dd573e090eed
children 53835534a9d3
comparison
equal deleted inserted replaced
188:dd573e090eed 189:5b7472db612b
260 { 260 {
261 return m_showScale; 261 return m_showScale;
262 } 262 }
263 263
264 void 264 void
265 Thumbwheel::enterEvent(QEvent *)
266 {
267 emit mouseEntered();
268 }
269
270 void
271 Thumbwheel::leaveEvent(QEvent *)
272 {
273 emit mouseLeft();
274 }
275
276 void
265 Thumbwheel::mousePressEvent(QMouseEvent *e) 277 Thumbwheel::mousePressEvent(QMouseEvent *e)
266 { 278 {
267 if (e->button() == Qt::MidButton || 279 if (e->button() == Qt::MidButton ||
268 ((e->button() == Qt::LeftButton) && 280 ((e->button() == Qt::LeftButton) &&
269 (e->modifiers() & Qt::ControlModifier))) { 281 (e->modifiers() & Qt::ControlModifier))) {