1、类似与Qt4中的写法:
2、函数指针
3、泛型
connect(ui->combox, QOverload<int>::of(&QCombox::currentIndexChanged), this
,&mainwindow::onindexchange);
1、类似与Qt4中的写法:
2、函数指针
3、泛型
connect(ui->combox, QOverload<int>::of(&QCombox::currentIndexChanged), this
,&mainwindow::onindexchange);