VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtMouseMappingEditorLogic.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCoreQt/vrvCoreQt.h>
14 #include <vrvUtil/DtUnicode.h>
16 
17 #include <string>
18 
19 namespace makVrv
20 {
21  class DtDe;
22  class DtSelectInstanceWidget;
23 
27  {
28  protected:
29  typedef struct
30  {
31  std::string Key;
32  std::string Context;
33  std::string FunctionText;
34  bool Ctrl;
35  bool Shift;
36  bool Drag;
37  bool Alt;
39 
40  typedef std::vector<MouseMappingInformation> MouseMappingList;
41  typedef std::map<DtMouseMappingEditorWidgetInterface::ProjectionIndex, MouseMappingList> MouseMappings;
42 
43  public:
44 
47 
49  virtual ~DtMouseMappingEditorLogic();
50 
51  virtual void setupGui();
52 
53  protected:
55  virtual void slot_currentInstanceChanged(DtMouseMappingEditorWidgetInterface::ProjectionIndex);
56 
58  virtual void addItem(DtMouseMappingEditorWidgetInterface::ProjectionIndex projection, const std::string& key,
59  const std::string& context, const std::string& functionText = "",
60  bool ctrl = false, bool shift = false, bool drag = false, bool alt = false);
61 
63  virtual void slot_mouseHideTimeChanged(double hideTime);
64 
66  virtual void slot_mouseHideEnabledChanged(bool enabled);
67 
68  protected:
69 
74  };
75 }

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)