imageobj.h
author insilmaril
Tue, 06 Nov 2007 13:54:41 +0000
changeset 615 497f19b3c1fe
parent 472 83a3be747ad9
permissions -rw-r--r--
1.11.1 fixed undo/redo sorting of branches
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