imageobj.h
author insilmaril
Wed Apr 11 09:21:18 2007 +0000 (2007-04-11)
changeset 457 80529c03702b
parent 2 608f976aa7bb
child 472 83a3be747ad9
permissions -rw-r--r--
Updated documentation about macros
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@408
     7
class ImageObj: public QGraphicsPixmapItem
insilmaril@0
     8
{
insilmaril@0
     9
public:
insilmaril@408
    10
    ImageObj( QGraphicsScene *);
insilmaril@0
    11
    ~ImageObj();
insilmaril@408
    12
	void copy (ImageObj*);
insilmaril@408
    13
    void setVisibility(bool);
insilmaril@0
    14
	void save (const QString &, const char *);
insilmaril@0
    15
	bool load (const QString &);
insilmaril@408
    16
	bool load (const QPixmap &);
insilmaril@0
    17
private:
insilmaril@408
    18
	QGraphicsScene *mapScene;
insilmaril@0
    19
};
insilmaril@0
    20
#endif