<?xml version="1.0" encoding="utf-8"?>
<bg src="Template/1/img/111.png" x="800" y="600">
<parent size="50" bold="true" family="宋体" color="#00FA9A" x="100" y="60">{ParentTitle}</parent>
<nodes x="50" y="60" rows="1" cols="4">
<img src="Template/1/img/5.png" margin="10,10,100,100"></img>
<text size="30" bold="true" family="Courier" color="#FF0000" margin="20,30,100,500" >{Title}</text>
</nodes>
<image name="PageUp" src="Template/1/img/6.png" x="150" y="50"></image>
<image name="PageDown" src="Template/1/img/7.png" x="350" y="50"></image>
</bg>
用QXmlStreamReader读取这个
文件后
<nodes x="50" y="60" rows="1" cols="4">
<img src="Template/1/img/5.png" margin="10,10,100,100"></img>
<text size="30" bold="true" family="Courier" color="#FF0000" margin="20,30,100,500" >{Title}</text>
</nodes>
我想根据rows="1" cols="4"属性值循环多个<nodes> 求高手解答