VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setRestoreDialog.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  DtSetRestoreDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
24 
25  //DTOR
26  virtual ~DtSetRestoreDialog();
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 
37  virtual bool wantsSelectionOfObjectInCommandMode(const std::vector<makVrv::DtSimEntry*>&) const;
38  virtual void sendRequest();
39  virtual void onOK() { sendRequest(); };
40  };
41 
43  {
44  public:
45  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
46 
47  virtual bool supportsType(makVrv::DtDe&, const DtSetMessageType& t, const DtSimStatement*) const;
48  virtual bool canEdit() const
49  {
50  return false;
51  }
52  };
53 }
54 
Definition: taskSetDialogInterface.h:64
Definition: setRestoreDialog.h:42
Definition: taskSetDialogInterface.h:83
virtual bool canEdit() const
Override to say whether or not this item can be edited by itself if it supports the type...
Definition: setRestoreDialog.h:48
virtual void onOK()
Definition: setRestoreDialog.h:39
class DtSimStatement:
Definition: simStatement.h:35
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
virtual void onCancel()
Definition: setRestoreDialog.h:33
Definition: setRestoreDialog.h:18

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)