src/qvgui/qvworkerinterfacesmall.h

Go to the documentation of this file.
00001 /*
00002  *      Copyright (C) 2007. 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 QVWORKERINTERFACESMALL_H
00026 #define QVWORKERINTERFACESMALL_H
00027 
00028 #include <qvcore/qvworker.h>
00029 
00030 #ifdef PACKAGE_QWT
00031 #include <qvgui/qvcpuplot.h>
00032 #endif
00033 
00034 #include <ui/ui_qvworkerformsmall.h>
00035 
00037 // file qvworkerinterfacesmall.h
00038 // brief QVWorkerInterfaceSmall interface file.
00039 // author PARP Group (http://perception.inf.um.es), Univ. of Murcia (Spain)
00040 // class QVWorkerInterfaceSmall qvparamsinspectorwidget.h qvgui/qvparamsinspectorwidget.h
00041 // brief QVWorkerInterfaceSmall class.
00042 //
00043 // This class is a QWidget able to inspect and modify properties from a QVWorker object, managing QVCameras, and other QVPropertyContainers registered in the system, allowing the final user to modify some of their property values in real time, and to show QVImages resulting from the QVWorker's work, on the screen.
00044 // ingroup qvgui
00045 class QVWorkerInterfaceSmall: public QWidget
00046 {
00047         Q_OBJECT
00048 
00049 public: 
00050         Ui::QVWorkerFormSmall form;
00051 
00052         // brief Constructs a QVWorkerInterfaceSmall object, given the QVWorker object which work (properties, result images, 
00053         // etc...) will be inspected.
00054         // param name identifier for the object to be created.
00055         QVWorkerInterfaceSmall(QVWorker *worker, QWidget *parent = 0);
00056 
00057 public slots:
00058         void newIterationSlot();
00059         void statusUpdate(QVWorker::TWorkerStatus status);
00060         
00061 private:
00062         QVWorker *worker;
00063         #ifdef PACKAGE_QWT
00064         QVCpuPlot * cpuPlot, * cpuPlotSmall;
00065         #endif
00066         QWidget * leftLayout, * rightLayout;
00067         QVBoxLayout * leftVBox, * rightVBox;
00068 };
00070 #endif // QDOUBLEPARAMWIDGETSMALL_H

Generated on Thu Mar 13 19:18:16 2008 for QVision by  doxygen 1.5.3