QCustomPlot Discussion and Comments

Save mainwindow to Jpg or PdfReturn to overview

How can I save the mainwindow and all the widgets it contains to a Jpg or Pdf?

For example I can do this for a widget that is on the mainwindow:
ui->Detector->saveJpg("Detector.jpg", 300, 150, 1, -1);

Can I do similar for the entire mainwindow and its contents?


Thanks for any help

Hi,
that's a general Qt question, not specific to QCustomPlot. I recommend asking it in the Qt-project forum instead.