Seems to work nicely, thanks.

If it would help anyone else in the future I changed these lines:
Qt Code:
  1. #include <QVariant>
  2. ...
  3. connect(this, SIGNAL(valueChanged(QVariant)), m_parent, SLOT(setslider(QVariant)));
  4. ...
  5. signals:
  6. void valueChanged(QVariant newValue);
  7. ...
To copy to clipboard, switch view to plain text mode