KritaWidgets
KoMarkerSelector.cpp
Go to the documentation of this file.
47 QRect rect = style()->subControlRect(QStyle::CC_ComboBox, &option, QStyle::SC_ComboBoxEditField, this);
void updateMarkers(const QList< KoMarker * > markers)
Set the available markers in the document.
Definition: KoMarkerSelector.cpp:88
QRect rect() const
T value() const
virtual QRect subControlRect(ComplexControl control, const QStyleOptionComplex *option, SubControl subControl, const QWidget *widget) const=0
void adjust(int dx1, int dy1, int dx2, int dy2)
int currentIndex() const
void initFrom(const QWidget *widget)
QAbstractItemModel * model() const
Definition: KoMarkerModel.h:17
bool testRenderHint(RenderHint hint) const
void paintEvent(QPaintEvent *pe) override
Definition: KoMarkerSelector.cpp:40
QStyle * style() const
Definition: KoMarkerItemDelegate.h:17
void setModel(QAbstractItemModel *model)
void setItemDelegate(QAbstractItemDelegate *delegate)
KoMarkerSelector(KoFlake::MarkerPosition position, QWidget *parent=0)
Definition: KoMarkerSelector.cpp:27
QVariant itemData(int index, int role=Qt::UserRole) const
reimplement
Definition: KoMarkerSelector.cpp:96
void setOpacity(qreal opacity)
bool hasFrame() const
virtual void paintEvent(QPaintEvent *e)
void setRenderHint(RenderHint hint, bool on)
QObject * parent() const
static void drawMarkerPreview(QPainter *painter, const QRect &rect, const QPen &pen, KoMarker *marker, KoFlake::MarkerPosition position)
Definition: KoMarkerItemDelegate.cpp:46
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 23 2021 11:48:22 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 23 2021 11:48:22 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.