QT 子窗口跟随父窗口
时间: 2023-09-07 09:16:55 浏览: 240
Qt--子窗口向父窗口传值
5星 · 资源好评率100%
在QT中,可以通过以下步骤实现子窗口跟随父窗口移动和缩放:
1. 创建一个窗口类,并确保子窗口是该类的一个实例。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [qt 子窗口跟随父窗口移动](https://blog.csdn.net/u012484779/article/details/84255180)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [QT中将 子窗口添加到父窗口中,并实现子窗口随父窗口大小伸缩。](https://blog.csdn.net/ken2232/article/details/129109419)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文