MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
timeBarZoomControl.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef timeBarZoomControl_H_
11 #define timeBarZoomControl_H_
12 
13 #include <lgrGui/lgrGui.h>
14 
15 #include <lgrGui/rangeSlider.h>
16 #include <lgrGui/boundsSlider.h>
17 
18 #include <lgrUtil/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
A Widget which contains two slider boxes which define a bounding area.
Definition: boundsSlider.h:27
Used to manage a bar between a start and an end of a slider bar.
Definition: sliderBar.h:25
A Range widget, which has a slider bar and buttons.
Definition: rangeSlider.h:23
The widget which controls the zoom and displays the time bar overlaying the slider bar...
Definition: timeBarZoomControl.h:52
Contains MAKLogger::DtRangeSlider class.
Contains MAKLogger::DtBoundsSlider class.
DtTimeComponent * myTimeComponent
Definition: timeBarZoomControl.h:46
A time component represents the current time of the logger.
Definition: timeComponent.h:20
Contains MAKLogger::DtAbsoluteTime and MAKLogger::DtRelativeTime classes.
#define DT_DLL_LGRGUI
Definition: lgrGui.h:19
Slider bar which shows an mini tile bar overlay which is responsible for zooming the time bar and dra...
Definition: timeBarZoomControl.h:27
Defines INPORT/EXPORT macros for lgrGui library.
DtTimeComponent * myTimeComponent
Definition: timeBarZoomControl.h:90
Absolute Time, a particular measured instance in time, could be thought of as a set of relative times...
Definition: absoluteTime.h:82

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)