|
Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
| VCommentImage (Visualization::Item *parent, const QString &path, const StyleType *style=itemStyles().get()) | |
| VCommentImage (Visualization::Item *parent, const QString &path, QSize size, const StyleType *style=itemStyles().get()) | |
| QSize | imageSize () const |
| int | lineNumber () const |
| void | setLineNumber (int lineNumber) |
| bool | updateSize (QSize size) |
Protected Member Functions | |
| virtual void | determineChildren () override |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *style, QWidget *widget) override |
| virtual void | updateGeometry (int availableWidth, int availableHeight) override |
Private Attributes | |
| QImage | image_ |
| int | lineNumber_ {-1} |
| QString | path_ |
| QSize | size_ |
Static Private Attributes | |
| static const QSize | errorSize_ {400, 400} |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
| using | Super = Reflect< Base > |
| Comments::VCommentImage::VCommentImage | ( | Visualization::Item * | parent, |
| const QString & | path, | ||
| const StyleType * | style = itemStyles().get() |
||
| ) |
| Comments::VCommentImage::VCommentImage | ( | Visualization::Item * | parent, |
| const QString & | path, | ||
| QSize | size, | ||
| const StyleType * | style = itemStyles().get() |
||
| ) |
|
overrideprotectedvirtual |
|
inline |
|
inline |
|
overrideprotected |
|
inline |
|
overrideprotectedvirtual |
| bool Comments::VCommentImage::updateSize | ( | QSize | size | ) |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |