imageobj.h
author insilmaril
Tue Mar 06 19:37:39 2007 +0000 (2007-03-06)
changeset 434 c585be63ec69
parent 2 608f976aa7bb
child 472 83a3be747ad9
permissions -rw-r--r--
1.8.69 Some more scripting functionality (for testing)
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