Hi, I've managed to edit the background color using RGB.
background:rgb()
But how do you do it using CMYK? I've tried cmyk() and setCmyk.
Hi, I've managed to edit the background color using RGB.
background:rgb()
But how do you do it using CMYK? I've tried cmyk() and setCmyk.
don't know what 'background' is but are you looking for https://doc.qt.io/qt-5/qcolor.html#getCmyk ?
Sprry I wasn’t clear enough. I meant the background color of the ui design. You can edit the stylesheet, and with that change the background color of your design. I managed to do that with RGB using the format from my OP. But when I do it with CMYK, it doesn’t work properly. According to my understating cmyk(255,0,0,0) should give a Cyan background and the same for magenta, yellow and key(black). But as I said, it doesn’t work.
Qt CSS doesn't allow cmyk: https://doc.qt.io/qt-5/stylesheet-reference.html#brush
Daylyt2k19 (14th May 2019)
There is some example of stylesheet using CMYK here : https://qss-stock.devsecstudio.com
Bookmarks