QT version of monument control code