我正在尝试使用插槽连接三个组合框,但它在“& 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,是否有人可以向我提供我的案例语法?