simple Histogramm Qt Class