Warning, /graphics/glaxnimate/external/Qt-Color-Widgets/gallery/README.md is written in an unsupported language. File is not indexed.

0001 Color Widgets Gallery
0002 =====================
0003 
0004 Color2DSlider
0005 -------------
0006 ![Color2DSlider](Color2DSlider.png)
0007 
0008 This widget allow the user to select 2 HSV color components at the same time,
0009 by default that is Saturation and Value but they can be changed.
0010 
0011 ColorDialog
0012 -----------
0013 ![ColorDialog](ColorDialog.png)
0014 
0015 This is a dialog analogous to <tt>QColorDialog</tt> but with a much nicer and friendlier 
0016 user interface. It uses several of the other widgets.
0017 
0018 ColorLineEdit
0019 -------------
0020 ![ColorLineEdit](ColorLineEdit.png)
0021 ![ColorLineEdit with color preview](ColorLineEdit_with_color.png)
0022 
0023 This is a <tt>QLineEdit</tt> intended to be used to edit and display color names.
0024 It accepts several string formats:
0025 * <tt>#f00</tt> (3 hexadecimal rgb digits)
0026 * <tt>#ff0000</tt> (6 hexadecimal rgb digits)
0027 * <tt>rgb(255,0,0)</tt> (function-like)
0028 * <tt>red</tt> (color name)
0029 
0030 It can optionally display the color it represents on its background.
0031 
0032 ColorListWidget
0033 ---------------
0034 ![ColorListWidget](ColorListWidget.png)
0035 
0036 It allows to display and edit a list of colors.
0037 
0038 ColorPaletteWidget and Swatch
0039 -----------------------------
0040 These widgets handle color palettes.
0041 
0042 ![Swatch](Swatch.png)
0043 
0044 **Swatch** only handles a single palette, can be used to just select colors from the 
0045 palette or to modify the palette via drag and drop operations.
0046 
0047 **ColorPaletteModel** is a list model that represents palettes with can be used
0048 with the Qt item view widgets, it provides a name and a preview icon for
0049 each of the stored palettes.
0050 It also has functionality to load and save palettes from the filesystem.
0051 
0052 ![Read-only ColorPaletteWidget](ColorPaletteWidget_readonly.png)
0053 ![ColorPaletteWidget](ColorPaletteWidget.png)
0054 
0055 **ColorPaletteWidget** manages a list of palettes (via **ColorPaletteModel**).
0056 Has two modes: read-only only allows to select palettes and colors,
0057 otherwise it can be used to modify the list of palettes and the palette itself.
0058 
0059 ColorPreview and ColorSelector
0060 ------------------------------
0061 ![ColorPreview](ColorPreview.png)
0062 
0063 **ColorPreview** is a widget that displays a color or compares two colors.
0064 
0065 **ColorSelector** is like **ColorPreview** but when clicked it shows a ColorDialog.
0066 
0067 GradientSlider and HueSlider
0068 ----------------------------
0069 ![HueSlider](HueSlider.png)
0070 
0071 **GradientSlider** is a <tt>QSlider</tt> which uses a gradient as its background.
0072 
0073 **HueSlider** is specifically made to select a hue and has more information
0074 about the represented color.
0075 
0076 
0077 GradientEditor
0078 --------------
0079 ![GradientEditor](GradientEditor.png)
0080 
0081 **GradientEditor** is similar in appearance to **GradientSlider** but it's for editing the gradient.
0082 
0083 
0084 GradientListModel and GradientDelegate
0085 --------------------------------------
0086 ![GradientListModel](GradientListModel_combo.png)
0087 ![GradientListModel](GradientListModel_view.png)
0088 
0089 **GradientListModel** is a <tt>QAbstractListModel</tt> used to list gradients (useful for combo boxes, item views and the like).
0090 
0091 **GradientDelegate** is an item delegate to edit gradients in an item view.