[Interest] creating custom widget

Jason H scorp1us at yahoo.com
Mon Jul 9 21:33:36 CEST 2012


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 <hena18 at rocketmail.com>
To: "interest at qt-project.org" <interest at 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 at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120709/368092df/attachment.html>


More information about the Interest mailing list