Qt--支持鼠标拖动来移动内容的QScrollArea视窗

一、QScrollArea用法: 1、手动写代码: 1 QLabel *imageLabel = new QLabel; 2 QImage image("temp.png"); 3 imageLabel->setPixmap(QPixmap::fromImage(image)); 4 QScrollArea *scrollArea = new QScrollArea
相关文章
相关标签/搜索