VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVectorWidget.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * Copyright (c) 2019 MAK Technologies, Inc.
3 * All rights reserved.
4 *****************************************************************************/
5 
9 
10 
11 #pragma once
12 
13 #include <vrvCoreQt/vrvCoreQt.h>
14 
15 #include <QtWidgets/QWidget>
16 #include <QtWidgets/QDoubleSpinBox>
17 
18 namespace makVrv
19 {
23  class DT_DLL_VRVCOREQT DtVec2Widget : public QWidget
24  {
25  Q_OBJECT
26 
27  public:
28 
32  DtVec2Widget(QWidget * parent, bool horizontally = true);
33 
37  virtual void setValue(float x, float y);
38 
42  virtual void getValue(float& x, float& y);
43 
44  protected:
47  };
48 
52  class DT_DLL_VRVCOREQT DtVec3Widget : public QWidget
53  {
54  Q_OBJECT
55 
56  public:
57 
61  DtVec3Widget(QWidget* parent, bool horitontal = true);
62 
67  virtual void setValue(float x, float y, float z);
68 
73  virtual void getValue(float& x, float& y, float& z);
74 
75  protected:
79  };
80 
84  class DT_DLL_VRVCOREQT DtVec4Widget : public QWidget
85  {
86  Q_OBJECT
87 
88  public:
89 
93  DtVec4Widget(QWidget* parent, bool horitontal = true);
94 
100  virtual void setValue(float x, float y, float z, float w);
101 
107  virtual void getValue(float& x, float& y, float& z, float& w);
108 
109  protected:
114  };
115 }
DtVec3Widget.
Definition: DtVectorWidget.h:52
QDoubleSpinBox * myYSpinBox
Definition: DtVectorWidget.h:77
QDoubleSpinBox * myYSpinBox
Definition: DtVectorWidget.h:46
QDoubleSpinBox * myXSpinBox
Definition: DtVectorWidget.h:45
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
QDoubleSpinBox * myXSpinBox
Definition: DtVectorWidget.h:110
QDoubleSpinBox * myZSpinBox
Definition: DtVectorWidget.h:112
QDoubleSpinBox * myWSpinBox
Definition: DtVectorWidget.h:113
QDoubleSpinBox * myYSpinBox
Definition: DtVectorWidget.h:111
DtVec4Widget.
Definition: DtVectorWidget.h:84
QDoubleSpinBox * myXSpinBox
Definition: DtVectorWidget.h:76
DtVec2Widget.
Definition: DtVectorWidget.h:23
QDoubleSpinBox * myZSpinBox
Definition: DtVectorWidget.h:78

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)