开发者

Qt non-main windows

If I want to create a window that is not a main application window (like say I want a Preferences window to pop up when a preferences menu has been 开发者_Go百科clicked in the main window), how would I accomplish this?


"Any QWidget without a parent will be in it's own window." http://doc.qt.io/qt-4.8/qwidget.html

I recommemd to read about window-related functions and properties of QWidget. For preference window windowModality, windowType, windowFlags may be useful.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜