8#ifndef __KIS_PALETTE_VIEW_H
9#define __KIS_PALETTE_VIEW_H
11#include <QScopedPointer>
16#include "kritawidgets_export.h"
43 void setAllowModification(
bool allow);
53 void setCrossedKeyword(
const QString &
value);
55 void removeSelectedEntry();
62 void selectClosestColor(
const KoColor &color);
77 bool addEntryWithDialog(
KoColor color);
84 bool removeEntryWithDialog(QModelIndex index);
91 bool addGroupWithDialog();
102 void slotFGColorChanged(
const KoColor &);
107 void slotHorizontalHeaderResized(
int,
int,
int newSize);
108 void slotAdditionalGuiUpdate();
109 void slotCurrentSelectionChanged(
const QModelIndex &newCurrent);
112 void resizeRows(
int newSize);
113 void saveModification();
117 const QScopedPointer<Private>
d;
float value(const T *src, size_t ch)
The KisPaletteModel class This, together with KisPaletteView and KisPaletteDelegate forms a mvc way t...
void sigColorSelected(const KoColor &)
const QScopedPointer< Private > d
void sigIndexSelected(const QModelIndex &index)
void slotScrollerStateChanged(QScroller::State state)
static int MINIMUM_ROW_HEIGHT