Camera.h
Go to the documentation of this file.
00001 #ifndef CAMERA_H
00002 #define CAMERA_H
00003 
00004 #include <QtGui/QGraphicsView>
00005 
00006 class CameraWidget : public QGraphicsView
00007  {
00008      Q_OBJECT
00009 
00010  public:
00011      CameraWidget(QWidget *parent = 0);
00012 
00013 
00014  protected:
00015      void keyPressEvent(QKeyEvent *event);
00016      void timerEvent(QTimerEvent *event);
00017      void wheelEvent(QWheelEvent *event);
00018      void drawBackground(QPainter *painter, const QRectF &rect);
00019      void scaleView(qreal scaleFactor);
00020 
00021  private:
00022      int timerId;
00023 
00024  };
00025 #endif // CAMERA_H


corobot_teleop
Author(s): Morgan Cormier/Gang Li/mcormier@coroware.com
autogenerated on Tue Jan 7 2014 11:39:41