PARP Research Group | Universidad de Murcia |
src/qvblockprogramming/qvguiblocks/qvblockinterfacesmall.hGo to the documentation of this file.00001 /* 00002 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012. 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 <QVProcessingBlock> 00029 #include "qvcpuplot.h" 00030 #include <ui/ui_qvprocessingblockformsmall.h> 00031 00032 #ifndef DOXYGEN_IGNORE_THIS 00033 // file qvblockinterfacesmall.h 00034 // brief QVProcessingBlockInterfaceSmall interface file. 00035 // author PARP Group (http://perception.inf.um.es), Univ. of Murcia (Spain) 00036 // class QVProcessingBlockInterfaceSmall qvparamsinspectorwidget.h qvblockprogramming/qvguiblocks/qvparamsinspectorwidget.h 00037 // brief QVProcessingBlockInterfaceSmall class. 00038 // 00039 // This class is a QWidget able to inspect and modify properties from a QVProcessingBlock 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 QVProcessingBlock's work, on the screen. 00040 // ingroup qvblockprogramming 00041 class QVProcessingBlockInterfaceSmall: public QWidget 00042 { 00043 Q_OBJECT 00044 00045 public: 00046 Ui::QVProcessingBlockFormSmall form; 00047 00048 // brief Constructs a QVProcessingBlockInterfaceSmall object, given the QVProcessingBlock object which work (properties, result images, 00049 // etc...) will be inspected. 00050 // param name identifier for the object to be created. 00051 QVProcessingBlockInterfaceSmall(QVProcessingBlock *block, QWidget *parent = 0); 00052 ~QVProcessingBlockInterfaceSmall(); 00053 00054 public slots: 00055 void newIterationSlot(); 00056 void statusUpdate(QVProcessingBlock::TBlockStatus status); 00057 00058 private slots: 00059 void finishBlock(); 00060 00061 private: 00062 QVProcessingBlock *block; 00063 bool isGroupMaster; 00064 QVCPUPlot * cpuPlot;// * cpuPlotSmall; 00065 QWidget * leftLayout, * rightLayout; 00066 QVBoxLayout * leftVBox, * rightVBox; 00067 }; 00068 #endif 00069 #endif // QVWORKERINTERFACESMALL_H |