How can I connect two signals or signal and slot use const char*, e.g:
connect(widget, "valueChange(double), this, "myValueChanged(double));
Doing like this, I have info: Object::connect: No such signal QDoubleSpinBox::alueChanged(double) .
How can I connect two signals or signal and slot use const char*, e.g:
connect(widget, "valueChange(double), this, "myValueChanged(double));
Doing like this, I have info: Object::connect: No such signal QDoubleSpinBox::alueChanged(double) .
QSpinbox default signal of valueChange() is
void QSpinBox::valueChanged ( int i )
void QSpinBox::valueChanged ( const QString & text )
only QString and int value u can connect .. valueChanged(double) is not defined ..
if u want the value in double
either emit() or use QSignalMapper()
"Behind every great fortune lies a crime" - Balzac
Check the names properly... from your post..
Doing like this, I have info: Object::connect: No such signal QDoubleSpinBox::alueChanged(double) .
definitely,,, what I said was in addition to ur points..
Bookmarks