PDA

View Full Version : QScrollBar question



vuletic
12th March 2015, 11:53
Hello

is there any way to get self.plainTextEdit.verticalScrollBar() #current value?

because I'm trying to sync plainTextEdit with textEdit
self.plainTextEdit.verticalScrollBar().valueChange d.connect(self.textEdit.verticalScrollBar().setVal ue)

anda_skoa
12th March 2015, 13:37
The scrollbar class has a value() method (inherited from QAbstractSlider)

Cheers,
_