qt horizontalScrollBar()
时间: 2023-11-04 11:19:17 浏览: 233
Qt中的horizontalScrollBar()是一个函数,用于获取QMainWindow类的水平滚动条对象。该函数返回一个指向QScrollBar对象的指针。在给定的代码示例中,创建了一个MainWindow类的对象,其中包含一个名为horizontalScrollBar的QScrollBar对象。通过调用horizontalScrollBar()函数,可以获取对该对象的引用。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [QT输入窗口之QScrollBar(滚动条)](https://blog.csdn.net/odsdadada/article/details/128054595)[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_1"}}] [.reference_item style="max-width: 50%"]
- *3* [qt -- QScrollBar滚动条](https://blog.csdn.net/qq_41653875/article/details/110942946)[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_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文