Ok, heres my code
<Item_stats>
<General_Details>
<Price>300</Price>
<Name>Bottle of Wisdom</Name>
<Description> blahblahblah blahblah</Description>
</General_Details>
<Auras>
<HPreg>3.6</HPreg>
<Manareg>3.6</Manareg>
</Auras>
</Item_stats>
<Item_stats>
<General_Details>
<Price>300</Price>
<Name>Bottle of Wisdom</Name>
<Description> blahblahblah blahblah</Description>
</General_Details>
<Auras>
<HPreg>3.6</HPreg>
<Manareg>3.6</Manareg>
</Auras>
</Item_stats>
To copy to clipboard, switch view to plain text mode
that is my basic xml file, i tried using #include QXml and using QdomDocument ... didnt reach a thing.. although i managed to have the file in 'open' state, figured that out using if statement with a file.isOpen...
Ok, what i want to do with the data is to place them into little Labels/Line edits. for example, i want this to be visible in the gui:
Item Name: (text here)
Price: 300...
if you can give me an example on one i would manage the rest.
Thanks in advance... XD
Bookmarks