summaryrefslogtreecommitdiff
path: root/client/historywidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/historywidget.h')
-rw-r--r--client/historywidget.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/client/historywidget.h b/client/historywidget.h
index dd2345d..734935b 100644
--- a/client/historywidget.h
+++ b/client/historywidget.h
@@ -29,25 +29,21 @@
#define __MIAV_HISTORYWIDGET_H__
#include <QLabel>
-#include <QImage>
+#include <QPixmap>
-class HistoryWidget : public QLabel {
-Q_OBJECT
+class HistoryWidget : public QLabel
+{
public:
- HistoryWidget();
+ HistoryWidget(QPixmap *pixmap);
~HistoryWidget();
- void set_image(QImage *image);
- QImage *get_image();
-
void mouseReleaseEvent(QMouseEvent *event);
protected:
void resizeEvent(QResizeEvent *event);
private:
- QImage *image;
- QWidget *parent;
+ QPixmap *pixmap;
};
#endif/*__MIAV_HISTORYWIDGET_H__*/