imageobj.h
author insilmaril
Wed, 11 Apr 2007 09:21:16 +0000
changeset 455 1462e380b82b
parent 408 c2a05fa925a1
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