VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
customControlObjectDefinitionDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 //\file DtCustomControlObjectDialog.h
7 //\brief Contains DtCustomControlObjectDialog class.
8 
9 #pragma once
10 
12 #include <vlpi/entityType.h>
13 #include <vrvCore/DtUniqueID.h>
14 #include <string>
15 
19 class QLineEdit;
20 
21 namespace vrfCustomControlObjectExample
22 {
24 
28  const DtEntityType DtCustomControlObjectType = DtEntityType(18,-1,-1,1,0,0,101);
29 
33  {
34  public:
37 
40 
46  virtual void setUserData(const std::string);
47 
49  virtual std::string userData();
50 
54  virtual void processUserDataChanged();
55 
59  virtual void processPopulateDialog(const makVrv::DtUniqueID& id );
60 
61  protected:
62 
66 
67  };
68 
69 
74  {
77  Q_OBJECT
78 
79  public:
82 
85 
87  virtual int parameterOne();
88 
90  virtual double parameterTwo();
91 
93  virtual void setParameterOne(int);
94 
96  virtual void setParameterTwo(double);
97 
98  protected:
99 
102  virtual void setupGui();
103 
106  void setupConnections();
107 
111 
112  protected slots:
113 
114  void slot_onUserDataChanged();
115 
116  protected:
119  };
120 
121 
123  {
124  public:
127  virtual makVrf::DtCreateAndEditObjectDialogInterface* createDialog(makVrv::DtDe& de, QWidget* parent, const QString& title,
129  };
130 }
131 
Definition: customControlObjectDefinitionDialog.h:122
This class implements the logic behind the DtShapeObjectDefinitionDialog.
Definition: shapeObjectDefinitionDialog.h:49
Definition: createAndEditObjectDialogInterface.h:29
virtual void processPopulateDialog(const makVrv::DtUniqueID &id)
Definition: customControlObjectDefinitionDialog.h:32
virtual std::string userData()
retrieves the values of parameters from the dialog and returns them in the form of a string with appr...
virtual int parameterOne()
Returns the current value in the parameter one text box.
virtual void setParameterTwo(double)
Populates the Parameter One text box with a double.
DtCustomControlObjectDefinitionDialogLogic(makVrv::DtDe &de, DtCustomControlObjectDefinitionDialog *iface)
Constructor.
virtual makVrf::DtCreateAndEditObjectDialogInterface * createDialog(makVrv::DtDe &de, QWidget *parent, const QString &title, makVrf::DtCreateAndEditObjectDialogInterface::DtDialogInteractionMode mode)
Creates the new instance of the custom control object definition dialog.
Definition: createAndEditObjectDialogInterface.h:35
DtCustomControlObjectDefinitionDialog * myCustomDialog
Definition: customControlObjectDefinitionDialog.h:65
DtDialogInteractionMode
Definition: createAndEditObjectDialogInterface.h:34
virtual double parameterTwo()
Returns the current value in the parameter two text box.
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
const DtEntityType DtCustomControlObjectType
Definition: customControlObjectDefinitionDialog.h:28
virtual makVrf::DtShapeObjectDefinitionDialogLogic * createLogic()
Creates a DtCustomControlObjectDefinitionDialogLogic.
DtCustomControlObjectDefinitionDialog(makVrv::DtDe &de, QWidget *parent, const QString &title="", DtDialogInteractionMode mode=DtCreationMode)
Constructor.
QLineEdit * myParamOneLineEdit
Definition: customControlObjectDefinitionDialog.h:117
virtual void setParameterOne(int)
Populates the Parameter One text box with an int.
Definition: shapeObjectDefinitionDialog.h:648
const char int mode
Definition: ioapi.h:38
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
This class defines the dialog that allows the creation/update of point objects in the scenario (entit...
Definition: shapeObjectDefinitionDialog.h:251
Definition: customControlObjectDefinitionDialog.h:73
QLineEdit * myParamTwoLineEdit
Definition: customControlObjectDefinitionDialog.h:118

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)