Apparently, here we need to explain a little, the XML file is an intermediate link, which can always be regenerated from the Adobe XD template file using dctool.exe. For Qt, we provide a parser of this XML, which is compatible with the format generated by our toool dcmake.exe, parser can be compiled with Qt5 or Qt6. Along with this parser, there is a rendering mechanism compatible with QStyle. For example, you need to draw a push button. The button is drawn in AdobeXD with states - pressed, normal, mouse hovered or disabled. Then this button gets into XML and is parsed on the Qt side into a structure, which then draws the button at the time of the call QStyle::drawControl(QStyle::CE_PushButton);
Bookmarks