00001 #ifndef CAMERADISPLAY_QT_H 00002 #define CAMERADISPLAY_QT_H 00003 00004 #include <QtGui/QtGui> 00005 00006 #include "Qt4/ImageGraphicsItem.qt.H" 00007 00008 class CameraDisplay : public QGraphicsView 00009 { 00010 Q_OBJECT 00011 00012 public: 00013 CameraDisplay(QWidget *parent=0); 00014 00015 public slots: 00016 void updateImage(QImage); 00017 00018 private: 00019 //! The Graphics Item which is responsible for drawing the camera image 00020 ImageGraphicsItem *itsImageDisplay; 00021 00022 //! This Graphics Scene holds the background image, and all marker objects 00023 QGraphicsScene *itsScene; 00024 00025 }; 00026 00027 #endif //CAMERADISPLAY_QT_H