KritaWidgets
KoColorPopupAction.cpp
QPixmap fromImage(const QImage &image, QFlags< Qt::ImageConversionFlag > flags)
void fill(uint pixelValue)
KoColorPopupAction(QObject *parent=0)
Constructs a KoColorPopupAction with the specified parent.
Definition: KoColorPopupAction.cpp:62
void colorChanged(const KoColor &color)
Emitted every time the color changes (by calling setColor() or by user interaction.
void setMenu(QMenu *menu)
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
void setMargin(int margin)
QWidget * parentWidget() const
int width() const
void fillRect(const QRectF &rectangle, const QBrush &brush)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setDefaultWidget(QWidget *widget)
void hide()
QIcon icon() const
bool end()
void updateIcon()
update the icon - only needed if you resize the iconsize in the widget that shows the action
Definition: KoColorPopupAction.cpp:157
int height() const
bool isNull() const
KoColor currentKoColor() const
Returns the current color as a KoColor.
Definition: KoColorPopupAction.cpp:152
void setCurrentColor(const QColor &color)
Sets a new color to be displayed.
Definition: KoColorPopupAction.cpp:136
A colormanaged widget for choosing a color from a colorset.
Definition: KoColorSetWidget.h:30
QImage toImage() const
iconSize
void triggered(bool checked)
QPixmap pixmap(const QSize &size, Mode mode, State state) const
bool isValid() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 23:44:00 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 23:44:00 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.