src/qvgui/qvcamerawidget.h

Go to the documentation of this file.
00001 /*
00002  *      Copyright (C) 2007, 2008. PARP Research Group.
00003  *      <http://perception.inf.um.es>
00004  *      University of Murcia, Spain.
00005  *
00006  *      This file is part of the QVision library.
00007  *
00008  *      QVision is free software: you can redistribute it and/or modify
00009  *      it under the terms of the GNU Lesser General Public License as
00010  *      published by the Free Software Foundation, version 3 of the License.
00011  *
00012  *      QVision is distributed in the hope that it will be useful,
00013  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  *      GNU Lesser General Public License for more details.
00016  *
00017  *      You should have received a copy of the GNU Lesser General Public
00018  *      License along with QVision. If not, see <http://www.gnu.org/licenses/>.
00019  */
00020 
00024 
00025 #ifndef QVCAMERAWIDGET_H
00026 #define QVCAMERAWIDGET_H
00027 
00028 #include <QWidget>
00029 #include <QVCamera>
00030 #include <ui/ui_qvcameraform.h>
00031 
00032 #ifndef DOXYGEN_IGNORE_THIS
00033 class QVCameraWidget: public QWidget, private Ui::QVCameraForm
00034         {
00035         Q_OBJECT
00036         private:
00037                 QVCamera * camera;
00038                 bool sliderActive;
00039 
00040         public:
00041                 QVCameraWidget(QVCamera *cam, QWidget *parent = 0);
00042 
00043         signals:
00044                 void pause_pressed();
00045                 void unpause_pressed();
00046                 void next_frame_pressed();
00047                 void speed_pressed(double speed);
00048                 void seek_pressed(QVCamera::TSeekType seek_type,double value);
00049                 void close_pressed();
00050 
00051         public slots:
00052                 //void updateVisibleInfo();
00053                 void updateCameraVisibleInfoSlot();
00054                 void updateCameraStateSlot(QVCamera::TCameraStatus);
00055 
00056         private slots:
00057                 void seekPressed();
00058                 void seekReleased();
00059 
00060                 //void pausePressed();
00061                 //void unpausePressed();
00062                 //void nextFramePressed();
00063                 void speedPressed();
00064                 void seekMoved();
00065                 //void closePressed();
00066         };
00067 #endif
00068 #endif