##// END OF EJS Templates
QDockWidgets used for the waveform displays...
admin@pc-p-leroy3.LAB-LPP.LOCAL -
r34:b602c6989615 default
parent child
Show More
@@ -1,342 +1,342
1 <?xml version="1.0" encoding="UTF-8"?>
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE QtCreatorProject>
2 <!DOCTYPE QtCreatorProject>
3 <!-- Written by Qt Creator 2.4.1, 2013-06-28T14:42:54. -->
3 <!-- Written by Qt Creator 2.4.1, 2013-07-03T17:10:59. -->
4 <qtcreator>
4 <qtcreator>
5 <data>
5 <data>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
7 <value type="int">0</value>
7 <value type="int">0</value>
8 </data>
8 </data>
9 <data>
9 <data>
10 <variable>ProjectExplorer.Project.EditorSettings</variable>
10 <variable>ProjectExplorer.Project.EditorSettings</variable>
11 <valuemap type="QVariantMap">
11 <valuemap type="QVariantMap">
12 <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
12 <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
13 <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
13 <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
14 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
14 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
15 <value type="QString" key="language">Cpp</value>
15 <value type="QString" key="language">Cpp</value>
16 <valuemap type="QVariantMap" key="value">
16 <valuemap type="QVariantMap" key="value">
17 <value type="QString" key="CurrentPreferences">CppGlobal</value>
17 <value type="QString" key="CurrentPreferences">CppGlobal</value>
18 </valuemap>
18 </valuemap>
19 </valuemap>
19 </valuemap>
20 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
20 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
21 <value type="QString" key="language">QmlJS</value>
21 <value type="QString" key="language">QmlJS</value>
22 <valuemap type="QVariantMap" key="value">
22 <valuemap type="QVariantMap" key="value">
23 <value type="QString" key="CurrentPreferences">QmlJSGlobal</value>
23 <value type="QString" key="CurrentPreferences">QmlJSGlobal</value>
24 </valuemap>
24 </valuemap>
25 </valuemap>
25 </valuemap>
26 <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
26 <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
27 <value type="QByteArray" key="EditorConfiguration.Codec">System</value>
27 <value type="QByteArray" key="EditorConfiguration.Codec">System</value>
28 <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
28 <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
29 <value type="int" key="EditorConfiguration.IndentSize">4</value>
29 <value type="int" key="EditorConfiguration.IndentSize">4</value>
30 <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
30 <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
31 <value type="int" key="EditorConfiguration.PaddingMode">1</value>
31 <value type="int" key="EditorConfiguration.PaddingMode">1</value>
32 <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
32 <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
33 <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
33 <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
34 <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
34 <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
35 <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
35 <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
36 <value type="int" key="EditorConfiguration.TabSize">8</value>
36 <value type="int" key="EditorConfiguration.TabSize">8</value>
37 <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
37 <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
38 <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
38 <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
39 <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
39 <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
40 <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
40 <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
41 <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
41 <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
42 <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
42 <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
43 </valuemap>
43 </valuemap>
44 </data>
44 </data>
45 <data>
45 <data>
46 <variable>ProjectExplorer.Project.PluginSettings</variable>
46 <variable>ProjectExplorer.Project.PluginSettings</variable>
47 <valuemap type="QVariantMap"/>
47 <valuemap type="QVariantMap"/>
48 </data>
48 </data>
49 <data>
49 <data>
50 <variable>ProjectExplorer.Project.Target.0</variable>
50 <variable>ProjectExplorer.Project.Target.0</variable>
51 <valuemap type="QVariantMap">
51 <valuemap type="QVariantMap">
52 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
52 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
53 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
53 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
54 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value>
54 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value>
55 <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
55 <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
56 <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
56 <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
57 <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
57 <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
58 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
58 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
59 <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value>
59 <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value>
60 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
60 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
61 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
61 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
62 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
62 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
63 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
63 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
64 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
64 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
65 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
65 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
66 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
66 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
67 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
67 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
68 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
68 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
69 </valuemap>
69 </valuemap>
70 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
70 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
71 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
71 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
72 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
72 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
73 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
73 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
74 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
74 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
75 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
75 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
76 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
76 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
77 </valuemap>
77 </valuemap>
78 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
78 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
79 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
79 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
80 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
80 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
81 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
81 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
82 </valuemap>
82 </valuemap>
83 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
83 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
84 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
84 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
85 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
85 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
86 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
86 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
87 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
87 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
88 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
88 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
89 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
89 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
90 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
90 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
91 </valuemap>
91 </valuemap>
92 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
92 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
93 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
93 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
94 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
94 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
95 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
95 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
96 </valuemap>
96 </valuemap>
97 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
97 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
98 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
98 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
99 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
99 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
100 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value>
100 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value>
101 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
101 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
102 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
102 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
103 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
103 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
104 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value>
104 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value>
105 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
105 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
106 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
106 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
107 </valuemap>
107 </valuemap>
108 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
108 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
109 <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value>
109 <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value>
110 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
110 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
111 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
111 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
112 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
112 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
115 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
115 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
116 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
116 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
117 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
117 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
118 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
118 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
119 </valuemap>
119 </valuemap>
120 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
120 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
121 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
121 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
122 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
122 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
123 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
123 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
124 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
124 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
125 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
125 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
126 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
126 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
127 </valuemap>
127 </valuemap>
128 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
128 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
129 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
129 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
130 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
130 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
131 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
131 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
132 </valuemap>
132 </valuemap>
133 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
133 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
134 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
134 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
135 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
135 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
136 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
136 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
137 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
137 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
138 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
138 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
139 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
139 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
140 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
140 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
141 </valuemap>
141 </valuemap>
142 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
142 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
143 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
143 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
144 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
144 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
145 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
145 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
146 </valuemap>
146 </valuemap>
147 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
147 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
148 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
148 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
149 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
149 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
150 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Debug</value>
150 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Debug</value>
151 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
151 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
152 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
152 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
153 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
153 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
154 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value>
154 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value>
155 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
155 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
156 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
156 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
157 </valuemap>
157 </valuemap>
158 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
158 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
159 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
159 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
160 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
160 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
161 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
161 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
162 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
162 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
163 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
163 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
164 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
164 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
165 </valuemap>
165 </valuemap>
166 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
166 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
167 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
167 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
168 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
168 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
169 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
169 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
170 </valuemap>
170 </valuemap>
171 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
171 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
172 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
172 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
173 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
173 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
174 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
174 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
175 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
175 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
176 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
176 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
177 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
177 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
178 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
178 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
179 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
179 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
180 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
180 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
181 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
181 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
182 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
182 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
183 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
183 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
184 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
184 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
185 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
185 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
186 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
186 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
187 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
187 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
188 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
188 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
189 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
189 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
190 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
190 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
191 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
191 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
192 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
192 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
193 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
193 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
194 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
194 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
195 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
195 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
196 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
196 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
197 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
197 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
198 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
198 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
199 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
199 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
200 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
200 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
201 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
201 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
202 <value type="int">0</value>
202 <value type="int">0</value>
203 <value type="int">1</value>
203 <value type="int">1</value>
204 <value type="int">2</value>
204 <value type="int">2</value>
205 <value type="int">3</value>
205 <value type="int">3</value>
206 <value type="int">4</value>
206 <value type="int">4</value>
207 <value type="int">5</value>
207 <value type="int">5</value>
208 <value type="int">6</value>
208 <value type="int">6</value>
209 <value type="int">7</value>
209 <value type="int">7</value>
210 <value type="int">8</value>
210 <value type="int">8</value>
211 <value type="int">9</value>
211 <value type="int">9</value>
212 <value type="int">10</value>
212 <value type="int">10</value>
213 <value type="int">11</value>
213 <value type="int">11</value>
214 <value type="int">12</value>
214 <value type="int">12</value>
215 <value type="int">13</value>
215 <value type="int">13</value>
216 <value type="int">14</value>
216 <value type="int">14</value>
217 </valuelist>
217 </valuelist>
218 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
218 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
219 <value type="int">0</value>
219 <value type="int">0</value>
220 <value type="int">1</value>
220 <value type="int">1</value>
221 <value type="int">2</value>
221 <value type="int">2</value>
222 <value type="int">3</value>
222 <value type="int">3</value>
223 <value type="int">4</value>
223 <value type="int">4</value>
224 <value type="int">5</value>
224 <value type="int">5</value>
225 <value type="int">6</value>
225 <value type="int">6</value>
226 <value type="int">7</value>
226 <value type="int">7</value>
227 <value type="int">8</value>
227 <value type="int">8</value>
228 <value type="int">9</value>
228 <value type="int">9</value>
229 <value type="int">10</value>
229 <value type="int">10</value>
230 <value type="int">11</value>
230 <value type="int">11</value>
231 <value type="int">12</value>
231 <value type="int">12</value>
232 <value type="int">13</value>
232 <value type="int">13</value>
233 <value type="int">14</value>
233 <value type="int">14</value>
234 </valuelist>
234 </valuelist>
235 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
235 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
236 <value type="int" key="ProjectExplorer.CustomExecutableRunConfiguration.BaseEnvironmentBase">2</value>
236 <value type="int" key="ProjectExplorer.CustomExecutableRunConfiguration.BaseEnvironmentBase">2</value>
237 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable">lppmon</value>
237 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable">lppmon</value>
238 <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value>
238 <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value>
239 <valuelist type="QVariantList" key="ProjectExplorer.CustomExecutableRunConfiguration.UserEnvironmentChanges"/>
239 <valuelist type="QVariantList" key="ProjectExplorer.CustomExecutableRunConfiguration.UserEnvironmentChanges"/>
240 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value>
240 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value>
241 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Run lppmon</value>
241 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Run lppmon</value>
242 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
242 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
243 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
243 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
244 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
244 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
245 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
245 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
246 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
246 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
247 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
247 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
248 </valuemap>
248 </valuemap>
249 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.1">
249 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.1">
250 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
250 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
251 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
251 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
252 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
252 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
253 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
253 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
254 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
254 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
255 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
255 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
256 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
256 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
257 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
257 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
258 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
258 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
259 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
259 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
260 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
260 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
261 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
261 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
262 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
262 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
263 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
263 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
264 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
264 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
265 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
265 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
266 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
266 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
267 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
267 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
268 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
268 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
269 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
269 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
270 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
270 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
271 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
271 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
272 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
272 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
273 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
273 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
274 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
274 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
275 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
275 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
276 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
276 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
277 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
277 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
278 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
278 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
279 <value type="int">0</value>
279 <value type="int">0</value>
280 <value type="int">1</value>
280 <value type="int">1</value>
281 <value type="int">2</value>
281 <value type="int">2</value>
282 <value type="int">3</value>
282 <value type="int">3</value>
283 <value type="int">4</value>
283 <value type="int">4</value>
284 <value type="int">5</value>
284 <value type="int">5</value>
285 <value type="int">6</value>
285 <value type="int">6</value>
286 <value type="int">7</value>
286 <value type="int">7</value>
287 <value type="int">8</value>
287 <value type="int">8</value>
288 <value type="int">9</value>
288 <value type="int">9</value>
289 <value type="int">10</value>
289 <value type="int">10</value>
290 <value type="int">11</value>
290 <value type="int">11</value>
291 <value type="int">12</value>
291 <value type="int">12</value>
292 <value type="int">13</value>
292 <value type="int">13</value>
293 <value type="int">14</value>
293 <value type="int">14</value>
294 </valuelist>
294 </valuelist>
295 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
295 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
296 <value type="int">0</value>
296 <value type="int">0</value>
297 <value type="int">1</value>
297 <value type="int">1</value>
298 <value type="int">2</value>
298 <value type="int">2</value>
299 <value type="int">3</value>
299 <value type="int">3</value>
300 <value type="int">4</value>
300 <value type="int">4</value>
301 <value type="int">5</value>
301 <value type="int">5</value>
302 <value type="int">6</value>
302 <value type="int">6</value>
303 <value type="int">7</value>
303 <value type="int">7</value>
304 <value type="int">8</value>
304 <value type="int">8</value>
305 <value type="int">9</value>
305 <value type="int">9</value>
306 <value type="int">10</value>
306 <value type="int">10</value>
307 <value type="int">11</value>
307 <value type="int">11</value>
308 <value type="int">12</value>
308 <value type="int">12</value>
309 <value type="int">13</value>
309 <value type="int">13</value>
310 <value type="int">14</value>
310 <value type="int">14</value>
311 </valuelist>
311 </valuelist>
312 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">spwtimegenerator</value>
312 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">spwtimegenerator</value>
313 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
313 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
314 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value>
314 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value>
315 <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value>
315 <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value>
316 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
316 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
317 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">spwtimegenerator/spwtimegenerator/spwtimegenerator.pro</value>
317 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">spwtimegenerator/spwtimegenerator/spwtimegenerator.pro</value>
318 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
318 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
319 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
319 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
320 <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/>
320 <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/>
321 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
321 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
322 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
322 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
323 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
323 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
324 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
324 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
325 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
325 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
326 </valuemap>
326 </valuemap>
327 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">2</value>
327 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">2</value>
328 </valuemap>
328 </valuemap>
329 </data>
329 </data>
330 <data>
330 <data>
331 <variable>ProjectExplorer.Project.TargetCount</variable>
331 <variable>ProjectExplorer.Project.TargetCount</variable>
332 <value type="int">1</value>
332 <value type="int">1</value>
333 </data>
333 </data>
334 <data>
334 <data>
335 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
335 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
336 <value type="QString">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value>
336 <value type="QString">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value>
337 </data>
337 </data>
338 <data>
338 <data>
339 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
339 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
340 <value type="int">10</value>
340 <value type="int">10</value>
341 </data>
341 </data>
342 </qtcreator>
342 </qtcreator>
@@ -1,378 +1,382
1 #############################################################################
1 #############################################################################
2 # Makefile for building: lfrsgse
2 # Makefile for building: lfrsgse
3 # Generated by qmake (2.01a) (Qt 4.8.4) on: Fri Jun 28 15:45:35 2013
3 # Generated by qmake (2.01a) (Qt 4.8.4) on: Thu Jul 4 10:56:56 2013
4 # Project: gselesia.pro
4 # Project: gselesia.pro
5 # Template: app
5 # Template: app
6 # Command: /usr/bin/qmake-qt4 -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile gselesia.pro
6 # Command: /usr/bin/qmake-qt4 -spec /usr/lib64/qt4/mkspecs/linux-g++ CONFIG+=debug CONFIG+=declarative_debug -o Makefile gselesia.pro
7 #############################################################################
7 #############################################################################
8
8
9 ####### Compiler, tools and options
9 ####### Compiler, tools and options
10
10
11 CC = gcc
11 CC = gcc
12 CXX = g++
12 CXX = g++
13 DEFINES = -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
13 DEFINES = -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
14 CFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT $(DEFINES)
14 CFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
15 CXXFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT $(DEFINES)
15 CXXFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
16 INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -I../common_PLE -I../rmapplugin -I../../DEV_PLE/header -I/usr/include/lppmon/common -I/usr/include/lppmon/wfdisplay -I.
16 INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -I../common_PLE -I../rmapplugin -I../../DEV_PLE/header -I/usr/include/lppmon/common -I/usr/include/lppmon/wfdisplay -I.
17 LINK = g++
17 LINK = g++
18 LFLAGS = -Wl,-O1 -Wl,-z,relro
18 LFLAGS =
19 LIBS = $(SUBLIBS) -L/usr/lib64 -llppmoncommon -lwfdisplay -lqwt5-qt4 -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread
19 LIBS = $(SUBLIBS) -L/usr/lib64 -llppmoncommon -lwfdisplay -lqwt5-qt4 -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread
20 AR = ar cqs
20 AR = ar cqs
21 RANLIB =
21 RANLIB =
22 QMAKE = /usr/bin/qmake-qt4
22 QMAKE = /usr/bin/qmake-qt4
23 TAR = tar -cf
23 TAR = tar -cf
24 COMPRESS = gzip -9f
24 COMPRESS = gzip -9f
25 COPY = cp -f
25 COPY = cp -f
26 SED = sed
26 SED = sed
27 COPY_FILE = $(COPY)
27 COPY_FILE = $(COPY)
28 COPY_DIR = $(COPY) -r
28 COPY_DIR = $(COPY) -r
29 STRIP =
29 STRIP =
30 INSTALL_FILE = install -m 644 -p
30 INSTALL_FILE = install -m 644 -p
31 INSTALL_DIR = $(COPY_DIR)
31 INSTALL_DIR = $(COPY_DIR)
32 INSTALL_PROGRAM = install -m 755 -p
32 INSTALL_PROGRAM = install -m 755 -p
33 DEL_FILE = rm -f
33 DEL_FILE = rm -f
34 SYMLINK = ln -f -s
34 SYMLINK = ln -f -s
35 DEL_DIR = rmdir
35 DEL_DIR = rmdir
36 MOVE = mv -f
36 MOVE = mv -f
37 CHK_DIR_EXISTS= test -d
37 CHK_DIR_EXISTS= test -d
38 MKDIR = mkdir -p
38 MKDIR = mkdir -p
39
39
40 ####### Output directory
40 ####### Output directory
41
41
42 OBJECTS_DIR = ./
42 OBJECTS_DIR = ./
43
43
44 ####### Files
44 ####### Files
45
45
46 SOURCES = main.cpp \
46 SOURCES = main.cpp \
47 mainwindow.cpp \
47 mainwindow.cpp \
48 mainwindowui.cpp \
48 mainwindowui.cpp \
49 ../common_PLE/qipdialogbox.cpp \
49 ../common_PLE/qipdialogbox.cpp \
50 lfrxmlhandler.cpp \
50 lfrxmlhandler.cpp \
51 lfrxmlwriter.cpp \
51 lfrxmlwriter.cpp \
52 ../rmapplugin/tmstatistics.cpp \
52 ../rmapplugin/tmstatistics.cpp \
53 ../rmapplugin/tmpackettoread.cpp \
53 ../rmapplugin/tmpackettoread.cpp \
54 ../rmapplugin/wfpacket.cpp \
54 ../rmapplugin/wfpacket.cpp \
55 ../common_PLE/hkdisplay.cpp \
55 ../common_PLE/hkdisplay.cpp \
56 lfrxmlparser.cpp \
56 lfrxmlparser.cpp \
57 lfrspectrogram.cpp moc_mainwindow.cpp \
57 lfrspectrogram.cpp moc_mainwindow.cpp \
58 moc_mainwindowui.cpp \
58 moc_mainwindowui.cpp \
59 moc_qipdialogbox.cpp \
59 moc_qipdialogbox.cpp \
60 moc_lfrxmlhandler.cpp \
60 moc_lfrxmlhandler.cpp \
61 moc_lfrxmlwriter.cpp \
61 moc_lfrxmlwriter.cpp \
62 moc_tmstatistics.cpp \
62 moc_tmstatistics.cpp \
63 moc_tmpackettoread.cpp \
63 moc_tmpackettoread.cpp \
64 moc_wfpacket.cpp \
64 moc_wfpacket.cpp \
65 moc_hkdisplay.cpp \
65 moc_hkdisplay.cpp \
66 moc_lfrxmlparser.cpp \
66 moc_lfrxmlparser.cpp \
67 moc_lfrspectrogram.cpp
67 moc_lfrspectrogram.cpp
68 OBJECTS = main.o \
68 OBJECTS = main.o \
69 mainwindow.o \
69 mainwindow.o \
70 mainwindowui.o \
70 mainwindowui.o \
71 qipdialogbox.o \
71 qipdialogbox.o \
72 lfrxmlhandler.o \
72 lfrxmlhandler.o \
73 lfrxmlwriter.o \
73 lfrxmlwriter.o \
74 tmstatistics.o \
74 tmstatistics.o \
75 tmpackettoread.o \
75 tmpackettoread.o \
76 wfpacket.o \
76 wfpacket.o \
77 hkdisplay.o \
77 hkdisplay.o \
78 lfrxmlparser.o \
78 lfrxmlparser.o \
79 lfrspectrogram.o \
79 lfrspectrogram.o \
80 moc_mainwindow.o \
80 moc_mainwindow.o \
81 moc_mainwindowui.o \
81 moc_mainwindowui.o \
82 moc_qipdialogbox.o \
82 moc_qipdialogbox.o \
83 moc_lfrxmlhandler.o \
83 moc_lfrxmlhandler.o \
84 moc_lfrxmlwriter.o \
84 moc_lfrxmlwriter.o \
85 moc_tmstatistics.o \
85 moc_tmstatistics.o \
86 moc_tmpackettoread.o \
86 moc_tmpackettoread.o \
87 moc_wfpacket.o \
87 moc_wfpacket.o \
88 moc_hkdisplay.o \
88 moc_hkdisplay.o \
89 moc_lfrxmlparser.o \
89 moc_lfrxmlparser.o \
90 moc_lfrspectrogram.o
90 moc_lfrspectrogram.o
91 DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \
91 DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \
92 /usr/lib64/qt4/mkspecs/common/linux.conf \
92 /usr/lib64/qt4/mkspecs/common/linux.conf \
93 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
93 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
94 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
94 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
95 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
95 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
96 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
96 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
97 /usr/lib64/qt4/mkspecs/qconfig.pri \
97 /usr/lib64/qt4/mkspecs/qconfig.pri \
98 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
98 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
99 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
99 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
100 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
100 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
101 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
101 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
102 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
102 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
103 /usr/lib64/qt4/mkspecs/features/release.prf \
103 /usr/lib64/qt4/mkspecs/features/debug.prf \
104 /usr/lib64/qt4/mkspecs/features/default_post.prf \
104 /usr/lib64/qt4/mkspecs/features/default_post.prf \
105 /usr/lib64/qt4/mkspecs/features/declarative_debug.prf \
105 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
106 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
106 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
107 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
107 /usr/lib64/qt4/mkspecs/features/qt.prf \
108 /usr/lib64/qt4/mkspecs/features/qt.prf \
108 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
109 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
109 /usr/lib64/qt4/mkspecs/features/moc.prf \
110 /usr/lib64/qt4/mkspecs/features/moc.prf \
110 /usr/lib64/qt4/mkspecs/features/resources.prf \
111 /usr/lib64/qt4/mkspecs/features/resources.prf \
111 /usr/lib64/qt4/mkspecs/features/uic.prf \
112 /usr/lib64/qt4/mkspecs/features/uic.prf \
112 /usr/lib64/qt4/mkspecs/features/yacc.prf \
113 /usr/lib64/qt4/mkspecs/features/yacc.prf \
113 /usr/lib64/qt4/mkspecs/features/lex.prf \
114 /usr/lib64/qt4/mkspecs/features/lex.prf \
114 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
115 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
115 gselesia.pro
116 gselesia.pro
116 QMAKE_TARGET = lfrsgse
117 QMAKE_TARGET = lfrsgse
117 DESTDIR =
118 DESTDIR =
118 TARGET = lfrsgse
119 TARGET = lfrsgse
119
120
120 first: all
121 first: all
121 ####### Implicit rules
122 ####### Implicit rules
122
123
123 .SUFFIXES: .o .c .cpp .cc .cxx .C
124 .SUFFIXES: .o .c .cpp .cc .cxx .C
124
125
125 .cpp.o:
126 .cpp.o:
126 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
127 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
127
128
128 .cc.o:
129 .cc.o:
129 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
130 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
130
131
131 .cxx.o:
132 .cxx.o:
132 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
133 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
133
134
134 .C.o:
135 .C.o:
135 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
136 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
136
137
137 .c.o:
138 .c.o:
138 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
139 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
139
140
140 ####### Build rules
141 ####### Build rules
141
142
142 all: Makefile $(TARGET)
143 all: Makefile $(TARGET)
143
144
144 $(TARGET): $(OBJECTS)
145 $(TARGET): $(OBJECTS)
145 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
146 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
147 { test -n "$(DESTDIR)" && DESTDIR="$(DESTDIR)" || DESTDIR=.; } && test $$(gdb --version | sed -e 's,[^0-9]\+\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index $$DESTDIR" -ex quit '$(TARGET)' && test -f $(TARGET).gdb-index && objcopy --add-section '.gdb_index=$(TARGET).gdb-index' --set-section-flags '.gdb_index=readonly' '$(TARGET)' '$(TARGET)' && rm -f $(TARGET).gdb-index || true
146
148
147 Makefile: gselesia.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \
149 Makefile: gselesia.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \
148 /usr/lib64/qt4/mkspecs/common/linux.conf \
150 /usr/lib64/qt4/mkspecs/common/linux.conf \
149 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
151 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
150 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
152 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
151 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
153 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
152 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
154 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
153 /usr/lib64/qt4/mkspecs/qconfig.pri \
155 /usr/lib64/qt4/mkspecs/qconfig.pri \
154 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
156 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
155 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
157 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
156 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
158 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
157 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
159 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
158 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
160 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
159 /usr/lib64/qt4/mkspecs/features/release.prf \
161 /usr/lib64/qt4/mkspecs/features/debug.prf \
160 /usr/lib64/qt4/mkspecs/features/default_post.prf \
162 /usr/lib64/qt4/mkspecs/features/default_post.prf \
163 /usr/lib64/qt4/mkspecs/features/declarative_debug.prf \
161 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
164 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
162 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
165 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
163 /usr/lib64/qt4/mkspecs/features/qt.prf \
166 /usr/lib64/qt4/mkspecs/features/qt.prf \
164 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
167 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
165 /usr/lib64/qt4/mkspecs/features/moc.prf \
168 /usr/lib64/qt4/mkspecs/features/moc.prf \
166 /usr/lib64/qt4/mkspecs/features/resources.prf \
169 /usr/lib64/qt4/mkspecs/features/resources.prf \
167 /usr/lib64/qt4/mkspecs/features/uic.prf \
170 /usr/lib64/qt4/mkspecs/features/uic.prf \
168 /usr/lib64/qt4/mkspecs/features/yacc.prf \
171 /usr/lib64/qt4/mkspecs/features/yacc.prf \
169 /usr/lib64/qt4/mkspecs/features/lex.prf \
172 /usr/lib64/qt4/mkspecs/features/lex.prf \
170 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
173 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
171 /usr/lib64/libQtXml.prl \
174 /usr/lib64/libQtXml.prl \
172 /usr/lib64/libQtCore.prl \
175 /usr/lib64/libQtCore.prl \
173 /usr/lib64/libQtGui.prl \
176 /usr/lib64/libQtGui.prl \
174 /usr/lib64/libQtNetwork.prl
177 /usr/lib64/libQtNetwork.prl
175 $(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile gselesia.pro
178 $(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ CONFIG+=debug CONFIG+=declarative_debug -o Makefile gselesia.pro
176 /usr/lib64/qt4/mkspecs/common/unix.conf:
179 /usr/lib64/qt4/mkspecs/common/unix.conf:
177 /usr/lib64/qt4/mkspecs/common/linux.conf:
180 /usr/lib64/qt4/mkspecs/common/linux.conf:
178 /usr/lib64/qt4/mkspecs/common/gcc-base.conf:
181 /usr/lib64/qt4/mkspecs/common/gcc-base.conf:
179 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf:
182 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf:
180 /usr/lib64/qt4/mkspecs/common/g++-base.conf:
183 /usr/lib64/qt4/mkspecs/common/g++-base.conf:
181 /usr/lib64/qt4/mkspecs/common/g++-unix.conf:
184 /usr/lib64/qt4/mkspecs/common/g++-unix.conf:
182 /usr/lib64/qt4/mkspecs/qconfig.pri:
185 /usr/lib64/qt4/mkspecs/qconfig.pri:
183 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri:
186 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri:
184 /usr/lib64/qt4/mkspecs/features/qt_functions.prf:
187 /usr/lib64/qt4/mkspecs/features/qt_functions.prf:
185 /usr/lib64/qt4/mkspecs/features/qt_config.prf:
188 /usr/lib64/qt4/mkspecs/features/qt_config.prf:
186 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf:
189 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf:
187 /usr/lib64/qt4/mkspecs/features/default_pre.prf:
190 /usr/lib64/qt4/mkspecs/features/default_pre.prf:
188 /usr/lib64/qt4/mkspecs/features/release.prf:
191 /usr/lib64/qt4/mkspecs/features/debug.prf:
189 /usr/lib64/qt4/mkspecs/features/default_post.prf:
192 /usr/lib64/qt4/mkspecs/features/default_post.prf:
193 /usr/lib64/qt4/mkspecs/features/declarative_debug.prf:
190 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
194 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
191 /usr/lib64/qt4/mkspecs/features/warn_on.prf:
195 /usr/lib64/qt4/mkspecs/features/warn_on.prf:
192 /usr/lib64/qt4/mkspecs/features/qt.prf:
196 /usr/lib64/qt4/mkspecs/features/qt.prf:
193 /usr/lib64/qt4/mkspecs/features/unix/thread.prf:
197 /usr/lib64/qt4/mkspecs/features/unix/thread.prf:
194 /usr/lib64/qt4/mkspecs/features/moc.prf:
198 /usr/lib64/qt4/mkspecs/features/moc.prf:
195 /usr/lib64/qt4/mkspecs/features/resources.prf:
199 /usr/lib64/qt4/mkspecs/features/resources.prf:
196 /usr/lib64/qt4/mkspecs/features/uic.prf:
200 /usr/lib64/qt4/mkspecs/features/uic.prf:
197 /usr/lib64/qt4/mkspecs/features/yacc.prf:
201 /usr/lib64/qt4/mkspecs/features/yacc.prf:
198 /usr/lib64/qt4/mkspecs/features/lex.prf:
202 /usr/lib64/qt4/mkspecs/features/lex.prf:
199 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf:
203 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf:
200 /usr/lib64/libQtXml.prl:
204 /usr/lib64/libQtXml.prl:
201 /usr/lib64/libQtCore.prl:
205 /usr/lib64/libQtCore.prl:
202 /usr/lib64/libQtGui.prl:
206 /usr/lib64/libQtGui.prl:
203 /usr/lib64/libQtNetwork.prl:
207 /usr/lib64/libQtNetwork.prl:
204 qmake: FORCE
208 qmake: FORCE
205 @$(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile gselesia.pro
209 @$(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ CONFIG+=debug CONFIG+=declarative_debug -o Makefile gselesia.pro
206
210
207 dist:
211 dist:
208 @$(CHK_DIR_EXISTS) .tmp/lfrsgse1.0.0 || $(MKDIR) .tmp/lfrsgse1.0.0
212 @$(CHK_DIR_EXISTS) .tmp/lfrsgse1.0.0 || $(MKDIR) .tmp/lfrsgse1.0.0
209 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents mainwindow.h mainwindowui.h ../common_PLE/qipdialogbox.h lfrxmlhandler.h lfrxmlwriter.h ../rmapplugin/tmstatistics.h ../rmapplugin/tmpackettoread.h ../rmapplugin/wfpacket.h ../common_PLE/hkdisplay.h ../rmapplugin/params.h ../../DEV_PLE/header/ccsds_types.h lfrxmlparser.h lfrspectrogram.h .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp mainwindowui.cpp ../common_PLE/qipdialogbox.cpp lfrxmlhandler.cpp lfrxmlwriter.cpp ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmpackettoread.cpp ../rmapplugin/wfpacket.cpp ../common_PLE/hkdisplay.cpp lfrxmlparser.cpp lfrspectrogram.cpp .tmp/lfrsgse1.0.0/ && (cd `dirname .tmp/lfrsgse1.0.0` && $(TAR) lfrsgse1.0.0.tar lfrsgse1.0.0 && $(COMPRESS) lfrsgse1.0.0.tar) && $(MOVE) `dirname .tmp/lfrsgse1.0.0`/lfrsgse1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/lfrsgse1.0.0
213 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents mainwindow.h mainwindowui.h ../common_PLE/qipdialogbox.h lfrxmlhandler.h lfrxmlwriter.h ../rmapplugin/tmstatistics.h ../rmapplugin/tmpackettoread.h ../rmapplugin/wfpacket.h ../common_PLE/hkdisplay.h ../rmapplugin/params.h ../../DEV_PLE/header/ccsds_types.h lfrxmlparser.h lfrspectrogram.h .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp mainwindowui.cpp ../common_PLE/qipdialogbox.cpp lfrxmlhandler.cpp lfrxmlwriter.cpp ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmpackettoread.cpp ../rmapplugin/wfpacket.cpp ../common_PLE/hkdisplay.cpp lfrxmlparser.cpp lfrspectrogram.cpp .tmp/lfrsgse1.0.0/ && (cd `dirname .tmp/lfrsgse1.0.0` && $(TAR) lfrsgse1.0.0.tar lfrsgse1.0.0 && $(COMPRESS) lfrsgse1.0.0.tar) && $(MOVE) `dirname .tmp/lfrsgse1.0.0`/lfrsgse1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/lfrsgse1.0.0
210
214
211
215
212 clean:compiler_clean
216 clean:compiler_clean
213 -$(DEL_FILE) $(OBJECTS)
217 -$(DEL_FILE) $(OBJECTS)
214 -$(DEL_FILE) *~ core *.core
218 -$(DEL_FILE) *~ core *.core
215
219
216
220
217 ####### Sub-libraries
221 ####### Sub-libraries
218
222
219 distclean: clean
223 distclean: clean
220 -$(DEL_FILE) $(TARGET)
224 -$(DEL_FILE) $(TARGET)
221 -$(DEL_FILE) Makefile
225 -$(DEL_FILE) Makefile
222
226
223
227
224 check: first
228 check: first
225
229
226 mocclean: compiler_moc_header_clean compiler_moc_source_clean
230 mocclean: compiler_moc_header_clean compiler_moc_source_clean
227
231
228 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
232 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
229
233
230 compiler_moc_header_make_all: moc_mainwindow.cpp moc_mainwindowui.cpp moc_qipdialogbox.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp moc_lfrspectrogram.cpp
234 compiler_moc_header_make_all: moc_mainwindow.cpp moc_mainwindowui.cpp moc_qipdialogbox.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp moc_lfrspectrogram.cpp
231 compiler_moc_header_clean:
235 compiler_moc_header_clean:
232 -$(DEL_FILE) moc_mainwindow.cpp moc_mainwindowui.cpp moc_qipdialogbox.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp moc_lfrspectrogram.cpp
236 -$(DEL_FILE) moc_mainwindow.cpp moc_mainwindowui.cpp moc_qipdialogbox.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp moc_lfrspectrogram.cpp
233 moc_mainwindow.cpp: lfrxmlhandler.h \
237 moc_mainwindow.cpp: lfrxmlhandler.h \
234 lfrxmlwriter.h \
238 lfrxmlwriter.h \
235 mainwindowui.h \
239 mainwindowui.h \
236 lfrspectrogram.h \
240 lfrspectrogram.h \
237 lfrxmlparser.h \
241 lfrxmlparser.h \
238 mainwindow.h
242 mainwindow.h
239 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
243 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
240
244
241 moc_mainwindowui.cpp: lfrspectrogram.h \
245 moc_mainwindowui.cpp: lfrspectrogram.h \
242 mainwindowui.h
246 mainwindowui.h
243 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindowui.h -o moc_mainwindowui.cpp
247 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindowui.h -o moc_mainwindowui.cpp
244
248
245 moc_qipdialogbox.cpp: ../common_PLE/qipdialogbox.h
249 moc_qipdialogbox.cpp: ../common_PLE/qipdialogbox.h
246 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/qipdialogbox.h -o moc_qipdialogbox.cpp
250 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/qipdialogbox.h -o moc_qipdialogbox.cpp
247
251
248 moc_lfrxmlhandler.cpp: lfrxmlhandler.h
252 moc_lfrxmlhandler.cpp: lfrxmlhandler.h
249 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlhandler.h -o moc_lfrxmlhandler.cpp
253 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlhandler.h -o moc_lfrxmlhandler.cpp
250
254
251 moc_lfrxmlwriter.cpp: lfrxmlwriter.h
255 moc_lfrxmlwriter.cpp: lfrxmlwriter.h
252 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlwriter.h -o moc_lfrxmlwriter.cpp
256 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlwriter.h -o moc_lfrxmlwriter.cpp
253
257
254 moc_tmstatistics.cpp: ../rmapplugin/tmstatistics.h
258 moc_tmstatistics.cpp: ../rmapplugin/tmstatistics.h
255 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmstatistics.h -o moc_tmstatistics.cpp
259 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmstatistics.h -o moc_tmstatistics.cpp
256
260
257 moc_tmpackettoread.cpp: ../rmapplugin/tmpackettoread.h
261 moc_tmpackettoread.cpp: ../rmapplugin/tmpackettoread.h
258 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmpackettoread.h -o moc_tmpackettoread.cpp
262 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmpackettoread.h -o moc_tmpackettoread.cpp
259
263
260 moc_wfpacket.cpp: ../rmapplugin/wfpacket.h
264 moc_wfpacket.cpp: ../rmapplugin/wfpacket.h
261 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/wfpacket.h -o moc_wfpacket.cpp
265 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/wfpacket.h -o moc_wfpacket.cpp
262
266
263 moc_hkdisplay.cpp: ../common_PLE/hkdisplay.h
267 moc_hkdisplay.cpp: ../common_PLE/hkdisplay.h
264 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/hkdisplay.h -o moc_hkdisplay.cpp
268 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/hkdisplay.h -o moc_hkdisplay.cpp
265
269
266 moc_lfrxmlparser.cpp: lfrxmlparser.h
270 moc_lfrxmlparser.cpp: lfrxmlparser.h
267 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlparser.h -o moc_lfrxmlparser.cpp
271 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlparser.h -o moc_lfrxmlparser.cpp
268
272
269 moc_lfrspectrogram.cpp: lfrspectrogram.h
273 moc_lfrspectrogram.cpp: lfrspectrogram.h
270 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrspectrogram.h -o moc_lfrspectrogram.cpp
274 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrspectrogram.h -o moc_lfrspectrogram.cpp
271
275
272 compiler_rcc_make_all:
276 compiler_rcc_make_all:
273 compiler_rcc_clean:
277 compiler_rcc_clean:
274 compiler_image_collection_make_all: qmake_image_collection.cpp
278 compiler_image_collection_make_all: qmake_image_collection.cpp
275 compiler_image_collection_clean:
279 compiler_image_collection_clean:
276 -$(DEL_FILE) qmake_image_collection.cpp
280 -$(DEL_FILE) qmake_image_collection.cpp
277 compiler_moc_source_make_all:
281 compiler_moc_source_make_all:
278 compiler_moc_source_clean:
282 compiler_moc_source_clean:
279 compiler_uic_make_all:
283 compiler_uic_make_all:
280 compiler_uic_clean:
284 compiler_uic_clean:
281 compiler_yacc_decl_make_all:
285 compiler_yacc_decl_make_all:
282 compiler_yacc_decl_clean:
286 compiler_yacc_decl_clean:
283 compiler_yacc_impl_make_all:
287 compiler_yacc_impl_make_all:
284 compiler_yacc_impl_clean:
288 compiler_yacc_impl_clean:
285 compiler_lex_make_all:
289 compiler_lex_make_all:
286 compiler_lex_clean:
290 compiler_lex_clean:
287 compiler_clean: compiler_moc_header_clean
291 compiler_clean: compiler_moc_header_clean
288
292
289 ####### Compile
293 ####### Compile
290
294
291 main.o: main.cpp mainwindow.h \
295 main.o: main.cpp mainwindow.h \
292 lfrxmlhandler.h \
296 lfrxmlhandler.h \
293 lfrxmlwriter.h \
297 lfrxmlwriter.h \
294 mainwindowui.h \
298 mainwindowui.h \
295 lfrspectrogram.h \
299 lfrspectrogram.h \
296 lfrxmlparser.h
300 lfrxmlparser.h
297 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
301 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
298
302
299 mainwindow.o: mainwindow.cpp mainwindow.h \
303 mainwindow.o: mainwindow.cpp mainwindow.h \
300 lfrxmlhandler.h \
304 lfrxmlhandler.h \
301 lfrxmlwriter.h \
305 lfrxmlwriter.h \
302 mainwindowui.h \
306 mainwindowui.h \
303 lfrspectrogram.h \
307 lfrspectrogram.h \
304 lfrxmlparser.h
308 lfrxmlparser.h
305 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
309 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
306
310
307 mainwindowui.o: mainwindowui.cpp mainwindowui.h \
311 mainwindowui.o: mainwindowui.cpp mainwindowui.h \
308 lfrspectrogram.h
312 lfrspectrogram.h
309 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindowui.o mainwindowui.cpp
313 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindowui.o mainwindowui.cpp
310
314
311 qipdialogbox.o: ../common_PLE/qipdialogbox.cpp ../common_PLE/qipdialogbox.h
315 qipdialogbox.o: ../common_PLE/qipdialogbox.cpp ../common_PLE/qipdialogbox.h
312 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qipdialogbox.o ../common_PLE/qipdialogbox.cpp
316 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qipdialogbox.o ../common_PLE/qipdialogbox.cpp
313
317
314 lfrxmlhandler.o: lfrxmlhandler.cpp lfrxmlhandler.h
318 lfrxmlhandler.o: lfrxmlhandler.cpp lfrxmlhandler.h
315 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlhandler.o lfrxmlhandler.cpp
319 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlhandler.o lfrxmlhandler.cpp
316
320
317 lfrxmlwriter.o: lfrxmlwriter.cpp lfrxmlwriter.h
321 lfrxmlwriter.o: lfrxmlwriter.cpp lfrxmlwriter.h
318 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlwriter.o lfrxmlwriter.cpp
322 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlwriter.o lfrxmlwriter.cpp
319
323
320 tmstatistics.o: ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmstatistics.h
324 tmstatistics.o: ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmstatistics.h
321 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmstatistics.o ../rmapplugin/tmstatistics.cpp
325 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmstatistics.o ../rmapplugin/tmstatistics.cpp
322
326
323 tmpackettoread.o: ../rmapplugin/tmpackettoread.cpp ../rmapplugin/tmpackettoread.h
327 tmpackettoread.o: ../rmapplugin/tmpackettoread.cpp ../rmapplugin/tmpackettoread.h
324 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmpackettoread.o ../rmapplugin/tmpackettoread.cpp
328 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmpackettoread.o ../rmapplugin/tmpackettoread.cpp
325
329
326 wfpacket.o: ../rmapplugin/wfpacket.cpp ../rmapplugin/wfpacket.h
330 wfpacket.o: ../rmapplugin/wfpacket.cpp ../rmapplugin/wfpacket.h
327 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpacket.o ../rmapplugin/wfpacket.cpp
331 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpacket.o ../rmapplugin/wfpacket.cpp
328
332
329 hkdisplay.o: ../common_PLE/hkdisplay.cpp ../common_PLE/hkdisplay.h
333 hkdisplay.o: ../common_PLE/hkdisplay.cpp ../common_PLE/hkdisplay.h
330 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o hkdisplay.o ../common_PLE/hkdisplay.cpp
334 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o hkdisplay.o ../common_PLE/hkdisplay.cpp
331
335
332 lfrxmlparser.o: lfrxmlparser.cpp lfrxmlparser.h
336 lfrxmlparser.o: lfrxmlparser.cpp lfrxmlparser.h
333 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlparser.o lfrxmlparser.cpp
337 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlparser.o lfrxmlparser.cpp
334
338
335 lfrspectrogram.o: lfrspectrogram.cpp lfrspectrogram.h
339 lfrspectrogram.o: lfrspectrogram.cpp lfrspectrogram.h
336 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrspectrogram.o lfrspectrogram.cpp
340 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrspectrogram.o lfrspectrogram.cpp
337
341
338 moc_mainwindow.o: moc_mainwindow.cpp
342 moc_mainwindow.o: moc_mainwindow.cpp
339 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
343 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
340
344
341 moc_mainwindowui.o: moc_mainwindowui.cpp
345 moc_mainwindowui.o: moc_mainwindowui.cpp
342 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindowui.o moc_mainwindowui.cpp
346 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindowui.o moc_mainwindowui.cpp
343
347
344 moc_qipdialogbox.o: moc_qipdialogbox.cpp
348 moc_qipdialogbox.o: moc_qipdialogbox.cpp
345 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qipdialogbox.o moc_qipdialogbox.cpp
349 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qipdialogbox.o moc_qipdialogbox.cpp
346
350
347 moc_lfrxmlhandler.o: moc_lfrxmlhandler.cpp
351 moc_lfrxmlhandler.o: moc_lfrxmlhandler.cpp
348 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlhandler.o moc_lfrxmlhandler.cpp
352 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlhandler.o moc_lfrxmlhandler.cpp
349
353
350 moc_lfrxmlwriter.o: moc_lfrxmlwriter.cpp
354 moc_lfrxmlwriter.o: moc_lfrxmlwriter.cpp
351 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlwriter.o moc_lfrxmlwriter.cpp
355 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlwriter.o moc_lfrxmlwriter.cpp
352
356
353 moc_tmstatistics.o: moc_tmstatistics.cpp
357 moc_tmstatistics.o: moc_tmstatistics.cpp
354 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmstatistics.o moc_tmstatistics.cpp
358 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmstatistics.o moc_tmstatistics.cpp
355
359
356 moc_tmpackettoread.o: moc_tmpackettoread.cpp
360 moc_tmpackettoread.o: moc_tmpackettoread.cpp
357 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmpackettoread.o moc_tmpackettoread.cpp
361 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmpackettoread.o moc_tmpackettoread.cpp
358
362
359 moc_wfpacket.o: moc_wfpacket.cpp
363 moc_wfpacket.o: moc_wfpacket.cpp
360 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpacket.o moc_wfpacket.cpp
364 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpacket.o moc_wfpacket.cpp
361
365
362 moc_hkdisplay.o: moc_hkdisplay.cpp
366 moc_hkdisplay.o: moc_hkdisplay.cpp
363 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_hkdisplay.o moc_hkdisplay.cpp
367 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_hkdisplay.o moc_hkdisplay.cpp
364
368
365 moc_lfrxmlparser.o: moc_lfrxmlparser.cpp
369 moc_lfrxmlparser.o: moc_lfrxmlparser.cpp
366 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlparser.o moc_lfrxmlparser.cpp
370 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlparser.o moc_lfrxmlparser.cpp
367
371
368 moc_lfrspectrogram.o: moc_lfrspectrogram.cpp
372 moc_lfrspectrogram.o: moc_lfrspectrogram.cpp
369 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrspectrogram.o moc_lfrspectrogram.cpp
373 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrspectrogram.o moc_lfrspectrogram.cpp
370
374
371 ####### Install
375 ####### Install
372
376
373 install: FORCE
377 install: FORCE
374
378
375 uninstall: FORCE
379 uninstall: FORCE
376
380
377 FORCE:
381 FORCE:
378
382
@@ -1,265 +1,265
1 <?xml version="1.0" encoding="UTF-8"?>
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE QtCreatorProject>
2 <!DOCTYPE QtCreatorProject>
3 <!-- Written by Qt Creator 2.4.1, 2013-06-28T17:29:18. -->
3 <!-- Written by Qt Creator 2.4.1, 2013-07-04T12:07:39. -->
4 <qtcreator>
4 <qtcreator>
5 <data>
5 <data>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
7 <value type="int">0</value>
7 <value type="int">0</value>
8 </data>
8 </data>
9 <data>
9 <data>
10 <variable>ProjectExplorer.Project.EditorSettings</variable>
10 <variable>ProjectExplorer.Project.EditorSettings</variable>
11 <valuemap type="QVariantMap">
11 <valuemap type="QVariantMap">
12 <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
12 <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
13 <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
13 <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
14 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
14 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
15 <value type="QString" key="language">Cpp</value>
15 <value type="QString" key="language">Cpp</value>
16 <valuemap type="QVariantMap" key="value">
16 <valuemap type="QVariantMap" key="value">
17 <value type="QString" key="CurrentPreferences">CppGlobal</value>
17 <value type="QString" key="CurrentPreferences">CppGlobal</value>
18 </valuemap>
18 </valuemap>
19 </valuemap>
19 </valuemap>
20 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
20 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
21 <value type="QString" key="language">QmlJS</value>
21 <value type="QString" key="language">QmlJS</value>
22 <valuemap type="QVariantMap" key="value">
22 <valuemap type="QVariantMap" key="value">
23 <value type="QString" key="CurrentPreferences">QmlJSGlobal</value>
23 <value type="QString" key="CurrentPreferences">QmlJSGlobal</value>
24 </valuemap>
24 </valuemap>
25 </valuemap>
25 </valuemap>
26 <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
26 <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
27 <value type="QByteArray" key="EditorConfiguration.Codec">System</value>
27 <value type="QByteArray" key="EditorConfiguration.Codec">System</value>
28 <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
28 <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
29 <value type="int" key="EditorConfiguration.IndentSize">4</value>
29 <value type="int" key="EditorConfiguration.IndentSize">4</value>
30 <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
30 <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
31 <value type="int" key="EditorConfiguration.PaddingMode">1</value>
31 <value type="int" key="EditorConfiguration.PaddingMode">1</value>
32 <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
32 <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
33 <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
33 <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
34 <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
34 <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
35 <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
35 <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
36 <value type="int" key="EditorConfiguration.TabSize">8</value>
36 <value type="int" key="EditorConfiguration.TabSize">8</value>
37 <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
37 <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
38 <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
38 <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
39 <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
39 <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
40 <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
40 <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
41 <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
41 <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
42 <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
42 <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
43 </valuemap>
43 </valuemap>
44 </data>
44 </data>
45 <data>
45 <data>
46 <variable>ProjectExplorer.Project.PluginSettings</variable>
46 <variable>ProjectExplorer.Project.PluginSettings</variable>
47 <valuemap type="QVariantMap"/>
47 <valuemap type="QVariantMap"/>
48 </data>
48 </data>
49 <data>
49 <data>
50 <variable>ProjectExplorer.Project.Target.0</variable>
50 <variable>ProjectExplorer.Project.Target.0</variable>
51 <valuemap type="QVariantMap">
51 <valuemap type="QVariantMap">
52 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
52 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
53 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
53 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
54 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value>
54 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value>
55 <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
55 <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
56 <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
56 <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
57 <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
57 <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
58 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
58 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
59 <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value>
59 <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value>
60 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
60 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
61 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
61 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
62 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
62 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
63 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
63 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
64 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
64 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
65 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
65 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
66 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
66 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value>
67 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
67 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
68 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
68 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
69 </valuemap>
69 </valuemap>
70 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
70 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
71 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
71 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
72 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
72 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
73 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
73 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
74 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
74 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
75 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
75 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
76 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
76 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
77 </valuemap>
77 </valuemap>
78 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
78 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
79 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
79 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
80 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
80 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
81 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
81 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
82 </valuemap>
82 </valuemap>
83 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
83 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
84 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
84 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
85 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
85 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
86 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
86 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
87 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
87 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
88 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
88 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
89 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
89 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
90 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
90 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
91 </valuemap>
91 </valuemap>
92 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
92 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
93 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
93 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
94 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
94 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
95 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
95 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
96 </valuemap>
96 </valuemap>
97 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
97 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
98 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
98 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
99 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
99 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
100 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value>
100 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.3 in PATH (System) Release</value>
101 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
101 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
102 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
102 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
103 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
103 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
104 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/GSE_LESIA/gselesia</value>
104 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/admin/opt/LPPMON_PLUGINS_PLE/gse_lesia</value>
105 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
105 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
106 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
106 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
107 </valuemap>
107 </valuemap>
108 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
108 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
109 <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value>
109 <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value>
110 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
110 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
111 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
111 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
112 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
112 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
115 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
115 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
116 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
116 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
117 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
117 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
118 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
118 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
119 </valuemap>
119 </valuemap>
120 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
120 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
121 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
121 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
122 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
122 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
123 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
123 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
124 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
124 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
125 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
125 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
126 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
126 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
127 </valuemap>
127 </valuemap>
128 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
128 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
129 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
129 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
130 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
130 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
131 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
131 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
132 </valuemap>
132 </valuemap>
133 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
133 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
134 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
134 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
135 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
135 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
136 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
136 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
137 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
137 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
138 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
138 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
139 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
139 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
140 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
140 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
141 </valuemap>
141 </valuemap>
142 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
142 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
143 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
143 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
144 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
144 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
145 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
145 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
146 </valuemap>
146 </valuemap>
147 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
147 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
148 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
148 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
149 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
149 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
150 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Debug</value>
150 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.3 in PATH (System) Debug</value>
151 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
151 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
152 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
152 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
153 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
153 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
154 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/GSE_LESIA/gselesia</value>
154 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/admin/opt/LPPMON_PLUGINS_PLE/gselesia-build-desktop-Qt_4_8_3_in_PATH__System__Debug</value>
155 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
155 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
156 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
156 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
157 </valuemap>
157 </valuemap>
158 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
158 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
159 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
159 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
160 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
160 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
161 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
161 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
162 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
162 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
163 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
163 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
164 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
164 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
165 </valuemap>
165 </valuemap>
166 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
166 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
167 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
167 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
168 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
168 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
169 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
169 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
170 </valuemap>
170 </valuemap>
171 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
171 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
172 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
172 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
173 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
173 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
174 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
174 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
175 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
175 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
176 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
176 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
177 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
177 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
178 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
178 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
179 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
179 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
180 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
180 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
181 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
181 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
182 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
182 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
183 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
183 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
184 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
184 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
185 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
185 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
186 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
186 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
187 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
187 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
188 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
188 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
189 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
189 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
190 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
190 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
191 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
191 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
192 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
192 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
193 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
193 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
194 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
194 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
195 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
195 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
196 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
196 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
197 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
197 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
198 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
198 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
199 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
199 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
200 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
200 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
201 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
201 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
202 <value type="int">0</value>
202 <value type="int">0</value>
203 <value type="int">1</value>
203 <value type="int">1</value>
204 <value type="int">2</value>
204 <value type="int">2</value>
205 <value type="int">3</value>
205 <value type="int">3</value>
206 <value type="int">4</value>
206 <value type="int">4</value>
207 <value type="int">5</value>
207 <value type="int">5</value>
208 <value type="int">6</value>
208 <value type="int">6</value>
209 <value type="int">7</value>
209 <value type="int">7</value>
210 <value type="int">8</value>
210 <value type="int">8</value>
211 <value type="int">9</value>
211 <value type="int">9</value>
212 <value type="int">10</value>
212 <value type="int">10</value>
213 <value type="int">11</value>
213 <value type="int">11</value>
214 <value type="int">12</value>
214 <value type="int">12</value>
215 <value type="int">13</value>
215 <value type="int">13</value>
216 <value type="int">14</value>
216 <value type="int">14</value>
217 </valuelist>
217 </valuelist>
218 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
218 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
219 <value type="int">0</value>
219 <value type="int">0</value>
220 <value type="int">1</value>
220 <value type="int">1</value>
221 <value type="int">2</value>
221 <value type="int">2</value>
222 <value type="int">3</value>
222 <value type="int">3</value>
223 <value type="int">4</value>
223 <value type="int">4</value>
224 <value type="int">5</value>
224 <value type="int">5</value>
225 <value type="int">6</value>
225 <value type="int">6</value>
226 <value type="int">7</value>
226 <value type="int">7</value>
227 <value type="int">8</value>
227 <value type="int">8</value>
228 <value type="int">9</value>
228 <value type="int">9</value>
229 <value type="int">10</value>
229 <value type="int">10</value>
230 <value type="int">11</value>
230 <value type="int">11</value>
231 <value type="int">12</value>
231 <value type="int">12</value>
232 <value type="int">13</value>
232 <value type="int">13</value>
233 <value type="int">14</value>
233 <value type="int">14</value>
234 </valuelist>
234 </valuelist>
235 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">gselesia</value>
235 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">gselesia</value>
236 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
236 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
237 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value>
237 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value>
238 <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value>
238 <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value>
239 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
239 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
240 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">gselesia.pro</value>
240 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">gselesia.pro</value>
241 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
241 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
242 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
242 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
243 <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/>
243 <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/>
244 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
244 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
245 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
245 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
246 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
246 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
247 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
247 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
248 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
248 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
249 </valuemap>
249 </valuemap>
250 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
250 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
251 </valuemap>
251 </valuemap>
252 </data>
252 </data>
253 <data>
253 <data>
254 <variable>ProjectExplorer.Project.TargetCount</variable>
254 <variable>ProjectExplorer.Project.TargetCount</variable>
255 <value type="int">1</value>
255 <value type="int">1</value>
256 </data>
256 </data>
257 <data>
257 <data>
258 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
258 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
259 <value type="QString">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value>
259 <value type="QString">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value>
260 </data>
260 </data>
261 <data>
261 <data>
262 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
262 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
263 <value type="int">10</value>
263 <value type="int">10</value>
264 </data>
264 </data>
265 </qtcreator>
265 </qtcreator>
@@ -1,497 +1,497
1 #include "mainwindow.h"
1 #include "mainwindow.h"
2 #include <iostream>
2 #include <iostream>
3 #include <QNetworkInterface>
3 #include <QNetworkInterface>
4
4
5 MainWindow::MainWindow(QWidget *parent)
5 MainWindow::MainWindow(QWidget *parent)
6 : QWidget(parent)
6 : QWidget(parent)
7 {
7 {
8 parsingContinue = false;
8 parsingContinue = false;
9 totalOfBytes = 0;
9 totalOfBytes = 0;
10 totalOfPackets = 0;
10 totalOfPackets = 0;
11
11
12 analyserSGSEServerTC = new QTcpServer();
13 analyserSGSEServerTM = new QTcpServer();
14
15 socketTC = NULL;
16 socketTM = NULL;
17 socketEchoServer = new QTcpSocket();
18
19 //****
12 //****
20 // XML
13 // XML
21 // xml handlers
14 // xml handlers
22 xmlHandler = new LFRXmlHandler();
15 xmlHandler = new LFRXmlHandler();
23 // xml sources
16 // xml sources
24 sourceTC = new QXmlInputSource();
17 sourceTC = new QXmlInputSource();
25 // xml writer
18 // xml writer
26 lfrXmlWriter = new LFRXmlWriter();
19 lfrXmlWriter = new LFRXmlWriter();
27 // setup xml parser for the echo bridge
20 // setup xml parser for the echo bridge
28 lfrXmlParser = new LFRXmlParser();
21 lfrXmlParser = new LFRXmlParser();
29
22
30 UI = new MainWindowUI();
23 UI = new MainWindowUI();
31 readSettings();
24 readSettings();
32 this->UI->serverTMEchoDialogBox->setIP(echoBridgeIP0, echoBridgeIP1, echoBridgeIP2, echoBridgeIP3);
25 this->UI->serverTMEchoDialogBox->setIP(echoBridgeIP0, echoBridgeIP1, echoBridgeIP2, echoBridgeIP3);
33
26
34 lfrXmlParser->generalCCSDSPacketStore = &this->generalCCSDSPacketStore;
27 lfrXmlParser->generalCCSDSPacketStore = &this->generalCCSDSPacketStore;
35
28
36 initSocketStatesList();
29 initSocketStatesList();
37
30
38 this->setLayout(UI->layout());
31 this->setLayout(UI->layout());
39
32
33 analyserSGSEServerTC = new QTcpServer();
34 analyserSGSEServerTM = new QTcpServer();
35
36 socketTC = NULL;
37 socketTM = NULL;
38 socketEchoServer = new QTcpSocket();
39
40 connect(this->UI->button_openServerTCTM, SIGNAL(clicked()), this, SLOT(listenOnTCTMPorts()));
40 connect(this->UI->button_openServerTCTM, SIGNAL(clicked()), this, SLOT(listenOnTCTMPorts()));
41 connect(this->UI->button_testServerTCTM, SIGNAL(clicked()), this, SLOT(testTCTMPorts()));
41 connect(this->UI->button_testServerTCTM, SIGNAL(clicked()), this, SLOT(testTCTMPorts()));
42 connect(this->UI->button_openSocketEchoServer, SIGNAL(clicked()), this, SLOT(openEchoServer()));
42 connect(this->UI->button_openSocketEchoServer, SIGNAL(clicked()), this, SLOT(openEchoServer()));
43 //
43 //
44 connect(this->analyserSGSEServerTC, SIGNAL(newConnection()), this, SLOT(newConnectionOnTCServer()));
44 connect(this->analyserSGSEServerTC, SIGNAL(newConnection()), this, SLOT(newConnectionOnTCServer()));
45 connect(this->analyserSGSEServerTM, SIGNAL(newConnection()), this, SLOT(newConnectionOnTMServer()));
45 connect(this->analyserSGSEServerTM, SIGNAL(newConnection()), this, SLOT(newConnectionOnTMServer()));
46 //
46 //
47 connect(this, SIGNAL(socketTMHasChanged(QTcpSocket*)), this->lfrXmlWriter, SLOT(setSocketTM(QTcpSocket*)));
47 connect(this, SIGNAL(socketTMHasChanged(QTcpSocket*)), this->lfrXmlWriter, SLOT(setSocketTM(QTcpSocket*)));
48 connect(this->UI->button_TCAcknowledgement, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_TC_Acknowledgment()));
48 connect(this->UI->button_TCAcknowledgement, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_TC_Acknowledgment()));
49 connect(this->UI->button_TCRejection, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_TC_rejection()));
49 connect(this->UI->button_TCRejection, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_TC_rejection()));
50 connect(this->UI->button_GSEHK, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_GSE_HK()));
50 connect(this->UI->button_GSEHK, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_GSE_HK()));
51
51
52 // socket echo server
52 // socket echo server
53 connect(this->socketEchoServer, SIGNAL(stateChanged(QAbstractSocket::SocketState)),
53 connect(this->socketEchoServer, SIGNAL(stateChanged(QAbstractSocket::SocketState)),
54 this, SLOT(socket_TMEcho_ServerHasChanged()));
54 this, SLOT(socket_TMEcho_ServerHasChanged()));
55 connect(this->socketEchoServer, SIGNAL(readyRead()),
55 connect(this->socketEchoServer, SIGNAL(readyRead()),
56 this, SLOT(readDataOnSocketEchoServer()));
56 this, SLOT(readDataOnSocketEchoServer()));
57
57
58 // display on console
58 // display on console
59 connect(this->xmlHandler, SIGNAL(displayMessage(QString)),
59 connect(this->xmlHandler, SIGNAL(displayMessage(QString)),
60 this, SLOT(displayOnConsole(QString)));
60 this, SLOT(displayOnConsole(QString)));
61 connect(this->UI->hkDisplay, SIGNAL(displayMessage(QString)),
61 connect(this->UI->hkDisplay, SIGNAL(displayMessage(QString)),
62 this, SLOT(displayOnConsole(QString)));
62 this, SLOT(displayOnConsole(QString)));
63 connect(this->lfrXmlParser, SIGNAL(sendMessage(QString)),
63 connect(this->lfrXmlParser, SIGNAL(sendMessage(QString)),
64 this, SLOT(displayOnConsole(QString)));
64 this, SLOT(displayOnConsole(QString)));
65 //
65 //
66 connect(this->lfrXmlParser, SIGNAL(processPacketStore()),
66 connect(this->lfrXmlParser, SIGNAL(processPacketStore()),
67 this, SLOT(processPacketStore()));
67 this, SLOT(processPacketStore()));
68 //
68 //
69 connect(this->UI->button_resetStatistics, SIGNAL(clicked()),
69 connect(this->UI->button_resetStatistics, SIGNAL(clicked()),
70 this, SLOT(resetStatistics()));
70 this, SLOT(resetStatistics()));
71
71
72 displayNetworkInterfaces();
72 displayNetworkInterfaces();
73
73
74 this->xmlHandler->packetStoreHasChanged(&generalCCSDSPacketStore);
74 this->xmlHandler->packetStoreHasChanged(&generalCCSDSPacketStore);
75 };
75 };
76
76
77 MainWindow::~MainWindow()
77 MainWindow::~MainWindow()
78 {
78 {
79
79
80 }
80 }
81
81
82 void MainWindow::displayNetworkInterfaces()
82 void MainWindow::displayNetworkInterfaces()
83 {
83 {
84 QList<QHostAddress> list = QNetworkInterface::allAddresses();
84 QList<QHostAddress> list = QNetworkInterface::allAddresses();
85 this->displayOnConsole("Network interfaces:");
85 this->displayOnConsole("Network interfaces:");
86 for(int nIter=0; nIter<list.count(); nIter++)
86 for(int nIter=0; nIter<list.count(); nIter++)
87 {
87 {
88 this->UI->displayOnConsole(list[nIter].toString());
88 this->UI->displayOnConsole(list[nIter].toString());
89 }
89 }
90 }
90 }
91
91
92 void MainWindow::listenOnTCTMPorts()
92 void MainWindow::listenOnTCTMPorts()
93 {
93 {
94 QString str;
94 QString str;
95
95
96 //***
96 //***
97 // TC
97 // TC
98 analyserSGSEServerTC->listen(QHostAddress::Any, this->UI->getTCPort());
98 analyserSGSEServerTC->listen(QHostAddress::Any, this->UI->getTCPort());
99 str = analyserSGSEServerTC->errorString();
99 str = analyserSGSEServerTC->errorString();
100 if (!str.isEmpty())
100 if (!str.isEmpty())
101 {
101 {
102 this->displayOnConsole(str);
102 this->displayOnConsole(str);
103 }
103 }
104 this->displayOnConsole("Listening TC on port "
104 this->displayOnConsole("Listening TC on port "
105 + QString::number(this->UI->getTCPort())
105 + QString::number(this->UI->getTCPort())
106 );
106 );
107
107
108 //***
108 //***
109 // TM
109 // TM
110 analyserSGSEServerTM->listen(QHostAddress::Any, this->UI->getTMPort());
110 analyserSGSEServerTM->listen(QHostAddress::Any, this->UI->getTMPort());
111 str = analyserSGSEServerTM->errorString();
111 str = analyserSGSEServerTM->errorString();
112 if (!str.isEmpty())
112 if (!str.isEmpty())
113 {
113 {
114 this->displayOnConsole(str);
114 this->displayOnConsole(str);
115 }
115 }
116 this->displayOnConsole("Listening TM on port "
116 this->displayOnConsole("Listening TM on port "
117 + QString::number(this->UI->getTMPort())
117 + QString::number(this->UI->getTMPort())
118 );
118 );
119 }
119 }
120
120
121 void MainWindow::testTCTMPorts()
121 void MainWindow::testTCTMPorts()
122 {
122 {
123 if (socketTC != NULL)
123 if (socketTC != NULL)
124 {
124 {
125 this->displayOnConsole("TC socket *** " + socketStates.at(socketTC->state()) );
125 this->displayOnConsole("TC socket *** " + socketStates.at(socketTC->state()) );
126 }
126 }
127 else
127 else
128 {
128 {
129 this->displayOnConsole("TC socket *** not tested, (socketTC) is NULL" );
129 this->displayOnConsole("TC socket *** not tested, (socketTC) is NULL" );
130 }
130 }
131 if (socketTM != NULL)
131 if (socketTM != NULL)
132 {
132 {
133 this->displayOnConsole("TM socket *** " + socketStates.at(socketTM->state()) );
133 this->displayOnConsole("TM socket *** " + socketStates.at(socketTM->state()) );
134 }
134 }
135 else
135 else
136 {
136 {
137 this->displayOnConsole("TM socket *** not tested, (socketTM) is NULL" );
137 this->displayOnConsole("TM socket *** not tested, (socketTM) is NULL" );
138 }
138 }
139 }
139 }
140
140
141 void MainWindow::newConnectionOnTCServer()
141 void MainWindow::newConnectionOnTCServer()
142 {
142 {
143 this->displayOnConsole("got new connection on TC port");
143 this->displayOnConsole("got new connection on TC port");
144 socketTC = analyserSGSEServerTC->nextPendingConnection();
144 socketTC = analyserSGSEServerTC->nextPendingConnection();
145 this->displayOnConsole("TC socket *** " + socketStates.at(socketTC->state()) );
145 this->displayOnConsole("TC socket *** " + socketStates.at(socketTC->state()) );
146 connect(this->socketTC, SIGNAL(readyRead()), this, SLOT(readDataOnTCPort()));
146 connect(this->socketTC, SIGNAL(readyRead()), this, SLOT(readDataOnTCPort()));
147 }
147 }
148
148
149 void MainWindow::newConnectionOnTMServer()
149 void MainWindow::newConnectionOnTMServer()
150 {
150 {
151 this->displayOnConsole("got new connection on TM port");
151 this->displayOnConsole("got new connection on TM port");
152 socketTM = analyserSGSEServerTM->nextPendingConnection();
152 socketTM = analyserSGSEServerTM->nextPendingConnection();
153 this->displayOnConsole("TM socket *** " + socketStates.at(socketTM->state()) );
153 this->displayOnConsole("TM socket *** " + socketStates.at(socketTM->state()) );
154 connect(this->socketTM, SIGNAL(readyRead()), this, SLOT(readDataOnTMPort()));
154 connect(this->socketTM, SIGNAL(readyRead()), this, SLOT(readDataOnTMPort()));
155
155
156 emit socketTMHasChanged(this->socketTM);
156 emit socketTMHasChanged(this->socketTM);
157 }
157 }
158
158
159 void MainWindow::readDataOnTCPort()
159 void MainWindow::readDataOnTCPort()
160 {
160 {
161 bool ok;
161 bool ok;
162 int nbBytesAvailable = 0;
162 int nbBytesAvailable = 0;
163
163
164 nbBytesAvailable = socketTC->bytesAvailable();
164 nbBytesAvailable = socketTC->bytesAvailable();
165 buffer = (char *) malloc(nbBytesAvailable);
165 buffer = (char *) malloc(nbBytesAvailable);
166 socketTC->read(buffer, nbBytesAvailable);
166 socketTC->read(buffer, nbBytesAvailable);
167
167
168 this->displayOnConsole("readDataOnTCPort *** "
168 this->displayOnConsole("readDataOnTCPort *** "
169 + QString::number(nbBytesAvailable)
169 + QString::number(nbBytesAvailable)
170 + " read");
170 + " read");
171
171
172 QByteArray xmlData( buffer, nbBytesAvailable);
172 QByteArray xmlData( buffer, nbBytesAvailable);
173
173
174 free(buffer);
174 free(buffer);
175
175
176 sourceTC->setData( xmlData );
176 sourceTC->setData( xmlData );
177
177
178 xmlReader.setContentHandler(xmlHandler);
178 xmlReader.setContentHandler(xmlHandler);
179 xmlReader.setErrorHandler(xmlHandler);
179 xmlReader.setErrorHandler(xmlHandler);
180
180
181 ok = xmlReader.parse(sourceTC);
181 ok = xmlReader.parse(sourceTC);
182 if (!ok) {
182 if (!ok) {
183 std::cout << "Parsing failed." << std::endl;
183 std::cout << "Parsing failed." << std::endl;
184 }
184 }
185 else {
185 else {
186 QStringList names = xmlHandler->names();
186 QStringList names = xmlHandler->names();
187 QList<int> indentations = xmlHandler->indentations();
187 QList<int> indentations = xmlHandler->indentations();
188
188
189 int items = names.count();
189 int items = names.count();
190
190
191 for (int i = 0; i < items; ++i) {
191 for (int i = 0; i < items; ++i) {
192 displayOnConsole(
192 displayOnConsole(
193 names[i]
193 names[i]
194 + " --- identations: "
194 + " --- identations: "
195 + QString::number(indentations[i]));
195 + QString::number(indentations[i]));
196 }
196 }
197 }
197 }
198 }
198 }
199
199
200 void MainWindow::readDataOnTMPort()
200 void MainWindow::readDataOnTMPort()
201 {
201 {
202 this->displayOnConsole("TM data received, begin parsing");
202 this->displayOnConsole("TM data received, begin parsing");
203 }
203 }
204
204
205 void MainWindow::readDataOnSocketEchoServer()
205 void MainWindow::readDataOnSocketEchoServer()
206 {
206 {
207 QString dataString;
207 QString dataString;
208
208
209 dataArray.append(socketEchoServer->readAll());
209 dataArray.append(socketEchoServer->readAll());
210 dataString = QString::fromAscii(dataArray);
210 dataString = QString::fromAscii(dataArray);
211 this->lfrXmlParser->processIncomingStr(dataString);
211 this->lfrXmlParser->processIncomingStr(dataString);
212 dataArray.clear();
212 dataArray.clear();
213 }
213 }
214
214
215 void MainWindow::displayOnConsole(QString message)
215 void MainWindow::displayOnConsole(QString message)
216 {
216 {
217 this->UI->displayOnConsole( message );
217 this->UI->displayOnConsole( message );
218 }
218 }
219
219
220 void MainWindow::initSocketStatesList()
220 void MainWindow::initSocketStatesList()
221 {
221 {
222 socketStates.append("The socket is not connected");
222 socketStates.append("The socket is not connected");
223 socketStates.append("The socket is performing a host name lookup");
223 socketStates.append("The socket is performing a host name lookup");
224 socketStates.append("The socket has started establishing a connection");
224 socketStates.append("The socket has started establishing a connection");
225 socketStates.append("A connection is established");
225 socketStates.append("A connection is established");
226 socketStates.append("The socket is bound to an address and port (for servers)");
226 socketStates.append("The socket is bound to an address and port (for servers)");
227 socketStates.append("The socket is about to close (data may still be waiting to be written)");
227 socketStates.append("The socket is about to close (data may still be waiting to be written)");
228 socketStates.append("For internal use only");
228 socketStates.append("For internal use only");
229 }
229 }
230
230
231 void MainWindow::openEchoServer()
231 void MainWindow::openEchoServer()
232 {
232 {
233 socketEchoServer->connectToHost(this->UI->serverTMEchoDialogBox->getIP(),
233 socketEchoServer->connectToHost(this->UI->serverTMEchoDialogBox->getIP(),
234 this->UI->spinbox_serverTMEchoPort->value());
234 this->UI->spinbox_serverTMEchoPort->value());
235 //socketEchoServer->open();
235 //socketEchoServer->open();
236 }
236 }
237
237
238 void MainWindow::socket_TMEcho_ServerHasChanged()
238 void MainWindow::socket_TMEcho_ServerHasChanged()
239 {
239 {
240 this->displayOnConsole("TM Echo Socket socket *** " + socketStates.at(socketEchoServer->state()) );
240 this->displayOnConsole("TM Echo Socket socket *** " + socketStates.at(socketEchoServer->state()) );
241 }
241 }
242
242
243 void MainWindow::preProcessPacket(TMPacketToRead *packet)
243 void MainWindow::preProcessPacket(TMPacketToRead *packet)
244 {
244 {
245 unsigned char pid = 0;
245 unsigned char pid = 0;
246 unsigned char cat = 0;
246 unsigned char cat = 0;
247 unsigned char typ = 0;
247 unsigned char typ = 0;
248 unsigned char sub = 0;
248 unsigned char sub = 0;
249 unsigned int sid = 0;
249 unsigned int sid = 0;
250 unsigned int length = 0;
250 unsigned int length = 0;
251 unsigned int coarse_t = 0;
251 unsigned int coarse_t = 0;
252 unsigned int fine_t = 0;
252 unsigned int fine_t = 0;
253
253
254 //*********************************
254 //*********************************
255 // get the parameters of the packet
255 // get the parameters of the packet
256 pid = ((packet->Value[4] & 0x07) << 4) + ((packet->Value[5] & 0xf0) >> 4);
256 pid = ((packet->Value[4] & 0x07) << 4) + ((packet->Value[5] & 0xf0) >> 4);
257 cat = packet->Value[5] & 0x0f;
257 cat = packet->Value[5] & 0x0f;
258 typ = packet->Value[11]; // TYPE
258 typ = packet->Value[11]; // TYPE
259 sub = packet->Value[12]; // SUBTYPE
259 sub = packet->Value[12]; // SUBTYPE
260 sid = 0;
260 sid = 0;
261 length = packet->Value[8] * 256 + packet->Value[9];
261 length = packet->Value[8] * 256 + packet->Value[9];
262 // compare length in the packet with the size of the packet
262 // compare length in the packet with the size of the packet
263 if ( (length + 1 + 10) != (packet->size))
263 if ( (length + 1 + 10) != (packet->size))
264 {
264 {
265 displayOnConsole("reception of " + QString::number(packet->size)
265 displayOnConsole("reception of " + QString::number(packet->size)
266 + " bytes instead of " + QString::number(length + 1 + 10));
266 + " bytes instead of " + QString::number(length + 1 + 10));
267 }
267 }
268 coarse_t = packet->Value[14] * pow(2, 24) + packet->Value[15] * pow(2, 16)
268 coarse_t = packet->Value[14] * pow(2, 24) + packet->Value[15] * pow(2, 16)
269 + packet->Value[16] * pow(2, 8) + packet->Value[17];
269 + packet->Value[16] * pow(2, 8) + packet->Value[17];
270 fine_t = packet->Value[18] * pow(2, 8) + packet->Value[19];
270 fine_t = packet->Value[18] * pow(2, 8) + packet->Value[19];
271
271
272 if ((pid == 76) & (cat == 1) & (typ == 1) & (sub == 8))
272 if ((pid == 76) & (cat == 1) & (typ == 1) & (sub == 8))
273 sid = packet->Value[20] * 256 + packet->Value[21];
273 sid = packet->Value[20] * 256 + packet->Value[21];
274 else if ((pid == 76) & (cat == 4) & (typ == 3) & (sub == 25))
274 else if ((pid == 76) & (cat == 4) & (typ == 3) & (sub == 25))
275 sid = 1;
275 sid = 1;
276 else if ((pid == 76) & (cat == 12) & (typ == 21) & (sub == 3))
276 else if ((pid == 76) & (cat == 12) & (typ == 21) & (sub == 3))
277 sid = packet->Value[20];
277 sid = packet->Value[20];
278 else if ((pid == 79) & (cat == 12) & (typ == 21) & (sub == 3))
278 else if ((pid == 79) & (cat == 12) & (typ == 21) & (sub == 3))
279 sid = packet->Value[20];
279 sid = packet->Value[20];
280
280
281 this->UI->tmStatistics->updateStatistics(pid, cat, typ, sub, sid, length, coarse_t, fine_t);
281 this->UI->tmStatistics->updateStatistics(pid, cat, typ, sub, sid, length, coarse_t, fine_t);
282
282
283 //***************************************************
283 //***************************************************
284 // if the packet is an HK packet, display its content
284 // if the packet is an HK packet, display its content
285 if ( (typ == TYPE_HK) & (sub == SUBTYPE_HK) )
285 if ( (typ == TYPE_HK) & (sub == SUBTYPE_HK) )
286 {
286 {
287 this->UI->hkDisplay->displayPacket(packet);
287 this->UI->hkDisplay->displayPacket(packet);
288 }
288 }
289
289
290 //****************************************
290 //****************************************
291 // if the packet is a waveform, display it
291 // if the packet is a waveform, display it
292 if ( (typ == 21) & (sub == 3) )
292 if ( (typ == 21) & (sub == 3) )
293 {
293 {
294 sid = packet->Value[20]; // SID
294 sid = packet->Value[20]; // SID
295 switch (sid){
295 switch (sid){
296 case SID_NORMAL_SWF_F0:
296 case SID_NORMAL_SWF_F0:
297 buildWFAndDisplay(packet, &wfPacketNormal[0], 0);
297 buildWFAndDisplay(packet, &wfPacketNormal[0], 0);
298 break;
298 break;
299 case SID_NORMAL_SWF_F1:
299 case SID_NORMAL_SWF_F1:
300 buildWFAndDisplay(packet, &wfPacketNormal[1], 1);
300 buildWFAndDisplay(packet, &wfPacketNormal[1], 1);
301 break;
301 break;
302 case SID_NORMAL_SWF_F2:
302 case SID_NORMAL_SWF_F2:
303 buildWFAndDisplay(packet, &wfPacketNormal[2], 2);
303 buildWFAndDisplay(packet, &wfPacketNormal[2], 2);
304 break;
304 break;
305 case SID_NORMAL_CWF_F3:
305 case SID_NORMAL_CWF_F3:
306 buildWFAndDisplay(packet, &wfPacketNormal[3], 3);
306 buildWFAndDisplay(packet, &wfPacketNormal[3], 3);
307 break;
307 break;
308 case SID_BURST_CWF_F2:
308 case SID_BURST_CWF_F2:
309 buildWFAndDisplayBurst(packet, &wfPacketBurst);
309 buildWFAndDisplayBurst(packet, &wfPacketBurst);
310 break;
310 break;
311 case SID_SBM1_CWF_F1:
311 case SID_SBM1_CWF_F1:
312 buildWFAndDisplaySBM1(packet, &wfPacketSBM1);
312 buildWFAndDisplaySBM1(packet, &wfPacketSBM1);
313 break;
313 break;
314 case SID_SBM2_CWF_F2:
314 case SID_SBM2_CWF_F2:
315 buildWFAndDisplaySBM2(packet, &wfPacketSBM2);
315 buildWFAndDisplaySBM2(packet, &wfPacketSBM2);
316 break;
316 break;
317 }
317 }
318 }
318 }
319 }
319 }
320
320
321 void MainWindow::buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page)
321 void MainWindow::buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page)
322 {
322 {
323 unsigned int i = 0;
323 unsigned int i = 0;
324 unsigned int j = 0;
324 unsigned int j = 0;
325 unsigned char *data;
325 unsigned char *data;
326 unsigned char pkt_nr = 0;
326 unsigned char pkt_nr = 0;
327 unsigned int blk_nr = 0;
327 unsigned int blk_nr = 0;
328
328
329 pkt_nr = packet->Value[23]; // PKT_NR
329 pkt_nr = packet->Value[23]; // PKT_NR
330 blk_nr = packet->Value[30] * 256 + packet->Value[31];
330 blk_nr = packet->Value[30] * 256 + packet->Value[31];
331 data = &packet->Value[32]; // start of the first data block;
331 data = &packet->Value[32]; // start of the first data block;
332 j = (pkt_nr-1) * 340;
332 j = (pkt_nr-1) * 340;
333 for ( i=0; i<blk_nr; i++ ){
333 for ( i=0; i<blk_nr; i++ ){
334 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
334 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
335 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) );
335 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) );
336 wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) );
336 wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) );
337 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) );
337 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) );
338 wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) );
338 wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) );
339 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
339 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
340 }
340 }
341 if (pkt_nr == 7)
341 if (pkt_nr == 7)
342 {
342 {
343 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0);
343 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0);
344 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e1, num_page, 1);
344 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e1, num_page, 1);
345 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e2, num_page, 2);
345 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e2, num_page, 2);
346 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b1, num_page, 3);
346 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b1, num_page, 3);
347 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b2, num_page, 4);
347 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b2, num_page, 4);
348 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b3, num_page, 5);
348 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b3, num_page, 5);
349 }
349 }
350 }
350 }
351
351
352 void MainWindow::buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket)
352 void MainWindow::buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket)
353 {
353 {
354 unsigned int i = 0;
354 unsigned int i = 0;
355 unsigned int j = 0;
355 unsigned int j = 0;
356 unsigned char *data;
356 unsigned char *data;
357 static unsigned char pkt_nr = 1;
357 static unsigned char pkt_nr = 1;
358 unsigned int blk_nr = 0;
358 unsigned int blk_nr = 0;
359
359
360 blk_nr = packet->Value[28] * 256 + packet->Value[29];
360 blk_nr = packet->Value[28] * 256 + packet->Value[29];
361 data = &packet->Value[30]; // start of the first data block;
361 data = &packet->Value[30]; // start of the first data block;
362 j = (pkt_nr-1) * 340;
362 j = (pkt_nr-1) * 340;
363 for ( i=0; i<blk_nr; i++ ){
363 for ( i=0; i<blk_nr; i++ ){
364 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
364 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
365 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) );
365 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) );
366 wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) );
366 wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) );
367 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) );
367 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) );
368 wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) );
368 wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) );
369 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
369 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
370 }
370 }
371 pkt_nr = pkt_nr + 1;
371 pkt_nr = pkt_nr + 1;
372 if (blk_nr == 8)
372 if (blk_nr == 8)
373 {
373 {
374 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_v, 0);
374 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_v, 0);
375 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_e1, 1);
375 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_e1, 1);
376 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_e2, 2);
376 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_e2, 2);
377 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b1, 3);
377 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b1, 3);
378 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b2, 4);
378 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b2, 4);
379 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b3, 5);
379 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b3, 5);
380 pkt_nr = 1;
380 pkt_nr = 1;
381 }
381 }
382 }
382 }
383
383
384 void MainWindow::buildWFAndDisplaySBM1(TMPacketToRead *packet, WFPacket *wfPacket)
384 void MainWindow::buildWFAndDisplaySBM1(TMPacketToRead *packet, WFPacket *wfPacket)
385 {
385 {
386 unsigned int i = 0;
386 unsigned int i = 0;
387 unsigned int j = 0;
387 unsigned int j = 0;
388 unsigned char *data;
388 unsigned char *data;
389 static unsigned char pkt_nr = 1;
389 static unsigned char pkt_nr = 1;
390 unsigned int blk_nr = 0;
390 unsigned int blk_nr = 0;
391
391
392 blk_nr = packet->Value[28] * 256 + packet->Value[29];
392 blk_nr = packet->Value[28] * 256 + packet->Value[29];
393 data = &packet->Value[30]; // start of the first data block;
393 data = &packet->Value[30]; // start of the first data block;
394 j = (pkt_nr-1) * 340;
394 j = (pkt_nr-1) * 340;
395 for ( i=0; i<blk_nr; i++ ){
395 for ( i=0; i<blk_nr; i++ ){
396 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
396 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
397 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) );
397 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) );
398 wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) );
398 wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) );
399 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) );
399 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) );
400 wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) );
400 wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) );
401 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
401 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
402 }
402 }
403 pkt_nr = pkt_nr + 1;
403 pkt_nr = pkt_nr + 1;
404 if (blk_nr == 8)
404 if (blk_nr == 8)
405 {
405 {
406 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_v, 0);
406 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_v, 0);
407 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_e1, 1);
407 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_e1, 1);
408 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_e2, 2);
408 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_e2, 2);
409 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b1, 3);
409 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b1, 3);
410 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b2, 4);
410 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b2, 4);
411 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b3, 5);
411 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b3, 5);
412 pkt_nr = 1;
412 pkt_nr = 1;
413 }
413 }
414 }
414 }
415
415
416 void MainWindow::buildWFAndDisplaySBM2(TMPacketToRead *packet, WFPacket *wfPacket)
416 void MainWindow::buildWFAndDisplaySBM2(TMPacketToRead *packet, WFPacket *wfPacket)
417 {
417 {
418 unsigned int i = 0;
418 unsigned int i = 0;
419 unsigned int j = 0;
419 unsigned int j = 0;
420 unsigned char *data;
420 unsigned char *data;
421 static unsigned char pkt_nr = 1;
421 static unsigned char pkt_nr = 1;
422 unsigned int blk_nr = 0;
422 unsigned int blk_nr = 0;
423
423
424 blk_nr = packet->Value[28] * 256 + packet->Value[29];
424 blk_nr = packet->Value[28] * 256 + packet->Value[29];
425 data = &packet->Value[30]; // start of the first data block;
425 data = &packet->Value[30]; // start of the first data block;
426 j = (pkt_nr-1) * 340;
426 j = (pkt_nr-1) * 340;
427 for ( i=0; i<blk_nr; i++ ){
427 for ( i=0; i<blk_nr; i++ ){
428 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
428 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
429 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) );
429 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) );
430 wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) );
430 wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) );
431 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) );
431 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) );
432 wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) );
432 wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) );
433 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
433 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
434 }
434 }
435 pkt_nr = pkt_nr + 1;
435 pkt_nr = pkt_nr + 1;
436 if (blk_nr == 8)
436 if (blk_nr == 8)
437 {
437 {
438 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_v, 0);
438 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_v, 0);
439 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_e1, 1);
439 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_e1, 1);
440 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_e2, 2);
440 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_e2, 2);
441 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b1, 3);
441 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b1, 3);
442 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b2, 4);
442 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b2, 4);
443 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b3, 5);
443 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b3, 5);
444 pkt_nr = 1;
444 pkt_nr = 1;
445 }
445 }
446 }
446 }
447
447
448 void MainWindow::processIncomingPacket(TMPacketToRead *packet)
448 void MainWindow::processIncomingPacket(TMPacketToRead *packet)
449 {
449 {
450 totalOfBytes = totalOfBytes + packet->size;
450 totalOfBytes = totalOfBytes + packet->size;
451 totalOfPackets = totalOfPackets + 1;
451 totalOfPackets = totalOfPackets + 1;
452 this->UI->totalOfBytesHasChanged(totalOfBytes);
452 this->UI->totalOfBytesHasChanged(totalOfBytes);
453 this->UI->totalOfPacketsHasChanged(totalOfPackets);
453 this->UI->totalOfPacketsHasChanged(totalOfPackets);
454 preProcessPacket(packet);
454 preProcessPacket(packet);
455 }
455 }
456
456
457 void MainWindow::resetStatistics()
457 void MainWindow::resetStatistics()
458 {
458 {
459 totalOfBytes = 0;
459 totalOfBytes = 0;
460 totalOfPackets = 0;
460 totalOfPackets = 0;
461 this->UI->totalOfBytesHasChanged(totalOfBytes);
461 this->UI->totalOfBytesHasChanged(totalOfBytes);
462 this->UI->totalOfPacketsHasChanged(totalOfPackets);
462 this->UI->totalOfPacketsHasChanged(totalOfPackets);
463 }
463 }
464
464
465 void MainWindow::processPacketStore()
465 void MainWindow::processPacketStore()
466 {
466 {
467 TMPacketToRead *packet;
467 TMPacketToRead *packet;
468 while(!generalCCSDSPacketStore.isEmpty())
468 while(!generalCCSDSPacketStore.isEmpty())
469 {
469 {
470 packet = generalCCSDSPacketStore.takeFirst();
470 packet = generalCCSDSPacketStore.takeFirst();
471 processIncomingPacket(packet);
471 processIncomingPacket(packet);
472 delete(packet);
472 delete(packet);
473 }
473 }
474 }
474 }
475
475
476 void MainWindow::readSettings()
476 void MainWindow::readSettings()
477 {
477 {
478 QSettings settings("lpp", "lfrsgse");
478 QSettings settings("lpp", "lfrsgse");
479 echoBridgeIP0 = (unsigned char) settings.value("echoBridgeIP0", 127).toInt();
479 echoBridgeIP0 = (unsigned char) settings.value("echoBridgeIP0", 127).toInt();
480 echoBridgeIP1 = (unsigned char) settings.value("echoBridgeIP1", 0).toInt();
480 echoBridgeIP1 = (unsigned char) settings.value("echoBridgeIP1", 0).toInt();
481 echoBridgeIP2 = (unsigned char) settings.value("echoBridgeIP2", 0).toInt();
481 echoBridgeIP2 = (unsigned char) settings.value("echoBridgeIP2", 0).toInt();
482 echoBridgeIP3 = (unsigned char) settings.value("echoBridgeIP3", 1).toInt();
482 echoBridgeIP3 = (unsigned char) settings.value("echoBridgeIP3", 1).toInt();
483 }
483 }
484
484
485 void MainWindow::writeSettings()
485 void MainWindow::writeSettings()
486 {
486 {
487 QSettings settings("lpp", "lfrsgse");
487 QSettings settings("lpp", "lfrsgse");
488 settings.setValue("echoBridgeIP0", this->UI->serverTMEchoDialogBox->get_addressPart1());
488 settings.setValue("echoBridgeIP0", this->UI->serverTMEchoDialogBox->get_addressPart1());
489 settings.setValue("echoBridgeIP1", this->UI->serverTMEchoDialogBox->get_addressPart2());
489 settings.setValue("echoBridgeIP1", this->UI->serverTMEchoDialogBox->get_addressPart2());
490 settings.setValue("echoBridgeIP2", this->UI->serverTMEchoDialogBox->get_addressPart3());
490 settings.setValue("echoBridgeIP2", this->UI->serverTMEchoDialogBox->get_addressPart3());
491 settings.setValue("echoBridgeIP3", this->UI->serverTMEchoDialogBox->get_addressPart4());
491 settings.setValue("echoBridgeIP3", this->UI->serverTMEchoDialogBox->get_addressPart4());
492 }
492 }
493
493
494 void MainWindow::closeEvent(QCloseEvent *)
494 void MainWindow::closeEvent(QCloseEvent *)
495 {
495 {
496 writeSettings();
496 writeSettings();
497 }
497 }
@@ -1,96 +1,95
1 #ifndef MAINWINDOW_H
1 #ifndef MAINWINDOW_H
2 #define MAINWINDOW_H
2 #define MAINWINDOW_H
3
3
4 #include <QtGui/QMainWindow>
5 #include <QTcpServer>
4 #include <QTcpServer>
6 #include <QTcpSocket>
5 #include <QTcpSocket>
7 #include <QXmlSimpleReader>
6 #include <QXmlSimpleReader>
8 #include <QSettings>
7 #include <QSettings>
9
8
10 #include <lfrxmlhandler.h>
9 #include <lfrxmlhandler.h>
11 #include <lfrxmlwriter.h>
10 #include <lfrxmlwriter.h>
12 #include <mainwindowui.h>
11 #include <mainwindowui.h>
13 #include "tmpackettoread.h"
12 #include "tmpackettoread.h"
14 #include "wfpacket.h"
13 #include "wfpacket.h"
15 #include "lfrxmlparser.h"
14 #include "lfrxmlparser.h"
16
15
17 class MainWindow : public QWidget
16 class MainWindow : public QWidget
18 {
17 {
19 Q_OBJECT
18 Q_OBJECT
20
19
21 public:
20 public:
22 MainWindow(QWidget *parent = 0);
21 MainWindow(QWidget *parent = 0);
23 ~MainWindow();
22 ~MainWindow();
24
23
25 void displayNetworkInterfaces();
24 void displayNetworkInterfaces();
26 void initSocketStatesList();
25 void initSocketStatesList();
27 void preProcessPacket(TMPacketToRead *packet);
26 void preProcessPacket(TMPacketToRead *packet);
28 void buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page);
27 void buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page);
29 void buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket);
28 void buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket);
30 void buildWFAndDisplaySBM1(TMPacketToRead *packet, WFPacket *wfPacket);
29 void buildWFAndDisplaySBM1(TMPacketToRead *packet, WFPacket *wfPacket);
31 void buildWFAndDisplaySBM2(TMPacketToRead *packet, WFPacket *wfPacket);
30 void buildWFAndDisplaySBM2(TMPacketToRead *packet, WFPacket *wfPacket);
32
31
33 protected:
32 protected:
34 void closeEvent(QCloseEvent *);
33 void closeEvent(QCloseEvent *);
35
34
36 private:
35 private:
37 void readSettings();
36 void readSettings();
38 void writeSettings();
37 void writeSettings();
39 unsigned char echoBridgeIP0;
38 unsigned char echoBridgeIP0;
40 unsigned char echoBridgeIP1;
39 unsigned char echoBridgeIP1;
41 unsigned char echoBridgeIP2;
40 unsigned char echoBridgeIP2;
42 unsigned char echoBridgeIP3;
41 unsigned char echoBridgeIP3;
43
42
44 QByteArray dataArray;
43 QByteArray dataArray;
45
44
46 QList<TMPacketToRead*> generalCCSDSPacketStore;
45 QList<TMPacketToRead*> generalCCSDSPacketStore;
47
46
48 QTcpServer *analyserSGSEServerTC;
47 QTcpServer *analyserSGSEServerTC;
49 QTcpServer *analyserSGSEServerTM;
48 QTcpServer *analyserSGSEServerTM;
50 QTcpSocket *socketTC;
49 QTcpSocket *socketTC;
51 QTcpSocket *socketTM;
50 QTcpSocket *socketTM;
52 QTcpSocket *socketEchoServer;
51 QTcpSocket *socketEchoServer;
53
52
54 unsigned int totalOfBytes;
53 unsigned int totalOfBytes;
55 unsigned int totalOfPackets;
54 unsigned int totalOfPackets;
56
55
57 QXmlSimpleReader xmlReader;
56 QXmlSimpleReader xmlReader;
58 QXmlInputSource *sourceTC;
57 QXmlInputSource *sourceTC;
59 LFRXmlHandler *xmlHandler;
58 LFRXmlHandler *xmlHandler;
60 LFRXmlParser *lfrXmlParser;
59 LFRXmlParser *lfrXmlParser;
61
60
62 QList<QString> socketStates;
61 QList<QString> socketStates;
63
62
64 char *buffer;
63 char *buffer;
65
64
66 MainWindowUI *UI;
65 MainWindowUI *UI;
67
66
68 LFRXmlWriter *lfrXmlWriter;
67 LFRXmlWriter *lfrXmlWriter;
69
68
70 WFPacket wfPacketNormal[4];
69 WFPacket wfPacketNormal[4];
71 WFPacket wfPacketBurst;
70 WFPacket wfPacketBurst;
72 WFPacket wfPacketSBM1;
71 WFPacket wfPacketSBM1;
73 WFPacket wfPacketSBM2;
72 WFPacket wfPacketSBM2;
74
73
75 bool parsingContinue;
74 bool parsingContinue;
76
75
77 signals:
76 signals:
78 void socketTMHasChanged(QTcpSocket *socket);
77 void socketTMHasChanged(QTcpSocket *socket);
79
78
80 public slots:
79 public slots:
81 void displayOnConsole(QString message);
80 void displayOnConsole(QString message);
82 void listenOnTCTMPorts();
81 void listenOnTCTMPorts();
83 void testTCTMPorts();
82 void testTCTMPorts();
84 void newConnectionOnTCServer();
83 void newConnectionOnTCServer();
85 void newConnectionOnTMServer();
84 void newConnectionOnTMServer();
86 void readDataOnTCPort();
85 void readDataOnTCPort();
87 void readDataOnTMPort();
86 void readDataOnTMPort();
88 void readDataOnSocketEchoServer();
87 void readDataOnSocketEchoServer();
89 void openEchoServer();
88 void openEchoServer();
90 void socket_TMEcho_ServerHasChanged();
89 void socket_TMEcho_ServerHasChanged();
91 void processIncomingPacket(TMPacketToRead *packet);
90 void processIncomingPacket(TMPacketToRead *packet);
92 void resetStatistics();
91 void resetStatistics();
93 void processPacketStore();
92 void processPacketStore();
94 };
93 };
95
94
96 #endif // MAINWINDOW_H
95 #endif // MAINWINDOW_H
@@ -1,162 +1,162
1 #include "mainwindowui.h"
1 #include "mainwindowui.h"
2
2
3 MainWindowUI::MainWindowUI(QWidget *parent) :
3 MainWindowUI::MainWindowUI(QWidget *parent) :
4 QWidget(parent)
4 QWidget(parent)
5 {
5 {
6 label_serverTMEcho = new QLabel(tr("TM Echo Server address"));
6 label_serverTMEcho = new QLabel(tr("TM Echo Server address"));
7 label_serverTMEchoPort = new QLabel(tr("TM Echo Server Port"));
7 label_serverTMEchoPort = new QLabel(tr("TM Echo Server Port"));
8 label_TMServerPort = new QLabel(tr("TM Server Port:"));
8 label_TMServerPort = new QLabel(tr("TM Server Port:"));
9 label_TCServerPort = new QLabel(tr("TC Server Port:"));
9 label_TCServerPort = new QLabel(tr("TC Server Port:"));
10 label_currentTCTMServer = new QLabel(tr("Current IP address:"));
10 label_currentTCTMServer = new QLabel(tr("Current IP address:"));
11 label_currentTCTMServerIP = new QLabel(tr("-"));
11 label_currentTCTMServerIP = new QLabel(tr("-"));
12 label_totalOfBytes = new QLabel(tr("Received Bytes: -"));
12 label_totalOfBytes = new QLabel(tr("Received Bytes: -"));
13 label_totalOfPackets = new QLabel(tr("Received Packets: -"));
13 label_totalOfPackets = new QLabel(tr("Received Packets: -"));
14
14
15 console = new QTextEdit();
15 console = new QTextEdit();
16
16
17 spwTabWidget = new QTabWidget;
17 spwTabWidget = new QTabWidget();
18 spwTabWidgetPage0 = new QWidget;
18 spwTabWidgetPage0 = new QWidget();
19 spwTabWidgetPage1 = new QWidget;
19 spwTabWidgetPage1 = new QWidget();
20 spwTabWidgetPage2 = new QWidget;
20 spwTabWidgetPage2 = new QWidget();
21 spwTabWidgetPage3 = new QWidget;
21 spwTabWidgetPage3 = new QWidget();
22 spwTabWidgetPage4 = new QWidget;
22 spwTabWidgetPage4 = new QWidget();
23 spwTabWidgetPage5 = new QWidget; // WFRM BURST
23 spwTabWidgetPage5 = new QWidget(); // WFRM BURST
24 spwTabWidgetPage6 = new QWidget; // WFRM SBM1
24 spwTabWidgetPage6 = new QWidget(); // WFRM SBM1
25 spwTabWidgetPage7 = new QWidget; // WFRM SBM2
25 spwTabWidgetPage7 = new QWidget(); // WFRM SBM2
26
26
27 tmStatistics = new TMStatistics;
27 tmStatistics = new TMStatistics;
28
28
29 wfDisplay = new WFDisplay();
29 wfDisplay = new WFDisplay();
30 wfPageBurst = new WFPage();
30 wfPageBurst = new WFPage();
31 wfPageSBM1 = new WFPage();
31 wfPageSBM1 = new WFPage();
32 wfPageSBM2 = new WFPage();
32 wfPageSBM2 = new WFPage();
33 hkDisplay = new HKDisplay();
33 hkDisplay = new HKDisplay();
34 lfrSpectrogam = new LFRSpectrogram();
34 lfrSpectrogam = new LFRSpectrogram();
35
35
36 spinbox_TMServerPort = new QSpinBox();
36 spinbox_TMServerPort = new QSpinBox();
37 spinbox_TCServerPort = new QSpinBox();
37 spinbox_TCServerPort = new QSpinBox();
38 spinbox_serverTMEchoPort = new QSpinBox();
38 spinbox_serverTMEchoPort = new QSpinBox();
39 spinbox_TMServerPort->setRange(59000, 65535);
39 spinbox_TMServerPort->setRange(59000, 65535);
40 spinbox_TCServerPort->setRange(59001, 65535);
40 spinbox_TCServerPort->setRange(59001, 65535);
41 spinbox_serverTMEchoPort->setRange(59002, 65535);
41 spinbox_serverTMEchoPort->setRange(59002, 65535);
42
42
43 button_openServerTCTM = new QPushButton(tr("Open TC / TM Ports"));
43 button_openServerTCTM = new QPushButton(tr("Open TC / TM Ports"));
44 button_testServerTCTM = new QPushButton(tr("Test TC / TM Ports"));
44 button_testServerTCTM = new QPushButton(tr("Test TC / TM Ports"));
45 button_openSocketEchoServer = new QPushButton(tr("Open Echo Server"));
45 button_openSocketEchoServer = new QPushButton(tr("Open Echo Server"));
46 button_TCAcknowledgement = new QPushButton(tr("send TC Acknowledgement"));
46 button_TCAcknowledgement = new QPushButton(tr("send TC Acknowledgement"));
47 button_TCRejection = new QPushButton(tr("send TC rejection"));
47 button_TCRejection = new QPushButton(tr("send TC rejection"));
48 button_GSEHK = new QPushButton(tr("send GSE HK"));
48 button_GSEHK = new QPushButton(tr("send GSE HK"));
49 button_clearConsole = new QPushButton(tr("Clear console"));
49 button_clearConsole = new QPushButton(tr("Clear console"));
50 button_resetStatistics = new QPushButton(tr("Reset statistics"));
50 button_resetStatistics = new QPushButton(tr("Reset statistics"));
51
51
52 serverTMEchoDialogBox = new QIPDialogBox();
52 serverTMEchoDialogBox = new QIPDialogBox();
53 serverTMEchoDialogBox->setIP(127, 0, 0, 1);
53 serverTMEchoDialogBox->setIP(127, 0, 0, 1);
54
54
55 groupbox_TMEcho = new QGroupBox(tr("TM Echo Server"));
55 groupbox_TMEcho = new QGroupBox(tr("TM Echo Server"));
56 groupbox_ports = new QGroupBox(tr("Ports for the TM and TC Servers"));
56 groupbox_ports = new QGroupBox(tr("Ports for the TM and TC Servers"));
57 groupbox_TMToForeignGSETester = new QGroupBox(tr("Send TM to the foreign GSE tester"));
57 groupbox_TMToForeignGSETester = new QGroupBox(tr("Send TM to the foreign GSE tester"));
58
58
59 layout_TMEcho = new QVBoxLayout();
59 layout_TMEcho = new QVBoxLayout();
60 layout_overallLayout = new QVBoxLayout();
60 layout_overallLayout = new QVBoxLayout();
61 layout_ports = new QGridLayout();
61 layout_ports = new QGridLayout();
62 layout_TMToForeignGSETester = new QVBoxLayout();
62 layout_TMToForeignGSETester = new QVBoxLayout();
63 mainLayout = new QGridLayout();
63 mainLayout = new QGridLayout();
64
64
65 layout_TMEcho->addWidget(label_serverTMEcho);
65 layout_TMEcho->addWidget(label_serverTMEcho);
66 layout_TMEcho->addWidget(serverTMEchoDialogBox);
66 layout_TMEcho->addWidget(serverTMEchoDialogBox);
67 layout_TMEcho->addWidget(label_serverTMEchoPort);
67 layout_TMEcho->addWidget(label_serverTMEchoPort);
68 layout_TMEcho->addWidget(spinbox_serverTMEchoPort);
68 layout_TMEcho->addWidget(spinbox_serverTMEchoPort);
69 layout_TMEcho->addWidget(button_openSocketEchoServer);
69 layout_TMEcho->addWidget(button_openSocketEchoServer);
70 layout_TMEcho->addWidget(label_totalOfPackets);
70 layout_TMEcho->addWidget(label_totalOfPackets);
71 layout_TMEcho->addWidget(label_totalOfBytes);
71 layout_TMEcho->addWidget(label_totalOfBytes);
72 layout_TMEcho->addWidget(button_resetStatistics);
72 layout_TMEcho->addWidget(button_resetStatistics);
73 groupbox_TMEcho->setLayout(layout_TMEcho);
73 groupbox_TMEcho->setLayout(layout_TMEcho);
74
74
75 layout_ports->addWidget(label_TMServerPort, 0, 0, 1, 1);
75 layout_ports->addWidget(label_TMServerPort, 0, 0, 1, 1);
76 layout_ports->addWidget(spinbox_TMServerPort, 0, 1, 1, 1);
76 layout_ports->addWidget(spinbox_TMServerPort, 0, 1, 1, 1);
77 layout_ports->addWidget(label_TCServerPort, 1, 0, 1, 1);
77 layout_ports->addWidget(label_TCServerPort, 1, 0, 1, 1);
78 layout_ports->addWidget(spinbox_TCServerPort, 1, 1, 1, 1);
78 layout_ports->addWidget(spinbox_TCServerPort, 1, 1, 1, 1);
79 layout_ports->addWidget(button_openServerTCTM, 2, 0, 1, 2);
79 layout_ports->addWidget(button_openServerTCTM, 2, 0, 1, 2);
80 layout_ports->addWidget(button_testServerTCTM, 3, 0, 1, 2);
80 layout_ports->addWidget(button_testServerTCTM, 3, 0, 1, 2);
81 groupbox_ports->setLayout(layout_ports);
81 groupbox_ports->setLayout(layout_ports);
82
82
83 layout_TMToForeignGSETester->addWidget(button_TCAcknowledgement);
83 layout_TMToForeignGSETester->addWidget(button_TCAcknowledgement);
84 layout_TMToForeignGSETester->addWidget(button_TCRejection);
84 layout_TMToForeignGSETester->addWidget(button_TCRejection);
85 layout_TMToForeignGSETester->addWidget(button_GSEHK);
85 layout_TMToForeignGSETester->addWidget(button_GSEHK);
86 groupbox_TMToForeignGSETester->setLayout(layout_TMToForeignGSETester);
86 groupbox_TMToForeignGSETester->setLayout(layout_TMToForeignGSETester);
87
87
88 mainLayout->addWidget(groupbox_TMEcho, 0, 0, 1, 1);
88 mainLayout->addWidget(groupbox_TMEcho, 0, 0, 1, 1);
89 mainLayout->addWidget(groupbox_ports, 1, 0, 1, 1);
89 mainLayout->addWidget(groupbox_ports, 1, 0, 1, 1);
90 mainLayout->addWidget(groupbox_TMToForeignGSETester, 2, 0, 1, 1);
90 mainLayout->addWidget(groupbox_TMToForeignGSETester, 2, 0, 1, 1);
91 mainLayout->addWidget(console, 0, 1, 2, 2);
91 mainLayout->addWidget(console, 0, 1, 2, 2);
92 mainLayout->addWidget(button_clearConsole, 3, 1, 1, 2);
92 mainLayout->addWidget(button_clearConsole, 3, 1, 1, 2);
93
93
94 spwTabWidget->addTab(spwTabWidgetPage0, tr("Connection"));
94 spwTabWidget->addTab(spwTabWidgetPage0, tr("Connection"));
95 spwTabWidget->addTab(spwTabWidgetPage1, tr("TM Statistics"));
95 spwTabWidget->addTab(spwTabWidgetPage1, tr("TM Statistics"));
96 spwTabWidget->addTab(spwTabWidgetPage3, tr("HK"));
96 spwTabWidget->addTab(spwTabWidgetPage3, tr("HK"));
97 spwTabWidget->addTab(spwTabWidgetPage2, tr("WFRM NORM"));
97 spwTabWidget->addTab(spwTabWidgetPage2, tr("WFRM NORM"));
98 spwTabWidget->addTab(spwTabWidgetPage5, tr("WFRM BURST"));
98 spwTabWidget->addTab((QWidget *) wfPageBurst, tr("WFRM BURST"));
99 spwTabWidget->addTab(spwTabWidgetPage6, tr("WFRM SBM1"));
99 spwTabWidget->addTab((QWidget *) wfPageSBM1, tr("WFRM SBM1"));
100 spwTabWidget->addTab(spwTabWidgetPage7, tr("WFRM SBM2"));
100 spwTabWidget->addTab((QWidget *) wfPageSBM2, tr("WFRM SBM2"));
101 spwTabWidget->addTab(spwTabWidgetPage4, tr("Spectrograms"));
101 spwTabWidget->addTab(spwTabWidgetPage4, tr("Spectrograms"));
102
102
103 spwTabWidgetPage0->setLayout(mainLayout);
103 spwTabWidgetPage0->setLayout(mainLayout);
104 spwTabWidgetPage1->setLayout(tmStatistics->layout());
104 spwTabWidgetPage1->setLayout(tmStatistics->layout());
105 spwTabWidgetPage2->setLayout(wfDisplay->layout());
105 spwTabWidgetPage2->setLayout(wfDisplay->layout());
106 spwTabWidgetPage3->setLayout(hkDisplay->layout());
106 spwTabWidgetPage3->setLayout(hkDisplay->layout());
107 spwTabWidgetPage4->setLayout(lfrSpectrogam->layout());
107 spwTabWidgetPage4->setLayout(lfrSpectrogam->layout());
108 spwTabWidgetPage5->setLayout(wfPageBurst->layout());
108 //spwTabWidgetPage5->setLayout(wfPageBurst->layout());
109 spwTabWidgetPage6->setLayout(wfPageSBM1->layout());
109 //spwTabWidgetPage6->setLayout(wfPageSBM1->layout());
110 spwTabWidgetPage7->setLayout(wfPageSBM2->layout());
110 //spwTabWidgetPage7->setLayout(wfPageSBM2->layout());
111
111
112 layout_overallLayout->addWidget(spwTabWidget);
112 layout_overallLayout->addWidget(spwTabWidget);
113
113
114 this->setLayout(layout_overallLayout);
114 this->setLayout(layout_overallLayout);
115
115
116 connect(this->button_clearConsole, SIGNAL(clicked()), this, SLOT(clearConsole()));
116 connect(this->button_clearConsole, SIGNAL(clicked()), this, SLOT(clearConsole()));
117 }
117 }
118
118
119 QString MainWindowUI::getTMEchoServerAddress()
119 QString MainWindowUI::getTMEchoServerAddress()
120 {
120 {
121 return(serverTMEchoDialogBox->getIP());
121 return(serverTMEchoDialogBox->getIP());
122 }
122 }
123
123
124 void MainWindowUI::setTCTMServerAddressIP(QString address)
124 void MainWindowUI::setTCTMServerAddressIP(QString address)
125 {
125 {
126 label_currentTCTMServerIP->setText(address);
126 label_currentTCTMServerIP->setText(address);
127 }
127 }
128
128
129 int MainWindowUI::getTMPort()
129 int MainWindowUI::getTMPort()
130 {
130 {
131 return spinbox_TMServerPort->value();
131 return spinbox_TMServerPort->value();
132 }
132 }
133
133
134 int MainWindowUI::getTCPort()
134 int MainWindowUI::getTCPort()
135 {
135 {
136 return spinbox_TCServerPort->value();
136 return spinbox_TCServerPort->value();
137 }
137 }
138
138
139 void MainWindowUI::displayOnConsole(QString message)
139 void MainWindowUI::displayOnConsole(QString message)
140 {
140 {
141 console->append(message);
141 console->append(message);
142 }
142 }
143
143
144 void MainWindowUI::clearConsole()
144 void MainWindowUI::clearConsole()
145 {
145 {
146 console->clear();
146 console->clear();
147 }
147 }
148
148
149 void MainWindowUI::totalOfBytesHasChanged(unsigned int nbBytes)
149 void MainWindowUI::totalOfBytesHasChanged(unsigned int nbBytes)
150 {
150 {
151 label_totalOfBytes->setText(
151 label_totalOfBytes->setText(
152 "Received Bytes: "
152 "Received Bytes: "
153 + QString::number(nbBytes));
153 + QString::number(nbBytes));
154 }
154 }
155
155
156 void MainWindowUI::totalOfPacketsHasChanged(unsigned int nbPackets)
156 void MainWindowUI::totalOfPacketsHasChanged(unsigned int nbPackets)
157 {
157 {
158 label_totalOfPackets->setText(
158 label_totalOfPackets->setText(
159 "Received Packets: "
159 "Received Packets: "
160 + QString::number(nbPackets));
160 + QString::number(nbPackets));
161 }
161 }
162
162
@@ -1,101 +1,102
1 #ifndef MAINWINDOWUI_H
1 #ifndef MAINWINDOWUI_H
2 #define MAINWINDOWUI_H
2 #define MAINWINDOWUI_H
3
3
4 #include <QWidget>
4 #include <QWidget>
5 #include <qipdialogbox.h>
5 #include <qipdialogbox.h>
6 #include <QLabel>
6 #include <QLabel>
7 #include <QPushButton>
7 #include <QPushButton>
8 #include <QGridLayout>
8 #include <QGridLayout>
9 #include <QVBoxLayout>
9 #include <QVBoxLayout>
10 #include <QGroupBox>
10 #include <QGroupBox>
11 #include <QSpinBox>
11 #include <QSpinBox>
12 #include <QTextEdit>
12 #include <QTextEdit>
13 #include <QTabWidget>
13 #include <QTabWidget>
14
14
15 #include <wfdisplay.h>
16
15 #include "tmstatistics.h"
17 #include "tmstatistics.h"
16 #include "wfdisplay.h"
17 #include "hkdisplay.h"
18 #include "hkdisplay.h"
18 #include "lfrspectrogram.h"
19 #include "lfrspectrogram.h"
19
20
20 class MainWindowUI : public QWidget
21 class MainWindowUI : public QWidget
21 {
22 {
22 Q_OBJECT
23 Q_OBJECT
23 public:
24 public:
24 explicit MainWindowUI(QWidget *parent = 0);
25 explicit MainWindowUI(QWidget *parent = 0);
25
26
26 void setTCTMServerAddressIP(QString address);
27 void setTCTMServerAddressIP(QString address);
27 QString getTMEchoServerAddress();
28 QString getTMEchoServerAddress();
28 int getTMPort();
29 int getTMPort();
29 int getTCPort();
30 int getTCPort();
30 void displayOnConsole(QString message);
31 void displayOnConsole(QString message);
31
32
32 QTabWidget *spwTabWidget;
33 QTabWidget *spwTabWidget;
33 QWidget* spwTabWidgetPage0;
34 QWidget* spwTabWidgetPage0;
34 QWidget* spwTabWidgetPage1;
35 QWidget* spwTabWidgetPage1;
35 QWidget* spwTabWidgetPage2;
36 QWidget* spwTabWidgetPage2;
36 QWidget* spwTabWidgetPage3;
37 QWidget* spwTabWidgetPage3;
37 QWidget* spwTabWidgetPage4;
38 QWidget* spwTabWidgetPage4;
38 QWidget* spwTabWidgetPage5;
39 QWidget* spwTabWidgetPage5;
39 QWidget* spwTabWidgetPage6;
40 QWidget* spwTabWidgetPage6;
40 QWidget* spwTabWidgetPage7;
41 QWidget* spwTabWidgetPage7;
41
42
42 TMStatistics* tmStatistics;
43 TMStatistics* tmStatistics;
43
44
44 WFDisplay* wfDisplay;
45 WFDisplay* wfDisplay;
45 WFPage* wfPageBurst;
46 WFPage* wfPageBurst;
46 WFPage* wfPageSBM1;
47 WFPage* wfPageSBM1;
47 WFPage* wfPageSBM2;
48 WFPage* wfPageSBM2;
48 HKDisplay* hkDisplay;
49 HKDisplay* hkDisplay;
49 LFRSpectrogram* lfrSpectrogam;
50 LFRSpectrogram* lfrSpectrogam;
50
51
51 QWidget* widget_spectrogram;
52 QWidget* widget_spectrogram;
52
53
53 QPushButton *button_openServerTCTM;
54 QPushButton *button_openServerTCTM;
54 QPushButton *button_testServerTCTM;
55 QPushButton *button_testServerTCTM;
55 QPushButton *button_openSocketEchoServer;
56 QPushButton *button_openSocketEchoServer;
56 QPushButton *button_TCAcknowledgement;
57 QPushButton *button_TCAcknowledgement;
57 QPushButton *button_TCRejection;
58 QPushButton *button_TCRejection;
58 QPushButton *button_GSEHK;
59 QPushButton *button_GSEHK;
59 QPushButton *button_clearConsole;
60 QPushButton *button_clearConsole;
60 QPushButton *button_resetStatistics;
61 QPushButton *button_resetStatistics;
61
62
62 QIPDialogBox *serverTMEchoDialogBox;
63 QIPDialogBox *serverTMEchoDialogBox;
63
64
64 QSpinBox *spinbox_serverTMEchoPort;
65 QSpinBox *spinbox_serverTMEchoPort;
65
66
66 signals:
67 signals:
67
68
68 public slots:
69 public slots:
69 void clearConsole();
70 void clearConsole();
70 void totalOfBytesHasChanged(unsigned int nbBytes);
71 void totalOfBytesHasChanged(unsigned int nbBytes);
71 void totalOfPacketsHasChanged(unsigned int nbPackets);
72 void totalOfPacketsHasChanged(unsigned int nbPackets);
72
73
73 private:
74 private:
74 QLabel *label_serverTMEcho;
75 QLabel *label_serverTMEcho;
75 QLabel *label_serverTMEchoPort;
76 QLabel *label_serverTMEchoPort;
76 QLabel *label_TMServerPort;
77 QLabel *label_TMServerPort;
77 QLabel *label_TCServerPort;
78 QLabel *label_TCServerPort;
78 QLabel *label_currentTCTMServer;
79 QLabel *label_currentTCTMServer;
79 QLabel *label_currentTCTMServerIP;
80 QLabel *label_currentTCTMServerIP;
80 QLabel *label_totalOfBytes;
81 QLabel *label_totalOfBytes;
81 QLabel *label_totalOfPackets;
82 QLabel *label_totalOfPackets;
82
83
83 QTextEdit *console;
84 QTextEdit *console;
84
85
85 QSpinBox *spinbox_TMServerPort;
86 QSpinBox *spinbox_TMServerPort;
86 QSpinBox *spinbox_TCServerPort;
87 QSpinBox *spinbox_TCServerPort;
87
88
88 QGroupBox *groupbox_TMEcho;
89 QGroupBox *groupbox_TMEcho;
89 QGroupBox *groupbox_ports;
90 QGroupBox *groupbox_ports;
90 QGroupBox *groupbox_TMToForeignGSETester;
91 QGroupBox *groupbox_TMToForeignGSETester;
91
92
92 QVBoxLayout *layout_TMEcho;
93 QVBoxLayout *layout_TMEcho;
93 QVBoxLayout *layout_TMToForeignGSETester;
94 QVBoxLayout *layout_TMToForeignGSETester;
94 QVBoxLayout *layout_overallLayout;
95 QVBoxLayout *layout_overallLayout;
95
96
96 QGridLayout *mainLayout;
97 QGridLayout *mainLayout;
97 QGridLayout *layout_ports;
98 QGridLayout *layout_ports;
98
99
99 };
100 };
100
101
101 #endif // MAINWINDOWUI_H
102 #endif // MAINWINDOWUI_H
@@ -1,540 +1,540
1 #include "tmstatistics.h"
1 #include "tmstatistics.h"
2 #include <QtGui>
2 #include <QtGui>
3 #include <QFontInfo>
3 #include <QFontInfo>
4
4
5 TMStatistics::TMStatistics(QWidget *parent) :
5 TMStatistics::TMStatistics(QWidget *parent) :
6 QWidget(parent)
6 QWidget(parent)
7 {
7 {
8 // Create Fonts
8 // Create Fonts
9 QFont font;
9 QFont font;
10 //font = QFont(this->fontInfo().family(), STATISTICS_FONT_SIZE, QFont::Light);
10 font = QFont(this->fontInfo().family(), STATISTICS_FONT_SIZE, QFont::Light);
11
11
12 label_UNKNOWN = new QLabel("UNKNOWN");
12 label_UNKNOWN = new QLabel("UNKNOWN");
13 label_UNKNOWN_nb = new QLabel("-");
13 label_UNKNOWN_nb = new QLabel("-");
14
14
15 mainLayout = new QGridLayout();
15 mainLayout = new QGridLayout();
16 layout_stat = new QGridLayout(); // TM stastictics
16 layout_stat = new QGridLayout(); // TM stastictics
17 layout_NORM = new QGridLayout(); // TM_LFR_SCIENCE_NORMAL_
17 layout_NORM = new QGridLayout(); // TM_LFR_SCIENCE_NORMAL_
18 layout_BURST = new QGridLayout(); // TM_LFR_SCIENCE_BURST_
18 layout_BURST = new QGridLayout(); // TM_LFR_SCIENCE_BURST_
19 layout_SBM1 = new QGridLayout(); // TM_LFR_SCIENCE_SBM1_
19 layout_SBM1 = new QGridLayout(); // TM_LFR_SCIENCE_SBM1_
20 layout_SBM2 = new QGridLayout(); // TM_LFR_SCIENCE_SBM2_
20 layout_SBM2 = new QGridLayout(); // TM_LFR_SCIENCE_SBM2_
21 layout_last = new QGridLayout(); // last TM description
21 layout_last = new QGridLayout(); // last TM description
22
22
23 //***************
23 //***************
24 // TM_LFR_TC_EXE_
24 // TM_LFR_TC_EXE_
25 label_SUCC = new QLabel("SUCCESS");
25 label_SUCC = new QLabel("SUCCESS");
26 label_INCO = new QLabel("INCONSISTENT");
26 label_INCO = new QLabel("INCONSISTENT");
27 label_NOTE = new QLabel("NOT_EXECUTABLE");
27 label_NOTE = new QLabel("NOT_EXECUTABLE");
28 label_NOTI = new QLabel("NOT_IMPLEMENTED");
28 label_NOTI = new QLabel("NOT_IMPLEMENTED");
29 label_ERRO = new QLabel("ERROR");
29 label_ERRO = new QLabel("ERROR");
30 label_CORR = new QLabel("CORRUPTED");
30 label_CORR = new QLabel("CORRUPTED");
31 label_HK = new QLabel("TM_LFR_HK");
31 label_HK = new QLabel("TM_LFR_HK");
32 //
32 //
33 label_SUCC_nb = new QLabel("-");
33 label_SUCC_nb = new QLabel("-");
34 label_INCO_nb = new QLabel("-");
34 label_INCO_nb = new QLabel("-");
35 label_NOTE_nb = new QLabel("-");
35 label_NOTE_nb = new QLabel("-");
36 label_NOTI_nb = new QLabel("-");
36 label_NOTI_nb = new QLabel("-");
37 label_ERRO_nb = new QLabel("-");
37 label_ERRO_nb = new QLabel("-");
38 label_CORR_nb = new QLabel("-");
38 label_CORR_nb = new QLabel("-");
39 label_HK_nb = new QLabel("-");
39 label_HK_nb = new QLabel("-");
40
40
41 //***********************
41 //***********************
42 // TM_LFR_SCIENCE_NORMAL_
42 // TM_LFR_SCIENCE_NORMAL_
43 label_NORM_SWF_F0 = new QLabel("SWF_F0");
43 label_NORM_SWF_F0 = new QLabel("SWF_F0");
44 label_NORM_SWF_F1 = new QLabel("SWF_F1");
44 label_NORM_SWF_F1 = new QLabel("SWF_F1");
45 label_NORM_SWF_F2 = new QLabel("SWF_F2");
45 label_NORM_SWF_F2 = new QLabel("SWF_F2");
46 label_NORM_CWF_F3 = new QLabel("CWF_F3");
46 label_NORM_CWF_F3 = new QLabel("CWF_F3");
47 label_NORM_ASM_F0 = new QLabel("ASM_F0");
47 label_NORM_ASM_F0 = new QLabel("ASM_F0");
48 label_NORM_ASM_F1 = new QLabel("ASM_F1");
48 label_NORM_ASM_F1 = new QLabel("ASM_F1");
49 label_NORM_ASM_F2 = new QLabel("ASM_F2");
49 label_NORM_ASM_F2 = new QLabel("ASM_F2");
50 label_NORM_BP1_F0 = new QLabel("BP1_F0");
50 label_NORM_BP1_F0 = new QLabel("BP1_F0");
51 label_NORM_BP1_F1 = new QLabel("BP1_F1");
51 label_NORM_BP1_F1 = new QLabel("BP1_F1");
52 label_NORM_BP1_F2 = new QLabel("BP1_F2");
52 label_NORM_BP1_F2 = new QLabel("BP1_F2");
53 label_NORM_BP2_F0 = new QLabel("BP2_F0");
53 label_NORM_BP2_F0 = new QLabel("BP2_F0");
54 label_NORM_BP2_F1 = new QLabel("BP2_F1");
54 label_NORM_BP2_F1 = new QLabel("BP2_F1");
55 label_NORM_BP2_F2 = new QLabel("BP2_F2");
55 label_NORM_BP2_F2 = new QLabel("BP2_F2");
56 //
56 //
57 label_NORM_SWF_F0_nb = new QLabel("-");
57 label_NORM_SWF_F0_nb = new QLabel("-");
58 label_NORM_SWF_F1_nb = new QLabel("-");
58 label_NORM_SWF_F1_nb = new QLabel("-");
59 label_NORM_SWF_F2_nb = new QLabel("-");
59 label_NORM_SWF_F2_nb = new QLabel("-");
60 label_NORM_CWF_F3_nb = new QLabel("-");
60 label_NORM_CWF_F3_nb = new QLabel("-");
61 label_NORM_ASM_F0_nb = new QLabel("-");
61 label_NORM_ASM_F0_nb = new QLabel("-");
62 label_NORM_ASM_F1_nb = new QLabel("-");
62 label_NORM_ASM_F1_nb = new QLabel("-");
63 label_NORM_ASM_F2_nb = new QLabel("-");
63 label_NORM_ASM_F2_nb = new QLabel("-");
64 label_NORM_BP1_F0_nb = new QLabel("-");
64 label_NORM_BP1_F0_nb = new QLabel("-");
65 label_NORM_BP1_F1_nb = new QLabel("-");
65 label_NORM_BP1_F1_nb = new QLabel("-");
66 label_NORM_BP1_F2_nb = new QLabel("-");
66 label_NORM_BP1_F2_nb = new QLabel("-");
67 label_NORM_BP2_F0_nb = new QLabel("-");
67 label_NORM_BP2_F0_nb = new QLabel("-");
68 label_NORM_BP2_F1_nb = new QLabel("-");
68 label_NORM_BP2_F1_nb = new QLabel("-");
69 label_NORM_BP2_F2_nb = new QLabel("-");
69 label_NORM_BP2_F2_nb = new QLabel("-");
70
70
71 //**********************
71 //**********************
72 // TM_LFR_SCIENCE_BURST_
72 // TM_LFR_SCIENCE_BURST_
73 label_BURST_CWF_F2 = new QLabel("CWF_F2");
73 label_BURST_CWF_F2 = new QLabel("CWF_F2");
74 label_BURST_BP1_F0 = new QLabel("BP1_F0");
74 label_BURST_BP1_F0 = new QLabel("BP1_F0");
75 label_BURST_BP2_F0 = new QLabel("BP2_F0");
75 label_BURST_BP2_F0 = new QLabel("BP2_F0");
76 label_BURST_BP1_F1 = new QLabel("BP1_F1");
76 label_BURST_BP1_F1 = new QLabel("BP1_F1");
77 label_BURST_BP2_F1 = new QLabel("BP2_F1");
77 label_BURST_BP2_F1 = new QLabel("BP2_F1");
78 //
78 //
79 label_BURST_CWF_F2_nb = new QLabel("-");
79 label_BURST_CWF_F2_nb = new QLabel("-");
80 label_BURST_BP1_F0_nb = new QLabel("-");
80 label_BURST_BP1_F0_nb = new QLabel("-");
81 label_BURST_BP2_F0_nb = new QLabel("-");
81 label_BURST_BP2_F0_nb = new QLabel("-");
82 label_BURST_BP1_F1_nb = new QLabel("-");
82 label_BURST_BP1_F1_nb = new QLabel("-");
83 label_BURST_BP2_F1_nb = new QLabel("-");
83 label_BURST_BP2_F1_nb = new QLabel("-");
84
84
85 //*********************
85 //*********************
86 // TM_LFR_SCIENCE_SBM1_
86 // TM_LFR_SCIENCE_SBM1_
87 label_SBM1_CWF_F1 = new QLabel("CWF_F1");
87 label_SBM1_CWF_F1 = new QLabel("CWF_F1");
88 label_SBM1_BP1_F0 = new QLabel("BP1_F0");
88 label_SBM1_BP1_F0 = new QLabel("BP1_F0");
89 label_SBM1_BP2_F0 = new QLabel("BP2_F0");
89 label_SBM1_BP2_F0 = new QLabel("BP2_F0");
90 //
90 //
91 label_SBM1_CWF_F1_nb = new QLabel("-");
91 label_SBM1_CWF_F1_nb = new QLabel("-");
92 label_SBM1_BP1_F0_nb = new QLabel("-");
92 label_SBM1_BP1_F0_nb = new QLabel("-");
93 label_SBM1_BP2_F0_nb = new QLabel("-");
93 label_SBM1_BP2_F0_nb = new QLabel("-");
94
94
95 //*********************
95 //*********************
96 // TM_LFR_SCIENCE_SBM2_
96 // TM_LFR_SCIENCE_SBM2_
97 label_SBM2_CWF_F2 = new QLabel("CWF_F2");
97 label_SBM2_CWF_F2 = new QLabel("CWF_F2");
98 label_SBM2_BP1_F0 = new QLabel("BP1_F0");
98 label_SBM2_BP1_F0 = new QLabel("BP1_F0");
99 label_SBM2_BP2_F0 = new QLabel("BP2_F0");
99 label_SBM2_BP2_F0 = new QLabel("BP2_F0");
100 label_SBM2_BP1_F1 = new QLabel("BP1_F1");
100 label_SBM2_BP1_F1 = new QLabel("BP1_F1");
101 label_SBM2_BP2_F1 = new QLabel("BP2_F1");
101 label_SBM2_BP2_F1 = new QLabel("BP2_F1");
102 //
102 //
103 label_SBM2_CWF_F2_nb = new QLabel("-");
103 label_SBM2_CWF_F2_nb = new QLabel("-");
104 label_SBM2_BP1_F0_nb = new QLabel("-");
104 label_SBM2_BP1_F0_nb = new QLabel("-");
105 label_SBM2_BP2_F0_nb = new QLabel("-");
105 label_SBM2_BP2_F0_nb = new QLabel("-");
106 label_SBM2_BP1_F1_nb = new QLabel("-");
106 label_SBM2_BP1_F1_nb = new QLabel("-");
107 label_SBM2_BP2_F1_nb = new QLabel("-");
107 label_SBM2_BP2_F1_nb = new QLabel("-");
108
108
109 //********
109 //********
110 // LAST TM
110 // LAST TM
111 label_PID = new QLabel("PID");
111 label_PID = new QLabel("PID");
112 label_CAT = new QLabel("CAT");
112 label_CAT = new QLabel("CAT");
113 label_TYP = new QLabel("Type");
113 label_TYP = new QLabel("Type");
114 label_SUB = new QLabel("Subtype");
114 label_SUB = new QLabel("Subtype");
115 label_SID = new QLabel("SID");
115 label_SID = new QLabel("SID");
116 label_SIZ = new QLabel("Length");
116 label_SIZ = new QLabel("Length");
117 label_coarse_time = new QLabel("Coarse time: ");
117 label_coarse_time = new QLabel("Coarse time: ");
118 label_fine_time = new QLabel("Fine time: ");
118 label_fine_time = new QLabel("Fine time: ");
119 //
119 //
120 label_PID_is = new QLabel("-");
120 label_PID_is = new QLabel("-");
121 label_CAT_is = new QLabel("-");
121 label_CAT_is = new QLabel("-");
122 label_TYP_is = new QLabel("-");
122 label_TYP_is = new QLabel("-");
123 label_SUB_is = new QLabel("-");
123 label_SUB_is = new QLabel("-");
124 label_SID_is = new QLabel("-");
124 label_SID_is = new QLabel("-");
125 label_SIZ_is = new QLabel("-");
125 label_SIZ_is = new QLabel("-");
126 label_coarse_time_val = new QLabel("-");
126 label_coarse_time_val = new QLabel("-");
127 label_fine_time_val = new QLabel("-");
127 label_fine_time_val = new QLabel("-");
128
128
129 // QPushButton
129 // QPushButton
130 button_reset_stat = new QPushButton("reset stat");
130 button_reset_stat = new QPushButton("reset stat");
131
131
132 //**********
132 //**********
133 // QGroupBox
133 // QGroupBox
134 this->setStyleSheet("QGroupBox {border: 1px solid black; }");
134 this->setStyleSheet("QGroupBox {border: 1px solid black; }");
135
135
136 groupbox_stat = new QGroupBox("TM_LFR_TC_EXE_");
136 groupbox_stat = new QGroupBox("TM_LFR_TC_EXE_");
137 groupbox_NORM = new QGroupBox("TM_LFR_SCIENCE_NORMAL_");
137 groupbox_NORM = new QGroupBox("TM_LFR_SCIENCE_NORMAL_");
138 groupbox_BURST = new QGroupBox("TM_LFR_SCIENCE_BURST_");
138 groupbox_BURST = new QGroupBox("TM_LFR_SCIENCE_BURST_");
139 groupbox_SBM1 = new QGroupBox("TM_LFR_SCIENCE_SBM1_");
139 groupbox_SBM1 = new QGroupBox("TM_LFR_SCIENCE_SBM1_");
140 groupbox_SBM2 = new QGroupBox("TM_LFR_SCIENCE_SBM2_");
140 groupbox_SBM2 = new QGroupBox("TM_LFR_SCIENCE_SBM2_");
141 groupbox_last = new QGroupBox("Last TM received");
141 groupbox_last = new QGroupBox("Last TM received");
142
142
143 groupbox_stat->setFont(font);
143 groupbox_stat->setFont(font);
144 groupbox_NORM->setFont(font);
144 groupbox_NORM->setFont(font);
145 groupbox_BURST->setFont(font);
145 groupbox_BURST->setFont(font);
146 groupbox_SBM1->setFont(font);
146 groupbox_SBM1->setFont(font);
147 groupbox_SBM2->setFont(font);
147 groupbox_SBM2->setFont(font);
148 groupbox_last->setFont(font);
148 groupbox_last->setFont(font);
149
149
150 initConstants();
150 initConstants();
151
151
152 buildMonitor_NORM();
152 buildMonitor_NORM();
153 buildMonitor_BURST();
153 buildMonitor_BURST();
154 buildMonitor_SBM1();
154 buildMonitor_SBM1();
155 buildMonitor_SBM2();
155 buildMonitor_SBM2();
156 buildMonitor();
156 buildMonitor();
157
157
158 connect(this->button_reset_stat, SIGNAL(clicked()), this, SLOT(resetStatistics()));
158 connect(this->button_reset_stat, SIGNAL(clicked()), this, SLOT(resetStatistics()));
159
159
160 }
160 }
161
161
162 void TMStatistics::initConstants()
162 void TMStatistics::initConstants()
163 {
163 {
164 UNKNOWN_nb = 0;
164 UNKNOWN_nb = 0;
165
165
166 // TM_LFR_SCIENCE_NORMAL_
166 // TM_LFR_SCIENCE_NORMAL_
167 SUCC_nb = 0;
167 SUCC_nb = 0;
168 INCO_nb = 0;
168 INCO_nb = 0;
169 NOTE_nb = 0;
169 NOTE_nb = 0;
170 NOTI_nb = 0;
170 NOTI_nb = 0;
171 ERRO_nb = 0;
171 ERRO_nb = 0;
172 CORR_nb = 0;
172 CORR_nb = 0;
173 HK_nb = 0;
173 HK_nb = 0;
174
174
175 // TM_LFR_SCIENCE_NORMAL_
175 // TM_LFR_SCIENCE_NORMAL_
176 NORM_SWF_F0_nb = 0;
176 NORM_SWF_F0_nb = 0;
177 NORM_SWF_F1_nb = 0;
177 NORM_SWF_F1_nb = 0;
178 NORM_SWF_F2_nb = 0;
178 NORM_SWF_F2_nb = 0;
179 NORM_CWF_F3_nb = 0;
179 NORM_CWF_F3_nb = 0;
180 NORM_ASM_F0_nb = 0;
180 NORM_ASM_F0_nb = 0;
181 NORM_ASM_F1_nb = 0;
181 NORM_ASM_F1_nb = 0;
182 NORM_ASM_F2_nb = 0;
182 NORM_ASM_F2_nb = 0;
183 NORM_BP1_F0_nb = 0;
183 NORM_BP1_F0_nb = 0;
184 NORM_BP1_F1_nb = 0;
184 NORM_BP1_F1_nb = 0;
185 NORM_BP1_F2_nb = 0;
185 NORM_BP1_F2_nb = 0;
186 NORM_BP2_F0_nb = 0;
186 NORM_BP2_F0_nb = 0;
187 NORM_BP2_F1_nb = 0;
187 NORM_BP2_F1_nb = 0;
188 NORM_BP2_F2_nb = 0;
188 NORM_BP2_F2_nb = 0;
189
189
190 BURST_CWF_F2_nb = 0;
190 BURST_CWF_F2_nb = 0;
191 BURST_BP1_F0_nb = 0;
191 BURST_BP1_F0_nb = 0;
192 BURST_BP2_F0_nb = 0;
192 BURST_BP2_F0_nb = 0;
193 BURST_BP1_F1_nb = 0;
193 BURST_BP1_F1_nb = 0;
194 BURST_BP2_F1_nb = 0;
194 BURST_BP2_F1_nb = 0;
195 SBM1_CWF_F1_nb = 0;
195 SBM1_CWF_F1_nb = 0;
196 SBM1_BP1_F0_nb = 0;
196 SBM1_BP1_F0_nb = 0;
197 SBM1_BP2_F0_nb = 0;
197 SBM1_BP2_F0_nb = 0;
198 SBM2_CWF_F2_nb = 0;
198 SBM2_CWF_F2_nb = 0;
199 SBM2_BP1_F0_nb = 0;
199 SBM2_BP1_F0_nb = 0;
200 SBM2_BP2_F0_nb = 0;
200 SBM2_BP2_F0_nb = 0;
201 SBM2_BP1_F1_nb = 0;
201 SBM2_BP1_F1_nb = 0;
202 SBM2_BP2_F1_nb = 0;
202 SBM2_BP2_F1_nb = 0;
203 }
203 }
204
204
205 void TMStatistics::buildMonitor_NORM()
205 void TMStatistics::buildMonitor_NORM()
206 {
206 {
207 layout_NORM->addWidget(label_NORM_SWF_F0, 0, 0, 1, 1);
207 layout_NORM->addWidget(label_NORM_SWF_F0, 0, 0, 1, 1);
208 layout_NORM->addWidget(label_NORM_SWF_F1, 1, 0, 1, 1);
208 layout_NORM->addWidget(label_NORM_SWF_F1, 1, 0, 1, 1);
209 layout_NORM->addWidget(label_NORM_SWF_F2, 2, 0, 1, 1);
209 layout_NORM->addWidget(label_NORM_SWF_F2, 2, 0, 1, 1);
210 layout_NORM->addWidget(label_NORM_CWF_F3, 3, 0, 1, 1);
210 layout_NORM->addWidget(label_NORM_CWF_F3, 3, 0, 1, 1);
211 //
211 //
212 layout_NORM->addWidget(label_NORM_SWF_F0_nb, 0, 1, 1, 1);
212 layout_NORM->addWidget(label_NORM_SWF_F0_nb, 0, 1, 1, 1);
213 layout_NORM->addWidget(label_NORM_SWF_F1_nb, 1, 1, 1, 1);
213 layout_NORM->addWidget(label_NORM_SWF_F1_nb, 1, 1, 1, 1);
214 layout_NORM->addWidget(label_NORM_SWF_F2_nb, 2, 1, 1, 1);
214 layout_NORM->addWidget(label_NORM_SWF_F2_nb, 2, 1, 1, 1);
215 layout_NORM->addWidget(label_NORM_CWF_F3_nb, 3, 1, 1, 1);
215 layout_NORM->addWidget(label_NORM_CWF_F3_nb, 3, 1, 1, 1);
216 //
216 //
217 layout_NORM->addWidget(label_NORM_ASM_F0, 4, 0, 1, 1);
217 layout_NORM->addWidget(label_NORM_ASM_F0, 4, 0, 1, 1);
218 layout_NORM->addWidget(label_NORM_ASM_F1, 5, 0, 1, 1);
218 layout_NORM->addWidget(label_NORM_ASM_F1, 5, 0, 1, 1);
219 layout_NORM->addWidget(label_NORM_ASM_F2, 6, 0, 1, 1);
219 layout_NORM->addWidget(label_NORM_ASM_F2, 6, 0, 1, 1);
220 //
220 //
221 layout_NORM->addWidget(label_NORM_ASM_F0_nb, 4, 1, 1, 1);
221 layout_NORM->addWidget(label_NORM_ASM_F0_nb, 4, 1, 1, 1);
222 layout_NORM->addWidget(label_NORM_ASM_F1_nb, 5, 1, 1, 1);
222 layout_NORM->addWidget(label_NORM_ASM_F1_nb, 5, 1, 1, 1);
223 layout_NORM->addWidget(label_NORM_ASM_F2_nb, 6, 1, 1, 1);
223 layout_NORM->addWidget(label_NORM_ASM_F2_nb, 6, 1, 1, 1);
224 //
224 //
225 layout_NORM->addWidget(label_NORM_BP1_F0, 0, 2, 1, 1);
225 layout_NORM->addWidget(label_NORM_BP1_F0, 0, 2, 1, 1);
226 layout_NORM->addWidget(label_NORM_BP1_F1, 1, 2, 1, 1);
226 layout_NORM->addWidget(label_NORM_BP1_F1, 1, 2, 1, 1);
227 layout_NORM->addWidget(label_NORM_BP1_F2, 2, 2, 1, 1);
227 layout_NORM->addWidget(label_NORM_BP1_F2, 2, 2, 1, 1);
228 layout_NORM->addWidget(label_NORM_BP2_F0, 3, 2, 1, 1);
228 layout_NORM->addWidget(label_NORM_BP2_F0, 3, 2, 1, 1);
229 layout_NORM->addWidget(label_NORM_BP2_F1, 4, 2, 1, 1);
229 layout_NORM->addWidget(label_NORM_BP2_F1, 4, 2, 1, 1);
230 layout_NORM->addWidget(label_NORM_BP2_F2, 5, 2, 1, 1);
230 layout_NORM->addWidget(label_NORM_BP2_F2, 5, 2, 1, 1);
231 //
231 //
232 layout_NORM->addWidget(label_NORM_BP1_F0_nb, 0, 3, 1, 1);
232 layout_NORM->addWidget(label_NORM_BP1_F0_nb, 0, 3, 1, 1);
233 layout_NORM->addWidget(label_NORM_BP1_F1_nb, 1, 3, 1, 1);
233 layout_NORM->addWidget(label_NORM_BP1_F1_nb, 1, 3, 1, 1);
234 layout_NORM->addWidget(label_NORM_BP1_F2_nb, 2, 3, 1, 1);
234 layout_NORM->addWidget(label_NORM_BP1_F2_nb, 2, 3, 1, 1);
235 layout_NORM->addWidget(label_NORM_BP2_F0_nb, 3, 3, 1, 1);
235 layout_NORM->addWidget(label_NORM_BP2_F0_nb, 3, 3, 1, 1);
236 layout_NORM->addWidget(label_NORM_BP2_F1_nb, 4, 3, 1, 1);
236 layout_NORM->addWidget(label_NORM_BP2_F1_nb, 4, 3, 1, 1);
237 layout_NORM->addWidget(label_NORM_BP2_F2_nb, 5, 3, 1, 1);
237 layout_NORM->addWidget(label_NORM_BP2_F2_nb, 5, 3, 1, 1);
238 }
238 }
239
239
240 void TMStatistics::buildMonitor_BURST()
240 void TMStatistics::buildMonitor_BURST()
241 {
241 {
242 layout_BURST->addWidget(label_BURST_CWF_F2, 0, 0, 1, 1);
242 layout_BURST->addWidget(label_BURST_CWF_F2, 0, 0, 1, 1);
243 layout_BURST->addWidget(label_BURST_BP1_F0, 1, 0, 1, 1);
243 layout_BURST->addWidget(label_BURST_BP1_F0, 1, 0, 1, 1);
244 layout_BURST->addWidget(label_BURST_BP2_F0, 2, 0, 1, 1);
244 layout_BURST->addWidget(label_BURST_BP2_F0, 2, 0, 1, 1);
245 layout_BURST->addWidget(label_BURST_BP1_F1, 3, 0, 1, 1);
245 layout_BURST->addWidget(label_BURST_BP1_F1, 3, 0, 1, 1);
246 layout_BURST->addWidget(label_BURST_BP2_F1, 4, 0, 1, 1);
246 layout_BURST->addWidget(label_BURST_BP2_F1, 4, 0, 1, 1);
247 //
247 //
248 layout_BURST->addWidget(label_BURST_CWF_F2_nb, 0, 1, 1, 1);
248 layout_BURST->addWidget(label_BURST_CWF_F2_nb, 0, 1, 1, 1);
249 layout_BURST->addWidget(label_BURST_BP1_F0_nb, 1, 1, 1, 1);
249 layout_BURST->addWidget(label_BURST_BP1_F0_nb, 1, 1, 1, 1);
250 layout_BURST->addWidget(label_BURST_BP2_F0_nb, 2, 1, 1, 1);
250 layout_BURST->addWidget(label_BURST_BP2_F0_nb, 2, 1, 1, 1);
251 layout_BURST->addWidget(label_BURST_BP1_F1_nb, 3, 1, 1, 1);
251 layout_BURST->addWidget(label_BURST_BP1_F1_nb, 3, 1, 1, 1);
252 layout_BURST->addWidget(label_BURST_BP2_F1_nb, 4, 1, 1, 1);
252 layout_BURST->addWidget(label_BURST_BP2_F1_nb, 4, 1, 1, 1);
253 //
253 //
254 layout_BURST->setRowStretch(5, 1);
254 layout_BURST->setRowStretch(5, 1);
255 layout_BURST->setColumnStretch(2,1);
255 layout_BURST->setColumnStretch(2,1);
256 }
256 }
257
257
258 void TMStatistics::buildMonitor_SBM1()
258 void TMStatistics::buildMonitor_SBM1()
259 {
259 {
260 layout_SBM1->addWidget(label_SBM1_CWF_F1, 0, 0, 1, 1);
260 layout_SBM1->addWidget(label_SBM1_CWF_F1, 0, 0, 1, 1);
261 layout_SBM1->addWidget(label_SBM1_BP1_F0, 1, 0, 1, 1);
261 layout_SBM1->addWidget(label_SBM1_BP1_F0, 1, 0, 1, 1);
262 layout_SBM1->addWidget(label_SBM1_BP2_F0, 2, 0, 1, 1);
262 layout_SBM1->addWidget(label_SBM1_BP2_F0, 2, 0, 1, 1);
263 //
263 //
264 layout_SBM1->addWidget(label_SBM1_CWF_F1_nb, 0, 1, 1, 1);
264 layout_SBM1->addWidget(label_SBM1_CWF_F1_nb, 0, 1, 1, 1);
265 layout_SBM1->addWidget(label_SBM1_BP1_F0_nb, 1, 1, 1, 1);
265 layout_SBM1->addWidget(label_SBM1_BP1_F0_nb, 1, 1, 1, 1);
266 layout_SBM1->addWidget(label_SBM1_BP2_F0_nb, 2, 1, 1, 1);
266 layout_SBM1->addWidget(label_SBM1_BP2_F0_nb, 2, 1, 1, 1);
267 //
267 //
268 layout_SBM1->setRowStretch(3, 1);
268 layout_SBM1->setRowStretch(3, 1);
269 layout_SBM1->setColumnStretch(2,1);
269 layout_SBM1->setColumnStretch(2,1);
270 }
270 }
271
271
272 void TMStatistics::buildMonitor_SBM2()
272 void TMStatistics::buildMonitor_SBM2()
273 {
273 {
274 layout_SBM2->addWidget(label_SBM2_CWF_F2, 0, 0, 1, 1);
274 layout_SBM2->addWidget(label_SBM2_CWF_F2, 0, 0, 1, 1);
275 layout_SBM2->addWidget(label_SBM2_BP1_F0, 1, 0, 1, 1);
275 layout_SBM2->addWidget(label_SBM2_BP1_F0, 1, 0, 1, 1);
276 layout_SBM2->addWidget(label_SBM2_BP2_F0, 2, 0, 1, 1);
276 layout_SBM2->addWidget(label_SBM2_BP2_F0, 2, 0, 1, 1);
277 layout_SBM2->addWidget(label_SBM2_BP1_F1, 3, 0, 1, 1);
277 layout_SBM2->addWidget(label_SBM2_BP1_F1, 3, 0, 1, 1);
278 layout_SBM2->addWidget(label_SBM2_BP2_F1, 4, 0, 1, 1);
278 layout_SBM2->addWidget(label_SBM2_BP2_F1, 4, 0, 1, 1);
279 //
279 //
280 layout_SBM2->addWidget(label_SBM2_CWF_F2_nb, 0, 1, 1, 1);
280 layout_SBM2->addWidget(label_SBM2_CWF_F2_nb, 0, 1, 1, 1);
281 layout_SBM2->addWidget(label_SBM2_BP1_F0_nb, 1, 1, 1, 1);
281 layout_SBM2->addWidget(label_SBM2_BP1_F0_nb, 1, 1, 1, 1);
282 layout_SBM2->addWidget(label_SBM2_BP2_F0_nb, 2, 1, 1, 1);
282 layout_SBM2->addWidget(label_SBM2_BP2_F0_nb, 2, 1, 1, 1);
283 layout_SBM2->addWidget(label_SBM2_BP1_F1_nb, 3, 1, 1, 1);
283 layout_SBM2->addWidget(label_SBM2_BP1_F1_nb, 3, 1, 1, 1);
284 layout_SBM2->addWidget(label_SBM2_BP2_F1_nb, 4, 1, 1, 1);
284 layout_SBM2->addWidget(label_SBM2_BP2_F1_nb, 4, 1, 1, 1);
285 //
285 //
286 layout_SBM2->setRowStretch(5, 1);
286 layout_SBM2->setRowStretch(5, 1);
287 layout_SBM2->setColumnStretch(2,1);
287 layout_SBM2->setColumnStretch(2,1);
288 }
288 }
289
289
290 void TMStatistics::buildMonitor()
290 void TMStatistics::buildMonitor()
291 {
291 {
292 //***************
292 //***************
293 // TM_LFR_TC_EXE_
293 // TM_LFR_TC_EXE_
294 layout_stat->addWidget(label_SUCC, 0, 0, 1, 1);
294 layout_stat->addWidget(label_SUCC, 0, 0, 1, 1);
295 layout_stat->addWidget(label_INCO, 1, 0, 1, 1);
295 layout_stat->addWidget(label_INCO, 1, 0, 1, 1);
296 layout_stat->addWidget(label_NOTE, 2, 0, 1, 1);
296 layout_stat->addWidget(label_NOTE, 2, 0, 1, 1);
297 layout_stat->addWidget(label_NOTI, 3, 0, 1, 1);
297 layout_stat->addWidget(label_NOTI, 3, 0, 1, 1);
298 layout_stat->addWidget(label_ERRO, 4, 0, 1, 1);
298 layout_stat->addWidget(label_ERRO, 4, 0, 1, 1);
299 layout_stat->addWidget(label_CORR, 5, 0, 1, 1);
299 layout_stat->addWidget(label_CORR, 5, 0, 1, 1);
300 layout_stat->addWidget(label_HK, 6, 0, 1, 1);
300 layout_stat->addWidget(label_HK, 6, 0, 1, 1);
301 //
301 //
302 layout_stat->addWidget(label_SUCC_nb, 0, 1, 1, 1);
302 layout_stat->addWidget(label_SUCC_nb, 0, 1, 1, 1);
303 layout_stat->addWidget(label_INCO_nb, 1, 1, 1, 1);
303 layout_stat->addWidget(label_INCO_nb, 1, 1, 1, 1);
304 layout_stat->addWidget(label_NOTE_nb, 2, 1, 1, 1);
304 layout_stat->addWidget(label_NOTE_nb, 2, 1, 1, 1);
305 layout_stat->addWidget(label_NOTI_nb, 3, 1, 1, 1);
305 layout_stat->addWidget(label_NOTI_nb, 3, 1, 1, 1);
306 layout_stat->addWidget(label_ERRO_nb, 4, 1, 1, 1);
306 layout_stat->addWidget(label_ERRO_nb, 4, 1, 1, 1);
307 layout_stat->addWidget(label_CORR_nb, 5, 1, 1, 1);
307 layout_stat->addWidget(label_CORR_nb, 5, 1, 1, 1);
308 layout_stat->addWidget(label_HK_nb, 6, 1, 1, 1);
308 layout_stat->addWidget(label_HK_nb, 6, 1, 1, 1);
309
309
310 //********
310 //********
311 // LAST TM
311 // LAST TM
312 layout_last->addWidget(label_PID, 0, 0, 1, 1);
312 layout_last->addWidget(label_PID, 0, 0, 1, 1);
313 layout_last->addWidget(label_CAT, 0, 1, 1, 1);
313 layout_last->addWidget(label_CAT, 0, 1, 1, 1);
314 layout_last->addWidget(label_TYP, 0, 2, 1, 1);
314 layout_last->addWidget(label_TYP, 0, 2, 1, 1);
315 layout_last->addWidget(label_SUB, 0, 3, 1, 1);
315 layout_last->addWidget(label_SUB, 0, 3, 1, 1);
316 layout_last->addWidget(label_SID, 0, 4, 1, 1);
316 layout_last->addWidget(label_SID, 0, 4, 1, 1);
317 layout_last->addWidget(label_SIZ, 0, 5, 1, 1);
317 layout_last->addWidget(label_SIZ, 0, 5, 1, 1);
318 //
318 //
319 layout_last->addWidget(label_PID_is, 1, 0, 1, 1);
319 layout_last->addWidget(label_PID_is, 1, 0, 1, 1);
320 layout_last->addWidget(label_CAT_is, 1, 1, 1, 1);
320 layout_last->addWidget(label_CAT_is, 1, 1, 1, 1);
321 layout_last->addWidget(label_TYP_is, 1, 2, 1, 1);
321 layout_last->addWidget(label_TYP_is, 1, 2, 1, 1);
322 layout_last->addWidget(label_SUB_is, 1, 3, 1, 1);
322 layout_last->addWidget(label_SUB_is, 1, 3, 1, 1);
323 layout_last->addWidget(label_SID_is, 1, 4, 1, 1);
323 layout_last->addWidget(label_SID_is, 1, 4, 1, 1);
324 layout_last->addWidget(label_SIZ_is, 1, 5, 1, 1);
324 layout_last->addWidget(label_SIZ_is, 1, 5, 1, 1);
325 //
325 //
326 layout_last->addWidget(label_coarse_time, 2, 0, 1, 1);
326 layout_last->addWidget(label_coarse_time, 2, 0, 1, 1);
327 layout_last->addWidget(label_coarse_time_val, 2, 1, 1, 1);
327 layout_last->addWidget(label_coarse_time_val, 2, 1, 1, 1);
328 layout_last->addWidget(label_fine_time, 2, 2, 1, 1);
328 layout_last->addWidget(label_fine_time, 2, 2, 1, 1);
329 layout_last->addWidget(label_fine_time_val, 2, 3, 1, 1);
329 layout_last->addWidget(label_fine_time_val, 2, 3, 1, 1);
330 //
330 //
331 layout_last->addWidget(label_UNKNOWN, 3, 0, 1, 1);
331 layout_last->addWidget(label_UNKNOWN, 3, 0, 1, 1);
332 layout_last->addWidget(label_UNKNOWN_nb, 3, 1, 1, 1);
332 layout_last->addWidget(label_UNKNOWN_nb, 3, 1, 1, 1);
333
333
334 //***********
334 //***********
335 // groupboxes
335 // groupboxes
336 groupbox_stat->setLayout(layout_stat);
336 groupbox_stat->setLayout(layout_stat);
337 groupbox_NORM->setLayout(layout_NORM);
337 groupbox_NORM->setLayout(layout_NORM);
338 groupbox_BURST->setLayout(layout_BURST);
338 groupbox_BURST->setLayout(layout_BURST);
339 groupbox_SBM1->setLayout(layout_SBM1);
339 groupbox_SBM1->setLayout(layout_SBM1);
340 groupbox_SBM2->setLayout(layout_SBM2);
340 groupbox_SBM2->setLayout(layout_SBM2);
341 groupbox_last->setLayout(layout_last);
341 groupbox_last->setLayout(layout_last);
342 //
342 //
343 mainLayout->addWidget(groupbox_stat, 0, 0, 1, 1);
343 mainLayout->addWidget(groupbox_stat, 0, 0, 1, 1);
344 mainLayout->addWidget(groupbox_NORM, 1, 0, 1, 1);
344 mainLayout->addWidget(groupbox_NORM, 1, 0, 1, 1);
345 mainLayout->addWidget(groupbox_last, 2, 0, 1, 2);
345 mainLayout->addWidget(groupbox_last, 2, 0, 1, 2);
346 mainLayout->addWidget(groupbox_SBM1, 0, 1, 1, 1);
346 mainLayout->addWidget(groupbox_SBM1, 0, 1, 1, 1);
347 mainLayout->addWidget(groupbox_SBM2, 0, 2, 1, 1);
347 mainLayout->addWidget(groupbox_SBM2, 0, 2, 1, 1);
348 mainLayout->addWidget(groupbox_BURST, 1, 1, 1, 1);
348 mainLayout->addWidget(groupbox_BURST, 1, 1, 1, 1);
349 mainLayout->addWidget(button_reset_stat, 3, 0, 1, 2);
349 mainLayout->addWidget(button_reset_stat, 3, 0, 1, 2);
350 mainLayout->setColumnStretch(3, 1);
350 mainLayout->setColumnStretch(3, 1);
351 mainLayout->setRowStretch(4, 1);
351 mainLayout->setRowStretch(4, 1);
352 //
352 //
353 this->setLayout(mainLayout);
353 this->setLayout(mainLayout);
354 }
354 }
355
355
356 void TMStatistics::resetStatistics()
356 void TMStatistics::resetStatistics()
357 {
357 {
358 initConstants();
358 initConstants();
359 //
359 //
360 label_UNKNOWN_nb->setText("-");
360 label_UNKNOWN_nb->setText("-");
361 label_SUCC_nb->setText("-");
361 label_SUCC_nb->setText("-");
362 label_INCO_nb->setText("-");
362 label_INCO_nb->setText("-");
363 label_NOTE_nb->setText("-");
363 label_NOTE_nb->setText("-");
364 label_NOTI_nb->setText("-");
364 label_NOTI_nb->setText("-");
365 label_ERRO_nb->setText("-");
365 label_ERRO_nb->setText("-");
366 label_CORR_nb->setText("-");
366 label_CORR_nb->setText("-");
367 label_HK_nb->setText("-");
367 label_HK_nb->setText("-");
368 //
368 //
369 label_NORM_SWF_F0_nb->setText("-");
369 label_NORM_SWF_F0_nb->setText("-");
370 label_NORM_SWF_F1_nb->setText("-");
370 label_NORM_SWF_F1_nb->setText("-");
371 label_NORM_SWF_F2_nb->setText("-");
371 label_NORM_SWF_F2_nb->setText("-");
372 label_NORM_CWF_F3_nb->setText("-");
372 label_NORM_CWF_F3_nb->setText("-");
373 //
373 //
374 label_BURST_CWF_F2_nb->setText("-");
374 label_BURST_CWF_F2_nb->setText("-");
375 //
375 //
376 label_SBM1_CWF_F1_nb->setText("-");
376 label_SBM1_CWF_F1_nb->setText("-");
377 //
377 //
378 label_SBM2_CWF_F2_nb->setText("-");
378 label_SBM2_CWF_F2_nb->setText("-");
379 //
379 //
380 label_PID_is->setText("-");
380 label_PID_is->setText("-");
381 label_CAT_is->setText("-");
381 label_CAT_is->setText("-");
382 label_TYP_is->setText("-");
382 label_TYP_is->setText("-");
383 label_SUB_is->setText("-");
383 label_SUB_is->setText("-");
384 label_SID_is->setText("-");
384 label_SID_is->setText("-");
385 label_SIZ_is->setText("-");
385 label_SIZ_is->setText("-");
386 //
386 //
387 label_coarse_time_val->setText("-");
387 label_coarse_time_val->setText("-");
388 label_fine_time_val->setText("-");
388 label_fine_time_val->setText("-");
389 }
389 }
390
390
391 void TMStatistics::updateStatistics(unsigned char pid, unsigned char cat,
391 void TMStatistics::updateStatistics(unsigned char pid, unsigned char cat,
392 unsigned char typ, unsigned char sub,
392 unsigned char typ, unsigned char sub,
393 unsigned int sid, unsigned int length,
393 unsigned int sid, unsigned int length,
394 unsigned int coarse_t, unsigned int fine_t)
394 unsigned int coarse_t, unsigned int fine_t)
395 {
395 {
396 if (cat == 1)
396 if (cat == 1)
397 {
397 {
398 if (typ == 1)
398 if (typ == 1)
399 {
399 {
400 if (sub == 7)
400 if (sub == 7)
401 {
401 {
402 SUCC_nb = SUCC_nb + 1;
402 SUCC_nb = SUCC_nb + 1;
403 label_SUCC_nb->setText(QString::number(SUCC_nb));
403 label_SUCC_nb->setText(QString::number(SUCC_nb));
404 }
404 }
405 else if (sub == 8)
405 else if (sub == 8)
406 {
406 {
407 if (sid == 5)
407 if (sid == 5)
408 {
408 {
409 INCO_nb = INCO_nb + 1;
409 INCO_nb = INCO_nb + 1;
410 label_INCO_nb->setText(QString::number(INCO_nb));
410 label_INCO_nb->setText(QString::number(INCO_nb));
411 }
411 }
412 else if (sid == 40000)
412 else if (sid == 40000)
413 {
413 {
414 NOTE_nb = NOTE_nb + 1;
414 NOTE_nb = NOTE_nb + 1;
415 label_NOTE_nb->setText(QString::number(NOTE_nb));
415 label_NOTE_nb->setText(QString::number(NOTE_nb));
416 }
416 }
417 else if (sid == 40002)
417 else if (sid == 40002)
418 {
418 {
419 NOTI_nb = NOTI_nb + 1;
419 NOTI_nb = NOTI_nb + 1;
420 label_NOTI_nb->setText(QString::number(NOTI_nb));
420 label_NOTI_nb->setText(QString::number(NOTI_nb));
421 }
421 }
422 else if (sid == 40003)
422 else if (sid == 40003)
423 {
423 {
424 ERRO_nb = ERRO_nb + 1;
424 ERRO_nb = ERRO_nb + 1;
425 label_ERRO_nb->setText(QString::number(ERRO_nb));
425 label_ERRO_nb->setText(QString::number(ERRO_nb));
426 }
426 }
427 else if (sid == 40005)
427 else if (sid == 40005)
428 {
428 {
429 CORR_nb = CORR_nb + 1;
429 CORR_nb = CORR_nb + 1;
430 label_CORR_nb->setText(QString::number(CORR_nb));
430 label_CORR_nb->setText(QString::number(CORR_nb));
431 }
431 }
432 else incrementUnknown();
432 else incrementUnknown();
433 }
433 }
434 else incrementUnknown();
434 else incrementUnknown();
435 }
435 }
436 else
436 else
437 incrementUnknown();
437 incrementUnknown();
438 }
438 }
439 else if (cat == 4)
439 else if (cat == 4)
440 {
440 {
441 if (typ == 3)
441 if (typ == 3)
442 {
442 {
443 if (sub == 25)
443 if (sub == 25)
444 if (sid == 1)
444 if (sid == 1)
445 {
445 {
446 HK_nb = HK_nb + 1;
446 HK_nb = HK_nb + 1;
447 label_HK_nb->setText(QString::number(HK_nb));
447 label_HK_nb->setText(QString::number(HK_nb));
448 }
448 }
449 else
449 else
450 {
450 {
451 incrementUnknown();
451 incrementUnknown();
452 }
452 }
453 else
453 else
454 {
454 {
455 incrementUnknown();
455 incrementUnknown();
456 }
456 }
457 }
457 }
458 else
458 else
459 {
459 {
460 incrementUnknown();
460 incrementUnknown();
461 }
461 }
462 }
462 }
463 else if (cat == 12)
463 else if (cat == 12)
464 {
464 {
465 if (typ == 21)
465 if (typ == 21)
466 {
466 {
467 if (sub == 3)
467 if (sub == 3)
468 {
468 {
469 if (sid == 1)
469 if (sid == 1)
470 {
470 {
471 NORM_CWF_F3_nb = NORM_CWF_F3_nb + 1;
471 NORM_CWF_F3_nb = NORM_CWF_F3_nb + 1;
472 label_NORM_CWF_F3_nb->setText(QString::number(NORM_CWF_F3_nb));
472 label_NORM_CWF_F3_nb->setText(QString::number(NORM_CWF_F3_nb));
473 }
473 }
474 else if (sid == 2)
474 else if (sid == 2)
475 {
475 {
476 BURST_CWF_F2_nb = BURST_CWF_F2_nb + 1;
476 BURST_CWF_F2_nb = BURST_CWF_F2_nb + 1;
477 label_BURST_CWF_F2_nb->setText(QString::number(BURST_CWF_F2_nb));
477 label_BURST_CWF_F2_nb->setText(QString::number(BURST_CWF_F2_nb));
478 }
478 }
479 else if (sid == 3)
479 else if (sid == 3)
480 {
480 {
481 NORM_SWF_F0_nb = NORM_SWF_F0_nb + 1;
481 NORM_SWF_F0_nb = NORM_SWF_F0_nb + 1;
482 label_NORM_SWF_F0_nb->setText(QString::number(NORM_SWF_F0_nb));
482 label_NORM_SWF_F0_nb->setText(QString::number(NORM_SWF_F0_nb));
483 }
483 }
484 else if (sid == 4)
484 else if (sid == 4)
485 {
485 {
486 NORM_SWF_F1_nb = NORM_SWF_F1_nb + 1;
486 NORM_SWF_F1_nb = NORM_SWF_F1_nb + 1;
487 label_NORM_SWF_F1_nb->setText(QString::number(NORM_SWF_F1_nb));
487 label_NORM_SWF_F1_nb->setText(QString::number(NORM_SWF_F1_nb));
488 }
488 }
489 else if (sid == 5)
489 else if (sid == 5)
490 {
490 {
491 NORM_SWF_F2_nb = NORM_SWF_F2_nb + 1;
491 NORM_SWF_F2_nb = NORM_SWF_F2_nb + 1;
492 label_NORM_SWF_F2_nb->setText(QString::number(NORM_SWF_F2_nb));
492 label_NORM_SWF_F2_nb->setText(QString::number(NORM_SWF_F2_nb));
493 }
493 }
494 else if (sid == 24)
494 else if (sid == 24)
495 {
495 {
496 SBM1_CWF_F1_nb = SBM1_CWF_F1_nb + 1;
496 SBM1_CWF_F1_nb = SBM1_CWF_F1_nb + 1;
497 label_SBM1_CWF_F1_nb->setText(QString::number(SBM1_CWF_F1_nb));
497 label_SBM1_CWF_F1_nb->setText(QString::number(SBM1_CWF_F1_nb));
498 }
498 }
499 else if (sid == 25)
499 else if (sid == 25)
500 {
500 {
501 SBM2_CWF_F2_nb = SBM2_CWF_F2_nb + 1;
501 SBM2_CWF_F2_nb = SBM2_CWF_F2_nb + 1;
502 label_SBM2_CWF_F2_nb->setText(QString::number(SBM2_CWF_F2_nb));
502 label_SBM2_CWF_F2_nb->setText(QString::number(SBM2_CWF_F2_nb));
503 }
503 }
504 else
504 else
505 {
505 {
506 incrementUnknown();
506 incrementUnknown();
507 }
507 }
508 }
508 }
509 }
509 }
510 else
510 else
511 {
511 {
512 incrementUnknown();
512 incrementUnknown();
513 }
513 }
514 }
514 }
515 else
515 else
516 {
516 {
517 incrementUnknown();
517 incrementUnknown();
518 }
518 }
519
519
520 label_PID_is->setText(QString::number(pid));
520 label_PID_is->setText(QString::number(pid));
521 label_CAT_is->setText(QString::number(cat));
521 label_CAT_is->setText(QString::number(cat));
522 label_TYP_is->setText(QString::number(typ));
522 label_TYP_is->setText(QString::number(typ));
523 label_SUB_is->setText(QString::number(sub));
523 label_SUB_is->setText(QString::number(sub));
524 label_SID_is->setText(QString::number(sid));
524 label_SID_is->setText(QString::number(sid));
525 label_SIZ_is->setText(QString::number(length));
525 label_SIZ_is->setText(QString::number(length));
526 label_coarse_time_val->setText(QString::number(coarse_t, 16));
526 label_coarse_time_val->setText(QString::number(coarse_t, 16));
527 label_fine_time_val->setText(QString::number(fine_t, 16));
527 label_fine_time_val->setText(QString::number(fine_t, 16));
528 }
528 }
529
529
530 void TMStatistics::incrementUnknown()
530 void TMStatistics::incrementUnknown()
531 {
531 {
532 UNKNOWN_nb = UNKNOWN_nb + 1;
532 UNKNOWN_nb = UNKNOWN_nb + 1;
533 label_UNKNOWN_nb->setText(QString::number(UNKNOWN_nb));
533 label_UNKNOWN_nb->setText(QString::number(UNKNOWN_nb));
534 }
534 }
535
535
536
536
537
537
538
538
539
539
540
540
@@ -1,308 +1,314
1 #############################################################################
1 #############################################################################
2 # Makefile for building: libwfdisplay.so.1.0.0
2 # Makefile for building: libwfdisplay.so.1.0.0
3 # Generated by qmake (2.01a) (Qt 4.8.4) on: Fri Jun 28 15:43:38 2013
3 # Generated by qmake (2.01a) (Qt 4.8.4) on: Thu Jul 4 10:42:53 2013
4 # Project: wfdisplay.pro
4 # Project: wfdisplay.pro
5 # Template: lib
5 # Template: lib
6 # Command: /usr/bin/qmake-qt4 -o Makefile wfdisplay.pro
6 # Command: /usr/bin/qmake-qt4 -o Makefile wfdisplay.pro
7 #############################################################################
7 #############################################################################
8
8
9 ####### Compiler, tools and options
9 ####### Compiler, tools and options
10
10
11 CC = gcc
11 CC = gcc
12 CXX = g++
12 CXX = g++
13 DEFINES = -DWFDISPLAY_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
13 DEFINES = -DWFDISPLAY_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
14 CFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
14 CFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
15 CXXFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
15 CXXFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
16 INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I/usr/include/lppmon/common -I.
16 INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -I/usr/include/lppmon/common -I.
17 LINK = g++
17 LINK = g++
18 LFLAGS = -Wl,-O1 -Wl,-z,relro -shared -Wl,-soname,libwfdisplay.so.1
18 LFLAGS = -Wl,-O1 -Wl,-z,relro -shared -Wl,-soname,libwfdisplay.so.1
19 LIBS = $(SUBLIBS) -L/usr/lib64 -llppmoncommon -lQtGui -lQtCore -lpthread
19 LIBS = $(SUBLIBS) -L/usr/lib64 -llppmoncommon -lQtGui -lQtCore -lpthread
20 AR = ar cqs
20 AR = ar cqs
21 RANLIB =
21 RANLIB =
22 QMAKE = /usr/bin/qmake-qt4
22 QMAKE = /usr/bin/qmake-qt4
23 TAR = tar -cf
23 TAR = tar -cf
24 COMPRESS = gzip -9f
24 COMPRESS = gzip -9f
25 COPY = cp -f
25 COPY = cp -f
26 SED = sed
26 SED = sed
27 COPY_FILE = $(COPY)
27 COPY_FILE = $(COPY)
28 COPY_DIR = $(COPY) -r
28 COPY_DIR = $(COPY) -r
29 STRIP =
29 STRIP =
30 INSTALL_FILE = install -m 644 -p
30 INSTALL_FILE = install -m 644 -p
31 INSTALL_DIR = $(COPY_DIR)
31 INSTALL_DIR = $(COPY_DIR)
32 INSTALL_PROGRAM = install -m 755 -p
32 INSTALL_PROGRAM = install -m 755 -p
33 DEL_FILE = rm -f
33 DEL_FILE = rm -f
34 SYMLINK = ln -f -s
34 SYMLINK = ln -f -s
35 DEL_DIR = rmdir
35 DEL_DIR = rmdir
36 MOVE = mv -f
36 MOVE = mv -f
37 CHK_DIR_EXISTS= test -d
37 CHK_DIR_EXISTS= test -d
38 MKDIR = mkdir -p
38 MKDIR = mkdir -p
39
39
40 ####### Output directory
40 ####### Output directory
41
41
42 OBJECTS_DIR = ./
42 OBJECTS_DIR = ./
43
43
44 ####### Files
44 ####### Files
45
45
46 SOURCES = wfdisplay.cpp \
46 SOURCES = wfdisplay.cpp \
47 wfplot.cpp \
47 wfplot.cpp \
48 wfpage.cpp moc_wfdisplay.cpp \
48 wfpage.cpp moc_wfdisplay.cpp \
49 moc_wfplot.cpp \
49 moc_wfplot.cpp \
50 moc_wfpage.cpp
50 moc_wfpage.cpp
51 OBJECTS = wfdisplay.o \
51 OBJECTS = wfdisplay.o \
52 wfplot.o \
52 wfplot.o \
53 wfpage.o \
53 wfpage.o \
54 moc_wfdisplay.o \
54 moc_wfdisplay.o \
55 moc_wfplot.o \
55 moc_wfplot.o \
56 moc_wfpage.o
56 moc_wfpage.o
57 DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \
57 DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \
58 /usr/lib64/qt4/mkspecs/common/linux.conf \
58 /usr/lib64/qt4/mkspecs/common/linux.conf \
59 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
59 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
60 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
60 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
61 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
61 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
62 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
62 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
63 /usr/lib64/qt4/mkspecs/qconfig.pri \
63 /usr/lib64/qt4/mkspecs/qconfig.pri \
64 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
64 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
65 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
65 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
66 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
66 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
67 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
67 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
68 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
68 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
69 /usr/lib64/qt4/mkspecs/features/release.prf \
69 /usr/lib64/qt4/mkspecs/features/release.prf \
70 /usr/lib64/qt4/mkspecs/features/default_post.prf \
70 /usr/lib64/qt4/mkspecs/features/default_post.prf \
71 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
71 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
72 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
72 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
73 /usr/lib64/qt4/mkspecs/features/qt.prf \
73 /usr/lib64/qt4/mkspecs/features/qt.prf \
74 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
74 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
75 /usr/lib64/qt4/mkspecs/features/moc.prf \
75 /usr/lib64/qt4/mkspecs/features/moc.prf \
76 /usr/lib64/qt4/mkspecs/features/resources.prf \
76 /usr/lib64/qt4/mkspecs/features/resources.prf \
77 /usr/lib64/qt4/mkspecs/features/uic.prf \
77 /usr/lib64/qt4/mkspecs/features/uic.prf \
78 /usr/lib64/qt4/mkspecs/features/yacc.prf \
78 /usr/lib64/qt4/mkspecs/features/yacc.prf \
79 /usr/lib64/qt4/mkspecs/features/lex.prf \
79 /usr/lib64/qt4/mkspecs/features/lex.prf \
80 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
80 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
81 wfdisplay.pro
81 wfdisplay.pro
82 QMAKE_TARGET = wfdisplay
82 QMAKE_TARGET = wfdisplay
83 DESTDIR =
83 DESTDIR =
84 TARGET = libwfdisplay.so.1.0.0
84 TARGET = libwfdisplay.so.1.0.0
85 TARGETA = libwfdisplay.a
85 TARGETA = libwfdisplay.a
86 TARGETD = libwfdisplay.so.1.0.0
86 TARGETD = libwfdisplay.so.1.0.0
87 TARGET0 = libwfdisplay.so
87 TARGET0 = libwfdisplay.so
88 TARGET1 = libwfdisplay.so.1
88 TARGET1 = libwfdisplay.so.1
89 TARGET2 = libwfdisplay.so.1.0
89 TARGET2 = libwfdisplay.so.1.0
90
90
91 first: all
91 first: all
92 ####### Implicit rules
92 ####### Implicit rules
93
93
94 .SUFFIXES: .o .c .cpp .cc .cxx .C
94 .SUFFIXES: .o .c .cpp .cc .cxx .C
95
95
96 .cpp.o:
96 .cpp.o:
97 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
97 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
98
98
99 .cc.o:
99 .cc.o:
100 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
100 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
101
101
102 .cxx.o:
102 .cxx.o:
103 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
103 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
104
104
105 .C.o:
105 .C.o:
106 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
106 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
107
107
108 .c.o:
108 .c.o:
109 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
109 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
110
110
111 ####### Build rules
111 ####### Build rules
112
112
113 all: Makefile $(TARGET)
113 all: Makefile $(TARGET)
114
114
115 $(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP)
115 $(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP)
116 -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
116 -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
117 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
117 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
118 -ln -s $(TARGET) $(TARGET0)
118 -ln -s $(TARGET) $(TARGET0)
119 -ln -s $(TARGET) $(TARGET1)
119 -ln -s $(TARGET) $(TARGET1)
120 -ln -s $(TARGET) $(TARGET2)
120 -ln -s $(TARGET) $(TARGET2)
121
121
122
122
123
123
124 staticlib: $(TARGETA)
124 staticlib: $(TARGETA)
125
125
126 $(TARGETA): $(OBJECTS) $(OBJCOMP)
126 $(TARGETA): $(OBJECTS) $(OBJCOMP)
127 -$(DEL_FILE) $(TARGETA)
127 -$(DEL_FILE) $(TARGETA)
128 $(AR) $(TARGETA) $(OBJECTS)
128 $(AR) $(TARGETA) $(OBJECTS)
129
129
130 Makefile: wfdisplay.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \
130 Makefile: wfdisplay.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \
131 /usr/lib64/qt4/mkspecs/common/linux.conf \
131 /usr/lib64/qt4/mkspecs/common/linux.conf \
132 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
132 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
133 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
133 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
134 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
134 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
135 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
135 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
136 /usr/lib64/qt4/mkspecs/qconfig.pri \
136 /usr/lib64/qt4/mkspecs/qconfig.pri \
137 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
137 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
138 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
138 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
139 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
139 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
140 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
140 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
141 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
141 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
142 /usr/lib64/qt4/mkspecs/features/release.prf \
142 /usr/lib64/qt4/mkspecs/features/release.prf \
143 /usr/lib64/qt4/mkspecs/features/default_post.prf \
143 /usr/lib64/qt4/mkspecs/features/default_post.prf \
144 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
144 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
145 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
145 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
146 /usr/lib64/qt4/mkspecs/features/qt.prf \
146 /usr/lib64/qt4/mkspecs/features/qt.prf \
147 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
147 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
148 /usr/lib64/qt4/mkspecs/features/moc.prf \
148 /usr/lib64/qt4/mkspecs/features/moc.prf \
149 /usr/lib64/qt4/mkspecs/features/resources.prf \
149 /usr/lib64/qt4/mkspecs/features/resources.prf \
150 /usr/lib64/qt4/mkspecs/features/uic.prf \
150 /usr/lib64/qt4/mkspecs/features/uic.prf \
151 /usr/lib64/qt4/mkspecs/features/yacc.prf \
151 /usr/lib64/qt4/mkspecs/features/yacc.prf \
152 /usr/lib64/qt4/mkspecs/features/lex.prf \
152 /usr/lib64/qt4/mkspecs/features/lex.prf \
153 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
153 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
154 /usr/lib64/libQtGui.prl \
154 /usr/lib64/libQtGui.prl \
155 /usr/lib64/libQtCore.prl
155 /usr/lib64/libQtCore.prl
156 $(QMAKE) -o Makefile wfdisplay.pro
156 $(QMAKE) -o Makefile wfdisplay.pro
157 /usr/lib64/qt4/mkspecs/common/unix.conf:
157 /usr/lib64/qt4/mkspecs/common/unix.conf:
158 /usr/lib64/qt4/mkspecs/common/linux.conf:
158 /usr/lib64/qt4/mkspecs/common/linux.conf:
159 /usr/lib64/qt4/mkspecs/common/gcc-base.conf:
159 /usr/lib64/qt4/mkspecs/common/gcc-base.conf:
160 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf:
160 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf:
161 /usr/lib64/qt4/mkspecs/common/g++-base.conf:
161 /usr/lib64/qt4/mkspecs/common/g++-base.conf:
162 /usr/lib64/qt4/mkspecs/common/g++-unix.conf:
162 /usr/lib64/qt4/mkspecs/common/g++-unix.conf:
163 /usr/lib64/qt4/mkspecs/qconfig.pri:
163 /usr/lib64/qt4/mkspecs/qconfig.pri:
164 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri:
164 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri:
165 /usr/lib64/qt4/mkspecs/features/qt_functions.prf:
165 /usr/lib64/qt4/mkspecs/features/qt_functions.prf:
166 /usr/lib64/qt4/mkspecs/features/qt_config.prf:
166 /usr/lib64/qt4/mkspecs/features/qt_config.prf:
167 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf:
167 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf:
168 /usr/lib64/qt4/mkspecs/features/default_pre.prf:
168 /usr/lib64/qt4/mkspecs/features/default_pre.prf:
169 /usr/lib64/qt4/mkspecs/features/release.prf:
169 /usr/lib64/qt4/mkspecs/features/release.prf:
170 /usr/lib64/qt4/mkspecs/features/default_post.prf:
170 /usr/lib64/qt4/mkspecs/features/default_post.prf:
171 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
171 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
172 /usr/lib64/qt4/mkspecs/features/warn_on.prf:
172 /usr/lib64/qt4/mkspecs/features/warn_on.prf:
173 /usr/lib64/qt4/mkspecs/features/qt.prf:
173 /usr/lib64/qt4/mkspecs/features/qt.prf:
174 /usr/lib64/qt4/mkspecs/features/unix/thread.prf:
174 /usr/lib64/qt4/mkspecs/features/unix/thread.prf:
175 /usr/lib64/qt4/mkspecs/features/moc.prf:
175 /usr/lib64/qt4/mkspecs/features/moc.prf:
176 /usr/lib64/qt4/mkspecs/features/resources.prf:
176 /usr/lib64/qt4/mkspecs/features/resources.prf:
177 /usr/lib64/qt4/mkspecs/features/uic.prf:
177 /usr/lib64/qt4/mkspecs/features/uic.prf:
178 /usr/lib64/qt4/mkspecs/features/yacc.prf:
178 /usr/lib64/qt4/mkspecs/features/yacc.prf:
179 /usr/lib64/qt4/mkspecs/features/lex.prf:
179 /usr/lib64/qt4/mkspecs/features/lex.prf:
180 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf:
180 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf:
181 /usr/lib64/libQtGui.prl:
181 /usr/lib64/libQtGui.prl:
182 /usr/lib64/libQtCore.prl:
182 /usr/lib64/libQtCore.prl:
183 qmake: FORCE
183 qmake: FORCE
184 @$(QMAKE) -o Makefile wfdisplay.pro
184 @$(QMAKE) -o Makefile wfdisplay.pro
185
185
186 dist:
186 dist:
187 @$(CHK_DIR_EXISTS) .tmp/wfdisplay1.0.0 || $(MKDIR) .tmp/wfdisplay1.0.0
187 @$(CHK_DIR_EXISTS) .tmp/wfdisplay1.0.0 || $(MKDIR) .tmp/wfdisplay1.0.0
188 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/wfdisplay1.0.0/ && $(COPY_FILE) --parents wfdisplay.h wfdisplay_global.h wfplot.h wfpage.h params.h .tmp/wfdisplay1.0.0/ && $(COPY_FILE) --parents wfdisplay.cpp wfplot.cpp wfpage.cpp .tmp/wfdisplay1.0.0/ && (cd `dirname .tmp/wfdisplay1.0.0` && $(TAR) wfdisplay1.0.0.tar wfdisplay1.0.0 && $(COMPRESS) wfdisplay1.0.0.tar) && $(MOVE) `dirname .tmp/wfdisplay1.0.0`/wfdisplay1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/wfdisplay1.0.0
188 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/wfdisplay1.0.0/ && $(COPY_FILE) --parents wfdisplay.h wfdisplay_global.h wfplot.h wfpage.h wfdisplay_params.h .tmp/wfdisplay1.0.0/ && $(COPY_FILE) --parents wfdisplay.cpp wfplot.cpp wfpage.cpp .tmp/wfdisplay1.0.0/ && (cd `dirname .tmp/wfdisplay1.0.0` && $(TAR) wfdisplay1.0.0.tar wfdisplay1.0.0 && $(COMPRESS) wfdisplay1.0.0.tar) && $(MOVE) `dirname .tmp/wfdisplay1.0.0`/wfdisplay1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/wfdisplay1.0.0
189
189
190
190
191 clean:compiler_clean
191 clean:compiler_clean
192 -$(DEL_FILE) $(OBJECTS)
192 -$(DEL_FILE) $(OBJECTS)
193 -$(DEL_FILE) *~ core *.core
193 -$(DEL_FILE) *~ core *.core
194
194
195
195
196 ####### Sub-libraries
196 ####### Sub-libraries
197
197
198 distclean: clean
198 distclean: clean
199 -$(DEL_FILE) $(TARGET)
199 -$(DEL_FILE) $(TARGET)
200 -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)
200 -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)
201 -$(DEL_FILE) Makefile
201 -$(DEL_FILE) Makefile
202
202
203
203
204 check: first
204 check: first
205
205
206 mocclean: compiler_moc_header_clean compiler_moc_source_clean
206 mocclean: compiler_moc_header_clean compiler_moc_source_clean
207
207
208 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
208 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
209
209
210 compiler_moc_header_make_all: moc_wfdisplay.cpp moc_wfplot.cpp moc_wfpage.cpp
210 compiler_moc_header_make_all: moc_wfdisplay.cpp moc_wfplot.cpp moc_wfpage.cpp
211 compiler_moc_header_clean:
211 compiler_moc_header_clean:
212 -$(DEL_FILE) moc_wfdisplay.cpp moc_wfplot.cpp moc_wfpage.cpp
212 -$(DEL_FILE) moc_wfdisplay.cpp moc_wfplot.cpp moc_wfpage.cpp
213 moc_wfdisplay.cpp: wfdisplay_global.h \
213 moc_wfdisplay.cpp: wfdisplay_global.h \
214 wfpage.h \
214 wfpage.h \
215 wfplot.h \
215 wfplot.h \
216 params.h \
216 wfdisplay_params.h \
217 wfdisplay.h
217 wfdisplay.h
218 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfdisplay.h -o moc_wfdisplay.cpp
218 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfdisplay.h -o moc_wfdisplay.cpp
219
219
220 moc_wfplot.cpp: wfplot.h
220 moc_wfplot.cpp: wfplot.h
221 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfplot.h -o moc_wfplot.cpp
221 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfplot.h -o moc_wfplot.cpp
222
222
223 moc_wfpage.cpp: wfplot.h \
223 moc_wfpage.cpp: wfdisplay_global.h \
224 params.h \
224 wfplot.h \
225 wfdisplay_params.h \
225 wfpage.h
226 wfpage.h
226 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfpage.h -o moc_wfpage.cpp
227 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfpage.h -o moc_wfpage.cpp
227
228
228 compiler_rcc_make_all:
229 compiler_rcc_make_all:
229 compiler_rcc_clean:
230 compiler_rcc_clean:
230 compiler_image_collection_make_all: qmake_image_collection.cpp
231 compiler_image_collection_make_all: qmake_image_collection.cpp
231 compiler_image_collection_clean:
232 compiler_image_collection_clean:
232 -$(DEL_FILE) qmake_image_collection.cpp
233 -$(DEL_FILE) qmake_image_collection.cpp
233 compiler_moc_source_make_all:
234 compiler_moc_source_make_all:
234 compiler_moc_source_clean:
235 compiler_moc_source_clean:
235 compiler_uic_make_all:
236 compiler_uic_make_all:
236 compiler_uic_clean:
237 compiler_uic_clean:
237 compiler_yacc_decl_make_all:
238 compiler_yacc_decl_make_all:
238 compiler_yacc_decl_clean:
239 compiler_yacc_decl_clean:
239 compiler_yacc_impl_make_all:
240 compiler_yacc_impl_make_all:
240 compiler_yacc_impl_clean:
241 compiler_yacc_impl_clean:
241 compiler_lex_make_all:
242 compiler_lex_make_all:
242 compiler_lex_clean:
243 compiler_lex_clean:
243 compiler_clean: compiler_moc_header_clean
244 compiler_clean: compiler_moc_header_clean
244
245
245 ####### Compile
246 ####### Compile
246
247
247 wfdisplay.o: wfdisplay.cpp wfdisplay.h \
248 wfdisplay.o: wfdisplay.cpp wfdisplay.h \
248 wfdisplay_global.h \
249 wfdisplay_global.h \
249 wfpage.h \
250 wfpage.h \
250 wfplot.h \
251 wfplot.h \
251 params.h
252 wfdisplay_params.h
252 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfdisplay.o wfdisplay.cpp
253 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfdisplay.o wfdisplay.cpp
253
254
254 wfplot.o: wfplot.cpp wfplot.h \
255 wfplot.o: wfplot.cpp wfplot.h \
255 params.h
256 wfdisplay_params.h
256 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfplot.o wfplot.cpp
257 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfplot.o wfplot.cpp
257
258
258 wfpage.o: wfpage.cpp wfpage.h \
259 wfpage.o: wfpage.cpp wfpage.h \
260 wfdisplay_global.h \
259 wfplot.h \
261 wfplot.h \
260 params.h
262 wfdisplay_params.h
261 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpage.o wfpage.cpp
263 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpage.o wfpage.cpp
262
264
263 moc_wfdisplay.o: moc_wfdisplay.cpp
265 moc_wfdisplay.o: moc_wfdisplay.cpp
264 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfdisplay.o moc_wfdisplay.cpp
266 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfdisplay.o moc_wfdisplay.cpp
265
267
266 moc_wfplot.o: moc_wfplot.cpp
268 moc_wfplot.o: moc_wfplot.cpp
267 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfplot.o moc_wfplot.cpp
269 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfplot.o moc_wfplot.cpp
268
270
269 moc_wfpage.o: moc_wfpage.cpp
271 moc_wfpage.o: moc_wfpage.cpp
270 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpage.o moc_wfpage.cpp
272 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpage.o moc_wfpage.cpp
271
273
272 ####### Install
274 ####### Install
273
275
274 install_header: first FORCE
276 install_header: first FORCE
275 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ || $(MKDIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
277 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ || $(MKDIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
276 -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfdisplay.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
278 -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfdisplay.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
277 -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfdisplay_global.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
279 -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfdisplay_global.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
278 -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfpage.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
280 -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfpage.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
281 -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfplot.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
282 -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfdisplay_params.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
279
283
280
284
281 uninstall_header: FORCE
285 uninstall_header: FORCE
282 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay.h
286 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay.h
283 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay_global.h
287 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay_global.h
284 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfpage.h
288 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfpage.h
289 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfplot.h
290 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay_params.h
285 -$(DEL_DIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
291 -$(DEL_DIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
286
292
287
293
288 install_target: first FORCE
294 install_target: first FORCE
289 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib64/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib64/
295 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib64/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib64/
290 -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET)"
296 -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET)"
291 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)"
297 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)"
292 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)"
298 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)"
293 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)"
299 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)"
294
300
295 uninstall_target: FORCE
301 uninstall_target: FORCE
296 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET)"
302 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET)"
297 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)"
303 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)"
298 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)"
304 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)"
299 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)"
305 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)"
300 -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib64/
306 -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib64/
301
307
302
308
303 install: install_header install_target FORCE
309 install: install_header install_target FORCE
304
310
305 uninstall: uninstall_header uninstall_target FORCE
311 uninstall: uninstall_header uninstall_target FORCE
306
312
307 FORCE:
313 FORCE:
308
314
@@ -1,51 +1,51
1 #include "wfdisplay.h"
1 #include "wfdisplay.h"
2
2
3
3
4 WFDisplay::WFDisplay(QWidget *parent) :
4 WFDisplay::WFDisplay(QWidget *parent) :
5 QWidget(parent)
5 QWidget(parent)
6 {
6 {
7 waveforms_LAYOUT = new QVBoxLayout;
7 waveforms_LAYOUT = new QVBoxLayout;
8
8
9 spwTabWidget = new QTabWidget;
9 spwTabWidget = new QTabWidget;
10
10
11 page_f0 = new WFPage;
11 page_f0 = new WFPage();
12 page_f1 = new WFPage;
12 page_f1 = new WFPage();
13 page_f2 = new WFPage;
13 page_f2 = new WFPage();
14 page_f3 = new WFPage;
14 page_f3 = new WFPage();
15
15
16 spwTabWidget->addTab(page_f0, tr("f0 (24576 Hz)"));
16 spwTabWidget->addTab(page_f0, tr("f0 (24576 Hz)"));
17 spwTabWidget->addTab(page_f1, tr("f1 (4096 Hz"));
17 spwTabWidget->addTab(page_f1, tr("f1 (4096 Hz"));
18 spwTabWidget->addTab(page_f2, tr("f2 (256 Hz)"));
18 spwTabWidget->addTab(page_f2, tr("f2 (256 Hz)"));
19 spwTabWidget->addTab(page_f3, tr("f3 (16 Hz)"));
19 spwTabWidget->addTab(page_f3, tr("f3 (16 Hz)"));
20
20
21 waveforms_LAYOUT->addWidget(spwTabWidget);
21 waveforms_LAYOUT->addWidget(spwTabWidget);
22
22
23 this->setLayout(waveforms_LAYOUT);
23 this->setLayout(waveforms_LAYOUT);
24
24
25 }
25 }
26
26
27 void WFDisplay::displayOnPlot(short *data, unsigned char num_page, unsigned char num)
27 void WFDisplay::displayOnPlot(short *data, unsigned char num_page, unsigned char num)
28 {
28 {
29 QVector<double> x(XMAX), y(XMAX);
29 QVector<double> x(XMAX), y(XMAX);
30
30
31 for (int i=0; i<XMAX; ++i)
31 for (int i=0; i<XMAX; ++i)
32 {
32 {
33 x[i] = i;
33 x[i] = i;
34 y[i] = (double) data[i];
34 y[i] = (double) data[i];
35 }
35 }
36 switch(num_page){
36 switch(num_page){
37 case 0:
37 case 0:
38 page_f0->displayOnPlot(data, num);
38 page_f0->displayOnPlot(data, num);
39 break;
39 break;
40 case 1:
40 case 1:
41 page_f1->displayOnPlot(data, num);
41 page_f1->displayOnPlot(data, num);
42 break;
42 break;
43 case 2:
43 case 2:
44 page_f2->displayOnPlot(data, num);
44 page_f2->displayOnPlot(data, num);
45 break;
45 break;
46 case 3:
46 case 3:
47 page_f3->displayOnPlot(data, num);
47 page_f3->displayOnPlot(data, num);
48 break;
48 break;
49 }
49 }
50
50
51 }
51 }
@@ -1,39 +1,39
1 #ifndef WFDISPLAY_H
1 #ifndef WFDISPLAY_H
2 #define WFDISPLAY_H
2 #define WFDISPLAY_H
3
3
4 #include "wfdisplay_global.h"
4 #include "wfdisplay_global.h"
5
5
6 #include <QWidget>
6 #include <QWidget>
7 #include <QGridLayout>
7 #include <QGridLayout>
8 #include <QVBoxLayout>
8 #include <QVBoxLayout>
9 #include <QTabWidget>
9 #include <wfpage.h>
10 #include <wfpage.h>
10 #include <QTabWidget>
11
11
12 #define XMAX 2048
12 #define XMAX 2048
13
13
14 class WFDISPLAYSHARED_EXPORT WFDisplay : public QWidget
14 class WFDISPLAYSHARED_EXPORT WFDisplay : public QWidget
15 {
15 {
16 Q_OBJECT
16 Q_OBJECT
17 public:
17 public:
18 explicit WFDisplay(QWidget *parent = 0);
18 explicit WFDisplay(QWidget *parent = 0);
19
19
20 WFPage * page_f0;
20 WFPage * page_f0;
21 WFPage * page_f1;
21 WFPage * page_f1;
22 WFPage * page_f2;
22 WFPage * page_f2;
23 WFPage * page_f3;
23 WFPage * page_f3;
24
24
25 QTabWidget *spwTabWidget;
25 QTabWidget *spwTabWidget;
26
26
27 QVBoxLayout *waveforms_LAYOUT;
27 QVBoxLayout *waveforms_LAYOUT;
28
28
29 void displayOnPlot(short *data, unsigned char num_page, unsigned char num);
29 void displayOnPlot(short *data, unsigned char num_page, unsigned char num);
30
30
31
31
32 signals:
32 signals:
33
33
34 public slots:
34 public slots:
35
35
36 };
36 };
37
37
38
38
39 #endif // WFDISPLAY_H
39 #endif // WFDISPLAY_H
@@ -1,41 +1,43
1 #-------------------------------------------------
1 #-------------------------------------------------
2 #
2 #
3 # Project created by QtCreator 2013-05-31T12:59:38
3 # Project created by QtCreator 2013-05-31T12:59:38
4 #
4 #
5 #-------------------------------------------------
5 #-------------------------------------------------
6
6
7 TARGET = wfdisplay
7 TARGET = wfdisplay
8 TEMPLATE = lib
8 TEMPLATE = lib
9
9
10 INCLUDEPATH += \
10 INCLUDEPATH += \
11 $${PWD} \
11 $${PWD} \
12 $$[QT_INSTALL_HEADERS]/lppmon/common
12 $$[QT_INSTALL_HEADERS]/lppmon/common
13
13
14 LIBS += -llppmoncommon
14 LIBS += -llppmoncommon
15
15
16 DEFINES += WFDISPLAY_LIBRARY
16 DEFINES += WFDISPLAY_LIBRARY
17
17
18 SOURCES += wfdisplay.cpp \
18 SOURCES += wfdisplay.cpp \
19 wfplot.cpp \
19 wfplot.cpp \
20 wfpage.cpp
20 wfpage.cpp
21
21
22
22
23 HEADERS += wfdisplay.h\
23 HEADERS += wfdisplay.h\
24 wfdisplay_global.h \
24 wfdisplay_global.h \
25 wfplot.h \
25 wfplot.h \
26 wfpage.h \
26 wfpage.h \
27 params.h
27 wfdisplay_params.h
28
28
29
29
30 header.path = $$[QT_INSTALL_HEADERS]/lppmon/wfdisplay
30 header.path = $$[QT_INSTALL_HEADERS]/lppmon/wfdisplay
31 header.files = \
31 header.files = \
32 wfdisplay.h \
32 wfdisplay.h \
33 wfdisplay_global.h \
33 wfdisplay_global.h \
34 wfpage.h
34 wfpage.h \
35 wfplot.h \
36 wfdisplay_params.h
35
37
36 target.path = $$[QT_INSTALL_LIBS]
38 target.path = $$[QT_INSTALL_LIBS]
37 isEmpty(target.path) {
39 isEmpty(target.path) {
38 target.path = $(QTDIR)/lib
40 target.path = $(QTDIR)/lib
39 }
41 }
40
42
41 INSTALLS += header target
43 INSTALLS += header target
@@ -1,264 +1,265
1 <?xml version="1.0" encoding="UTF-8"?>
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE QtCreatorProject>
2 <!DOCTYPE QtCreatorProject>
3 <!-- Written by Qt Creator 2.4.1, 2013-06-28T13:26:54. -->
3 <!-- Written by Qt Creator 2.4.1, 2013-07-04T12:07:00. -->
4 <qtcreator>
4 <qtcreator>
5 <data>
5 <data>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
7 <value type="int">0</value>
7 <value type="int">0</value>
8 </data>
8 </data>
9 <data>
9 <data>
10 <variable>ProjectExplorer.Project.EditorSettings</variable>
10 <variable>ProjectExplorer.Project.EditorSettings</variable>
11 <valuemap type="QVariantMap">
11 <valuemap type="QVariantMap">
12 <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
12 <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
13 <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
13 <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
14 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
14 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
15 <value type="QString" key="language">Cpp</value>
15 <value type="QString" key="language">Cpp</value>
16 <valuemap type="QVariantMap" key="value">
16 <valuemap type="QVariantMap" key="value">
17 <value type="QString" key="CurrentPreferences">CppGlobal</value>
17 <value type="QString" key="CurrentPreferences">CppGlobal</value>
18 </valuemap>
18 </valuemap>
19 </valuemap>
19 </valuemap>
20 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
20 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
21 <value type="QString" key="language">QmlJS</value>
21 <value type="QString" key="language">QmlJS</value>
22 <valuemap type="QVariantMap" key="value">
22 <valuemap type="QVariantMap" key="value">
23 <value type="QString" key="CurrentPreferences">QmlJSGlobal</value>
23 <value type="QString" key="CurrentPreferences">QmlJSGlobal</value>
24 </valuemap>
24 </valuemap>
25 </valuemap>
25 </valuemap>
26 <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
26 <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
27 <value type="QByteArray" key="EditorConfiguration.Codec">System</value>
27 <value type="QByteArray" key="EditorConfiguration.Codec">System</value>
28 <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
28 <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
29 <value type="int" key="EditorConfiguration.IndentSize">4</value>
29 <value type="int" key="EditorConfiguration.IndentSize">4</value>
30 <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
30 <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
31 <value type="int" key="EditorConfiguration.PaddingMode">1</value>
31 <value type="int" key="EditorConfiguration.PaddingMode">1</value>
32 <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
32 <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
33 <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
33 <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
34 <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
34 <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
35 <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
35 <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
36 <value type="int" key="EditorConfiguration.TabSize">8</value>
36 <value type="int" key="EditorConfiguration.TabSize">8</value>
37 <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
37 <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
38 <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
38 <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
39 <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
39 <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
40 <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
40 <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
41 <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
41 <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
42 <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
42 <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
43 </valuemap>
43 </valuemap>
44 </data>
44 </data>
45 <data>
45 <data>
46 <variable>ProjectExplorer.Project.PluginSettings</variable>
46 <variable>ProjectExplorer.Project.PluginSettings</variable>
47 <valuemap type="QVariantMap"/>
47 <valuemap type="QVariantMap"/>
48 </data>
48 </data>
49 <data>
49 <data>
50 <variable>ProjectExplorer.Project.Target.0</variable>
50 <variable>ProjectExplorer.Project.Target.0</variable>
51 <valuemap type="QVariantMap">
51 <valuemap type="QVariantMap">
52 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
52 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
53 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
53 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
54 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value>
54 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value>
55 <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
55 <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
56 <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
56 <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
57 <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
57 <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
58 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
58 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
59 <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value>
59 <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value>
60 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
60 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
61 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
61 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
62 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
62 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
63 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
63 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
64 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
64 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
65 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
65 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
66 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
66 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
67 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
67 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
68 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
68 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
69 </valuemap>
69 </valuemap>
70 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
70 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
71 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
71 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
72 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
72 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
73 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
73 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
74 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
74 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
75 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
75 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
76 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
76 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
77 </valuemap>
77 </valuemap>
78 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
78 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
79 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
79 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
80 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
80 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
81 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
81 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
82 </valuemap>
82 </valuemap>
83 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
83 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
84 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
84 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
85 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
85 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
86 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
86 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
87 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
87 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
88 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
88 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
89 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
89 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
90 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
90 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
91 </valuemap>
91 </valuemap>
92 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
92 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
93 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
93 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
94 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
94 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
95 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
95 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
96 </valuemap>
96 </valuemap>
97 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
97 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
98 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
98 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
99 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
99 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
100 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value>
100 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.3 in PATH (System) Debug</value>
101 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
101 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
102 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
102 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
103 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
103 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
104 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay</value>
104 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay-build-desktop-Qt_4_8_3_in_PATH__System__Debug</value>
105 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
105 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
106 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
106 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
107 </valuemap>
107 </valuemap>
108 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
108 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
109 <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value>
109 <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value>
110 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
110 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
111 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
111 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
112 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
112 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
115 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
115 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
116 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
116 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
117 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
117 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
118 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
118 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
119 </valuemap>
119 </valuemap>
120 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
120 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
121 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
121 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
122 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
122 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
123 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
123 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
124 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
124 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
125 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
125 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
126 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
126 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
127 </valuemap>
127 </valuemap>
128 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
128 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
129 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
129 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
130 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
130 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
131 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
131 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
132 </valuemap>
132 </valuemap>
133 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
133 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
134 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
134 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
135 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
135 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
136 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
136 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
137 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
137 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
138 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
138 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
139 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
139 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
140 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
140 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
141 </valuemap>
141 </valuemap>
142 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
142 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
143 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
143 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
144 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
144 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
145 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
145 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
146 </valuemap>
146 </valuemap>
147 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
147 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
148 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
148 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
149 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
149 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
150 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Debug</value>
150 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.3 in PATH (System) Release</value>
151 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
151 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
152 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
152 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
153 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
153 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
154 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay</value>
154 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay-build-desktop-Qt_4_8_3_in_PATH__System__Release</value>
155 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
155 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
156 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
156 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
157 </valuemap>
157 </valuemap>
158 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
158 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
159 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
159 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
160 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
160 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
161 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
161 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
162 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
162 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
163 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
163 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
164 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
164 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
165 </valuemap>
165 </valuemap>
166 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
166 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
167 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
167 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
168 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
168 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
169 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
169 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
170 </valuemap>
170 </valuemap>
171 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
171 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
172 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
172 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
173 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
173 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
174 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
174 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
175 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
175 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
176 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
176 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
177 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
177 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
178 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
178 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
179 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
179 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
180 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
180 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
181 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
181 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
182 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
182 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
183 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
183 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
184 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
184 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
185 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
185 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
186 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
186 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
187 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
187 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
188 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
188 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
189 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
189 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
190 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
190 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
191 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
191 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
192 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
192 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
193 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
193 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
194 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
194 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
195 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
195 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
196 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
196 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
197 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
197 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
198 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
198 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
199 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
199 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
200 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
200 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
201 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
201 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
202 <value type="int">0</value>
202 <value type="int">0</value>
203 <value type="int">1</value>
203 <value type="int">1</value>
204 <value type="int">2</value>
204 <value type="int">2</value>
205 <value type="int">3</value>
205 <value type="int">3</value>
206 <value type="int">4</value>
206 <value type="int">4</value>
207 <value type="int">5</value>
207 <value type="int">5</value>
208 <value type="int">6</value>
208 <value type="int">6</value>
209 <value type="int">7</value>
209 <value type="int">7</value>
210 <value type="int">8</value>
210 <value type="int">8</value>
211 <value type="int">9</value>
211 <value type="int">9</value>
212 <value type="int">10</value>
212 <value type="int">10</value>
213 <value type="int">11</value>
213 <value type="int">11</value>
214 <value type="int">12</value>
214 <value type="int">12</value>
215 <value type="int">13</value>
215 <value type="int">13</value>
216 <value type="int">14</value>
216 <value type="int">14</value>
217 </valuelist>
217 </valuelist>
218 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
218 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
219 <value type="int">0</value>
219 <value type="int">0</value>
220 <value type="int">1</value>
220 <value type="int">1</value>
221 <value type="int">2</value>
221 <value type="int">2</value>
222 <value type="int">3</value>
222 <value type="int">3</value>
223 <value type="int">4</value>
223 <value type="int">4</value>
224 <value type="int">5</value>
224 <value type="int">5</value>
225 <value type="int">6</value>
225 <value type="int">6</value>
226 <value type="int">7</value>
226 <value type="int">7</value>
227 <value type="int">8</value>
227 <value type="int">8</value>
228 <value type="int">9</value>
228 <value type="int">9</value>
229 <value type="int">10</value>
229 <value type="int">10</value>
230 <value type="int">11</value>
230 <value type="int">11</value>
231 <value type="int">12</value>
231 <value type="int">12</value>
232 <value type="int">13</value>
232 <value type="int">13</value>
233 <value type="int">14</value>
233 <value type="int">14</value>
234 </valuelist>
234 </valuelist>
235 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
235 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">wfdisplay</value>
236 <value type="int" key="ProjectExplorer.CustomExecutableRunConfiguration.BaseEnvironmentBase">2</value>
237 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value>
238 <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value>
239 <valuelist type="QVariantList" key="ProjectExplorer.CustomExecutableRunConfiguration.UserEnvironmentChanges"/>
240 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value>
241 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Custom Executable</value>
242 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
236 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
243 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
237 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value>
238 <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value>
239 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
240 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">wfdisplay.pro</value>
241 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
242 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
243 <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/>
244 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
244 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
245 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
245 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
246 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
246 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
247 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
247 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
248 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
248 </valuemap>
249 </valuemap>
249 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
250 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
250 </valuemap>
251 </valuemap>
251 </data>
252 </data>
252 <data>
253 <data>
253 <variable>ProjectExplorer.Project.TargetCount</variable>
254 <variable>ProjectExplorer.Project.TargetCount</variable>
254 <value type="int">1</value>
255 <value type="int">1</value>
255 </data>
256 </data>
256 <data>
257 <data>
257 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
258 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
258 <value type="QString">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value>
259 <value type="QString">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value>
259 </data>
260 </data>
260 <data>
261 <data>
261 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
262 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
262 <value type="int">10</value>
263 <value type="int">10</value>
263 </data>
264 </data>
264 </qtcreator>
265 </qtcreator>
@@ -1,53 +1,411
1 #include "wfpage.h"
1 #include "wfpage.h"
2
2
3 WFPage::WFPage(QWidget *parent) :
3 WFPage::WFPage(QWidget *parent) :
4 QWidget(parent)
4 QMainWindow(parent)
5 {
5 {
6 wfPlot_v = new WFPlot();
6 wfPlot_v = new WFPlot();
7 wfPlot_e1 = new WFPlot();
7 wfPlot_e1 = new WFPlot();
8 wfPlot_e2 = new WFPlot();
8 wfPlot_e2 = new WFPlot();
9 wfPlot_b1 = new WFPlot();
9 wfPlot_b1 = new WFPlot();
10 wfPlot_b2 = new WFPlot();
10 wfPlot_b2 = new WFPlot();
11 wfPlot_b3 = new WFPlot();
11 wfPlot_b3 = new WFPlot();
12 //
12 //
13 wfPlot_v->customPlot->setTitle("v");
13 wfPlot_v->customPlot->setTitle("v");
14 wfPlot_e1->customPlot->setTitle("e1");
14 wfPlot_e1->customPlot->setTitle("e1");
15 wfPlot_e2->customPlot->setTitle("e2");
15 wfPlot_e2->customPlot->setTitle("e2");
16 wfPlot_b1->customPlot->setTitle("b1");
16 wfPlot_b1->customPlot->setTitle("b1");
17 wfPlot_b2->customPlot->setTitle("b2");
17 wfPlot_b2->customPlot->setTitle("b2");
18 wfPlot_b3->customPlot->setTitle("b3");
18 wfPlot_b3->customPlot->setTitle("b3");
19 //
19 //
20 mainLayout = new QGridLayout;
20 /*mainLayout = new QGridLayout;
21 mainLayout->addWidget(wfPlot_v, 0, 0, 1, 1);
21 mainLayout->addWidget(wfPlot_v, 0, 0, 1, 1);
22 mainLayout->addWidget(wfPlot_e1, 0, 1, 1, 1);
22 mainLayout->addWidget(wfPlot_e1, 0, 1, 1, 1);
23 mainLayout->addWidget(wfPlot_e2, 0, 2, 1, 1);
23 mainLayout->addWidget(wfPlot_e2, 0, 2, 1, 1);
24 mainLayout->addWidget(wfPlot_b1, 1, 0, 1, 1);
24 mainLayout->addWidget(wfPlot_b1, 1, 0, 1, 1);
25 mainLayout->addWidget(wfPlot_b2, 1, 1, 1, 1);
25 mainLayout->addWidget(wfPlot_b2, 1, 1, 1, 1);
26 mainLayout->addWidget(wfPlot_b3, 1, 2, 1, 1);
26 mainLayout->addWidget(wfPlot_b3, 1, 2, 1, 1);*/
27 //
27 //
28 this->setLayout(mainLayout);
28 dockV = NULL;
29 dockE1 = NULL;
30 dockE2 = NULL;
31 dockB1 = NULL;
32 dockB2 = NULL;
33 dockB3 = NULL;
34
35 createToolBar();
36 //
37 //this->setLayout(mainLayout);
29 }
38 }
30
39
31 void WFPage::displayOnPlot(short *data, unsigned char num)
40 void WFPage::displayOnPlot(short *data, unsigned char num)
32 {
41 {
33 switch(num){
42 switch(num){
34 case 0:
43 case 0:
35 wfPlot_v->displayOnPlot(data, DEFAULT_SIZE);
44 wfPlot_v->displayOnPlot(data, DEFAULT_SIZE);
36 break;
45 break;
37 case 1:
46 case 1:
38 wfPlot_e1->displayOnPlot(data, DEFAULT_SIZE);
47 wfPlot_e1->displayOnPlot(data, DEFAULT_SIZE);
39 break;
48 break;
40 case 2:
49 case 2:
41 wfPlot_e2->displayOnPlot(data, DEFAULT_SIZE);
50 wfPlot_e2->displayOnPlot(data, DEFAULT_SIZE);
42 break;
51 break;
43 case 3:
52 case 3:
44 wfPlot_b1->displayOnPlot(data, DEFAULT_SIZE);
53 wfPlot_b1->displayOnPlot(data, DEFAULT_SIZE);
45 break;
54 break;
46 case 4:
55 case 4:
47 wfPlot_b2->displayOnPlot(data, DEFAULT_SIZE);
56 wfPlot_b2->displayOnPlot(data, DEFAULT_SIZE);
48 break;
57 break;
49 case 5:
58 case 5:
50 wfPlot_b3->displayOnPlot(data, DEFAULT_SIZE);
59 wfPlot_b3->displayOnPlot(data, DEFAULT_SIZE);
51 break;
60 break;
52 }
61 }
53 }
62 }
63
64 void WFPage::createDockWindows()
65 {
66 dockV = new QDockWidget(tr("V"), this);
67 dockE1 = new QDockWidget(tr("E1"), this);
68 dockE2 = new QDockWidget(tr("E2"), this);
69 dockB1 = new QDockWidget(tr("B1"), this);
70 dockB2 = new QDockWidget(tr("B2"), this);
71 dockB3 = new QDockWidget(tr("B3"), this);
72 }
73
74 void WFPage::createToolBar()
75 {
76 radio_v = new QRadioButton(tr("v"));
77 radio_e1 = new QRadioButton(tr("e1"));
78 radio_e2 = new QRadioButton(tr("e2"));
79 radio_b1 = new QRadioButton(tr("b1"));
80 radio_b2 = new QRadioButton(tr("b2"));
81 radio_b3 = new QRadioButton(tr("b3"));
82 radio_tabify = new QRadioButton(tr("tabify"));
83
84 radio_v->setAutoExclusive(false);
85 radio_e1->setAutoExclusive(false);
86 radio_e2->setAutoExclusive(false);
87 radio_b1->setAutoExclusive(false);
88 radio_b2->setAutoExclusive(false);
89 radio_b3->setAutoExclusive(false);
90 radio_tabify->setAutoExclusive(false);
91
92 myToolBar = new QToolBar("select");
93
94 myToolBar->addWidget(radio_v);
95 myToolBar->addWidget(radio_e1);
96 myToolBar->addWidget(radio_e2);
97 myToolBar->addWidget(radio_b1);
98 myToolBar->addWidget(radio_b2);
99 myToolBar->addWidget(radio_b3);
100 myToolBar->addSeparator();
101 myToolBar->addWidget(radio_tabify);
102
103 addToolBar(Qt::LeftToolBarArea, myToolBar);
104
105 radio_tabify->setChecked(true);
106
107 connect(this->radio_v, SIGNAL(clicked(bool)), this, SLOT(actionRadioV(bool)));
108 connect(this->radio_e1, SIGNAL(clicked(bool)), this, SLOT(actionRadioE1(bool)));
109 connect(this->radio_e2, SIGNAL(clicked(bool)), this, SLOT(actionRadioE2(bool)));
110 connect(this->radio_b1, SIGNAL(clicked(bool)), this, SLOT(actionRadioB1(bool)));
111 connect(this->radio_b2, SIGNAL(clicked(bool)), this, SLOT(actionRadioB2(bool)));
112 connect(this->radio_b3, SIGNAL(clicked(bool)), this, SLOT(actionRadioB3(bool)));
113 connect(this->radio_tabify, SIGNAL(clicked(bool)), this, SLOT(organizeDocks()));
114 }
115
116 void WFPage::actionRadioV(bool state)
117 {
118 if (state == true)
119 {
120 if (dockV == NULL)
121 {
122 dockV = new QDockWidget("V", this);
123 dockV->setWidget(wfPlot_v);
124 }
125 }
126 else
127 {
128 this->removeDockWidget(dockV);
129 }
130 organizeDocks();
131 }
132
133 void WFPage::actionRadioE1(bool state)
134 {
135 if (state == true)
136 {
137 if (dockE1 == NULL)
138 {
139 dockE1 = new QDockWidget("E1", this);
140 dockE1->setWidget(wfPlot_e1);
141 }
142 addDockWidget(Qt::TopDockWidgetArea, dockE1);
143 dockE1->show();
144 }
145 else
146 {
147 this->removeDockWidget(dockE1);
148 }
149 organizeDocks();
150 }
151
152 void WFPage::actionRadioE2(bool state)
153 {
154 if (state == true)
155 {
156 if (dockE2 == NULL)
157 {
158 dockE2 = new QDockWidget("E2", this);
159 dockE2->setWidget(wfPlot_e2);
160 }
161 addDockWidget(Qt::TopDockWidgetArea, dockE2);
162 dockE2->show();
163 }
164 else
165 {
166 this->removeDockWidget(dockE2);
167 }
168 organizeDocks();
169 }
170
171 void WFPage::actionRadioB1(bool state)
172 {
173 if (state == true)
174 {
175 if (dockB1 == NULL)
176 {
177 dockB1 = new QDockWidget("B1", this);
178 dockB1->setWidget(wfPlot_b1);
179 }
180 }
181 else
182 {
183 this->removeDockWidget(dockB1);
184 }
185 organizeDocks();
186 }
187
188 void WFPage::actionRadioB2(bool state)
189 {
190 if (state == true)
191 {
192 if (dockB2 == NULL)
193 {
194 dockB2 = new QDockWidget("B2", this);
195 dockB2->setWidget(wfPlot_b2);
196 }
197 }
198 else
199 {
200 this->removeDockWidget(dockB2);
201 }
202 organizeDocks();
203 }
204
205 void WFPage::actionRadioB3(bool state)
206 {
207 if (state == true)
208 {
209 if (dockB3 == NULL)
210 {
211 dockB3 = new QDockWidget("B3", this);
212 dockB3->setWidget(wfPlot_b3);
213 }
214 }
215 else
216 {
217 this->removeDockWidget(dockB3);
218 }
219 organizeDocks();
220 }
221
222 void WFPage::buildDockList()
223 {
224 dockList.clear();
225
226 if (radio_v->isChecked())
227 {
228 dockList.append(dockV);
229 removeDockWidget(dockV);
230 }
231 if (radio_e1->isChecked())
232 {
233 dockList.append(dockE1);
234 removeDockWidget(dockE1);
235 }
236 if (radio_e2->isChecked())
237 {
238 dockList.append(dockE2);
239 removeDockWidget(dockE2);
240 }
241 if (radio_b1->isChecked())
242 {
243 dockList.append(dockB1);
244 removeDockWidget(dockB1);
245 }
246 if (radio_b2->isChecked())
247 {
248 dockList.append(dockB2);
249 removeDockWidget(dockB2);
250 }
251 if (radio_b3->isChecked())
252 {
253 dockList.append(dockB3);
254 removeDockWidget(dockB3);
255 }
256 }
257
258 void WFPage::organizeDocks()
259 {
260 if (radio_tabify->isChecked())
261 {
262 tabify();
263 this->resize(1.2*this->minimumSizeHint());
264 }
265 else
266 {
267 unTabify();
268 wfPlot_v->resize(wfPlot_v->minimumSizeHint());
269 wfPlot_e1->resize(wfPlot_e1->minimumSizeHint());
270 wfPlot_e2->resize(wfPlot_e2->minimumSizeHint());
271 wfPlot_b1->resize(wfPlot_b1->minimumSizeHint());
272 wfPlot_b2->resize(wfPlot_b2->minimumSizeHint());
273 wfPlot_b3->resize(wfPlot_b3->minimumSizeHint());
274 this->resize(this->minimumSizeHint());
275 }
276 }
277
278 void WFPage::unTabify()
279 {
280 buildDockList();
281
282 switch(dockList.size())
283 {
284 case 0:
285 break;
286 case 1:
287 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
288 dockList.at(0)->show();
289 break;
290 case 2:
291 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
292 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
293 dockList.at(0)->show();
294 dockList.at(1)->show();
295 break;
296 case 3:
297 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
298 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
299 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2));
300 dockList.at(0)->show();
301 dockList.at(1)->show();
302 dockList.at(2)->show();
303 break;
304 case 4:
305 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
306 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
307 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2));
308 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
309 dockList.at(0)->show();
310 dockList.at(1)->show();
311 dockList.at(2)->show();
312 dockList.at(3)->show();
313 break;
314 case 5:
315 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
316 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
317 addDockWidget(Qt::TopDockWidgetArea, dockList.at(2));
318 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
319 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4));
320 dockList.at(0)->show();
321 dockList.at(1)->show();
322 dockList.at(2)->show();
323 dockList.at(3)->show();
324 dockList.at(4)->show();
325 break;
326 case 6:
327 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
328 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
329 addDockWidget(Qt::TopDockWidgetArea, dockList.at(2));
330 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
331 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4));
332 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(5));
333 dockList.at(0)->show();
334 dockList.at(1)->show();
335 dockList.at(2)->show();
336 dockList.at(3)->show();
337 dockList.at(4)->show();
338 dockList.at(5)->show();
339 break;
340 default:
341 break;
342 }
343 }
344
345 void WFPage::tabify()
346 {
347 buildDockList();
348
349 switch(dockList.size())
350 {
351 case 0:
352 break;
353 case 1:
354 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
355 dockList.at(0)->show();
356 break;
357 case 2:
358 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
359 tabifyDockWidget(dockList.at(0), dockList.at(1));
360 dockList.at(0)->show();
361 dockList.at(1)->show();
362 break;
363 case 3:
364 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
365 tabifyDockWidget(dockList.at(0), dockList.at(1));
366 tabifyDockWidget(dockList.at(1), dockList.at(2));
367 dockList.at(0)->show();
368 dockList.at(1)->show();
369 dockList.at(2)->show();
370 break;
371 case 4:
372 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
373 tabifyDockWidget(dockList.at(0), dockList.at(1));
374 tabifyDockWidget(dockList.at(1), dockList.at(2));
375 tabifyDockWidget(dockList.at(2), dockList.at(3));
376 dockList.at(0)->show();
377 dockList.at(1)->show();
378 dockList.at(2)->show();
379 dockList.at(3)->show();
380 break;
381 case 5:
382 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
383 tabifyDockWidget(dockList.at(0), dockList.at(1));
384 tabifyDockWidget(dockList.at(1), dockList.at(2));
385 tabifyDockWidget(dockList.at(2), dockList.at(3));
386 tabifyDockWidget(dockList.at(3), dockList.at(4));
387 dockList.at(0)->show();
388 dockList.at(1)->show();
389 dockList.at(2)->show();
390 dockList.at(3)->show();
391 dockList.at(4)->show();
392 break;
393 case 6:
394 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
395 tabifyDockWidget(dockList.at(0), dockList.at(1));
396 tabifyDockWidget(dockList.at(1), dockList.at(2));
397 tabifyDockWidget(dockList.at(2), dockList.at(3));
398 tabifyDockWidget(dockList.at(3), dockList.at(4));
399 tabifyDockWidget(dockList.at(4), dockList.at(5));
400 dockList.at(0)->show();
401 dockList.at(1)->show();
402 dockList.at(2)->show();
403 dockList.at(3)->show();
404 dockList.at(4)->show();
405 dockList.at(5)->show();
406 break;
407 default:
408 break;
409 }
410 }
411
@@ -1,31 +1,69
1 #ifndef WFPAGE_H
1 #ifndef WFPAGE_H
2 #define WFPAGE_H
2 #define WFPAGE_H
3
3
4 #include <QWidget>
4 #include "wfdisplay_global.h"
5
6 #include <QtGui/QMainWindow>
7 #include <QRadioButton>
8 #include <QDockWidget>
9 #include <QToolBar>
10
5 #include <wfplot.h>
11 #include <wfplot.h>
6 #include <params.h>
12 #include <wfdisplay_params.h>
7
13
8 class WFPage : public QWidget
14 class WFDISPLAYSHARED_EXPORT WFPage : public QMainWindow
9 {
15 {
10 Q_OBJECT
16 Q_OBJECT
11 public:
17 public:
12 explicit WFPage(QWidget *parent = 0);
18 explicit WFPage(QWidget *parent = 0);
13
19
20 void createDockWindows();
21 void createToolBar();
22 void buildDockList();
23 void unTabify();
24 void tabify();
25
26 QList<QDockWidget*> dockList;
27
28 QDockWidget *dockV;
29 QDockWidget *dockE1;
30 QDockWidget *dockE2;
31 QDockWidget *dockB1;
32 QDockWidget *dockB2;
33 QDockWidget *dockB3;
34
35 QRadioButton *radio_v;
36 QRadioButton *radio_e1;
37 QRadioButton *radio_e2;
38 QRadioButton *radio_b1;
39 QRadioButton *radio_b2;
40 QRadioButton *radio_b3;
41 QRadioButton *radio_tabify;
42
43 QToolBar *myToolBar;
44
14 WFPlot *wfPlot_v;
45 WFPlot *wfPlot_v;
15 WFPlot *wfPlot_e1;
46 WFPlot *wfPlot_e1;
16 WFPlot *wfPlot_e2;
47 WFPlot *wfPlot_e2;
17 WFPlot *wfPlot_b1;
48 WFPlot *wfPlot_b1;
18 WFPlot *wfPlot_b2;
49 WFPlot *wfPlot_b2;
19 WFPlot *wfPlot_b3;
50 WFPlot *wfPlot_b3;
20
51
21 QGridLayout *mainLayout;
52 //QGridLayout *mainLayout;
22
53
23 void displayOnPlot(short *data, unsigned char num);
54 void displayOnPlot(short *data, unsigned char num);
24
55
25 signals:
56 signals:
26
57
27 public slots:
58 public slots:
59 void actionRadioV(bool state);
60 void actionRadioE1(bool state);
61 void actionRadioE2(bool state);
62 void actionRadioB1(bool state);
63 void actionRadioB2(bool state);
64 void actionRadioB3(bool state);
65 void organizeDocks();
28
66
29 };
67 };
30
68
31 #endif // WFPAGE_H
69 #endif // WFPAGE_H
@@ -1,49 +1,49
1 #include "wfplot.h"
1 #include "wfplot.h"
2 #include <QFontInfo>
2 #include <QFontInfo>
3 #include <params.h>
3 #include <wfdisplay_params.h>
4
4
5 WFPlot::WFPlot(QWidget *parent) :
5 WFPlot::WFPlot(QWidget *parent) :
6 QWidget(parent)
6 QWidget(parent)
7 {
7 {
8 // Create Fonts
8 // Create Fonts
9 QFont font;
9 QFont font;
10 font = QFont(this->fontInfo().family(), FONT_SIZE_WAVEFORM_TITLE, QFont::Light);
10 font = QFont(this->fontInfo().family(), FONT_SIZE_WAVEFORM_TITLE, QFont::Light);
11 customPlot = new LppMonPlot();
11 customPlot = new LppMonPlot();
12 mainLayout = new QVBoxLayout();
12 mainLayout = new QVBoxLayout();
13
13
14 customPlot->setXaxisRange(0, XMAX);
14 customPlot->setXaxisRange(0, XMAX);
15 customPlot->setYaxisRange(-YMAX, YMAX);
15 customPlot->setYaxisRange(-YMAX, YMAX);
16 //customPlot->setTitleFont(font);
16 //customPlot->setTitleFont(font);
17
17
18 customPlot->addGraph();
18 customPlot->addGraph();
19
19
20 mainLayout->addWidget(customPlot);
20 mainLayout->addWidget(customPlot);
21
21
22 this->setLayout(mainLayout);
22 this->setLayout(mainLayout);
23 }
23 }
24
24
25
25
26
26
27 void WFPlot::displayOnPlot(short *data, unsigned int size)
27 void WFPlot::displayOnPlot(short *data, unsigned int size)
28 {
28 {
29 QList<QVariant> qListX;
29 QList<QVariant> qListX;
30 QList<QVariant> qListY;
30 QList<QVariant> qListY;
31 qListX.clear();
31 qListX.clear();
32 qListY.clear();
32 qListY.clear();
33
33
34 for (unsigned int i=0; i<size; ++i)
34 for (unsigned int i=0; i<size; ++i)
35 {
35 {
36 qListX.append(i);
36 qListX.append(i);
37 qListY.append( (double) data[i] );
37 qListY.append( (double) data[i] );
38 }
38 }
39
39
40 customPlot->setGraphData(0, qListX, qListY);
40 customPlot->setGraphData(0, qListX, qListY);
41 customPlot->rescaleAxis();
41 customPlot->rescaleAxis();
42 customPlot->setGraphName(0, "v");
42 customPlot->setGraphName(0, "v");
43 }
43 }
44
44
45
45
46
46
47
47
48
48
49
49
General Comments 0
You need to be logged in to leave comments. Login now