#include <VisionX/gui-plugins/ImageMaskPainter/ImageMaskEditor.h>
|
void | clearMaskImage () |
|
void | resizeImage (QSize size, bool doNotShrink=false) |
|
void | setBackgroundImage (const QImage &i) |
|
void | setImageSize (QSize size, bool doNotShrink=false) |
|
void | setMaskAlpha (int newAlpha) |
|
void | setMaskColor (const QColor &newColor) |
|
void | setMaskColor (int r, int g, int b) |
|
void | setMaskColor (qreal r, qreal g, qreal b) |
|
void | setMaskImage (const QImage &i) |
|
void | setPenCircleVisible (bool b=true) |
|
void | setPenWidth (int newWidth) |
|
void | setTransparentColor (const QColor &newColor) |
|
void | setTransparentColor (int r, int g, int b) |
|
void | setTransparentColor (qreal r, qreal g, qreal b) |
|
Definition at line 8 of file ImageMaskEditor.h.
◆ ImageMaskEditor() [1/2]
◆ ImageMaskEditor() [2/2]
ImageMaskEditor |
( |
int |
width = 64 , |
|
|
int |
height = 64 , |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
◆ arrowDrawn
void arrowDrawn |
( |
const QPoint & |
arrowStart, |
|
|
const QPoint & |
arrowEnd |
|
) |
| |
|
signal |
◆ backgroundImage()
const QImage & backgroundImage |
( |
| ) |
const |
◆ clearMaskImage
◆ imageSize()
QSize imageSize |
( |
| ) |
const |
◆ maskColor()
const QColor & maskColor |
( |
| ) |
const |
◆ maskImage()
QImage maskImage |
( |
| ) |
const |
◆ maskUpdated
◆ maskUpdateFinished
void maskUpdateFinished |
( |
| ) |
|
|
signal |
◆ mouseMoveEvent()
void mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mousePressEvent()
void mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mouseReleaseEvent()
void mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ openBackgroundImage()
bool openBackgroundImage |
( |
const QString & |
fileName | ) |
|
◆ openMaskImage()
bool openMaskImage |
( |
const QString & |
fileName | ) |
|
◆ paintEvent()
void paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotected |
◆ penWidth()
◆ resizeImage
void resizeImage |
( |
QSize |
size, |
|
|
bool |
doNotShrink = false |
|
) |
| |
|
slot |
◆ saveBackgroundImage()
bool saveBackgroundImage |
( |
const QString & |
fileName, |
|
|
const char * |
fileFormat |
|
) |
| |
◆ saveMaskImage()
bool saveMaskImage |
( |
const QString & |
fileName, |
|
|
const char * |
fileFormat |
|
) |
| |
◆ setBackgroundImage
void setBackgroundImage |
( |
const QImage & |
i | ) |
|
|
slot |
◆ setImageSize
void setImageSize |
( |
QSize |
size, |
|
|
bool |
doNotShrink = false |
|
) |
| |
|
slot |
◆ setMaskAlpha
void setMaskAlpha |
( |
int |
newAlpha | ) |
|
|
slot |
◆ setMaskColor [1/3]
void setMaskColor |
( |
const QColor & |
newColor | ) |
|
|
slot |
◆ setMaskColor [2/3]
void setMaskColor |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b |
|
) |
| |
|
slot |
◆ setMaskColor [3/3]
void setMaskColor |
( |
qreal |
r, |
|
|
qreal |
g, |
|
|
qreal |
b |
|
) |
| |
|
slot |
◆ setMaskImage
void setMaskImage |
( |
const QImage & |
i | ) |
|
|
slot |
◆ setPenCircleVisible
void setPenCircleVisible |
( |
bool |
b = true | ) |
|
|
slot |
◆ setPenWidth
void setPenWidth |
( |
int |
newWidth | ) |
|
|
slot |
◆ setTransparentColor [1/3]
void setTransparentColor |
( |
const QColor & |
newColor | ) |
|
|
slot |
◆ setTransparentColor [2/3]
void setTransparentColor |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b |
|
) |
| |
|
slot |
◆ setTransparentColor [3/3]
void setTransparentColor |
( |
qreal |
r, |
|
|
qreal |
g, |
|
|
qreal |
b |
|
) |
| |
|
slot |
◆ sizeHint()
◆ transparentColor()
const QColor & transparentColor |
( |
| ) |
const |
The documentation for this class was generated from the following files: