imageobj.h
author insilmaril
Mon Jul 14 11:25:09 2008 +0000 (2008-07-14)
changeset 719 3f90aab4794d
parent 408 c2a05fa925a1
permissions -rw-r--r--
Added french manual
insilmaril@0
     1
#ifndef IMAGEOBJ_H
insilmaril@0
     2
#define IMAGEOBJ_H
insilmaril@0
     3
insilmaril@408
     4
#include <QGraphicsScene>
insilmaril@408
     5
#include <QGraphicsPixmapItem>
insilmaril@0
     6
insilmaril@472
     7
/*! \brief Base class for pixmaps.
insilmaril@472
     8
*/
insilmaril@472
     9
insilmaril@408
    10
class ImageObj: public QGraphicsPixmapItem
insilmaril@0
    11
{
insilmaril@0
    12
public:
insilmaril@408
    13
    ImageObj( QGraphicsScene *);
insilmaril@0
    14
    ~ImageObj();
insilmaril@408
    15
	void copy (ImageObj*);
insilmaril@408
    16
    void setVisibility(bool);
insilmaril@0
    17
	void save (const QString &, const char *);
insilmaril@0
    18
	bool load (const QString &);
insilmaril@408
    19
	bool load (const QPixmap &);
insilmaril@0
    20
private:
insilmaril@408
    21
	QGraphicsScene *mapScene;
insilmaril@0
    22
};
insilmaril@0
    23
#endif