Qt-based library for randomizing