00001 #ifndef _QFrameDisplay_hpp_
00002 #define _QFrameDisplay_hpp_
00003
00004 #include <qwidget.h>
00005 #include "QCamFrame.hpp"
00006
00007 class QPainter;
00008
00009 class QPen;
00010
00012 class QFrameDisplay : public QWidget {
00013 public:
00014 QFrameDisplay(QWidget * parent,const char * label);
00015 void frame(const QCamFrame &);
00016 protected:
00017 void paintEvent(QPaintEvent * ev);
00018 private:
00019 QCamFrame frame_;
00020 QPainter * painter_;
00021 QPen * pen_;
00022 };
00023 #endif