Qt Code:
  1. spectrogram->setXAxis( QwtPlot::XTop );
To copy to clipboard, switch view to plain text mode 
Uwe