implementing qt dial