7#ifndef __KIS_COLOR_LABEL_SELECTOR_WIDGET_H
8#define __KIS_COLOR_LABEL_SELECTOR_WIDGET_H
10#include <QScopedPointer>
13#include "kritaui_export.h"
40 bool isButtonChecked(
int index)
const;
46 int currentIndex()
const;
55 bool exclusive()
const;
60 void setExclusive(
bool exclusive);
66 bool buttonWrapEnabled()
const;
71 void setButtonWrapEnabled(
bool enabled);
76 bool mouseDragEnabled()
const;
80 void setMouseDragEnabled(
bool enabled);
85 SelectionIndicationType selectionIndicationType()
const;
89 void setSelectionIndicationType(SelectionIndicationType type);
98 void setButtonSize(
int size);
104 void setButtonChecked(
int index,
bool state);
109 void setCurrentIndex(
int index);
122 QScopedPointer<Private>
m_d;
136 void showEvent(QShowEvent* e)
override;
138 int calculateMenuOffset()
const;
142 QScopedPointer<Private>
m_d;