imageobj.h
author anng888
Thu, 06 Dec 2007 18:30:29 +0000
changeset 632 f4282e4db9f7
parent 472 83a3be747ad9
permissions -rw-r--r--
- Fixed Win32 start up crash as a result of "showing" the main window to
early when its previous state was maximized.
     1 #ifndef IMAGEOBJ_H
     2 #define IMAGEOBJ_H
     3 
     4 #include <QGraphicsScene>
     5 #include <QGraphicsPixmapItem>
     6 
     7 /*! \brief Base class for pixmaps.
     8 */
     9 
    10 class ImageObj: public QGraphicsPixmapItem
    11 {
    12 public:
    13     ImageObj( QGraphicsScene *);
    14     ~ImageObj();
    15 	void copy (ImageObj*);
    16     void setVisibility(bool);
    17 	void save (const QString &, const char *);
    18 	bool load (const QString &);
    19 	bool load (const QPixmap &);
    20 private:
    21 	QGraphicsScene *mapScene;
    22 };
    23 #endif