QT Tetrix Code Example