PARP Research Group University of Murcia, Spain


src/qvgui/qvworkerinterfacesmall.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 QVWORKERINTERFACESMALL_H
00026 #define QVWORKERINTERFACESMALL_H
00027 
00028 #include <QVWorker>
00029 
00030 #ifdef PACKAGE_QWT
00031 #include <qvgui/qvcpuplot.h>
00032 #endif
00033 
00034 #include <ui/ui_qvworkerformsmall.h>
00035 
00036 #ifndef DOXYGEN_IGNORE_THIS
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         ~QVWorkerInterfaceSmall();
00057 
00058 public slots:
00059         void newIterationSlot();
00060         void statusUpdate(QVWorker::TWorkerStatus status);
00061 
00062 private slots:
00063         void finishWorker();
00064 
00065 private:
00066         QVWorker *worker;
00067         bool isGroupMaster;
00068         #ifdef PACKAGE_QWT
00069         QVCPUPlot * cpuPlot;// * cpuPlotSmall;
00070         #endif
00071         QWidget * leftLayout, * rightLayout;
00072         QVBoxLayout * leftVBox, * rightVBox;
00073 };
00074 #endif
00075 #endif // QVWORKERINTERFACESMALL_H



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