VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
availableCheckpointsWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
17 
18 #include <QtWidgets/QWidget>
19 
20 namespace makVrv
21 {
22  class DtDe;
23  class DtPopupToolbar;
24 }
25 
26 class QListWidget;
27 class QListWidgetItem;
28 class QPushButton;
29 
30 namespace makVrf
31 {
34  {
35  Q_OBJECT
36  public:
38  DtAvailableCheckpointsWidget( makVrv::DtDe& de, QWidget* parent = 0, Qt::WindowFlags flags = 0);
39 
42 
43  virtual void setEnabled(bool);
44 
45  protected:
46  virtual void snapshotsChanged(const DtVrfCheckpointManager::AvailableSnapshots& added,
48  virtual void addSnapshots(const DtVrfCheckpointManager::AvailableSnapshots& added);
49  virtual void removeSnapshots(const DtVrfCheckpointManager::AvailableSnapshots& added);
50  virtual void clearSnapshots();
51  virtual void evaluate();
52  virtual void updateSimTimeTitle(double simTime);
53 
54  protected slots:
55  virtual void onItemSelectionChanged();
56  virtual void activate();
57  virtual void deactivate();
58  virtual void uncheckButton();
59  virtual void buttonPressed();
60 
61  public:
64  QListWidget* mySnapshots;
65 
66  protected:
70 
71  typedef std::map<double, QListWidgetItem*> Items;
73  };
74 
76  {
77 
78  public:
79 
81 
83 
84  virtual QWidget* create( makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags);
85  };
86 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)