VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vrfTaskSetToolbarItem.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include <vrvCoreQt/DtMenuItem.h>
15 #include <set>
16 
17 class QAction;
18 
19 namespace makVrf
20 {
21  class DtVrfTaskSetAction;
22 
27  {
28  Q_OBJECT
29 
30  public:
31  //CTOR
32  DtVrfTaskSetToolbarItem(const std::string& toolbarId, const std::string& taskSetItemId, makVrv::DtDe& de);
33 
34  //DTOR`
35  virtual ~DtVrfTaskSetToolbarItem();
36 
38  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
39 
40  protected:
42  virtual void setupToolbarItem(DtVrfTaskSetAction*);
43 
45  virtual void on_triggered();
46 
47  virtual std::set<QAction*> activatedActions() const;
48 
49  virtual void actionChanged(DtVrfTaskSetAction*);
50 
51  protected slots:
53  virtual void actionChanged();
54 
56  virtual void toolbarActionDestroyed();
57 
58  protected:
59  std::string myTaskSetItemId;
61  std::set<QAction*> myToolbarActions;
63  };
64 }

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)