VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtMouseMappingEditorWidgetInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
10 
11 #pragma once
12 #include <vrvCoreQt/vrvCoreQt.h>
13 #include <QtCore/QString>
14 
15 namespace makVrv
16 {
17  class DtUnicode;
18 
22  {
23 
24  public:
25 
28  {
29  ProjectionIndex2D = 0,
30  ProjectionIndex3D = 1
31  };
32 
35 
37  virtual void clearMappings() = 0;
38 
40  virtual void addMapping(const std::string& key, const std::string& context, const std::string& functionText = "",
41  bool ctrl = false, bool shift = false, bool drag = false, bool alt = false) = 0;
42 
44  virtual void setMouseHideTime(float time) = 0;
45 
47  virtual void setMouseHideEnabled(bool enabled) = 0;
48 
50  virtual void setMouseHideTimeWidgetEnabled(bool enabled) = 0;
51 
54  virtual void setMouseHideTimeMaxValue(float maxValue) = 0;
55 
57  virtual void addProjection(ProjectionIndex index, const DtUnicode& projectionName) = 0;
58 
60  virtual void setCurrentProjection(ProjectionIndex index) = 0;
61 
63  virtual void clearProjections() = 0;
64 
66  boost::signal <void(float)> signal_mouseHideTimeChanged;
67 
69  boost::signal <void(bool)> signal_mouseHideEnabledChanged;
70 
72  boost::signal <void(ProjectionIndex)> signal_projectionChanged;
73  };
74 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)