VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
taskDisembarkAllDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
16 namespace makVrf
17 {
19  {
20  Q_OBJECT
21  public:
22  //CTOR
23  DtTaskDisembarkAllDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
24 
25  //DTOR
26  virtual ~DtTaskDisembarkAllDialog();
27 
29  virtual void run(const std::vector<makVrv::DtSimEntry*>&);
30  virtual bool editStatement(const std::vector<makVrv::DtSimEntry*>& data, const DtSimStatement* s);
31 
32  protected:
33  virtual void onCancel()
34  {
35  }
36  virtual bool wantsSelectionOfObjectInCommandMode(const std::vector<makVrv::DtSimEntry*>&) const;
37  virtual void sendRequest();
38  virtual void onOK() { sendRequest(); };
39 
40  virtual QWidget* takeOKCancelButtonCanvas(QWidget* newParent) override
41  {
42  return nullptr;
43  }
44 
45  virtual void setCancelButtonText(const QString&) override
46  {
47  }
48 
49  virtual void giveOKCancelButtonCanvas(QWidget*) override
50  {
51  }
52  };
53 
55  {
56  public:
57  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
58 
59  virtual bool supportsType(makVrv::DtDe&, const DtSimTaskMessageType& t, const DtSimStatement*) const;
60  virtual bool canEdit() const
61  {
62  return false;
63  }
64  };
65 }
virtual QWidget * takeOKCancelButtonCanvas(QWidget *newParent) override
This will return the OK/Cancel cavas that the current OK/Cancel buttons are on. You can use this to r...
Definition: taskDisembarkAllDialog.h:40
Definition: taskDisembarkAllDialog.h:18
Definition: taskSetDialogInterface.h:84
virtual void setCancelButtonText(const QString &) override
Sets the Cancel button text.
Definition: taskDisembarkAllDialog.h:45
Class that is used as a template for task/set dialogs.
Definition: taskSetDialogInterface.h:46
virtual void onCancel()
Definition: taskDisembarkAllDialog.h:33
virtual void onOK()
Definition: taskDisembarkAllDialog.h:38
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:70
virtual bool canEdit() const
Override to say whether or not this item can be edited by itself if it supports the type...
Definition: taskDisembarkAllDialog.h:60
virtual void giveOKCancelButtonCanvas(QWidget *) override
Gives the canvas back to this widget.
Definition: taskDisembarkAllDialog.h:49
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
Definition: taskDisembarkAllDialog.h:54

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)