I am coding a GUI in PyQt5, where I need a color picker. So far, I use the QColorDialog Class, which works fine for selecting a color - but my problem is that there seems to be no way to select "no color" (or "no fill", like its known from PowerPoint or Adobe Illustrator).
How to achieve to select "no color"? (The documentation only mentions a flag for transparency, but this is not helpful for me...)
If you don't mind using a non-native dialog, it is quite easy to customize it.
Below is a very basic implementation that shows how to embed the existing dialog, and add an extra "No Color" button at the bottom. The rest of the implementation is left as an exercise for the reader...