Custom widget used to pick a color. More...
#include "../Config.h"#include <QApplication>#include <QColor>#include <QColorDialog>#include <QFrame>#include <QGridLayout>#include <QHash>#include <QMouseEvent>#include <QPainter>#include <QRectF>#include <QToolButton>Go to the source code of this file.
Classes | |
| class | te::qt::widgets::ColorKeyInfo | 
| Associate a rect to a color.  More... | |
| class | te::qt::widgets::ColorPickerPopup | 
| Create a frame with a default color palette.  More... | |
| class | te::qt::widgets::ColorPickerToolButton | 
| Custom tool button used to pick a color.  More... | |
Namespaces | |
| te | |
| URI C++ Library.  | |
| te::qt | |
| Namespace for the Qt module of TerraLib.  | |
| te::qt::widgets | |
| Namespace for the Qt Widgets module of TerraLib.  | |
Macros | |
| #define | COLORSIZE 20 | 
| #define | COLS 8 | 
| #define | MARGINX 4 | 
| #define | MARGINY 19 | 
| #define | ROWS 6 | 
| #define | SPACE 4 | 
Custom widget used to pick a color.
Definition in file ColorPickerToolButton.h.
| #define COLORSIZE 20 | 
Definition at line 44 of file ColorPickerToolButton.h.
Referenced by te::qt::widgets::ColorPickerPopup::ColorPickerPopup(), and te::qt::widgets::ColorPickerPopup::paintEvent().
| #define COLS 8 | 
Definition at line 45 of file ColorPickerToolButton.h.
Referenced by te::qt::widgets::ColorPickerPopup::ColorPickerPopup().
| #define MARGINX 4 | 
Definition at line 49 of file ColorPickerToolButton.h.
Referenced by te::qt::widgets::ColorPickerPopup::ColorPickerPopup(), and te::qt::widgets::ColorPickerPopup::paintEvent().
| #define MARGINY 19 | 
Definition at line 48 of file ColorPickerToolButton.h.
Referenced by te::qt::widgets::ColorPickerPopup::ColorPickerPopup(), and te::qt::widgets::ColorPickerPopup::paintEvent().
| #define ROWS 6 | 
Definition at line 46 of file ColorPickerToolButton.h.
Referenced by te::qt::widgets::ColorPickerPopup::paintEvent().
| #define SPACE 4 | 
Definition at line 47 of file ColorPickerToolButton.h.
Referenced by te::qt::widgets::ColorPickerPopup::ColorPickerPopup(), and te::qt::widgets::ColorPickerPopup::paintEvent().