VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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;
39 
40  typedef std::vector<MouseMappingInformation> MouseMappingList;
41  typedef std::map<std::string, MouseMappingList> MouseMappings;
42 
43  public:
44 
47 
49  virtual ~DtMouseMappingEditorLogic();
50 
51  virtual void setupGui();
52 
53  protected:
54  virtual void slot_currentInstanceChanged(int, const std::string&);
55 
56  virtual void addItem( const QString& mode, const QString& key,
57  const QString& context, const QString& functionText = "", bool ctrl = false, bool shift = false, bool drag = false);
58 
59  protected:
60 
65  };
66 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)