Changed plots structure: QVector<QwtPlot*>->QVector<std::pair<QwtPlot*,int> >,
where int represents tabNumber.