摘要:
转自:https://www.cnblogs.com/jiangson/p/11573475.html 一、如下图树形结构 二、实现代码 model 为私有变量,QStandardItemModel *model; 1 void ParamSettingDlg::GetNode() 2 { 3 fo 阅读全文
摘要:
转自:https://blog.csdn.net/qiangzi4646/article/details/80244433 1 //ui 文件中定义 2 //QTreeWidget *treeWidget; 3 //... 4 5 //遍历treeWidget 6 QTreeWidgetItemIt 阅读全文