Warning, /games/ksirk/ksirkskineditor/NOTES is written in an unsupported language. File is not indexed.
0001 To implement graphic choice of various elements in the skin, for example countries flags 0002 - prepare a QSvgRenderer on the pool 0003 - read the XML of the SVG (with QXmlReader). For each element possibly an item (at least with an id), render it to a pixmap 0004 - store each id with the corresponding pixmap 0005 - to chose a country flag, fill in the flag entry with the list of pixmaps associated to the ids (gray out those already used but they can still be used here and removed from elsewhere) 0006 - when the user choses one entry, retrieve its id to store it in the skin. 0007 0008 0009 Don't forget to include a "Unknown/Not set" entry in the case the pool is not already complete. It will also be used as the initial value. 0010