I've problem: this connect get me a console error like as cannot connect check box to null::set(bool); but the SLOT starts; it works!Why?
FancyPopup::FancyPopup(myMainForm* parent, const char* name ):
QLabel( parent, name, WType_Popup
), _myw
(parent
){ connect (checkBox, SIGNAL(toggled(bool)), _myw, SLOT(set(bool)));
FancyPopup::FancyPopup(myMainForm* parent, const char* name ):
QLabel( parent, name, WType_Popup ), _myw(parent){
connect (checkBox, SIGNAL(toggled(bool)), _myw, SLOT(set(bool)));
To copy to clipboard, switch view to plain text mode
and why this connect get me a run time error:
connect (dial, SIGNAL(valueChanged(int)), _myw, SLOT(setValue(int)));
connect (dial, SIGNAL(valueChanged(int)), _myw, SLOT(setValue(int)));
To copy to clipboard, switch view to plain text mode
but this works:
connect (dial, SIGNAL(dialMoved(int)), _myw, SLOT(setValue(int)));
connect (dial, SIGNAL(dialMoved(int)), _myw, SLOT(setValue(int)));
To copy to clipboard, switch view to plain text mode
Bookmarks