Hi to all,
I attached a QScrollArea to my class inherited from QWidget so:
Qt Code:
  1. /* vertical layout */
  2. m_pVbox = new QVBoxLayout( this );
  3.  
  4. /* scroll area */
  5. sa = new QScrollArea( this );
  6. sa->setWidgetResizable( true );
  7.  
  8. /* waveform */
  9. m_pWaveU = new WaveDisplay( this );
  10.  
  11. sa->setWidget( m_pWaveU );
  12.  
  13. m_pVbox->addWidget( sa );
  14. ..add other widgets..
  15.  
  16. setLayout(m_pVbox);
To copy to clipboard, switch view to plain text mode 

The scroll area should manage the case where the waveform go out of screen width creating a scrollbar.
I would know if it's possible to emit a signal when I move the scroll bar.

Best Regards