Skip to content

OlegShabalov/qt-color-dialog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ColorDialog

About

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.

Usage

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.

License

Licensed under the LGPL Version 3.

Screenshots

Screenshot1: default

Screenshot2: semi-transparent color

Screenshot3: no alpha channel

Screenshot4: no buttons

About

Custom Qt color selection dialog.

Topics

Resources

License

Stars

Watchers

Forks