Editor plugin: Image

This commit is contained in:
Jakub Melka
2024-06-15 16:03:54 +02:00
parent 05cf65b381
commit aa92fabd79
5 changed files with 74 additions and 5 deletions

View File

@ -329,6 +329,9 @@ public:
const QRectF& getRectangle() const;
void setRectangle(const QRectF& newRectangle);
const QSvgRenderer* getRenderer() const { return m_renderer.get(); }
const QImage& getImage() const { return m_image; }
private:
QRectF m_rectangle;
QByteArray m_content;