qt组合框

时间:2017-04-12 11:40:39

标签: c++ qt

我正在尝试使用插槽连接三个组合框,但它在“& QComboBox :: currentIndexChanged”中显示错误,并且& amp;也是一个错误。

connect(ptrcomboBox1, &QComboBox::currentIndexChanged, this, &DynRefWizardPage::on_comboBox_currentIndexChanged);

connect(ptrcomboBox2, &QComboBox::currentIndexChanged, this, &DynRefWizardPage::on_comboBox_currentIndexChanged);

connect(ptrcomboBox3, &QComboBox::currentIndexChanged, this, &DynRefWizardPage::on_comboBox_currentIndexChanged);

我无法理解文档中提供的sytax,是否有人可以向我提供我的案例语法?

0 个答案:

没有答案