Qrandomgenerator dibatasi

//example
QRandomGenerator::global()->bounded(10);//10 is excluded 0 is included
QRandomGenerator::global()->bounded(10, 12);//10 is included 12 is excluded
Pieter21