[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] Any Qt experts out there?



I'm trying to get my head around everything Qt at present but have got a bit stuck with some SVG files.

I've created an svg file using inkscape and have given meaningful names to some of the graphics items in the svg file so that I can render them using Qt's support for SVG files - so far so good.

Using Qt's Graphic View framework, I can transform these objects in a myriad of ways, but what I really want to do is something simple like change the foreground / background colour of these items. I can't figure out how to do this other than load the XML file directly, tweak the properties I'm interested in and then render the relevant bit of the XML file - I guess this is all possible but was hoping for a simpler way.

Bob

--
Robert E B Holland CEng FIET
Bradwell IT Solutions Ltd
Registered in England & Wales No: 2564938
Registered office: Throapham House, Oldcotes Road, Throapham Sheffield S25 2QS
Phone: 01909 568630 Fax: 01909 567825
Skype: rebholland
Web: http://www.bradwell.net/

All information or opinions expressed in this message and/or any attachments are those of the author and are not necessarily those of Bradwell IT Solutions Ltd.

Copyright: Any distribution, use or reproduction without the sender's prior consent is unauthorised and strictly prohibited.

Confidentiality: This email and its attachments are intended for the exclusive use of the addressee(s) and may be confidential. If you have received this message in error, you must take no action on them nor must you copy or show them to anyone. Please reply to this email immediately highlighting the error and delete this message from your computer.

Security: Email is not a secure medium. We advise that you understand and accept this lack of security when emailing us.

Viruses: Bradwell IT Solutions Ltd accepts no responsibility for loss or damage arising from the use of this email including damage by virus.

*** For luxury bed and breakfast accommodation in South Yorkshire visit http://www.throapham-house.co.uk ***

_______________________________________________
Sheffield Linux User's Group
http://sheflug.org.uk/mailman/listinfo/sheflug_sheflug.org.uk
FAQ at: http://www.sheflug.org.uk/mailfaq.html

GNU - The Choice of a Complete Generation