12 2023 档案
摘要:上一个记录地址:(https://www.cnblogs.com/NekoBlog/p/17869939.html) 在TreeView视图中呼出菜单(右键) Qt为QWidget提供了单独的菜单信号 void customContextMenuRequested(const QPoint &pos
阅读全文
摘要://创建以ui文件中对应View为载体的model<-此处使用QStandardItemModel(比较常用) QStandardItemModel* model = new QStandardItemModel(ui->treeView); model->setHorizontalHeaderLa
阅读全文

浙公网安备 33010602011771号