Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
virtual | ~SVGIconStyle () override |
virtual void | load (StyleLoader &sl) override |
void | paint (QPainter *painter, int x, int y) const |
void | paint (QPainter *painter, int x, int y, QSize size) const |
Public Attributes | |
Property< QString > | filename {this, "filename"} |
Property< int > | height {this, "height"} |
Property< bool > | stretchable {this, "stretchable"} |
Property< int > | width {this, "width"} |
Private Member Functions | |
bool | drawScaledPixmapInMipmap (qreal scaleFactor) const |
Returns true if the pixmap was created or false if it was too small and not added. More... | |
Private Attributes | |
Mipmap | mipmap_ |
QSvgRenderer | renderer_ |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
using | Super = Reflect< Base > |
|
overridevirtual |
|
private |
Returns true if the pixmap was created or false if it was too small and not added.
|
overridevirtual |
void Visualization::SVGIconStyle::paint | ( | QPainter * | painter, |
int | x, | ||
int | y | ||
) | const |
void Visualization::SVGIconStyle::paint | ( | QPainter * | painter, |
int | x, | ||
int | y, | ||
QSize | size | ||
) | const |
Property<QString> Visualization::SVGIconStyle::filename {this, "filename"} |
Property<int> Visualization::SVGIconStyle::height {this, "height"} |
|
mutableprivate |
|
mutableprivate |
Property<bool> Visualization::SVGIconStyle::stretchable {this, "stretchable"} |
Property<int> Visualization::SVGIconStyle::width {this, "width"} |