7#ifndef KISPALETTECOMBOBOX_H
8#define KISPALETTECOMBOBOX_H
10#include "kritawidgets_export.h"
48 void slotPaletteChanged();
49 void slotSwatchSelected(
const QModelIndex &index);
50 void slotIndexUpdated(
int);
54 QPixmap createColorSquare(
const KisSwatch &swatch)
const;
55 static bool swatchInfoLess(
const KisSwatchGroup::SwatchInfo &,
const KisSwatchGroup::SwatchInfo &);
The KisPaletteComboBox class A combobox used with KisPaletteView.
QPointer< const KisPaletteModel > m_model
QPointer< KisPaletteView > m_view
QPair< int, int > SwatchPosType
QHash< QString, PosIdxMapType > m_groupMapMap
void sigColorSelected(const KoColor &)
QHash< SwatchPosType, int > PosIdxMapType
QVector< KisSwatch > m_idxSwatchMap
The KisPaletteModel class This, together with KisPaletteView and KisPaletteDelegate forms a mvc way t...