Reputation: 209
how is the PyQt5 code of this Qt-connect-statement:
connect(frozenTableView->verticalScrollBar(), &QAbstractSlider::valueChanged,
verticalScrollBar(), &QAbstractSlider::setValue)
Thank you!
Franz
Upvotes: 0
Views: 121
Reputation: 120578
Something like this:
frozenTableView.verticalScrollBar().valueChanged.connect(
self.verticalScrollBar().setValue)
Upvotes: 1