Mercurial > hg > svgui
comparison layer/WaveformLayer.cpp @ 13:01849cd277e6
* Hook up tool selection buttons to switch the cursor mode
* Implement simple and multi-selection, snapping to the resolution
of the current layer. You can't actually do anything with a selection yet
author | Chris Cannam |
---|---|
date | Mon, 23 Jan 2006 17:02:57 +0000 |
parents | 2d5005f2b3d9 |
children | dcdb21b62dbb |
comparison
equal
deleted
inserted
replaced
12:484e7320f59f | 13:01849cd277e6 |
---|---|
382 paint->setBrush(m_view->palette().background()); | 382 paint->setBrush(m_view->palette().background()); |
383 paint->drawRect(rect); | 383 paint->drawRect(rect); |
384 | 384 |
385 paint->setPen(Qt::black); | 385 paint->setPen(Qt::black); |
386 paint->setBrush(Qt::NoBrush); | 386 paint->setBrush(Qt::NoBrush); |
387 | |
388 paint->setRenderHint(QPainter::Antialiasing, false); | |
387 | 389 |
388 } else { | 390 } else { |
389 paint = &viewPainter; | 391 paint = &viewPainter; |
390 } | 392 } |
391 | 393 |