Thank you.,
I need to load Xml file to Qmainwindow using parsing like QXmlStreamReader , based on xml file, dynamically i need to generate pushbuttons in mainwindow and name name to that push buttons without hard coding at the start of execution
For example
<Dorms>
<Dorm ID="0" Name="Dorm Building 0">
<Room ID="0" Name="Room 0"/>
<Room ID="1" Name="Room 1"/>
<Room ID="2" Name="Room 2"/>
</Dorm>
</Dorms>
above is the xml file , i need to read this file and i want to dynamically create a Qpushbutton and for that pushbuttons it is dynamically named as Name of the room, like room 0 room 1,
Bookmarks