VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setRankPatchDialog.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
14 #include <vlpi/patchIdentifier.h>
15 
16 namespace makVrf
17 {
18 
19  class DtRankPatchSelectionEntryWidget;
20 
22  { Q_OBJECT;
23  public:
24 
26  DtSetRankPatchDialog( makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0 );
27 
29  virtual ~DtSetRankPatchDialog() override;
30 
32  virtual DtPatchIdentifier rankPatch() const;
33 
35  virtual void setRankPatch( const DtPatchIdentifier& rankPatchId );
36 
37  protected:
38 
39  virtual QWidget* contents(const std::set<makVrv::DtUniqueID>& data) override;
40 
42  virtual void setupGui(const std::set<makVrv::DtUniqueID>& data) override;
43 
44  virtual void slot_onPatchSelectionChanged( const DtPatchIdentifier& rankPatchId );
45 
46  virtual void sendPatchSetRequest( const DtPatchIdentifier& rankPatchId );
47 
48  virtual void sendRequest() override;
49 
50  virtual void cancel() override;
51 
52  protected:
53 
54  virtual void setupStatement(const DtSimStatement* statement) override;
55 
56  public:
57 
58  DtPatchIdentifier myInitialRankPatch;
59 
61 
62  };
63 
64 
66  {
67  public:
68  virtual DtTaskSetDialogInterface* create(makVrv::DtDe& de, QWidget* parent) override;
69  virtual bool supportsType(
70  makVrv::DtDe& de, const DtSetMessageType& type, const DtSimStatement* statement) const override;
71  };
72 
73 }
Definition: taskSetDialogInterface.h:63
Definition: baseTaskSetDialogInterface.h:35
DtPatchIdentifier myInitialRankPatch
Definition: setRankPatchDialog.h:58
Definition: taskSetDialogInterface.h:82
Contains makVrf::DtBaseTaskSetDialogInterface class. This is the interface for the dialog used by mos...
class DtSimStatement:
Definition: simStatement.h:38
DtRankPatchSelectionEntryWidget * myPatchSelectionWidget
Definition: setRankPatchDialog.h:60
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
Widget that allows the selection of a force.
Definition: rankPatchSelectionEntryWidget.h:33
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
Definition: setRankPatchDialog.h:21
Definition: setRankPatchDialog.h:65

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)