Image Component Library (ICL)
CamCfgWidget.h
Go to the documentation of this file.
1 /********************************************************************
2 ** Image Component Library (ICL) **
3 ** **
4 ** Copyright (C) 2006-2013 CITEC, University of Bielefeld **
5 ** Neuroinformatics Group **
6 ** Website: www.iclcv.org and **
7 ** http://opensource.cit-ec.de/projects/icl **
8 ** **
9 ** File : ICLQt/src/ICLQt/CamCfgWidget.h **
10 ** Module : ICLQt **
11 ** Authors: Christof Elbrechter **
12 ** **
13 ** **
14 ** GNU LESSER GENERAL PUBLIC LICENSE **
15 ** This file may be used under the terms of the GNU Lesser General **
16 ** Public License version 3.0 as published by the **
17 ** **
18 ** Free Software Foundation and appearing in the file LICENSE.LGPL **
19 ** included in the packaging of this file. Please review the **
20 ** following information to ensure the license requirements will **
21 ** be met: http://www.gnu.org/licenses/lgpl-3.0.txt **
22 ** **
23 ** The development of this software was supported by the **
24 ** Excellence Cluster EXC 277 Cognitive Interaction Technology. **
25 ** The Excellence Cluster EXC 277 is a grant of the Deutsche **
26 ** Forschungsgemeinschaft (DFG) in the context of the German **
27 ** Excellence Initiative. **
28 ** **
29 ********************************************************************/
30 
31 #pragma once
32 
33 #include <ICLUtils/CompatMacros.h>
34 #include <ICLCore/ImgBase.h>
35 #include <ICLIO/GenericGrabber.h>
37 #include <QSplitter>
38 
39 namespace icl{
40  namespace qt{
41 
43 
88  class ICLQt_API CamCfgWidget : public QWidget{
89  class Data;
90  Data* data;
91 
92  public:
94  CamCfgWidget(const std::string &deviceFilter="",QWidget *parent=0);
95 
96  // TODO: where is the definition for this?
98  //CamCfgWidget(const std::string &devType="", const std::string &devID="", QWidget *parent=0);
99 
101  ~CamCfgWidget();
102 
104  virtual const core::ImgBase *getCurrentImage();
105 
107  virtual void setVisible (bool visible);
108 
110  void callback(const std::string &handle);
111 
113  virtual void update();
114 
115 
116  private:
117  void scan();
118  };
119 
120  } // namespace qt
121 }
122 
Special QWidget implementation for configuring grabber properties.
Definition: CamCfgWidget.h:88
undocument this line if you encounter any issues!
Definition: Any.h:37
#define ICLQt_API
Definition: CompatMacros.h:178
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131
Data * data
internal data class
Definition: CamCfgWidget.h:89