summarylogtreecommitdiffstats
path: root/qtiplot-0.9.8.9-image_widget.patch
diff options
context:
space:
mode:
Diffstat (limited to 'qtiplot-0.9.8.9-image_widget.patch')
-rwxr-xr-xqtiplot-0.9.8.9-image_widget.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/qtiplot-0.9.8.9-image_widget.patch b/qtiplot-0.9.8.9-image_widget.patch
new file mode 100755
index 000000000000..f7556a9dd1e0
--- /dev/null
+++ b/qtiplot-0.9.8.9-image_widget.patch
@@ -0,0 +1,24 @@
+--- qtiplot-0.9.8.9/qtiplot/src/plot2D/ImageWidget.h 2013-09-01 01:05:00.681152827 -0300
+***************
+*** 67,76 ****
+ void setWindowName(const QString& name){d_window_name = name;};
+
+ static QPixmap windowPixmap(ApplicationWindow *mw, const QString& name, const QSize& size);
+
+ private:
+ void draw(QPainter *painter, const QRect& r);
+- void paintEvent(QPaintEvent *e);
+ QPixmap d_pix;
+ //! The file from which the image was loaded.
+ QString d_file_name;
+--- 67,76 ----
+ void setWindowName(const QString& name){d_window_name = name;};
+
+ static QPixmap windowPixmap(ApplicationWindow *mw, const QString& name, const QSize& size);
++ void paintEvent(QPaintEvent *e);
+
+ private:
+ void draw(QPainter *painter, const QRect& r);
+ QPixmap d_pix;
+ //! The file from which the image was loaded.
+ QString d_file_name;