Creating Paint Application in CPP using QT