Hi to all,
I'm starting with QT4 and I need to connect an "int" signal to a "double" slot.
I've tried with:
QSpinBox::connect(mw_ui
->spinbox_LineNumber,
SIGNAL(valueChanged
(int)),
&(*mw_ui
->qwtSlider_LineNumber
),
SLOT(setValue
(double)));
QSpinBox::connect(mw_ui->spinbox_LineNumber, SIGNAL(valueChanged(int)), &(*mw_ui->qwtSlider_LineNumber), SLOT(setValue(double)));
To copy to clipboard, switch view to plain text mode
but I receive the message:
Incompatible sender/receiver...
I've searched on google how to solve this problem.. but I havn't find nothing..
could someone help me?
Thanks
GortiZ
Bookmarks