ColorDialog
is a custom Qt color selection dialog. This class duplicates the functionality of the standard QColorDialog
, but unlike it, it has a simpler and more understandable UI design.
Just add the files ColorDialog.hpp
and ColorDialog.cpp
to your project and use it like a regular Qt dialog class.
Like the standard QColorDialog
, this dialog provides a static method getColor
for getting a color that has a similar interface. But you can use this class directly.
It is also possible to hide buttons or the alpha channel.
The main.cpp
file provides a simple example of how to use this dialog.
Licensed under the LGPL Version 3.