Thoosle yes I'm using QT 4.
I followed your suggestion and now it works, but I don't understand why.
Is possible to have a smooth movement of the cursor?
Regards,
Franco
Thoosle yes I'm using QT 4.
I followed your suggestion and now it works, but I don't understand why.
Is possible to have a smooth movement of the cursor?
Regards,
Franco
Franco,
If you're using Qt4 then you need to look at the Qt4 docs, not Qt3. The QSlider constructor you show in your code is incorrect for Qt4. This is probably why it doesn't instantiate properly and why it works setting value after instantiation. QSlider has two constructors in Qt4 as follows:
QSlider ( QWidget * parent = 0 )
QSlider ( Qt::Orientation orientation, QWidget * parent = 0 )
try this link http://doc.trolltech.com/4.3/qslider.html
franco.amato (24th September 2008)
Bookmarks