You should post to the interest, not Creator list. This is for the creator 
application only.

As for your answer there are a couple ways.
If you need full XML capability, you can use Qt DOM, and create your document 
accordingly.
Of you want quick and dirty, you can use format it in 
QString("%1").arg(filename) 




________________________________
 From: Heena Mahur <hen...@rocketmail.com>
To: "interest@qt-project.org" <interest@qt-project.org> 
Sent: Monday, July 9, 2012 3:16 PM
Subject: [Interest] creating custom widget
 

Hey,


I want to know how to create custom widget to change the attribute of xml node 
in qt ?
for eg-

when you click on one node let's take
<image>
sorry <element>
and let's say this is the line in the XML file
<element><image src='ktuberling.svg' lang='any' /><pfound src='test.ogg' 
lang='any' /><word lang='any'>KTuberling</word></element>
then I want on the widget area something like
type image
file ktuberling.svg (with the possibility to load from a file
attribute lang any
and so on
and this changes depending on which element you click
Please elaborate in detail I am a beginner

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to