Hi to all,
I attached a QScrollArea to my class inherited from QWidget so:
Qt Code:
/* vertical layout */ /* scroll area */ sa->setWidgetResizable( true ); /* waveform */ m_pWaveU = new WaveDisplay( this ); sa->setWidget( m_pWaveU ); m_pVbox->addWidget( sa ); ..add other widgets.. 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
Bookmarks