0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-10-03 03:57:31 +03:00

If resourcePath contains a simple path to an image file, that image will be shown in design mode.

This commit is contained in:
Arin Alexander
2019-08-07 12:40:42 +03:00
parent e9c917a052
commit afa4bcb9bf
2 changed files with 17 additions and 2 deletions

View File

@@ -61,8 +61,8 @@ public:
ImageItem(QObject *owner, QGraphicsItem *parent);
virtual void paint(QPainter *ppainter, const QStyleOptionGraphicsItem *option, QWidget *widget);
void setImage(QImage value);
QImage image(){return m_picture;}
void setResourcePath(const QString &value){m_resourcePath=value;}
QImage image();
void setResourcePath(const QString &value);
QString resourcePath() const;
QString datasource() const;
void setDatasource(const QString &datasource);