Qt Interval Measurement