VR-Forces 4.6 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) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: DtMouseMappingEditorLogic.h,v $ $Revision: 1.12 $ $State: Exp $
7 *******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvCoreQt/vrvCoreQt.h>
16 
17 #include <QtCore/QString>
18 
19 namespace makVrv
20 {
21  class DtDe;
22  class DtMouseMappingEditorWidgetInterface;
23  class DtSelectInstanceWidget;
24 
28  {
29  protected:
30  typedef struct
31  {
32  QString Key;
33  QString Context;
34  QString FunctionText;
35  bool Ctrl;
36  bool Shift;
37  bool Drag;
38  bool Alt;
40 
41  typedef std::vector<MouseMappingInformation> MouseMappingList;
42  typedef std::map<std::string, MouseMappingList> MouseMappings;
43 
44  public:
45 
48 
50  virtual ~DtMouseMappingEditorLogic();
51 
52  virtual void setupGui();
53 
54  protected:
55  virtual void slot_currentInstanceChanged(int, const std::string&);
56 
57  virtual void addItem( const QString& mode, const QString& key,
58  const QString& context, const QString& functionText = "", bool ctrl = false, bool shift = false, bool drag = false, bool alt = false);
59 
60  protected:
61 
66  };
67 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)