hi:
I define a function :
void MyWidget::comboChanged(string sVal)
{
if(sVal=="one")
{
...
}
else
if(sVal=="two")
...
}
how to connect this function to WComboBox sactivated
Signal ?
Wt::WComboBox* pBox;
pBox = new Wt::WComboBox(this);
pBox->addItem ("one");
pBox->addItem ("two");
pBox->addItem
("three");
pBox->sactivated().connect(SLOT(this,
MyWidget::comboChanged));
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest