0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-10-04 04:06:43 +03:00

SVGItem default editor has been added

This commit is contained in:
Arin Alexander
2020-03-19 20:09:35 +03:00
parent bd905f8daa
commit 3a09d1198a
16 changed files with 190 additions and 36 deletions

View File

@@ -2,6 +2,7 @@
#define LRIMAGEITEMEDITOR_H
#include <QWidget>
#include "lreditableimageitemintf.h"
namespace Ui {
class ImageItemEditor;
@@ -16,15 +17,17 @@ class ImageItemEditor : public QWidget
Q_OBJECT
public:
explicit ImageItemEditor(LimeReport::ImageItem* item, QWidget *parent = NULL);
explicit ImageItemEditor(LimeReport::IEditableImageItem* item, QWidget *parent = NULL);
~ImageItemEditor();
private:
void updateImage();
private:
Ui::ImageItemEditor *ui;
LimeReport::ImageItem* m_item;
QPixmap m_image;
LimeReport::IEditableImageItem* m_item;
QByteArray m_image;
QPixmap m_resourcePathImage;
private slots:
void on_tbLoadImage_clicked();
void on_tbClearImage_clicked();