Waveform display widget based on Qt4