Composition is about painting, not selecting things. For painting the selection you can use QPainter::CompositionMode_Xor if you want (or any other composition actually).
I have to implement the mousePress/Move/ReleaseEvents right? Select a region and paint it?
Or I'm wrong? I have to select a region in the audio waveform .
Can I have a little example with some lines of code?
Bookmarks