QListView 滚动条的滚动模式有两种,一种按像素的,一种按item的
QAbstractItemView::ScrollPerItem 0 The view will scroll the contents one item at a time.
QAbstractItemView::ScrollPerPixel 1 The view will scroll the contents one pixel at a time.
但是在QTextEdit里面是否也能这样设置呢?
QListView 滚动条的滚动模式有两种,一种按像素的,一种按item的
QAbstractItemView::ScrollPerItem 0 The view will scroll the contents one item at a time.
QAbstractItemView::ScrollPerPixel 1 The view will scroll the contents one pixel at a time.
但是在QTextEdit里面是否也能这样设置呢?