VR-Forces 5.0.3 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 
15 namespace makVrf
16 {
17 
18  class DtRankPatchSelectionEntryWidget;
19 
21  { Q_OBJECT;
22  public:
23 
25  DtSetRankPatchDialog( makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0 );
26 
28  virtual ~DtSetRankPatchDialog();
29 
31  virtual DtPatchIdentifier rankPatch() const;
32 
34  virtual void setRankPatch( const DtPatchIdentifier& rankPatchId );
35 
36  protected:
37 
38  virtual QWidget* contents( const std::vector<makVrv::DtSimEntry*>& data );
39 
41  virtual void setupGui( const std::vector<makVrv::DtSimEntry*>& data );
42 
43  virtual void slot_onPatchSelectionChanged( const DtPatchIdentifier& rankPatchId );
44 
45  virtual void sendPatchSetRequest( const DtPatchIdentifier& rankPatchId );
46 
47  virtual void sendRequest();
48 
49  virtual void cancel();
50 
51  protected:
52 
53  virtual void setupStatement( const DtSimStatement* statement );
54 
55  public:
56 
57  DtPatchIdentifier myInitialRankPatch;
58 
60 
61  };
62 
63 
65  {
66  public:
67  virtual DtTaskSetDialogInterface* create( makVrv::DtDe& de, QWidget* parent );
68  bool supportsType( makVrv::DtDe& de, const DtSetMessageType& type, const DtSimStatement* statement ) const;
69  };
70 
71 }
Definition: taskSetDialogInterface.h:65
Definition: baseTaskSetDialogInterface.h:34
DtPatchIdentifier myInitialRankPatch
Definition: setRankPatchDialog.h:57
Definition: taskSetDialogInterface.h:84
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:59
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
Widget that allows the selection of a force.
Definition: rankPatchSelectionEntryWidget.h:33
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
Definition: setRankPatchDialog.h:20
Definition: setRankPatchDialog.h:64

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)