MAK Data Logger API Documentation for HLA
timeBarZoomControl.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef timeBarZoomControl_H_
11 #define timeBarZoomControl_H_
12 
13 #include "lgrGui.h"
14 
15 #include "rangeSlider.h"
16 #include "boundsSlider.h"
17 
18 #include <absoluteTime.h>
19 
20 namespace MAKLogger
21 {
22 
23  class DtTimeComponent;
24 
28  {
29 
30  public:
31  DtTimeBarZoomSlider(DtTimeComponent* timeComponent,
32  float start, float end,
33  QWidget* parent);
34 
35  virtual ~DtTimeBarZoomSlider();
36 
37  protected:
38 
40  virtual void draw( );
41 
43  virtual void drawBar(QPainter& painter,DtSliderBar* bar) const;
44 
45  protected:
47 
48  };
49 
53  {
54  Q_OBJECT
55  public:
56 
59  QWidget* parent);
60 
62  virtual ~DtTimeBarZoomControl();
63  private:
67  DtTimeBarZoomControl& operator=(const DtTimeBarZoomControl&);
68  public:
69 
71  const DtTimeBarZoomSlider* zoomSlider() const;
72 
74  virtual void getExtents(DtAbsoluteTime& start,DtAbsoluteTime& end);
75 
76  public slots:
77 
78  virtual void setExtents(DtAbsoluteTime start,DtAbsoluteTime end);
79 
80  signals:
81  //void extentsChanged(DtAbsoluteTime,DtAbsoluteTime);
83  void zoomChanged(float,float);
84 
85  protected slots:
87  void emitZoom(float start,float end);
88 
89  protected:
91  };
92 
93 }
94 
95 #endif

Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)