8#ifndef KIS_PRESET_CHOOSER_H_
9#define KIS_PRESET_CHOOSER_H_
18class KoAbstractResourceServerAdapter;
23#include <kritaui_export.h>
46 void setViewMode(ViewMode mode);
47 void setViewModeToThumbnail();
49 void setViewModeToStroke();
50 void setViewModeToStrokeThumbnail();
57 void showTaggingBar(
bool show);
61 void setPresetFilter(
const QString& paintOpId);
71 void updateViewSettings();
74 void setIconSize(
int newSize);
86 void changeEvent(QEvent *event)
override;
89 void notifyConfigChanged();
90 void slotStrokePreviewReady(
int presetId);
91 void slotBaseLengthChanged(
int length);
qreal length(const QPointF &vec)
int iconSize(qreal width, qreal height)
@ STROKE_THUMBNAIL
Shows thumbnails.
@ STROKE
Shows stroke previews with text and thumbnail.
void resourceSelected(KoResourceSP resource)
void setViewModeToDetail()
void resourceClicked(KoResourceSP resource)
Resource item delegate for rendering brush stroke previews.