Hi,

I need to synchronize the vertical scrollbars of three listwidget so that they all move to the same position when one scrollbar's position is changed (they all have the same number of items).

I found this question in a different post, which but I don't exactly understand the posted solution and therefore don't know how to use it.
http://www.qtcentre.org/threads/5918...wo-QListWidget

I understand the general idea so I tried creating my own connect like this for one of the scrollbars:

Qt Code:
  1. connect(ui->userListWidget->verticalScrollBar(), SIGNAL(&QAbstractSlider::valueChanged()),
  2. this, SLOT(syncronizeScrollBars()));
To copy to clipboard, switch view to plain text mode 

I haven't implemented syncronizeScrollBars() yet, but this is where I'll set the positions of the other scrollbars to the changed scrollbars position. I somehow need to prevent a recursive loop when the other scrollbar positions are changed, but first I need to make my connect() work. I get the following message when I call the connect() above.

Object::connect: No such signal QScrollBar::&QAbstractSlider::valueChanged() in ../FlexVault/FlexVault_Qt/activitylog.cpp:20
Object::connect: (receiver name: 'ActivityLog')
Why is that? How do I fix my connect() so it will emit the valueChanged() when my scrollbar's position changes?

// Leutzig