MAK Data Logger API Documentation for HLA
 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;
78  QFrame* myRecordLine;
79 
80  QCheckBox* myRecordDefault;
81 
83  QSpinBox* myRecordPort;
84 
85  QHBoxLayout* myPlayLayout;
87  QFrame* myPlayLine;
88 
89  QCheckBox* myPlayWindowDefault;
90  QCheckBox* myPlayStreamDefault;
91 
93  QLineEdit* myPlayHostLineEdit;
94 
96  QSpinBox* myPlayPortSpinBox;
97 
100 
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 }
QLabel * myyGStreamerPlayStreamLabel
Definition: lgrVideoPrefPage.h:114
Contains DtPage class.
DtLoggerApplication & myApplication
Definition: lgrVideoPrefPage.h:73
QCheckBox * myPlayStreamDefault
Definition: lgrVideoPrefPage.h:90
QLineEdit * myPlayHostLineEdit
Definition: lgrVideoPrefPage.h:93
The logger application class responsible for creating a logger, its gui and its console.
Definition: lgrApplication.h:37
The page is a single widget component which is viewed in a page collection.
Definition: preferencesPage.h:19
QLabel * myRecordLabel
Definition: lgrVideoPrefPage.h:77
QLabel * myOffsetLabel
Definition: lgrVideoPrefPage.h:101
Defines IMPORT/EXPORT macros for lgrSimGui library.
QLineEdit * myGStreamerRecordLineEdit
Definition: lgrVideoPrefPage.h:109
QLabel * myPlayLabel
Definition: lgrVideoPrefPage.h:86
QFrame * myRecordLine
Definition: lgrVideoPrefPage.h:78
QCheckBox * myPlayWindowDefault
Definition: lgrVideoPrefPage.h:89
QFrame * myPlayLine
Definition: lgrVideoPrefPage.h:87
Utility class which provides access to multiple interfaces.
Definition: lgrFullInterface.h:25
QLabel * myPlayHostLabel
Definition: lgrVideoPrefPage.h:92
QLineEdit * myGStreamerPlayWindowLineEdit
Definition: lgrVideoPrefPage.h:112
QSpinBox * myPlayPortSpinBox
Definition: lgrVideoPrefPage.h:96
QHBoxLayout * myAdvancedLayout
Definition: lgrVideoPrefPage.h:104
QFrame * myAdvancedLine
Definition: lgrVideoPrefPage.h:106
QDoubleSpinBox * mySpeedFactorSpinBox
Definition: lgrVideoPrefPage.h:99
QDoubleSpinBox * myOffsetSpinBox
Definition: lgrVideoPrefPage.h:102
QLabel * myRecordPortLabel
Definition: lgrVideoPrefPage.h:82
QHBoxLayout * myPlayLayout
Definition: lgrVideoPrefPage.h:85
Contains MAKLogger::DtLgrGuiModel class.
QCheckBox * myRecordDefault
Definition: lgrVideoPrefPage.h:80
const DtLgrFullInterface * myInterface
Definition: lgrVideoPrefPage.h:74
QLabel * myPlayPortLabel
Definition: lgrVideoPrefPage.h:95
#define DT_DLL_LGRSIMGUI
Definition: lgrSimGui.h:21
QSpinBox * myRecordPort
Definition: lgrVideoPrefPage.h:83
QHBoxLayout * myRecordLayout
Definition: lgrVideoPrefPage.h:76
The network settings page for the preferences dialog.
Definition: lgrVideoPrefPage.h:28
QLabel * myAdvancedLabel
Definition: lgrVideoPrefPage.h:105
QLabel * myyGStreamerRecordLabel
Definition: lgrVideoPrefPage.h:108
QLabel * mySpeedFactorLabel
Definition: lgrVideoPrefPage.h:98
QLineEdit * myGStreamerPlayStreamLineEdit
Definition: lgrVideoPrefPage.h:115
QLabel * myyGStreamerPlayWindowLabel
Definition: lgrVideoPrefPage.h:111

Document ID: Generated on Mon Mar 22 15:30:17 EDT 2021 from SVN revision 226440
Copyright © 2021 MAK Technologies. All Rights Reserved (www.mak.com)