VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 <QtGui/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 buttonPressed();
59 
60  public:
63  QListWidget* mySnapshots;
64 
65  protected:
69 
70  typedef std::map<double, QListWidgetItem*> Items;
72  };
73 
75  {
76 
77  public:
78 
80 
82 
83  virtual QWidget* create( makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags);
84  };
85 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)