summaryrefslogtreecommitdiff
path: root/client/historywidget.h
diff options
context:
space:
mode:
authordeva <deva>2006-03-09 11:03:35 +0000
committerdeva <deva>2006-03-09 11:03:35 +0000
commit0eb1af1add19c8ffb8f5ab11f74810366f1beed1 (patch)
tree06191ba6af6cbb474f670c5ecd729e48989791af /client/historywidget.h
parent4f84ffc811d93371f395f11a0e0f42000eaa99fc (diff)
*** empty log message ***
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__*/