VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
editGlobalPlanWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include <vlpi/simulationAddress.h>
14 
16 //
18 
19 class QCheckBox;
20 class QHBoxLayout;
21 class QLabel;
22 class QPushButton;
23 
24 namespace makVrf
25 {
27  {
28  Q_OBJECT
29 
30  public:
31 
33  DtEditGlobalPlanWidget(makVrv::DtDe&, const DtUUID& plan, const DtSimulationAddress& simulationAddress,
34  QWidget* parent = NULL, const Qt::WindowFlags& flags = 0);
35 
37  virtual ~DtEditGlobalPlanWidget() override;
38 
40  const DtSimulationAddress& simulationAddress() const
41  {
42  return mySimulationAddress;
43  }
44 
46  const DtUUID& planName() const
47  {
48  return myPlanUUID;
49  }
50 
51  virtual bool init(const makVrv::DtSelectionManager::IdSet& curSel) override;
52 
53  virtual void setIsQuickLaunch(bool);
54  virtual bool isQuickLaunch() const;
55 
56  virtual void setOrdinal(int);
57  virtual int ordinal() const;
58 
59  virtual void setShowOnQuickLaunchToolbar(bool);
60  virtual bool showOnQuickLaunchToolbar() const;
61 
62  virtual void setQuickLaunchIcon(const DtString&);
63  virtual DtString quickLaunchIcon() const;
64  virtual bool canBecomeActive() const override;
65  virtual void updatePlanLockState() override;
66 
67  protected:
68  virtual void createLogic() override;
69  virtual void setupEventIcons();
70 
71  virtual void createSimulationCommandMenu() override;
72  virtual void setupGui() override;
73  virtual void createConditionalMenu() override;
74 
76  virtual void createEmbeddedEntitiesMenu() override;
77  virtual void createTaskMenu() override;
78  virtual void createPlanMenu() override;
79 
80  protected slots:
81  virtual void ordinalChanged();
82  virtual void quickLaunchChanged();
83  virtual void selectQuickLaunchIcon();
84  virtual void onPlanIconChanged();
85  virtual void onShowOnQuickLaunchToolbarChanged();
86 
87  private:
90 
92  DtEditGlobalPlanWidget& operator=(const DtEditGlobalPlanWidget& rhs);
93 
94  protected:
95  DtSimulationAddress mySimulationAddress;
98  DtFilename myImagePath;
99  };
100 }
UUID is a unique ID wrapper class.
Definition: uuid.h:59
const DtUUID & planName() const
Plan name this global plan is part of.
Definition: editGlobalPlanWidget.h:46
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
makVrv::DtSignalConnectionManager myConnectionManager
Definition: editGlobalPlanWidget.h:97
DtUUID myPlanUUID
Definition: editGlobalPlanWidget.h:96
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Definition: editEntityPlanWidget.h:26
Base class to provide boost signal/slot management.
DtFilename myImagePath
Definition: editGlobalPlanWidget.h:98
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
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:76
const DtSimulationAddress & simulationAddress() const
Simulation address this global plan is part of.
Definition: editGlobalPlanWidget.h:40
Definition: editGlobalPlanWidget.h:26
DtSimulationAddress mySimulationAddress
Definition: editGlobalPlanWidget.h:95
std::set< DtUniqueID > IdSet
Definition: DtSelectionManager.h:32

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)