cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vctQtWidgetDynamicMatrix.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
3 
4 /*
5 
6  Author(s): Praneeth Sadda
7  Created on: 2012-02-09
8 
9  (C) Copyright 2012 Johns Hopkins University (JHU), All Rights
10  Reserved.
11 
12 --- begin cisst license - do not edit ---
13 
14 This software is provided "as is" under an open source license, with
15 no warranty. The complete license can be found in license.txt and
16 http://www.cisst.org/cisst/license.txt.
17 
18 --- end cisst license ---
19 
20 */
21 
22 #ifndef _vctQtWidgetDynamicMatrix_h
23 #define _vctQtWidgetDynamicMatrix_h
24 
25 #include <QTableWidget>
26 
28 
29 // Always include last
31 
32 
33 // -- for doubles
35 {
36  Q_OBJECT;
37  public:
39  virtual bool SetValue(const vctDynamicMatrix<double> & value);
40 };
41 
43 {
44  Q_OBJECT;
45  public:
47  virtual bool SetValue(const vctDynamicMatrix<double> & value);
48  virtual bool GetValue(vctDynamicMatrix<double> & placeHolder) const;
49 };
50 
51 
52 // -- for ints
54 {
55  Q_OBJECT;
56  public:
58  virtual bool SetValue(const vctDynamicMatrix<int> & value);
59 };
60 
62 {
63  Q_OBJECT;
64  public:
66  virtual bool SetValue(const vctDynamicMatrix<int> & value);
67  virtual bool GetValue(vctDynamicMatrix<int> & placeHolder) const;
68 };
69 
70 
71 // -- for bools
73 {
74  Q_OBJECT;
75  public:
77  virtual bool SetValue(const vctDynamicMatrix<bool> & value);
78 };
79 
81 {
82  Q_OBJECT;
83  public:
85  virtual bool SetValue(const vctDynamicMatrix<bool> & value);
86  virtual bool GetValue(vctDynamicMatrix<bool> & placeHolder) const;
87 };
88 
89 #endif // _vctQtWidgetDynamicMatrix_h
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
Declaration of vctDynamicMatrix.
Definition: vctQtWidgetDynamicMatrix.h:42
Definition: vctQtWidgetDynamicMatrix.h:53
Macros to export the symbols of cisstVectorQt (in a Dll).
Definition: vctQtWidgetDynamicMatrix.h:80
Definition: vctQtWidgetDynamicMatrix.h:61
Definition: vctQtWidgetDynamicMatrix.h:34
Definition: vctQtWidgetDynamicMatrix.h:72