摘要:
找了下,发现在QAbstractScrollArea里面有void setHorizontalScrollBar ( QScrollBar * scrollBar )void setHorizontalScrollBarPolicy ( Qt::ScrollBarPolicy )void setVerticalScrollBar ( QScrollBar * scrollBar )void setVerticalScrollBarPolicy ( Qt::ScrollBarPolicy )这几个方法,分别是设置水平和竖直滚动条的方法。新建一个滚动条,再绑定到所需的表上,即可实现多表格的同步滚动 阅读全文