QML listview自动滚动显示
时间: 2023-08-19 16:04:47 浏览: 195
在QML中,ListView组件可以自动滚动显示数据。ListView在展示数据时,可以通过滑动屏幕或使用鼠标滚轮来滚动视图,将屏幕外的数据滚动到视图内,同时将屏幕上原有的数据滚动出视图。这个滚动行为可以通过Flickable组件来实现,因为ListView继承自Flickable,因此具有Flickable的拖拽和轻弹功能。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [QML ListView组件解析](https://blog.csdn.net/qq_34999565/article/details/126218029)[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%"]
- *3* [DataTableView.qml](https://download.csdn.net/download/zjgo007/14363605)[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 ]
阅读全文