小编Her*_*ush的帖子

QComboBox激活(int)

我正在使用qt 5.2.我的连接功能的来电:

QObject::connect(ui->mycombobox, SIGNAL(activated(0)), ui->mypushbutton, SLOT(toggle()));
// When I select first element from mycombobox, mypushbutton must be disabled
Run Code Online (Sandbox Code Playgroud)

程序打印:

QObject::connect: No such signal QComboBox::activated(0) in <myfile>
Run Code Online (Sandbox Code Playgroud)

c++ qt

0
推荐指数
1
解决办法
3384
查看次数

标签 统计

c++ ×1

qt ×1