VR-Forces 4.1.1 Class Documentation
vrfMainMenu.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
7 
8 #pragma once
9 
15 
16 namespace makVrf
17 {
26  {
27  public:
31 
34  virtual ~DtVrfMainMenuConfiguration();
35 
40  virtual void addMenuPath(const makVrv::DtMenuPath& path, int weight = -1);
41 
45  virtual void removeMenuPath(const makVrv::DtMenuPath& path);
46 
50  virtual void addMenuPathAfter(const makVrv::DtMenuPath& newPath, const makVrv::DtMenuPath& relativeTo);
51 
55  virtual void addMenuPathBefore(const makVrv::DtMenuPath& newPath, const makVrv::DtMenuPath& relativeTo);
56 
57  protected:
60  };
61 
69  {
70  public:
74 
77  virtual ~DtVrfMainMenuAssembler();
78 
81  virtual void registerMenu(makVrv::DtMenu* menu);
82 
85  virtual void unregisterMenu(makVrv::DtMenu* menu, bool deleteBuilder = true);
86 
89  virtual void registerItem(makVrv::DtMenuItem* item);
90 
93  virtual void unregisterItem(makVrv::DtMenuItem* item, bool deleteBuilder = true);
94 
95  protected:
97  virtual void registerMenu(makVrv::DtMenuItem*);
98 
100  virtual void unregisterMenu(makVrv::DtMenuItem*, bool);
101 
103  };
104 
111  {
112  public:
115  virtual ~DtVrfMainMenu();
116 
119  static DtVrfMainMenu& instance(makVrv::DtDe& de);
120 
123  virtual DtSubMenuConfiguration& menuConfiguration();
124 
129  virtual DtConfigurableMenuAssembler& menuAssembler();
130 
131  protected:
135 
138  virtual void createMenuConfiguration(makVrv::DtDe&);
139 
142  virtual QMenu* createMenu(makVrv::DtDe&, QWidget*);
143 
148  };
149 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)