QT中 mdisubwindow中讓圖片跟隨窗口變化

一開始瀏覽了很多資料,最後還是發現liyuanbhu大神的比較有效,借用他的類 稍微改造下,可去他的博客借用他的類,僅在他的類中加了小段: case AUTO_SAME: window_width = width(); window_height = height(); image_width = m_pixmap.width(); image_height = m_pixmap.height()
相關文章
相關標籤/搜索