VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simulationObjectEditorHistory.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include <QtWidgets/QWidget>
13 #include <QtCore/QMap>
14 #include <QtCore/QVariant>
15 #include <QtCore/QString>
16 
18 class QPushButton;
19 class DtModelSetEntry;
20 class DtUiElementEvent;
21 
23 {
24  Q_OBJECT
25 protected:
26 public:
28 
30  virtual void init(DtSimulationObjectEditorList* parent);
31 
32  virtual void clearHistory();
33 
36  virtual void addHistoryItem(DtModelSetEntry*);
37 
38  int count() const { return myHistory.count(); };
39  int historyIndex() const { return myHistoryIndex; };
40 
41 public slots:
43  virtual void moveBackward();
44  virtual void moveForward();
45 
47  virtual void moveTo(int);
48 
49 protected:
51  virtual void updateButtons();
52 
53 protected:
57  QVector<DtModelSetEntry*> myHistory;
59  bool myMoving;
61 };

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)