blob: 87c8f9b016749842ab30435b261833beac238b38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
//
// C++ Interface: k9drawimage
//
// Description:
//
//
// Author: Jean-Michel PETIT <[email protected]>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef K9DRAWIMAGE_H
#define K9DRAWIMAGE_H
#include <qwidget.h>
#include <qpixmap.h>
/**
@author Jean-Michel PETIT <[email protected]>
*/
class k9DrawImage : public QWidget
{
Q_OBJECT
public:
k9DrawImage(QWidget *parent = 0, const char *name = 0);
void setImage(QString _fileName);
void setImage(const QImage &_image);
~k9DrawImage();
private:
QPixmap m_pixmap;
protected:
void paintEvent ( QPaintEvent *);
};
#endif
|