关于QScrollArea

来源:互联网 发布:美国色情软件app 编辑:程序博客网 时间:2024/05/23 01:47

A scroll area is used to display the contents of a child widget within a frame. If the widget exceeds the size of the frame, the view can provide scroll bars so that the entire area of the child widget can be viewed. 

 

setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);

只有 要显示的部分>scollArea的时候 才会用到srollArea

原创粉丝点击