Qt QGridLayout bug

如果需要讓一個窗口支持模態和非模態窗口,一般是需要將改窗口設置爲QDailog, 實現該功能的一個關鍵點是設置了setStyleSheet(Qt::Window),源碼如下:         Widget = 0x00000000,         Window = 0x00000001,         Dialog = 0x00000002 | Window,   Qt::Dialog 0x0
相關文章
相關標籤/搜索