VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
embeddedEntityCommandAssignmentWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
8 #if !defined(Q_MOC_RUN)
12 #endif
13 
14 namespace makVrf
15 {
16  class DtEmbeddedEntityCommandAssignmentWidgetLogic;
17  class DtStateData;
18 
21  {
22  Q_OBJECT
23 
24  public:
27  DtCommandDialogExtensionInterface*, QWidget* parent = 0,
28  Qt::WindowFlags flags =
29  Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint);
30 
32  virtual ~DtEmbeddedEntityCommandAssignmentWidget() override;
33 
36  virtual bool insertMapFocusHandler(DtMapFocusHandlerInterface*, int index = -1) override {
37  return false;
38  };
39 
41  virtual void setAllowBroadcast(bool) override;
42 
44  virtual void setupUi(const std::set<makVrv::DtUniqueID>& data, const DtSimStatement* stmt) override;
45 
46  protected:
47  virtual std::vector<std::string> commandDialogFiltersFor(
48  const std::set<makVrv::DtUniqueID>& data, const DtSimStatement* stmt, int& initialSelection) const override;
49  virtual void populateEntitySelectionWidget(const std::set<makVrv::DtUniqueID>&);
50  virtual void attachExtension(const std::set<makVrv::DtUniqueID>& data, DtCommandDialogExtensionInterface* ext,
51  const DtSimStatement* stmt) override;
52 
53  protected:
55  {
56  DtStateData* stateData = nullptr;
58  };
59 
60  std::vector<EmbeddedEntity> myEmbeddedEntities;
61  };
62 }
A widget class for encapsulating radio commands for tasks or sets.
Definition: commandAssignmentWidget.h:46
virtual bool insertMapFocusHandler(DtMapFocusHandlerInterface *, int index=-1) override
The QListWidget does not interact with the map so this implementation is blank.
Definition: embeddedEntityCommandAssignmentWidget.h:36
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:398
A widget class for encapsulating radio commands for tasks or sets.
Definition: embeddedEntityCommandAssignmentWidget.h:20
Definition: commandDialogExtensionInterface.h:49
Base class that must be implemented by items that wish to be part of a map focus handler chain...
Definition: mapFocusHandler.h:31
DtSimObjectReference stateReference
Definition: embeddedEntityCommandAssignmentWidget.h:57
class DtSimStatement:
Definition: simStatement.h:38
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
std::vector< EmbeddedEntity > myEmbeddedEntities
Definition: embeddedEntityCommandAssignmentWidget.h:60
Definition: embeddedEntityCommandAssignmentWidget.h:54
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22

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)