使用Qt4本身的函数使窗口置顶

setWindowFlags(Qt::WindowStaysOnTopHint);
resize(320, 240);
move(1280-320,100);

你可能感兴趣的:(Qt4开发,qt)