MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrVideoPrefPage.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #pragma once
7 
8 #include <lgrSimGui/lgrSimGui.h>
9 
10 #include <lgrGui/preferencesPage.h>
11 #include <lgrGui/lgrGuiModel.h>
12 
13 #include <QBoxLayout>
14 #include <QLabel>
15 #include <QFrame>
16 #include <QCheckBox>
17 #include <QLineEdit>
18 #include <QDoubleSpinBox>
19 
20 
21 namespace MAKLogger
22 {
23  class DtLgrFullInterface;
24  class DtLoggerApplication;
25 
29  {
30  Q_OBJECT
31 
32  public:
33 
36  DtLoggerApplication& app, QWidget* parent, Qt::WindowFlags f = 0);
37 
39  virtual ~DtLgrVideoPrefPage();
40 
42  virtual QIcon icon();
43 
45  virtual QString title();
46 
48  virtual const std::string& pageClassName() const;
49 
51  static const std::string& thePageClassName();
52 
54  virtual void load();
55 
57  virtual void accept();
58 
60  virtual void reject();
61 
62  virtual void saveConfiguration() const;
63 
64  protected:
65 
67  virtual void activate();
68 
70  virtual void deactivate();
71 
72  protected:
75 
76  QHBoxLayout* myRecordLayout;
77  QLabel* myRecordLabel;
78  QFrame* myRecordLine;
79 
80  QCheckBox* myRecordDefault;
81 
83  QSpinBox* myRecordPort;
84 
85  QHBoxLayout* myPlayLayout;
86  QLabel* myPlayLabel;
87  QFrame* myPlayLine;
88 
89  QCheckBox* myPlayWindowDefault;
90  QCheckBox* myPlayStreamDefault;
91 
92  QLabel* myPlayHostLabel;
93  QLineEdit* myPlayHostLineEdit;
94 
95  QLabel* myPlayPortLabel;
96  QSpinBox* myPlayPortSpinBox;
97 
100 
101  QLabel* myOffsetLabel;
103 
104  QHBoxLayout* myAdvancedLayout;
106  QFrame* myAdvancedLine;
107 
110 
113 
116 
117  static const QString& theRecordDefaultToolTip();
118  static const QString& theRecordPortToolTip();
119  static const QString& thePlayWindowDefaultToolTip();
120  static const QString& thePlayStreamDefaultToolTip();
121  static const QString& thePlayHostToolTip();
122  static const QString& thePlayPortToolTip();
123  static const QString& theSpeedFactorToolTip();
124  static const QString& theOffsetToolTip();
125  static const QString& theGStreamerRecordToolTip();
126  static const QString& theGStreamerPlayWindowToolTip();
127  static const QString& theGStreamerPlayStreamToolTip();
128  };
129 }

Document ID: Generated on Tue Aug 1 09:00:26 EDT 2017 from SVN revision 179128
Copyright © 2017 VT MÄK. All Rights Reserved (www.mak.com)