VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dialogManagerSignaler.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #pragma once
7 
10 #include <boost/signals2.hpp>
11 
13 class DtScenario;
14 class DtScenarioExplorer;
15 class QString;
16 class QAction;
17 
18 namespace makVrv
19 {
20  class DtDe;
21 }
22 
23 namespace makVrf
24 {
25  class DtVrfMenu;
26  class DtTaskSetDialogInterface;
27  class DtCommandAssignmentWidgetInterface;
28  class DtConditionalDialogInterface;
29  class DtConditionalExpressionInterface;
30  class DtCommandAssignmentWidget;
31  class DtBasePlanWidget;
32  class DtVrfTaskSetAction;
33 
37  {
38  public:
40 
42  static DtDialogManagerSignaler& instance(makVrv::DtDe& de);
43 
45  boost::signals2::signal<void (DtTaskSetDialogInterface*)> signal_dialogDestroyed;
46 
48  boost::signals2::signal<void (DtCommandAssignmentWidgetInterface*)> signal_commandDialogDestroyed;
49 
52  boost::signals2::signal<void (DtTaskSetDialogInterface*, DtVrfTaskSetAction*, bool& reject)> signal_dialogAboutToBeShown;
53 
55  boost::signals2::signal<void (DtTaskSetDialogInterface*)> signal_dialogCreated;
56 
58  boost::signals2::signal<void (DtTaskSetDialogInterface*)> signal_dialogRun;
59 
62  boost::signals2::signal<void (DtCommandAssignmentWidgetInterface*, QAction*, bool& reject)> signal_commandDialogAboutToBeShown;
63 
65  boost::signals2::signal<void (DtCommandAssignmentWidgetInterface*)> signal_commandDialogCreated;
66 
68  boost::signals2::signal<void (DtCommandAssignmentWidgetInterface*)> signal_commandDialogRun;
69 
71  boost::signals2::signal<void (int)> signal_dialogsInProgress;
72 
74  boost::signals2::signal<void (DtConditionalDialogInterface*, QAction*)> signal_conditionDialogCreated;
75 
77  boost::signals2::signal<void (DtConditionalDialogInterface*)> signal_conditionDialogRun;
78 
80  boost::signals2::signal<void (DtConditionalDialogInterface*)> signal_conditionDialogDestroyed;
81 
83  boost::signals2::signal<void (DtConditionalExpressionInterface*)> signal_expressionCreated;
84 
86  boost::signals2::signal<void (DtConditionalExpressionInterface*)> signal_expressionRun;
87 
89  boost::signals2::signal<void (DtConditionalExpressionInterface*)> signal_expressionDestroyed;
90 
92  boost::signals2::signal<void (DtBasePlanWidget*)> signal_planWidgetFocusIn;
93 
95  boost::signals2::signal<void (DtBasePlanWidget*)> signal_planWidgetFocusOut;
96 
97  protected:
99  };
100 }
boost::signals2::signal< void(DtConditionalDialogInterface *, QAction *)> signal_conditionDialogCreated
Signal sent when the dialog is created but before it is run.
Definition: dialogManagerSignaler.h:74
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
boost::signals2::signal< void(DtConditionalExpressionInterface *)> signal_expressionDestroyed
Signal sent when the expression is destroyed.
Definition: dialogManagerSignaler.h:89
boost::signals2::signal< void(DtBasePlanWidget *)> signal_planWidgetFocusIn
Signal sent when the plan dialog gets focus.
Definition: dialogManagerSignaler.h:92
boost::signals2::signal< void(DtCommandAssignmentWidgetInterface *)> signal_commandDialogDestroyed
Signal sent when the dialog is destroyed.
Definition: dialogManagerSignaler.h:48
Definition: scenario.h:52
boost::signals2::signal< void(DtConditionalDialogInterface *)> signal_conditionDialogDestroyed
Signal sent when the dialog is destroyed.
Definition: dialogManagerSignaler.h:80
class DtScenarioExplorer:
Definition: scenarioExplorer.h:26
boost::signals2::signal< void(int)> signal_dialogsInProgress
Signal sent when dialogs are/are not in progress.
Definition: dialogManagerSignaler.h:71
This class will be used by the various dialog managers in the system to send out events that might be...
Definition: dialogManagerSignaler.h:36
boost::signals2::signal< void(DtConditionalExpressionInterface *)> signal_expressionCreated
Signal sent when the expression is created but before it is run.
Definition: dialogManagerSignaler.h:83
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
boost::signals2::signal< void(DtTaskSetDialogInterface *)> signal_dialogCreated
Signal sent when the dialog is created but before it is run.
Definition: dialogManagerSignaler.h:55
boost::signals2::signal< void(DtConditionalExpressionInterface *)> signal_expressionRun
Signal sent when the expression is run.
Definition: dialogManagerSignaler.h:86
boost::signals2::signal< void(DtCommandAssignmentWidgetInterface *, QAction *, bool &reject)> signal_commandDialogAboutToBeShown
Signal sent before the signal_commandDialogCreated. Set the bool&amp; to false to reject this dialog...
Definition: dialogManagerSignaler.h:62
boost::signals2::signal< void(DtBasePlanWidget *)> signal_planWidgetFocusOut
Signal sent when the plan dialog loses focus.
Definition: dialogManagerSignaler.h:95
Contains makVrv::DtVirtualBaseClass class.
boost::signals2::signal< void(DtConditionalDialogInterface *)> signal_conditionDialogRun
Signal sent when the dialog is created but before it is run.
Definition: dialogManagerSignaler.h:77
boost::signals2::signal< void(DtTaskSetDialogInterface *)> signal_dialogRun
Signal sent when the dialog is created but before it is run.
Definition: dialogManagerSignaler.h:58
boost::signals2::signal< void(DtTaskSetDialogInterface *)> signal_dialogDestroyed
Signal sent when the dialog is destroyed.
Definition: dialogManagerSignaler.h:45
boost::signals2::signal< void(DtCommandAssignmentWidgetInterface *)> signal_commandDialogCreated
Signal sent when the dialog is created but before it is run.
Definition: dialogManagerSignaler.h:65
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
Definition: scenario.h:616
makVrv::DtDe & myDe
Definition: dialogManagerSignaler.h:98
boost::signals2::signal< void(DtCommandAssignmentWidgetInterface *)> signal_commandDialogRun
Signal sent when the dialog is created but before it is run.
Definition: dialogManagerSignaler.h:68
boost::signals2::signal< void(DtTaskSetDialogInterface *, DtVrfTaskSetAction *, bool &reject)> signal_dialogAboutToBeShown
Signal sent before the signal_dialogCreated. Set the bool&amp; to false to reject this dialog...
Definition: dialogManagerSignaler.h:52

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)