VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setRefuelPointEnabledDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
16 
17 class QBoxLayout;
18 class QVBoxLayout;
19 class QWidget;
20 class QComboBox;
21 class QLabel;
23 
24 namespace makVrf
25 {
26 
28  {
29  Q_OBJECT
30  public:
31  //CTOR
32  DtSetRefuelPointEnabledDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
33 
34  //DTOR
35  virtual ~DtSetRefuelPointEnabledDialog() override;
36 
38  virtual void setRefuelPointEnabled(const bool b);
40  virtual const bool isRefuelPointEnabled() const;
41 
44  virtual void run(const std::set<makVrv::DtUniqueID>&) override;
45 
47  virtual bool editStatement(const std::set<makVrv::DtUniqueID>& states, const DtSimStatement* s) override;
48 
49  virtual QBoxLayout* createMainLayout() override;
50 
51  protected:
53  virtual QWidget* contents(const std::set<makVrv::DtUniqueID>& data) override;
54 
56  virtual void setupStatement(const DtSimStatement* stmt) override;
57 
58  virtual void initializeItems(const std::set<makVrv::DtUniqueID>& data) override;
59 
60  virtual void onCancel() override;
61 
62  virtual void sendRequest() override;
63 
64  virtual void onOK() override;
65 
66  public slots:
67  //virtual void processArtPartSelected(int index);
68 
69  public:
70  QHBoxLayout* myArtPartLayout;
72 
73  };
74 
76  {
77  public:
78  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent) override;
79  virtual bool supportsType(makVrv::DtDe&, const DtSetMessageType&, const DtSimStatement*) const override;
80  };
81 }
Definition: setRefuelPointEnabledDialog.h:27
Definition: taskSetDialogInterface.h:63
Definition: taskSetDialogInterface.h:82
A structure composed of distinct fields, each of which is itself a property. The DtRwPropertiesStruct...
Definition: rwPropertiesStructure.h:21
Contains makVrf::DtBaseYesNoTaskSetDialog class.
Definition: baseYesNoTaskSetDialog.h:25
QComboBox * myAvailableArtParts
Definition: setRefuelPointEnabledDialog.h:71
QHBoxLayout * myArtPartLayout
Definition: setRefuelPointEnabledDialog.h:70
class DtSimStatement:
Definition: simStatement.h:38
Definition: setRefuelPointEnabledDialog.h:75
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
#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)