在槽函数中多加了个ui->setupUi(this);

导致该界面的所有槽函数失效,删除槽函数中

ui->setupUi(this);即可。
posted @ 2021-07-02 14:13  祥瑞哈哈哈  阅读(103)  评论(0)    收藏  举报