PARP Research Group University of Murcia, Spain


src/qvgui/qvworkerinterfacesmall.h

Go to the documentation of this file.
00001 /*
00002  *      Copyright (C) 2007, 2008, 2009. 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 <QVWorker>
00029 #include <qvgui/qvcpuplot.h>
00030 #include <ui/ui_qvworkerformsmall.h>
00031 
00032 #ifndef DOXYGEN_IGNORE_THIS
00033 // file qvworkerinterfacesmall.h
00034 // brief QVWorkerInterfaceSmall interface file.
00035 // author PARP Group (http://perception.inf.um.es), Univ. of Murcia (Spain)
00036 // class QVWorkerInterfaceSmall qvparamsinspectorwidget.h qvgui/qvparamsinspectorwidget.h
00037 // brief QVWorkerInterfaceSmall class.
00038 //
00039 // 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.
00040 // ingroup qvgui
00041 class QVWorkerInterfaceSmall: public QWidget
00042 {
00043         Q_OBJECT
00044 
00045 public: 
00046         Ui::QVWorkerFormSmall form;
00047 
00048         // brief Constructs a QVWorkerInterfaceSmall object, given the QVWorker object which work (properties, result images, 
00049         // etc...) will be inspected.
00050         // param name identifier for the object to be created.
00051         QVWorkerInterfaceSmall(QVWorker *worker, QWidget *parent = 0);
00052         ~QVWorkerInterfaceSmall();
00053 
00054 public slots:
00055         void newIterationSlot();
00056         void statusUpdate(QVWorker::TWorkerStatus status);
00057 
00058 private slots:
00059         void finishWorker();
00060 
00061 private:
00062         QVWorker *worker;
00063         bool isGroupMaster;
00064         QVCPUPlot * cpuPlot;// * cpuPlotSmall;
00065         QWidget * leftLayout, * rightLayout;
00066         QVBoxLayout * leftVBox, * rightVBox;
00067 };
00068 #endif
00069 #endif // QVWORKERINTERFACESMALL_H



QVision framework. PARP research group, copyright 2007, 2008.