qcustomplot双击恢复原图
采用QCustomPlot::mouseDoubleClick信号和Lambda表达式
connect(ui->customplot,&QCustomPlot::mouseDoubleClick,this,[=]{
ui->customplot->xAxis->setRange(-100,1000);
ui->customplot->yAxis->setRange(-100,100);
ui->customplot->replot();
});