4 Commits

Author SHA1 Message Date
Nyall Dawson
dce206e374 [FEATURE] New custom QGIS color picker dialog. Basically
it's a Frankenstein's monster of the best bits of lots of other color
picker implementations. Features include:
- Sliders for hue, saturation, value, red, green, blue color components
- Alpha slider
- Option to copy/paste html color codes (in a variety of formats)
- Before/after color preview, with alpha preview
- Interactive 2D color ramp widget
- Hue wheel/triangle widget
- Editable color swatch lists
- Live color sampler with option to sample over a set radius
- Supports interaction with other apps via drag and drop of colors (OS support
dependant)
- Option to disable the dialog and use the native picker dialog instead (TODO:
make the dialog so awesome that even @dakcarto switches across...)

Credit for icons goes to 3nids!
2014-09-16 23:00:06 +10:00
Nyall Dawson
e9d7b520db Support dragging colors from QgsColorPreviewWidget 2014-09-11 21:56:48 +10:00
Nyall Dawson
c4c58ab342 Accept dropped colors on color widgets 2014-09-11 21:11:04 +10:00
Nyall Dawson
b9fc2b51d9 Add a bunch of useful interactive color widgets to GUI, including
color wheels, ramps, boxes, and text edits.
2014-09-09 21:31:43 +10:00