MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrMediaStreamView.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2016 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
9 
10 #pragma once
11 
12 #include <lgrGui/lgrGui.h>
13 
14 #include <lgrGui/lgrGuiComponent.h>
15 #include <lgrUtil/absoluteTime.h>
16 
17 class QWidget;
18 
19 namespace MAKLogger
20 {
21  class DtLgrGuiModel;
22  class DtProgressiveLineGraph;
24 
27  {
28 
29  Q_OBJECT
30 
31  public:
32 
35 
37  virtual ~DtLgrMediaStreamView();
38 
40  virtual QWidget* initialize(QWidget* parent);
41 
43  virtual void activate();
44 
46  virtual void deactivate();
47 
49  virtual bool canCloseFile() const;
50 
52  void startView();
53 
55  void stopView();
56 
58  void clearView();
59 
60  void closeView();
61 
66  virtual double updateTime();
67 
70  virtual void update();
71 
75  virtual MAKLogger::DtLgrZoomableWidget* zoomComponent();
76 
77  virtual DtLgrMediaStreamViewWidget* widget();
78 
79  public slots:
80 
81  void fileOpenChanged(QString fileName);
82  void connectionStatusChanged(bool connected);
83  void playbackStateChanged(bool isPlaying);
84  void playbackPausedChanged(bool isPaused);
85 
86 
87  protected:
93 
94  // Update at 1/10 the default redraw rate.
95  const static int theRequestUpdateRate = 10;
96 
97  };
98 }
99 

Document ID: Generated on Thu Jul 23 15:05:27 EDT 2020 from SVN revision 215371
Copyright © 2020 MAK Technologies. All Rights Reserved (www.mak.com)