dust3d/thirdparty/Qt-Color-Widgets/gallery
huxingyi d6f6fb6cdf Add metallic and roughness settings for part
Part deform painter got removed. Experiment color painter introduced, but not enabled yet.
2020-10-18 14:33:15 +09:30
..
CMakeLists.txt Add metallic and roughness settings for part 2020-10-18 14:33:15 +09:30
Color2DSlider.png Add metallic and roughness settings for part 2020-10-18 14:33:15 +09:30
ColorDialog.png Add metallic and roughness settings for part 2020-10-18 14:33:15 +09:30
ColorLineEdit.png Add metallic and roughness settings for part 2020-10-18 14:33:15 +09:30
ColorLineEdit_with_color.png Add metallic and roughness settings for part 2020-10-18 14:33:15 +09:30
ColorListWidget.png Add metallic and roughness settings for part 2020-10-18 14:33:15 +09:30
ColorPaletteWidget.png Add metallic and roughness settings for part 2020-10-18 14:33:15 +09:30
ColorPaletteWidget_readonly.png Add metallic and roughness settings for part 2020-10-18 14:33:15 +09:30
ColorPreview.png Add metallic and roughness settings for part 2020-10-18 14:33:15 +09:30
ColorWheel.png Add metallic and roughness settings for part 2020-10-18 14:33:15 +09:30
GradientEditor.png Add metallic and roughness settings for part 2020-10-18 14:33:15 +09:30
GradientListModel_combo.png Add metallic and roughness settings for part 2020-10-18 14:33:15 +09:30
GradientListModel_view.png Add metallic and roughness settings for part 2020-10-18 14:33:15 +09:30
HueSlider.png Add metallic and roughness settings for part 2020-10-18 14:33:15 +09:30
README.md Add metallic and roughness settings for part 2020-10-18 14:33:15 +09:30
Swatch.png Add metallic and roughness settings for part 2020-10-18 14:33:15 +09:30
screenshot.cpp Add metallic and roughness settings for part 2020-10-18 14:33:15 +09:30

README.md

Color Widgets

Color2DSlider

Color2DSlider

This widget allow the user to select 2 HSV color components at the same time, by default that is Saturation and Value but they can be changed.

ColorDialog

ColorDialog

This is a dialog analogous to QColorDialog but with a much nicer and friendlier user interface. It uses several of the other widgets.

ColorLineEdit

ColorLineEdit ColorLineEdit with color preview

This is a QLineEdit intended to be used to edit and display color names. It accepts several string formats:

  • #f00 (3 hexadecimal rgb digits)
  • #ff0000 (6 hexadecimal rgb digits)
  • rgb(255,0,0) (function-like)
  • red (color name)

It can optionally display the color it represents on its background.

ColorListWidget

ColorListWidget

It allows to display and edit a list of colors.

ColorPaletteWidget and Swatch

These widgets handle color palettes.

Swatch

Swatch only handles a single palette, can be used to just select colors from the palette or to modify the palette via drag and drop operations.

ColorPaletteModel is a list model that represents palettes with can be used with the Qt item view widgets, it provides a name and a preview icon for each of the stored palettes. It also has functionality to load and save palettes from the filesystem.

Read-only ColorPaletteWidget ColorPaletteWidget

ColorPaletteWidget manages a list of palettes (via ColorPaletteModel). Has two modes: read-only only allows to select palettes and colors, otherwise it can be used to modify the list of palettes and the palette itself.

ColorPreview and ColorSelector

ColorPreview

ColorPreview is a widget that displays a color or compares two colors.

ColorSelector is like ColorPreview but when clicked it shows a ColorDialog.

GradientSlider and HueSlider

HueSlider

GradientSlider is a QSlider which uses a gradient as its background.

HueSlider is specifically made to select a hue and has more information about the represented color.

GradientEditor

GradientEditor

GradientEditor is similar in appearance to GradientSlider but it's for editing the gradient.

GradientListModel and GradientDelegate

GradientListModel GradientListModel

GradientListModel is a QAbstractListModel used to list gradients (useful for combo boxes, item views and the like).

GradientDelegate is an item delegate to edit gradients in an item view.