0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 08:34:38 +03:00

lrpreviewreportwidget.h added to EXTRA_FILES

This commit is contained in:
Arin Alexander 2016-03-31 05:10:04 +04:00
parent 6f35c5e2a3
commit 9747873db9
2 changed files with 8 additions and 6 deletions

View File

@ -21,12 +21,9 @@ class LIMEREPORT_EXPORT PreviewReportWidget : public QWidget
friend class PreviewReportWidgetPrivate; friend class PreviewReportWidgetPrivate;
public: public:
explicit PreviewReportWidget(ReportEnginePrivate *report, QWidget *parent = 0); explicit PreviewReportWidget(ReportEnginePrivate *report, QWidget *parent = 0);
~PreviewReportWidget(); ~PreviewReportWidget();
void initPreview();
void setErrorsMesagesVisible(bool visible);
void setErrorMessages(const QStringList &value);
void refreshPages();
public slots: public slots:
void refreshPages();
void slotZoomIn(); void slotZoomIn();
void slotZoomOut(); void slotZoomOut();
@ -44,6 +41,10 @@ signals:
private slots: private slots:
void slotSliderMoved(int value); void slotSliderMoved(int value);
void reportEngineDestroyed(QObject* object); void reportEngineDestroyed(QObject* object);
private:
void initPreview();
void setErrorsMesagesVisible(bool visible);
void setErrorMessages(const QStringList &value);
private: private:
Ui::PreviewReportWidget *ui; Ui::PreviewReportWidget *ui;
PreviewReportWidgetPrivate* d_ptr; PreviewReportWidgetPrivate* d_ptr;

View File

@ -20,7 +20,8 @@ EXTRA_FILES += \
$$PWD/lrdatasourcemanagerintf.h \ $$PWD/lrdatasourcemanagerintf.h \
$$PWD/lrreportengine.h \ $$PWD/lrreportengine.h \
$$PWD/lrscriptenginemanagerintf.h \ $$PWD/lrscriptenginemanagerintf.h \
$$PWD/lrcallbackdatasourceintf.h $$PWD/lrcallbackdatasourceintf.h \
$$PWD/lrpreviewreportwidget.h
include(limereport.pri) include(limereport.pri)