Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以从 UI 视图中窗口的属性表中执行此操作吗?
目前,我在 QMainDialog 的构造函数中设置了始终位于顶部的标志:
setWindowFlags(Qt::WindowStaysOnTopHint);