Skip to content

Class ColorPickerEditMode#

ClassList > ColorPickerEditMode

Inherits the following classes: ColorPickerWidget

Public Functions#

Type Name
ColorPickerEditMode (QWidget * parent=nullptr)

Public Functions inherited from ColorPickerWidget#

See ColorPickerWidget

Type Name
ColorPickerWidget (QWidget * parent=nullptr)
void updateSelection (int index)
void updateWidget ()

Public Static Functions inherited from ColorPickerWidget#

See ColorPickerWidget

Type Name
const QVector< QColor > & getDefaultLargeColorPalette ()
const QVector< QColor > & getDefaultSmallColorPalette ()

Protected Attributes inherited from ColorPickerWidget#

See ColorPickerWidget

Type Name
QVector< QRect > m_colorAreaList
int m_colorAreaSize
QVector< QColor > m_colorList
int m_lastIndex
int m_selectedIndex
QColor m_uiColor

Protected Functions inherited from ColorPickerWidget#

See ColorPickerWidget

Type Name
void paintEvent (QPaintEvent * event) override
void repaint (int i, QPainter & painter)

Public Functions Documentation#

function ColorPickerEditMode#

explicit ColorPickerEditMode::ColorPickerEditMode (
    QWidget * parent=nullptr
)