author | insilmaril |
Fri Dec 29 13:52:17 2006 +0000 (2006-12-29) | |
changeset 412 | 8059b6aa74d7 |
parent 2 | 608f976aa7bb |
child 472 | 83a3be747ad9 |
permissions | -rw-r--r-- |
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 |