##// END OF EJS Templates
lfrsgse is a QMainWindow...
leroy -
r39:f8ba3aa4aa6e default
parent child
Show More
@@ -1,342 +1,215
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-07-03T17:10:59. -->
3 <!-- Written by Qt Creator 2.4.1, 2013-07-04T13:25:30. -->
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">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.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 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</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">
111 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
112 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
115 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
116 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
117 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
118 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
119 </valuemap>
120 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
121 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
122 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
123 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
124 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
125 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
126 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
127 </valuemap>
128 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
129 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
130 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
131 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
132 </valuemap>
133 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
134 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
135 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
136 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
137 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
138 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
139 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
140 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
141 </valuemap>
142 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
143 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
144 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
145 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
146 </valuemap>
147 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
148 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
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>
151 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
152 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
153 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
154 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value>
155 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value>
156 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
157 </valuemap>
158 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
159 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
109 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
160 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
110 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
161 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
111 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
162 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
112 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
163 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
164 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
165 </valuemap>
115 </valuemap>
166 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
116 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
167 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
117 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
168 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
118 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
169 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
119 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
170 </valuemap>
120 </valuemap>
171 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
121 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
172 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
122 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
173 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
123 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
174 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
124 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
175 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
125 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
176 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
126 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
177 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
127 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
178 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
128 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
179 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
129 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
180 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
130 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
181 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
131 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
182 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
132 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
183 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
133 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
184 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
134 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
185 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
135 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
186 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
136 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
187 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
137 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
188 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
138 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
189 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
139 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
190 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
140 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
191 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
141 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
192 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
142 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
193 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
143 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
194 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
144 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
195 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
145 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
196 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
146 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
197 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
147 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
198 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
148 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
199 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
149 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
200 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
150 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
201 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
151 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
202 <value type="int">0</value>
152 <value type="int">0</value>
203 <value type="int">1</value>
153 <value type="int">1</value>
204 <value type="int">2</value>
154 <value type="int">2</value>
205 <value type="int">3</value>
155 <value type="int">3</value>
206 <value type="int">4</value>
156 <value type="int">4</value>
207 <value type="int">5</value>
157 <value type="int">5</value>
208 <value type="int">6</value>
158 <value type="int">6</value>
209 <value type="int">7</value>
159 <value type="int">7</value>
210 <value type="int">8</value>
160 <value type="int">8</value>
211 <value type="int">9</value>
161 <value type="int">9</value>
212 <value type="int">10</value>
162 <value type="int">10</value>
213 <value type="int">11</value>
163 <value type="int">11</value>
214 <value type="int">12</value>
164 <value type="int">12</value>
215 <value type="int">13</value>
165 <value type="int">13</value>
216 <value type="int">14</value>
166 <value type="int">14</value>
217 </valuelist>
167 </valuelist>
218 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
168 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
219 <value type="int">0</value>
169 <value type="int">0</value>
220 <value type="int">1</value>
170 <value type="int">1</value>
221 <value type="int">2</value>
171 <value type="int">2</value>
222 <value type="int">3</value>
172 <value type="int">3</value>
223 <value type="int">4</value>
173 <value type="int">4</value>
224 <value type="int">5</value>
174 <value type="int">5</value>
225 <value type="int">6</value>
175 <value type="int">6</value>
226 <value type="int">7</value>
176 <value type="int">7</value>
227 <value type="int">8</value>
177 <value type="int">8</value>
228 <value type="int">9</value>
178 <value type="int">9</value>
229 <value type="int">10</value>
179 <value type="int">10</value>
230 <value type="int">11</value>
180 <value type="int">11</value>
231 <value type="int">12</value>
181 <value type="int">12</value>
232 <value type="int">13</value>
182 <value type="int">13</value>
233 <value type="int">14</value>
183 <value type="int">14</value>
234 </valuelist>
184 </valuelist>
235 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
185 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">rmapplugin</value>
236 <value type="int" key="ProjectExplorer.CustomExecutableRunConfiguration.BaseEnvironmentBase">2</value>
237 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable">lppmon</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">Run lppmon</value>
242 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
243 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
244 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
245 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
246 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
247 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
248 </valuemap>
249 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.1">
250 <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"/>
253 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
254 <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>
257 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
258 <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>
261 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
262 <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>
265 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
266 <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>
269 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
270 <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"/>
273 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
274 <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>
277 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
278 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
279 <value type="int">0</value>
280 <value type="int">1</value>
281 <value type="int">2</value>
282 <value type="int">3</value>
283 <value type="int">4</value>
284 <value type="int">5</value>
285 <value type="int">6</value>
286 <value type="int">7</value>
287 <value type="int">8</value>
288 <value type="int">9</value>
289 <value type="int">10</value>
290 <value type="int">11</value>
291 <value type="int">12</value>
292 <value type="int">13</value>
293 <value type="int">14</value>
294 </valuelist>
295 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
296 <value type="int">0</value>
297 <value type="int">1</value>
298 <value type="int">2</value>
299 <value type="int">3</value>
300 <value type="int">4</value>
301 <value type="int">5</value>
302 <value type="int">6</value>
303 <value type="int">7</value>
304 <value type="int">8</value>
305 <value type="int">9</value>
306 <value type="int">10</value>
307 <value type="int">11</value>
308 <value type="int">12</value>
309 <value type="int">13</value>
310 <value type="int">14</value>
311 </valuelist>
312 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">spwtimegenerator</value>
313 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
186 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
314 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value>
187 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value>
315 <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value>
188 <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value>
316 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
189 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
317 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">spwtimegenerator/spwtimegenerator/spwtimegenerator.pro</value>
190 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">rmapplugin/rmapplugin.pro</value>
318 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
191 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
319 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
192 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
320 <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/>
193 <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/>
321 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
194 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
322 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
195 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
323 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
196 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
324 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
197 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
325 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
198 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
326 </valuemap>
199 </valuemap>
327 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">2</value>
200 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
328 </valuemap>
201 </valuemap>
329 </data>
202 </data>
330 <data>
203 <data>
331 <variable>ProjectExplorer.Project.TargetCount</variable>
204 <variable>ProjectExplorer.Project.TargetCount</variable>
332 <value type="int">1</value>
205 <value type="int">1</value>
333 </data>
206 </data>
334 <data>
207 <data>
335 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
208 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
336 <value type="QString">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value>
209 <value type="QString">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value>
337 </data>
210 </data>
338 <data>
211 <data>
339 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
212 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
340 <value type="int">10</value>
213 <value type="int">10</value>
341 </data>
214 </data>
342 </qtcreator>
215 </qtcreator>
@@ -1,398 +1,409
1 #include "hkdisplay.h"
1 #include "hkdisplay.h"
2
2
3 HKDisplay::HKDisplay(QWidget *parent) :
3 HKDisplay::HKDisplay(QWidget *parent) :
4 QWidget(parent)
4 QWidget(parent)
5 {
5 {
6 QFont font;
7 font = QFont(this->fontInfo().family(), HK_INFORMATION_FONT_SIZE, QFont::Light);
8
6 mainLayout = new QGridLayout();
9 mainLayout = new QGridLayout();
7
10
8 setupLFRStatusWord();
11 setupLFRStatusWord();
9 setupLFRSWVersion();
12 setupLFRSWVersion();
10 setupTCStatistics();
13 setupTCStatistics();
11 setupAnomalyStatistics();
14 setupAnomalyStatistics();
12 setupSpaceWireIFStatistics();
15 setupSpaceWireIFStatistics();
13 setupErrorCountersSpaceWire();
16 setupErrorCountersSpaceWire();
14
17
18 groupbox_lfrStatusWord->setFont(font);
19 groupbox_lfrSWVersion->setFont(font);
20 groupbox_tcStatistics->setFont(font);
21 groupbox_anomalyStatistics->setFont(font);
22 groupbox_spacewireIFStatisctics->setFont(font);
23 groupbox_errorCountersSpaceWire->setFont(font);
24
15 mainLayout->addWidget(groupbox_lfrStatusWord, 0,0,1,1);
25 mainLayout->addWidget(groupbox_lfrStatusWord, 0,0,1,1);
16 mainLayout->addWidget(groupbox_lfrSWVersion, 0,1,1,1);
26 mainLayout->addWidget(groupbox_lfrSWVersion, 0,1,1,1);
27 mainLayout->addWidget(groupbox_anomalyStatistics, 0,2,1,1);
17 mainLayout->addWidget(groupbox_tcStatistics, 1,0,1,1);
28 mainLayout->addWidget(groupbox_tcStatistics, 1,0,1,1);
18 mainLayout->addWidget(groupbox_anomalyStatistics, 1,1,1,1);
29 mainLayout->addWidget(groupbox_spacewireIFStatisctics, 1, 1, 1, 1);
19 mainLayout->addWidget(groupbox_spacewireIFStatisctics, 1, 2, 1, 1);
30 mainLayout->addWidget(groupbox_errorCountersSpaceWire, 1, 2, 1, 1);
20 mainLayout->addWidget(groupbox_errorCountersSpaceWire, 1, 3, 1, 1);
31 mainLayout->setColumnStretch(3, 1);
21 mainLayout->setColumnStretch(4, 1);
32 mainLayout->setRowStretch(2, 1);
22
33
23 this->setLayout(mainLayout);
34 this->setLayout(mainLayout);
24 }
35 }
25
36
26 void HKDisplay::setupLFRStatusWord()
37 void HKDisplay::setupLFRStatusWord()
27 {
38 {
28 groupbox_lfrStatusWord = new QGroupBox("LFR Status Word");
39 groupbox_lfrStatusWord = new QGroupBox("LFR Status Word");
29 box_lfrStatusWord = new QVBoxLayout();
40 box_lfrStatusWord = new QVBoxLayout();
30 hk_lfr_mode = new QLabel("hk_lfr_mode: -");
41 hk_lfr_mode = new QLabel("hk_lfr_mode: -");
31 hk_lfr_dpu_spw_enabled = new QLabel("hk_lfr_dpu_spw_enabled: -");
42 hk_lfr_dpu_spw_enabled = new QLabel("hk_lfr_dpu_spw_enabled: -");
32 hk_lfr_dpu_link_state = new QLabel("hk_lfr_dpu_link_state: -");
43 hk_lfr_dpu_link_state = new QLabel("hk_lfr_dpu_link_state: -");
33 sy_lfr_watchdog_enabled = new QLabel("sy_lfr_watchdog_enabled: -");
44 sy_lfr_watchdog_enabled = new QLabel("sy_lfr_watchdog_enabled: -");
34 hk_lfr_calib_enabled = new QLabel("hk_lfr_calib_enabled: -");
45 hk_lfr_calib_enabled = new QLabel("hk_lfr_calib_enabled: -");
35 hk_lfr_reset_cause = new QLabel("hk_lfr_reset_cause: -");
46 hk_lfr_reset_cause = new QLabel("hk_lfr_reset_cause: -");
36 box_lfrStatusWord->addWidget(hk_lfr_mode);
47 box_lfrStatusWord->addWidget(hk_lfr_mode);
37 box_lfrStatusWord->addWidget(hk_lfr_dpu_spw_enabled);
48 box_lfrStatusWord->addWidget(hk_lfr_dpu_spw_enabled);
38 box_lfrStatusWord->addWidget(hk_lfr_dpu_link_state);
49 box_lfrStatusWord->addWidget(hk_lfr_dpu_link_state);
39 box_lfrStatusWord->addWidget(sy_lfr_watchdog_enabled);
50 box_lfrStatusWord->addWidget(sy_lfr_watchdog_enabled);
40 box_lfrStatusWord->addWidget(hk_lfr_calib_enabled);
51 box_lfrStatusWord->addWidget(hk_lfr_calib_enabled);
41 box_lfrStatusWord->addWidget(hk_lfr_reset_cause);
52 box_lfrStatusWord->addWidget(hk_lfr_reset_cause);
42 box_lfrStatusWord->insertStretch(6);
53 box_lfrStatusWord->insertStretch(6);
43 groupbox_lfrStatusWord->setLayout(box_lfrStatusWord);
54 groupbox_lfrStatusWord->setLayout(box_lfrStatusWord);
44 }
55 }
45
56
46 void HKDisplay::setupLFRSWVersion()
57 void HKDisplay::setupLFRSWVersion()
47 {
58 {
48 groupbox_lfrSWVersion = new QGroupBox("LFR Software Version");
59 groupbox_lfrSWVersion = new QGroupBox("LFR Software Version");
49 box_lfrSWVersion = new QVBoxLayout();
60 box_lfrSWVersion = new QVBoxLayout();
50 sy_lfr_sw_version_n1 = new QLabel("sy_lfr_sw_version_n1: -");
61 sy_lfr_sw_version_n1 = new QLabel("sy_lfr_sw_version_n1: -");
51 sy_lfr_sw_version_n2 = new QLabel("sy_lfr_sw_version_n2: -");
62 sy_lfr_sw_version_n2 = new QLabel("sy_lfr_sw_version_n2: -");
52 sy_lfr_sw_version_n3 = new QLabel("sy_lfr_sw_version_n3: -");
63 sy_lfr_sw_version_n3 = new QLabel("sy_lfr_sw_version_n3: -");
53 sy_lfr_sw_version_n4 = new QLabel("sy_lfr_sw_version_n4: -");
64 sy_lfr_sw_version_n4 = new QLabel("sy_lfr_sw_version_n4: -");
54 box_lfrSWVersion->addWidget(sy_lfr_sw_version_n1);
65 box_lfrSWVersion->addWidget(sy_lfr_sw_version_n1);
55 box_lfrSWVersion->addWidget(sy_lfr_sw_version_n2);
66 box_lfrSWVersion->addWidget(sy_lfr_sw_version_n2);
56 box_lfrSWVersion->addWidget(sy_lfr_sw_version_n3);
67 box_lfrSWVersion->addWidget(sy_lfr_sw_version_n3);
57 box_lfrSWVersion->addWidget(sy_lfr_sw_version_n4);
68 box_lfrSWVersion->addWidget(sy_lfr_sw_version_n4);
58 box_lfrSWVersion->insertStretch(4);
69 box_lfrSWVersion->insertStretch(4);
59 groupbox_lfrSWVersion->setLayout(box_lfrSWVersion);
70 groupbox_lfrSWVersion->setLayout(box_lfrSWVersion);
60 }
71 }
61
72
62 void HKDisplay::setupTCStatistics()
73 void HKDisplay::setupTCStatistics()
63 {
74 {
64 groupbox_tcStatistics = new QGroupBox("TC Statistics");
75 groupbox_tcStatistics = new QGroupBox("TC Statistics");
65 box_tcStatistics = new QVBoxLayout();
76 box_tcStatistics = new QVBoxLayout();
66 hk_lfr_update_info_tc_cnt = new QLabel("hk_lfr_update_info_tc_cnt: -");
77 hk_lfr_update_info_tc_cnt = new QLabel("hk_lfr_update_info_tc_cnt: -");
67 hk_lfr_update_time_tc_cnt = new QLabel("hk_lfr_update_time_tc_cnt: -");
78 hk_lfr_update_time_tc_cnt = new QLabel("hk_lfr_update_time_tc_cnt: -");
68 hk_dpu_exe_tc_lfr_cnt = new QLabel("hk_dpu_exe_tc_lfr_cnt: -");
79 hk_dpu_exe_tc_lfr_cnt = new QLabel("hk_dpu_exe_tc_lfr_cnt: -");
69 hk_dpu_rej_tc_lfr_cnt = new QLabel("hk_dpu_rej_tc_lfr_cnt: -");
80 hk_dpu_rej_tc_lfr_cnt = new QLabel("hk_dpu_rej_tc_lfr_cnt: -");
70 hk_lfr_last_exe_tc_id = new QLabel("hk_lfr_last_exe_tc_id: -");
81 hk_lfr_last_exe_tc_id = new QLabel("hk_lfr_last_exe_tc_id: -");
71 hk_lfr_last_exe_tc_type = new QLabel("hk_lfr_last_exe_tc_type: -");
82 hk_lfr_last_exe_tc_type = new QLabel("hk_lfr_last_exe_tc_type: -");
72 hk_lfr_last_exe_tc_subtype = new QLabel("hk_lfr_last_exe_tc_subtype: -");
83 hk_lfr_last_exe_tc_subtype = new QLabel("hk_lfr_last_exe_tc_subtype: -");
73 hk_lfr_last_exe_tc_time = new QLabel("hk_lfr_last_exe_tc_time: -");
84 hk_lfr_last_exe_tc_time = new QLabel("hk_lfr_last_exe_tc_time: -");
74 hk_lfr_last_rej_tc_id = new QLabel("hk_lfr_last_rej_tc_id: -");
85 hk_lfr_last_rej_tc_id = new QLabel("hk_lfr_last_rej_tc_id: -");
75 hk_lfr_last_rej_tc_type = new QLabel("hk_lfr_last_rej_tc_type: -");
86 hk_lfr_last_rej_tc_type = new QLabel("hk_lfr_last_rej_tc_type: -");
76 hk_lfr_last_rej_tc_subtype = new QLabel("hk_lfr_last_rej_tc_subtype: -");
87 hk_lfr_last_rej_tc_subtype = new QLabel("hk_lfr_last_rej_tc_subtype: -");
77 hk_lfr_last_rej_tc_time = new QLabel("hk_lfr_last_rej_tc_time: -");
88 hk_lfr_last_rej_tc_time = new QLabel("hk_lfr_last_rej_tc_time: -");
78 box_tcStatistics->addWidget(hk_lfr_update_info_tc_cnt);
89 box_tcStatistics->addWidget(hk_lfr_update_info_tc_cnt);
79 box_tcStatistics->addWidget(hk_lfr_update_time_tc_cnt);
90 box_tcStatistics->addWidget(hk_lfr_update_time_tc_cnt);
80 box_tcStatistics->addWidget(hk_dpu_exe_tc_lfr_cnt);
91 box_tcStatistics->addWidget(hk_dpu_exe_tc_lfr_cnt);
81 box_tcStatistics->addWidget(hk_dpu_rej_tc_lfr_cnt);
92 box_tcStatistics->addWidget(hk_dpu_rej_tc_lfr_cnt);
82 box_tcStatistics->addWidget(hk_lfr_last_exe_tc_id);
93 box_tcStatistics->addWidget(hk_lfr_last_exe_tc_id);
83 box_tcStatistics->addWidget(hk_lfr_last_exe_tc_type);
94 box_tcStatistics->addWidget(hk_lfr_last_exe_tc_type);
84 box_tcStatistics->addWidget(hk_lfr_last_exe_tc_subtype);
95 box_tcStatistics->addWidget(hk_lfr_last_exe_tc_subtype);
85 box_tcStatistics->addWidget(hk_lfr_last_exe_tc_time);
96 box_tcStatistics->addWidget(hk_lfr_last_exe_tc_time);
86 box_tcStatistics->addWidget(hk_lfr_last_rej_tc_id);
97 box_tcStatistics->addWidget(hk_lfr_last_rej_tc_id);
87 box_tcStatistics->addWidget(hk_lfr_last_rej_tc_type);
98 box_tcStatistics->addWidget(hk_lfr_last_rej_tc_type);
88 box_tcStatistics->addWidget(hk_lfr_last_rej_tc_subtype);
99 box_tcStatistics->addWidget(hk_lfr_last_rej_tc_subtype);
89 box_tcStatistics->addWidget(hk_lfr_last_rej_tc_time);
100 box_tcStatistics->addWidget(hk_lfr_last_rej_tc_time);
90 box_tcStatistics->insertStretch(12, 1);
101 box_tcStatistics->insertStretch(12, 1);
91 groupbox_tcStatistics->setLayout(box_tcStatistics);
102 groupbox_tcStatistics->setLayout(box_tcStatistics);
92 }
103 }
93
104
94 void HKDisplay::setupAnomalyStatistics()
105 void HKDisplay::setupAnomalyStatistics()
95 {
106 {
96 groupbox_anomalyStatistics = new QGroupBox("Anomaly Statistics");
107 groupbox_anomalyStatistics = new QGroupBox("Anomaly Statistics");
97 box_anomalyStatistics = new QVBoxLayout();
108 box_anomalyStatistics = new QVBoxLayout();
98 hk_lfr_le_cnt = new QLabel("hk_lfr_le_cnt: -");
109 hk_lfr_le_cnt = new QLabel("hk_lfr_le_cnt: -");
99 hk_lfr_me_cnt = new QLabel("hk_lfr_me_cnt: -");
110 hk_lfr_me_cnt = new QLabel("hk_lfr_me_cnt: -");
100 hk_lfr_he_cnt = new QLabel("hk_lfr_he_cnt: -");
111 hk_lfr_he_cnt = new QLabel("hk_lfr_he_cnt: -");
101 hk_lfr_last_er_rid = new QLabel("hk_lfr_last_er_rid: -");
112 hk_lfr_last_er_rid = new QLabel("hk_lfr_last_er_rid: -");
102 hk_lfr_last_er_code = new QLabel("hk_lfr_last_er_code: -");
113 hk_lfr_last_er_code = new QLabel("hk_lfr_last_er_code: -");
103 hk_lfr_last_er_time = new QLabel("hk_lfr_last_er_time: -");
114 hk_lfr_last_er_time = new QLabel("hk_lfr_last_er_time: -");
104 box_anomalyStatistics->addWidget(hk_lfr_le_cnt);
115 box_anomalyStatistics->addWidget(hk_lfr_le_cnt);
105 box_anomalyStatistics->addWidget(hk_lfr_me_cnt);
116 box_anomalyStatistics->addWidget(hk_lfr_me_cnt);
106 box_anomalyStatistics->addWidget(hk_lfr_he_cnt);
117 box_anomalyStatistics->addWidget(hk_lfr_he_cnt);
107 box_anomalyStatistics->addWidget(hk_lfr_last_er_rid);
118 box_anomalyStatistics->addWidget(hk_lfr_last_er_rid);
108 box_anomalyStatistics->addWidget(hk_lfr_last_er_code);
119 box_anomalyStatistics->addWidget(hk_lfr_last_er_code);
109 box_anomalyStatistics->addWidget(hk_lfr_last_er_time);
120 box_anomalyStatistics->addWidget(hk_lfr_last_er_time);
110 box_anomalyStatistics->insertStretch(6, 1);
121 box_anomalyStatistics->insertStretch(6, 1);
111 groupbox_anomalyStatistics->setLayout(box_anomalyStatistics);
122 groupbox_anomalyStatistics->setLayout(box_anomalyStatistics);
112 }
123 }
113
124
114 void HKDisplay::setupSpaceWireIFStatistics()
125 void HKDisplay::setupSpaceWireIFStatistics()
115 {
126 {
116 groupbox_spacewireIFStatisctics = new QGroupBox("SpaceWire IF Statistics");
127 groupbox_spacewireIFStatisctics = new QGroupBox("SpaceWire IF Statistics");
117 box_spacewireIFStatisctics = new QVBoxLayout();
128 box_spacewireIFStatisctics = new QVBoxLayout();
118
129
119 hk_lfr_dpu_spw_pkt_rcv_cnt = new QLabel("hk_lfr_dpu_spw_pkt_rcv_cnt: -");
130 hk_lfr_dpu_spw_pkt_rcv_cnt = new QLabel("hk_lfr_dpu_spw_pkt_rcv_cnt: -");
120 hk_lfr_dpu_spw_pkt_sent_cnt = new QLabel("hk_lfr_dpu_spw_pkt_sent_cnt: -");
131 hk_lfr_dpu_spw_pkt_sent_cnt = new QLabel("hk_lfr_dpu_spw_pkt_sent_cnt: -");
121 hk_lfr_dpu_spw_tick_out_cnt = new QLabel("hk_lfr_dpu_spw_tick_out_cnt: -");
132 hk_lfr_dpu_spw_tick_out_cnt = new QLabel("hk_lfr_dpu_spw_tick_out_cnt: -");
122 hk_lfr_dpu_spw_last_timc = new QLabel("hk_lfr_dpu_spw_last_timc: -");
133 hk_lfr_dpu_spw_last_timc = new QLabel("hk_lfr_dpu_spw_last_timc: -");
123
134
124 box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_pkt_rcv_cnt);
135 box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_pkt_rcv_cnt);
125 box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_pkt_sent_cnt);
136 box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_pkt_sent_cnt);
126 box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_tick_out_cnt);
137 box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_tick_out_cnt);
127 box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_last_timc);
138 box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_last_timc);
128 box_spacewireIFStatisctics->insertStretch(5);
139 box_spacewireIFStatisctics->insertStretch(5);
129
140
130 groupbox_spacewireIFStatisctics->setLayout(box_spacewireIFStatisctics->layout());
141 groupbox_spacewireIFStatisctics->setLayout(box_spacewireIFStatisctics->layout());
131 }
142 }
132
143
133 void HKDisplay::setupErrorCountersSpaceWire()
144 void HKDisplay::setupErrorCountersSpaceWire()
134 {
145 {
135 groupbox_errorCountersSpaceWire = new QGroupBox("SpaceWire Error Counters");
146 groupbox_errorCountersSpaceWire = new QGroupBox("SpaceWire Error Counters");
136 box_errorCountersSpaceWire = new QVBoxLayout();
147 box_errorCountersSpaceWire = new QVBoxLayout();
137
148
138 hk_lfr_dpu_spw_parity = new QLabel("hk_lfr_dpu_spw_parity: -");
149 hk_lfr_dpu_spw_parity = new QLabel("hk_lfr_dpu_spw_parity: -");
139 hk_lfr_dpu_spw_disconnect = new QLabel("hk_lfr_dpu_spw_disconnect: -");
150 hk_lfr_dpu_spw_disconnect = new QLabel("hk_lfr_dpu_spw_disconnect: -");
140 hk_lfr_dpu_spw_escape = new QLabel("hk_lfr_dpu_spw_escape: -");
151 hk_lfr_dpu_spw_escape = new QLabel("hk_lfr_dpu_spw_escape: -");
141 hk_lfr_dpu_spw_credit = new QLabel("hk_lfr_dpu_spw_credit: -");
152 hk_lfr_dpu_spw_credit = new QLabel("hk_lfr_dpu_spw_credit: -");
142 hk_lfr_dpu_spw_write_sync = new QLabel("hk_lfr_dpu_spw_write_sync: -");
153 hk_lfr_dpu_spw_write_sync = new QLabel("hk_lfr_dpu_spw_write_sync: -");
143 hk_lfr_dpu_spw_rx_ahb = new QLabel("hk_lfr_dpu_spw_rx_ahb: -");
154 hk_lfr_dpu_spw_rx_ahb = new QLabel("hk_lfr_dpu_spw_rx_ahb: -");
144 hk_lfr_dpu_spw_tx_ahb = new QLabel("hk_lfr_dpu_spw_tx_ahb: -");
155 hk_lfr_dpu_spw_tx_ahb = new QLabel("hk_lfr_dpu_spw_tx_ahb: -");
145 hk_lfr_dpu_spw_header_crc = new QLabel("hk_lfr_dpu_spw_header_crc: -");
156 hk_lfr_dpu_spw_header_crc = new QLabel("hk_lfr_dpu_spw_header_crc: -");
146 hk_lfr_dpu_spw_data_crc = new QLabel("hk_lfr_dpu_spw_data_crc: -");
157 hk_lfr_dpu_spw_data_crc = new QLabel("hk_lfr_dpu_spw_data_crc: -");
147 hk_lfr_dpu_spw_early_eop = new QLabel("hk_lfr_dpu_spw_early_eop: -");
158 hk_lfr_dpu_spw_early_eop = new QLabel("hk_lfr_dpu_spw_early_eop: -");
148 hk_lfr_dpu_spw_invalid_addr = new QLabel("hk_lfr_dpu_spw_invalid_addr: -");
159 hk_lfr_dpu_spw_invalid_addr = new QLabel("hk_lfr_dpu_spw_invalid_addr: -");
149 hk_lfr_dpu_spw_eep = new QLabel("hk_lfr_dpu_spw_eep: -");
160 hk_lfr_dpu_spw_eep = new QLabel("hk_lfr_dpu_spw_eep: -");
150 hk_lfr_dpu_spw_rx_too_big = new QLabel("hk_lfr_dpu_spw_rx_too_big: -");
161 hk_lfr_dpu_spw_rx_too_big = new QLabel("hk_lfr_dpu_spw_rx_too_big: -");
151
162
152 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_parity);
163 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_parity);
153 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_disconnect);
164 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_disconnect);
154 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_escape);
165 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_escape);
155 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_credit);
166 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_credit);
156 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_write_sync);
167 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_write_sync);
157 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_rx_ahb);
168 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_rx_ahb);
158 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_tx_ahb);
169 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_tx_ahb);
159 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_header_crc);
170 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_header_crc);
160 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_data_crc);
171 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_data_crc);
161 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_early_eop);
172 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_early_eop);
162 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_invalid_addr);
173 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_invalid_addr);
163 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_eep);
174 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_eep);
164 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_rx_too_big);
175 box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_rx_too_big);
165
176
166 groupbox_errorCountersSpaceWire->setLayout(box_errorCountersSpaceWire->layout());
177 groupbox_errorCountersSpaceWire->setLayout(box_errorCountersSpaceWire->layout());
167 }
178 }
168
179
169 void HKDisplay::displayPacket(TMPacketToRead *tmPacketToRead)
180 void HKDisplay::displayPacket(TMPacketToRead *tmPacketToRead)
170 {
181 {
171 Packet_TM_LFR_HK_t *housekeepingPacket;
182 Packet_TM_LFR_HK_t *housekeepingPacket;
172 if (tmPacketToRead->size != HK_PACKET_SIZE) {
183 if (tmPacketToRead->size != HK_PACKET_SIZE) {
173 emit displayMessage("in displayPacket *** HK packet size is "
184 emit displayMessage("in displayPacket *** HK packet size is "
174 + QString::number(tmPacketToRead->size)
185 + QString::number(tmPacketToRead->size)
175 + " instead of "
186 + " instead of "
176 + QString::number(HK_PACKET_SIZE));
187 + QString::number(HK_PACKET_SIZE));
177 }
188 }
178 else {
189 else {
179 housekeepingPacket = (Packet_TM_LFR_HK_t *) tmPacketToRead->Value;
190 housekeepingPacket = (Packet_TM_LFR_HK_t *) tmPacketToRead->Value;
180
191
181 updateLFRMode(housekeepingPacket);
192 updateLFRMode(housekeepingPacket);
182 updateSWVersion(housekeepingPacket);
193 updateSWVersion(housekeepingPacket);
183 updateTCStatistics(housekeepingPacket);
194 updateTCStatistics(housekeepingPacket);
184 updateAnomalyStatistics(housekeepingPacket);
195 updateAnomalyStatistics(housekeepingPacket);
185 updateSpaceWireIFStatistics(housekeepingPacket);
196 updateSpaceWireIFStatistics(housekeepingPacket);
186 updateErrorCountersSpaceWire(housekeepingPacket);
197 updateErrorCountersSpaceWire(housekeepingPacket);
187 }
198 }
188 }
199 }
189
200
190 void HKDisplay::updateLFRMode(Packet_TM_LFR_HK_t *housekeepingPacket)
201 void HKDisplay::updateLFRMode(Packet_TM_LFR_HK_t *housekeepingPacket)
191 {
202 {
192 hk_lfr_mode->setText("hk_lfr_mode: "
203 hk_lfr_mode->setText("hk_lfr_mode: "
193 +QString::number( ( (housekeepingPacket->lfr_status_word[0] & 0x70) >> 4 ) )
204 +QString::number( ( (housekeepingPacket->lfr_status_word[0] & 0x70) >> 4 ) )
194 );
205 );
195
206
196 }
207 }
197
208
198 void HKDisplay::updateSWVersion(Packet_TM_LFR_HK_t *housekeepingPacket)
209 void HKDisplay::updateSWVersion(Packet_TM_LFR_HK_t *housekeepingPacket)
199 {
210 {
200 sy_lfr_sw_version_n1->setText("sy_lfr_sw_version_n1: "
211 sy_lfr_sw_version_n1->setText("sy_lfr_sw_version_n1: "
201 +QString::number( housekeepingPacket->lfr_sw_version[0] )
212 +QString::number( housekeepingPacket->lfr_sw_version[0] )
202 );
213 );
203 sy_lfr_sw_version_n2->setText("sy_lfr_sw_version_n2: "
214 sy_lfr_sw_version_n2->setText("sy_lfr_sw_version_n2: "
204 +QString::number( housekeepingPacket->lfr_sw_version[1] )
215 +QString::number( housekeepingPacket->lfr_sw_version[1] )
205 );
216 );
206 sy_lfr_sw_version_n3->setText("sy_lfr_sw_version_n3: "
217 sy_lfr_sw_version_n3->setText("sy_lfr_sw_version_n3: "
207 +QString::number( housekeepingPacket->lfr_sw_version[2] )
218 +QString::number( housekeepingPacket->lfr_sw_version[2] )
208 );
219 );
209 sy_lfr_sw_version_n4->setText("sy_lfr_sw_version_n4: "
220 sy_lfr_sw_version_n4->setText("sy_lfr_sw_version_n4: "
210 +QString::number( housekeepingPacket->lfr_sw_version[3] )
221 +QString::number( housekeepingPacket->lfr_sw_version[3] )
211 );
222 );
212 }
223 }
213
224
214 void HKDisplay::updateTCStatistics(Packet_TM_LFR_HK_t *housekeepingPacket)
225 void HKDisplay::updateTCStatistics(Packet_TM_LFR_HK_t *housekeepingPacket)
215 {
226 {
216 // TC Statistics
227 // TC Statistics
217 hk_lfr_update_info_tc_cnt->setText("hk_lfr_update_info_tc_cnt: "
228 hk_lfr_update_info_tc_cnt->setText("hk_lfr_update_info_tc_cnt: "
218 + QString::number(
229 + QString::number(
219 housekeepingPacket->hk_lfr_update_info_tc_cnt[0] * 256
230 housekeepingPacket->hk_lfr_update_info_tc_cnt[0] * 256
220 + housekeepingPacket->hk_lfr_update_info_tc_cnt[1])
231 + housekeepingPacket->hk_lfr_update_info_tc_cnt[1])
221 );
232 );
222 hk_lfr_update_time_tc_cnt->setText("hk_lfr_update_time_tc_cnt: "
233 hk_lfr_update_time_tc_cnt->setText("hk_lfr_update_time_tc_cnt: "
223 + QString::number(
234 + QString::number(
224 housekeepingPacket->hk_lfr_update_time_tc_cnt[0] * 256
235 housekeepingPacket->hk_lfr_update_time_tc_cnt[0] * 256
225 + housekeepingPacket->hk_lfr_update_time_tc_cnt[1])
236 + housekeepingPacket->hk_lfr_update_time_tc_cnt[1])
226 );
237 );
227 hk_dpu_exe_tc_lfr_cnt->setText("hk_dpu_exe_tc_lfr_cnt: "
238 hk_dpu_exe_tc_lfr_cnt->setText("hk_dpu_exe_tc_lfr_cnt: "
228 + QString::number(
239 + QString::number(
229 housekeepingPacket->hk_dpu_exe_tc_lfr_cnt[0] * 256
240 housekeepingPacket->hk_dpu_exe_tc_lfr_cnt[0] * 256
230 + housekeepingPacket->hk_dpu_exe_tc_lfr_cnt[1])
241 + housekeepingPacket->hk_dpu_exe_tc_lfr_cnt[1])
231 );
242 );
232 hk_dpu_rej_tc_lfr_cnt->setText("hk_dpu_rej_tc_lfr_cnt: "
243 hk_dpu_rej_tc_lfr_cnt->setText("hk_dpu_rej_tc_lfr_cnt: "
233 + QString::number(
244 + QString::number(
234 housekeepingPacket->hk_dpu_rej_tc_lfr_cnt[0] * 256
245 housekeepingPacket->hk_dpu_rej_tc_lfr_cnt[0] * 256
235 + housekeepingPacket->hk_dpu_rej_tc_lfr_cnt[1])
246 + housekeepingPacket->hk_dpu_rej_tc_lfr_cnt[1])
236 );
247 );
237 hk_lfr_last_exe_tc_id->setText("hk_lfr_last_exe_tc_id: "
248 hk_lfr_last_exe_tc_id->setText("hk_lfr_last_exe_tc_id: "
238 + QString::number(
249 + QString::number(
239 housekeepingPacket->hk_lfr_last_exe_tc_id[0] * 256
250 housekeepingPacket->hk_lfr_last_exe_tc_id[0] * 256
240 + housekeepingPacket->hk_lfr_last_exe_tc_id[1], 16)
251 + housekeepingPacket->hk_lfr_last_exe_tc_id[1], 16)
241 );
252 );
242 hk_lfr_last_exe_tc_type->setText("hk_lfr_last_exe_tc_type: "
253 hk_lfr_last_exe_tc_type->setText("hk_lfr_last_exe_tc_type: "
243 + QString::number(
254 + QString::number(
244 housekeepingPacket->hk_lfr_last_exe_tc_type[0] * 256
255 housekeepingPacket->hk_lfr_last_exe_tc_type[0] * 256
245 + housekeepingPacket->hk_lfr_last_exe_tc_type[1])
256 + housekeepingPacket->hk_lfr_last_exe_tc_type[1])
246 );
257 );
247 hk_lfr_last_exe_tc_subtype->setText("hk_lfr_last_exe_tc_subtype: "
258 hk_lfr_last_exe_tc_subtype->setText("hk_lfr_last_exe_tc_subtype: "
248 + QString::number(
259 + QString::number(
249 housekeepingPacket->hk_lfr_last_exe_tc_subtype[0] * 256
260 housekeepingPacket->hk_lfr_last_exe_tc_subtype[0] * 256
250 + housekeepingPacket->hk_lfr_last_exe_tc_subtype[1])
261 + housekeepingPacket->hk_lfr_last_exe_tc_subtype[1])
251 );
262 );
252 hk_lfr_last_exe_tc_time->setText("hk_lfr_last_exe_tc_time: "
263 hk_lfr_last_exe_tc_time->setText("hk_lfr_last_exe_tc_time: "
253 + QString::number(
264 + QString::number(
254 (housekeepingPacket->hk_lfr_last_exe_tc_time[0] << 24)
265 (housekeepingPacket->hk_lfr_last_exe_tc_time[0] << 24)
255 + (housekeepingPacket->hk_lfr_last_exe_tc_time[1] << 16)
266 + (housekeepingPacket->hk_lfr_last_exe_tc_time[1] << 16)
256 + (housekeepingPacket->hk_lfr_last_exe_tc_time[2] << 8)
267 + (housekeepingPacket->hk_lfr_last_exe_tc_time[2] << 8)
257 + (housekeepingPacket->hk_lfr_last_exe_tc_time[3]), 16
268 + (housekeepingPacket->hk_lfr_last_exe_tc_time[3]), 16
258 )
269 )
259 );
270 );
260 hk_lfr_last_rej_tc_id->setText("hk_lfr_last_rej_tc_id: "
271 hk_lfr_last_rej_tc_id->setText("hk_lfr_last_rej_tc_id: "
261 + QString::number(
272 + QString::number(
262 housekeepingPacket->hk_lfr_last_rej_tc_id[0] * 256
273 housekeepingPacket->hk_lfr_last_rej_tc_id[0] * 256
263 + housekeepingPacket->hk_lfr_last_rej_tc_id[1], 16)
274 + housekeepingPacket->hk_lfr_last_rej_tc_id[1], 16)
264 );
275 );
265 hk_lfr_last_rej_tc_type->setText("hk_lfr_last_rej_tc_type: "
276 hk_lfr_last_rej_tc_type->setText("hk_lfr_last_rej_tc_type: "
266 + QString::number(
277 + QString::number(
267 housekeepingPacket->hk_lfr_last_rej_tc_type[0] * 256
278 housekeepingPacket->hk_lfr_last_rej_tc_type[0] * 256
268 + housekeepingPacket->hk_lfr_last_rej_tc_type[1])
279 + housekeepingPacket->hk_lfr_last_rej_tc_type[1])
269 );
280 );
270 hk_lfr_last_rej_tc_subtype->setText("hk_lfr_last_rej_tc_subtype: "
281 hk_lfr_last_rej_tc_subtype->setText("hk_lfr_last_rej_tc_subtype: "
271 + QString::number(
282 + QString::number(
272 housekeepingPacket->hk_lfr_last_rej_tc_subtype[0] * 256
283 housekeepingPacket->hk_lfr_last_rej_tc_subtype[0] * 256
273 + housekeepingPacket->hk_lfr_last_rej_tc_subtype[1])
284 + housekeepingPacket->hk_lfr_last_rej_tc_subtype[1])
274 );
285 );
275 hk_lfr_last_rej_tc_time->setText("hk_lfr_last_rej_tc_time: "
286 hk_lfr_last_rej_tc_time->setText("hk_lfr_last_rej_tc_time: "
276 + QString::number(
287 + QString::number(
277 (housekeepingPacket->hk_lfr_last_rej_tc_time[0] << 24)
288 (housekeepingPacket->hk_lfr_last_rej_tc_time[0] << 24)
278 + (housekeepingPacket->hk_lfr_last_rej_tc_time[1] << 16)
289 + (housekeepingPacket->hk_lfr_last_rej_tc_time[1] << 16)
279 + (housekeepingPacket->hk_lfr_last_rej_tc_time[2] << 8)
290 + (housekeepingPacket->hk_lfr_last_rej_tc_time[2] << 8)
280 + (housekeepingPacket->hk_lfr_last_rej_tc_time[3]), 16
291 + (housekeepingPacket->hk_lfr_last_rej_tc_time[3]), 16
281 )
292 )
282 );
293 );
283 }
294 }
284
295
285 void HKDisplay::updateAnomalyStatistics(Packet_TM_LFR_HK_t *housekeepingPacket)
296 void HKDisplay::updateAnomalyStatistics(Packet_TM_LFR_HK_t *housekeepingPacket)
286 {
297 {
287 // Anomaly Statistics
298 // Anomaly Statistics
288 hk_lfr_le_cnt->setText("hk_lfr_le_cnt: "
299 hk_lfr_le_cnt->setText("hk_lfr_le_cnt: "
289 + QString::number(
300 + QString::number(
290 housekeepingPacket->hk_lfr_le_cnt[0] * 256
301 housekeepingPacket->hk_lfr_le_cnt[0] * 256
291 + housekeepingPacket->hk_lfr_le_cnt[1])
302 + housekeepingPacket->hk_lfr_le_cnt[1])
292 );
303 );
293 hk_lfr_me_cnt->setText("hk_lfr_me_cnt: "
304 hk_lfr_me_cnt->setText("hk_lfr_me_cnt: "
294 + QString::number(
305 + QString::number(
295 housekeepingPacket->hk_lfr_me_cnt[0] * 256
306 housekeepingPacket->hk_lfr_me_cnt[0] * 256
296 + housekeepingPacket->hk_lfr_me_cnt[1])
307 + housekeepingPacket->hk_lfr_me_cnt[1])
297 );
308 );
298 hk_lfr_he_cnt->setText("hk_lfr_he_cnt: "
309 hk_lfr_he_cnt->setText("hk_lfr_he_cnt: "
299 + QString::number(
310 + QString::number(
300 housekeepingPacket->hk_lfr_he_cnt[0] * 256
311 housekeepingPacket->hk_lfr_he_cnt[0] * 256
301 + housekeepingPacket->hk_lfr_he_cnt[1])
312 + housekeepingPacket->hk_lfr_he_cnt[1])
302 );
313 );
303 hk_lfr_last_er_rid->setText("hk_lfr_last_er_rid: "
314 hk_lfr_last_er_rid->setText("hk_lfr_last_er_rid: "
304 + QString::number(
315 + QString::number(
305 housekeepingPacket->hk_lfr_last_er_rid[0] * 256
316 housekeepingPacket->hk_lfr_last_er_rid[0] * 256
306 + housekeepingPacket->hk_lfr_last_er_rid[1])
317 + housekeepingPacket->hk_lfr_last_er_rid[1])
307 );
318 );
308 hk_lfr_last_er_code->setText("hk_lfr_last_er_code: "
319 hk_lfr_last_er_code->setText("hk_lfr_last_er_code: "
309 + QString::number(
320 + QString::number(
310 housekeepingPacket->hk_lfr_last_er_code)
321 housekeepingPacket->hk_lfr_last_er_code)
311 );
322 );
312 hk_lfr_last_er_time->setText("hk_lfr_last_er_time: "
323 hk_lfr_last_er_time->setText("hk_lfr_last_er_time: "
313 + QString::number(
324 + QString::number(
314 (housekeepingPacket->hk_lfr_last_er_time[0] << 24)
325 (housekeepingPacket->hk_lfr_last_er_time[0] << 24)
315 + (housekeepingPacket->hk_lfr_last_er_time[1] << 16)
326 + (housekeepingPacket->hk_lfr_last_er_time[1] << 16)
316 + (housekeepingPacket->hk_lfr_last_er_time[2] << 8)
327 + (housekeepingPacket->hk_lfr_last_er_time[2] << 8)
317 + (housekeepingPacket->hk_lfr_last_er_time[3]), 16
328 + (housekeepingPacket->hk_lfr_last_er_time[3]), 16
318 )
329 )
319 );
330 );
320 }
331 }
321
332
322 void HKDisplay::updateSpaceWireIFStatistics(Packet_TM_LFR_HK_t *housekeepingPacket)
333 void HKDisplay::updateSpaceWireIFStatistics(Packet_TM_LFR_HK_t *housekeepingPacket)
323 {
334 {
324 hk_lfr_dpu_spw_pkt_rcv_cnt->setText("hk_lfr_dpu_spw_pkt_rcv_cnt: "
335 hk_lfr_dpu_spw_pkt_rcv_cnt->setText("hk_lfr_dpu_spw_pkt_rcv_cnt: "
325 + QString::number(
336 + QString::number(
326 housekeepingPacket->hk_lfr_dpu_spw_pkt_rcv_cnt[0] * 256
337 housekeepingPacket->hk_lfr_dpu_spw_pkt_rcv_cnt[0] * 256
327 + housekeepingPacket->hk_lfr_dpu_spw_pkt_rcv_cnt[1])
338 + housekeepingPacket->hk_lfr_dpu_spw_pkt_rcv_cnt[1])
328 );
339 );
329 hk_lfr_dpu_spw_pkt_sent_cnt->setText("hk_lfr_dpu_spw_pkt_sent_cnt: "
340 hk_lfr_dpu_spw_pkt_sent_cnt->setText("hk_lfr_dpu_spw_pkt_sent_cnt: "
330 + QString::number(
341 + QString::number(
331 housekeepingPacket->hk_lfr_dpu_spw_pkt_sent_cnt[0] * 256
342 housekeepingPacket->hk_lfr_dpu_spw_pkt_sent_cnt[0] * 256
332 + housekeepingPacket->hk_lfr_dpu_spw_pkt_sent_cnt[1])
343 + housekeepingPacket->hk_lfr_dpu_spw_pkt_sent_cnt[1])
333 );
344 );
334 hk_lfr_dpu_spw_tick_out_cnt->setText("hk_lfr_dpu_spw_tick_out_cnt: "
345 hk_lfr_dpu_spw_tick_out_cnt->setText("hk_lfr_dpu_spw_tick_out_cnt: "
335 + QString::number(
346 + QString::number(
336 housekeepingPacket->hk_lfr_dpu_spw_tick_out_cnt)
347 housekeepingPacket->hk_lfr_dpu_spw_tick_out_cnt)
337 );
348 );
338 hk_lfr_dpu_spw_last_timc->setText("hk_lfr_dpu_spw_last_timc: "
349 hk_lfr_dpu_spw_last_timc->setText("hk_lfr_dpu_spw_last_timc: "
339 + QString::number(
350 + QString::number(
340 housekeepingPacket->hk_lfr_dpu_spw_last_timc)
351 housekeepingPacket->hk_lfr_dpu_spw_last_timc)
341 );
352 );
342 }
353 }
343
354
344 void HKDisplay::updateErrorCountersSpaceWire(Packet_TM_LFR_HK_t *housekeepingPacket)
355 void HKDisplay::updateErrorCountersSpaceWire(Packet_TM_LFR_HK_t *housekeepingPacket)
345 {
356 {
346 hk_lfr_dpu_spw_parity->setText("hk_lfr_dpu_spw_parity: "
357 hk_lfr_dpu_spw_parity->setText("hk_lfr_dpu_spw_parity: "
347 + QString::number(
358 + QString::number(
348 housekeepingPacket->hk_lfr_dpu_spw_parity)
359 housekeepingPacket->hk_lfr_dpu_spw_parity)
349 );
360 );
350 hk_lfr_dpu_spw_disconnect->setText("hk_lfr_dpu_spw_disconnect: "
361 hk_lfr_dpu_spw_disconnect->setText("hk_lfr_dpu_spw_disconnect: "
351 + QString::number(
362 + QString::number(
352 housekeepingPacket->hk_lfr_dpu_spw_disconnect)
363 housekeepingPacket->hk_lfr_dpu_spw_disconnect)
353 );
364 );
354 hk_lfr_dpu_spw_escape->setText("hk_lfr_dpu_spw_escape: "
365 hk_lfr_dpu_spw_escape->setText("hk_lfr_dpu_spw_escape: "
355 + QString::number(
366 + QString::number(
356 housekeepingPacket->hk_lfr_dpu_spw_escape)
367 housekeepingPacket->hk_lfr_dpu_spw_escape)
357 );
368 );
358 hk_lfr_dpu_spw_credit->setText("hk_lfr_dpu_spw_credit: "
369 hk_lfr_dpu_spw_credit->setText("hk_lfr_dpu_spw_credit: "
359 + QString::number(
370 + QString::number(
360 housekeepingPacket->hk_lfr_dpu_spw_credit)
371 housekeepingPacket->hk_lfr_dpu_spw_credit)
361 );
372 );
362 hk_lfr_dpu_spw_write_sync->setText("hk_lfr_dpu_spw_write_sync: "
373 hk_lfr_dpu_spw_write_sync->setText("hk_lfr_dpu_spw_write_sync: "
363 + QString::number(
374 + QString::number(
364 housekeepingPacket->hk_lfr_dpu_spw_write_sync)
375 housekeepingPacket->hk_lfr_dpu_spw_write_sync)
365 );
376 );
366 hk_lfr_dpu_spw_rx_ahb->setText("hk_lfr_dpu_spw_rx_ahb: "
377 hk_lfr_dpu_spw_rx_ahb->setText("hk_lfr_dpu_spw_rx_ahb: "
367 + QString::number(
378 + QString::number(
368 housekeepingPacket->hk_lfr_dpu_spw_rx_ahb)
379 housekeepingPacket->hk_lfr_dpu_spw_rx_ahb)
369 );
380 );
370 hk_lfr_dpu_spw_tx_ahb->setText("hk_lfr_dpu_spw_tx_ahb: "
381 hk_lfr_dpu_spw_tx_ahb->setText("hk_lfr_dpu_spw_tx_ahb: "
371 + QString::number(
382 + QString::number(
372 housekeepingPacket->hk_lfr_dpu_spw_tx_ahb)
383 housekeepingPacket->hk_lfr_dpu_spw_tx_ahb)
373 );
384 );
374 hk_lfr_dpu_spw_header_crc->setText("hk_lfr_dpu_spw_header_crc: "
385 hk_lfr_dpu_spw_header_crc->setText("hk_lfr_dpu_spw_header_crc: "
375 + QString::number(
386 + QString::number(
376 housekeepingPacket->hk_lfr_dpu_spw_header_crc)
387 housekeepingPacket->hk_lfr_dpu_spw_header_crc)
377 );
388 );
378 hk_lfr_dpu_spw_data_crc->setText("hk_lfr_dpu_spw_data_crc: "
389 hk_lfr_dpu_spw_data_crc->setText("hk_lfr_dpu_spw_data_crc: "
379 + QString::number(
390 + QString::number(
380 housekeepingPacket->hk_lfr_dpu_spw_data_crc)
391 housekeepingPacket->hk_lfr_dpu_spw_data_crc)
381 );
392 );
382 hk_lfr_dpu_spw_early_eop->setText("hk_lfr_dpu_spw_early_eop: "
393 hk_lfr_dpu_spw_early_eop->setText("hk_lfr_dpu_spw_early_eop: "
383 + QString::number(
394 + QString::number(
384 housekeepingPacket->hk_lfr_dpu_spw_early_eop)
395 housekeepingPacket->hk_lfr_dpu_spw_early_eop)
385 );
396 );
386 hk_lfr_dpu_spw_invalid_addr->setText("hk_lfr_dpu_spw_invalid_addr: "
397 hk_lfr_dpu_spw_invalid_addr->setText("hk_lfr_dpu_spw_invalid_addr: "
387 + QString::number(
398 + QString::number(
388 housekeepingPacket->hk_lfr_dpu_spw_invalid_addr)
399 housekeepingPacket->hk_lfr_dpu_spw_invalid_addr)
389 );
400 );
390 hk_lfr_dpu_spw_eep->setText("hk_lfr_dpu_spw_eep: "
401 hk_lfr_dpu_spw_eep->setText("hk_lfr_dpu_spw_eep: "
391 + QString::number(
402 + QString::number(
392 housekeepingPacket->hk_lfr_dpu_spw_eep)
403 housekeepingPacket->hk_lfr_dpu_spw_eep)
393 );
404 );
394 hk_lfr_dpu_spw_rx_too_big->setText("hk_lfr_dpu_spw_rx_too_big: "
405 hk_lfr_dpu_spw_rx_too_big->setText("hk_lfr_dpu_spw_rx_too_big: "
395 + QString::number(
406 + QString::number(
396 housekeepingPacket->hk_lfr_dpu_spw_rx_too_big)
407 housekeepingPacket->hk_lfr_dpu_spw_rx_too_big)
397 );
408 );
398 }
409 }
@@ -1,168 +1,169
1 #ifndef HKDISPLAY_H
1 #ifndef HKDISPLAY_H
2 #define HKDISPLAY_H
2 #define HKDISPLAY_H
3
3
4 #include <QWidget>
4 #include <QWidget>
5 #include <QLabel>
5 #include <QLabel>
6 #include <QGroupBox>
6 #include <QGroupBox>
7 #include <QVBoxLayout>
7 #include <QVBoxLayout>
8 #include <QGridLayout>
8 #include <QGridLayout>
9 #include "tmpackettoread.h"
9 #include "tmpackettoread.h"
10 #include "ccsds_types.h"
10 #include "ccsds_types.h"
11
11
12 #define HK_PACKET_SIZE 126 + 4
12 #define HK_PACKET_SIZE 126 + 4
13 #define HK_INFORMATION_FONT_SIZE 9
13
14
14 class HKDisplay : public QWidget
15 class HKDisplay : public QWidget
15 {
16 {
16 Q_OBJECT
17 Q_OBJECT
17 public:
18 public:
18 explicit HKDisplay(QWidget *parent = 0);
19 explicit HKDisplay(QWidget *parent = 0);
19 void displayPacket(TMPacketToRead *tmPacketToRead);
20 void displayPacket(TMPacketToRead *tmPacketToRead);
20
21
21 void setupLFRStatusWord();
22 void setupLFRStatusWord();
22 void setupLFRSWVersion();
23 void setupLFRSWVersion();
23 void setupTCStatistics();
24 void setupTCStatistics();
24 void setupAnomalyStatistics();
25 void setupAnomalyStatistics();
25 void setupSpaceWireIFStatistics();
26 void setupSpaceWireIFStatistics();
26 void setupErrorCountersSpaceWire();
27 void setupErrorCountersSpaceWire();
27
28
28 void updateLFRMode(Packet_TM_LFR_HK_t *housekeepingPacket);
29 void updateLFRMode(Packet_TM_LFR_HK_t *housekeepingPacket);
29 void updateSWVersion(Packet_TM_LFR_HK_t *housekeepingPacket);
30 void updateSWVersion(Packet_TM_LFR_HK_t *housekeepingPacket);
30 void updateTCStatistics(Packet_TM_LFR_HK_t *housekeepingPacket);
31 void updateTCStatistics(Packet_TM_LFR_HK_t *housekeepingPacket);
31 void updateAnomalyStatistics(Packet_TM_LFR_HK_t *housekeepingPacket);
32 void updateAnomalyStatistics(Packet_TM_LFR_HK_t *housekeepingPacket);
32 void updateSpaceWireIFStatistics(Packet_TM_LFR_HK_t *housekeepingPacket);
33 void updateSpaceWireIFStatistics(Packet_TM_LFR_HK_t *housekeepingPacket);
33 void updateErrorCountersSpaceWire(Packet_TM_LFR_HK_t *housekeepingPacket);
34 void updateErrorCountersSpaceWire(Packet_TM_LFR_HK_t *housekeepingPacket);
34
35
35 signals:
36 signals:
36 void displayMessage(QString message);
37 void displayMessage(QString message);
37
38
38 public slots:
39 public slots:
39
40
40 private:
41 private:
41 QGroupBox *groupbox_lfrStatusWord;
42 QGroupBox *groupbox_lfrStatusWord;
42 QGroupBox *groupbox_lfrSWVersion;
43 QGroupBox *groupbox_lfrSWVersion;
43 QGroupBox *groupbox_tcStatistics;
44 QGroupBox *groupbox_tcStatistics;
44 QGroupBox *groupbox_anomalyStatistics;
45 QGroupBox *groupbox_anomalyStatistics;
45 //***********************************
46 //***********************************
46 //***********************************
47 //***********************************
47 QGroupBox *groupbox_vhdlBlockStatus;
48 QGroupBox *groupbox_vhdlBlockStatus;
48 QGroupBox *groupbox_spacewireIFStatisctics;
49 QGroupBox *groupbox_spacewireIFStatisctics;
49 QGroupBox *groupbox_ahbErrorStatistics;
50 QGroupBox *groupbox_ahbErrorStatistics;
50 QGroupBox *groupbox_temperatures;
51 QGroupBox *groupbox_temperatures;
51 QGroupBox *groupbox_errorCountersSpaceWire;
52 QGroupBox *groupbox_errorCountersSpaceWire;
52 QGroupBox *groupbox_errorCountersTime;
53 QGroupBox *groupbox_errorCountersTime;
53
54
54 QGridLayout *mainLayout;
55 QGridLayout *mainLayout;
55 QVBoxLayout *box_lfrStatusWord;
56 QVBoxLayout *box_lfrStatusWord;
56 QVBoxLayout *box_lfrSWVersion;
57 QVBoxLayout *box_lfrSWVersion;
57 QVBoxLayout *box_tcStatistics;
58 QVBoxLayout *box_tcStatistics;
58 QVBoxLayout *box_anomalyStatistics;
59 QVBoxLayout *box_anomalyStatistics;
59 //***********************************
60 //***********************************
60 //***********************************
61 //***********************************
61 QVBoxLayout *box_vhdlBlockStatus;
62 QVBoxLayout *box_vhdlBlockStatus;
62 QVBoxLayout *box_spacewireIFStatisctics;
63 QVBoxLayout *box_spacewireIFStatisctics;
63 QVBoxLayout *box_ahbErrorStatistics;
64 QVBoxLayout *box_ahbErrorStatistics;
64 QVBoxLayout *box_temperatures;
65 QVBoxLayout *box_temperatures;
65 QVBoxLayout *box_errorCountersSpaceWire;
66 QVBoxLayout *box_errorCountersSpaceWire;
66 QVBoxLayout *box_errorCountersTime;
67 QVBoxLayout *box_errorCountersTime;
67
68
68 QLabel *hk_lfr_mode;
69 QLabel *hk_lfr_mode;
69 QLabel *hk_lfr_dpu_spw_enabled;
70 QLabel *hk_lfr_dpu_spw_enabled;
70 QLabel *hk_lfr_dpu_link_state;
71 QLabel *hk_lfr_dpu_link_state;
71 QLabel *sy_lfr_watchdog_enabled;
72 QLabel *sy_lfr_watchdog_enabled;
72 QLabel *hk_lfr_calib_enabled;
73 QLabel *hk_lfr_calib_enabled;
73 QLabel *hk_lfr_reset_cause;
74 QLabel *hk_lfr_reset_cause;
74 // sy_lfr_sw_version_
75 // sy_lfr_sw_version_
75 QLabel *sy_lfr_sw_version_n1;
76 QLabel *sy_lfr_sw_version_n1;
76 QLabel *sy_lfr_sw_version_n2;
77 QLabel *sy_lfr_sw_version_n2;
77 QLabel *sy_lfr_sw_version_n3;
78 QLabel *sy_lfr_sw_version_n3;
78 QLabel *sy_lfr_sw_version_n4;
79 QLabel *sy_lfr_sw_version_n4;
79 QLabel *hk_lfr_update_info_tc_cnt;
80 QLabel *hk_lfr_update_info_tc_cnt;
80 QLabel *hk_lfr_update_time_tc_cnt;
81 QLabel *hk_lfr_update_time_tc_cnt;
81 QLabel *hk_dpu_exe_tc_lfr_cnt;
82 QLabel *hk_dpu_exe_tc_lfr_cnt;
82 QLabel *hk_dpu_rej_tc_lfr_cnt;
83 QLabel *hk_dpu_rej_tc_lfr_cnt;
83 // hk_lfr_last_exe_tc_
84 // hk_lfr_last_exe_tc_
84 QLabel *hk_lfr_last_exe_tc_id;
85 QLabel *hk_lfr_last_exe_tc_id;
85 QLabel *hk_lfr_last_exe_tc_type;
86 QLabel *hk_lfr_last_exe_tc_type;
86 QLabel *hk_lfr_last_exe_tc_subtype;
87 QLabel *hk_lfr_last_exe_tc_subtype;
87 QLabel *hk_lfr_last_exe_tc_time;
88 QLabel *hk_lfr_last_exe_tc_time;
88 // hk_lfr_last_rej_tc_
89 // hk_lfr_last_rej_tc_
89 QLabel *hk_lfr_last_rej_tc_id;
90 QLabel *hk_lfr_last_rej_tc_id;
90 QLabel *hk_lfr_last_rej_tc_type;
91 QLabel *hk_lfr_last_rej_tc_type;
91 QLabel *hk_lfr_last_rej_tc_subtype;
92 QLabel *hk_lfr_last_rej_tc_subtype;
92 QLabel *hk_lfr_last_rej_tc_time;
93 QLabel *hk_lfr_last_rej_tc_time;
93
94
94 QLabel *hk_lfr_le_cnt;
95 QLabel *hk_lfr_le_cnt;
95 QLabel *hk_lfr_me_cnt;
96 QLabel *hk_lfr_me_cnt;
96 QLabel *hk_lfr_he_cnt;
97 QLabel *hk_lfr_he_cnt;
97 // hk_lfr_last_er
98 // hk_lfr_last_er
98 QLabel *hk_lfr_last_er_rid;
99 QLabel *hk_lfr_last_er_rid;
99 QLabel *hk_lfr_last_er_code;
100 QLabel *hk_lfr_last_er_code;
100 QLabel *hk_lfr_last_er_time;
101 QLabel *hk_lfr_last_er_time;
101 //***********************************
102 //***********************************
102 //***********************************
103 //***********************************
103 //hk_lfr_vhdl_
104 //hk_lfr_vhdl_
104 QLabel *hk_lfr_vhdl_aa;
105 QLabel *hk_lfr_vhdl_aa;
105 QLabel *hk_lfr_vhdl_sm;
106 QLabel *hk_lfr_vhdl_sm;
106 QLabel *hk_lfr_vhdl_fft;
107 QLabel *hk_lfr_vhdl_fft;
107 QLabel *hk_lfr_vhdl_sr;
108 QLabel *hk_lfr_vhdl_sr;
108 QLabel *hk_lfr_vhdl_cic;
109 QLabel *hk_lfr_vhdl_cic;
109 QLabel *hk_lfr_vhdl_hk;
110 QLabel *hk_lfr_vhdl_hk;
110 QLabel *hk_lfr_vhdl_iir;
111 QLabel *hk_lfr_vhdl_iir;
111 QLabel *hk_lfr_vhdl_cal;
112 QLabel *hk_lfr_vhdl_cal;
112 // hk_lfr_dpu_spw_
113 // hk_lfr_dpu_spw_
113 QLabel *hk_lfr_dpu_spw_pkt_rcv_cnt;
114 QLabel *hk_lfr_dpu_spw_pkt_rcv_cnt;
114 QLabel *hk_lfr_dpu_spw_pkt_sent_cnt;
115 QLabel *hk_lfr_dpu_spw_pkt_sent_cnt;
115 QLabel *hk_lfr_dpu_spw_tick_out_cnt;
116 QLabel *hk_lfr_dpu_spw_tick_out_cnt;
116 QLabel *hk_lfr_dpu_spw_last_timc;
117 QLabel *hk_lfr_dpu_spw_last_timc;
117 // hk_lfr_last_fail_addr
118 // hk_lfr_last_fail_addr
118 QLabel *hk_lfr_last_fail_addr;
119 QLabel *hk_lfr_last_fail_addr;
119 // hk_lfr_temp_
120 // hk_lfr_temp_
120 QLabel *hk_lfr_temp_scm;
121 QLabel *hk_lfr_temp_scm;
121 QLabel *hk_lfr_temp_pcb;
122 QLabel *hk_lfr_temp_pcb;
122 QLabel *hk_lfr_temp_fpga;
123 QLabel *hk_lfr_temp_fpga;
123 // hk_lfr_dpu_spw_
124 // hk_lfr_dpu_spw_
124 QLabel *hk_lfr_dpu_spw_parity;
125 QLabel *hk_lfr_dpu_spw_parity;
125 QLabel *hk_lfr_dpu_spw_disconnect;
126 QLabel *hk_lfr_dpu_spw_disconnect;
126 QLabel *hk_lfr_dpu_spw_escape;
127 QLabel *hk_lfr_dpu_spw_escape;
127 QLabel *hk_lfr_dpu_spw_credit;
128 QLabel *hk_lfr_dpu_spw_credit;
128 QLabel *hk_lfr_dpu_spw_write_sync;
129 QLabel *hk_lfr_dpu_spw_write_sync;
129 QLabel *hk_lfr_dpu_spw_rx_ahb;
130 QLabel *hk_lfr_dpu_spw_rx_ahb;
130 QLabel *hk_lfr_dpu_spw_tx_ahb;
131 QLabel *hk_lfr_dpu_spw_tx_ahb;
131 QLabel *hk_lfr_dpu_spw_header_crc;
132 QLabel *hk_lfr_dpu_spw_header_crc;
132 QLabel *hk_lfr_dpu_spw_data_crc;
133 QLabel *hk_lfr_dpu_spw_data_crc;
133 QLabel *hk_lfr_dpu_spw_early_eop;
134 QLabel *hk_lfr_dpu_spw_early_eop;
134 QLabel *hk_lfr_dpu_spw_invalid_addr;
135 QLabel *hk_lfr_dpu_spw_invalid_addr;
135 QLabel *hk_lfr_dpu_spw_eep;
136 QLabel *hk_lfr_dpu_spw_eep;
136 QLabel *hk_lfr_dpu_spw_rx_too_big;
137 QLabel *hk_lfr_dpu_spw_rx_too_big;
137 // hk_lfr_timecode_
138 // hk_lfr_timecode_
138 QLabel *hk_lfr_timecode_erroneous;
139 QLabel *hk_lfr_timecode_erroneous;
139 QLabel *hk_lfr_timecode_missing;
140 QLabel *hk_lfr_timecode_missing;
140 QLabel *hk_lfr_timecode_invalid;
141 QLabel *hk_lfr_timecode_invalid;
141 // hk_lfr_time_
142 // hk_lfr_time_
142 QLabel *hk_lfr_time_timecode_it;
143 QLabel *hk_lfr_time_timecode_it;
143 QLabel *hk_lfr_time_not_synchro;
144 QLabel *hk_lfr_time_not_synchro;
144 QLabel *hk_lfr_time_timecode_ctr;
145 QLabel *hk_lfr_time_timecode_ctr;
145 // hk_lfr_buffer_dpu_
146 // hk_lfr_buffer_dpu_
146 QLabel *hk_lfr_buffer_dpu_tc_fifo;
147 QLabel *hk_lfr_buffer_dpu_tc_fifo;
147 QLabel *hk_lfr_buffer_dpu_tm_fifo;
148 QLabel *hk_lfr_buffer_dpu_tm_fifo;
148 // hk_lfr_ahb_
149 // hk_lfr_ahb_
149 QLabel *hk_lfr_ahb_correctable;
150 QLabel *hk_lfr_ahb_correctable;
150 QLabel *hk_lfr_ahb_uncorrectable;
151 QLabel *hk_lfr_ahb_uncorrectable;
151 QLabel *hk_lfr_ahb_fails_trans;
152 QLabel *hk_lfr_ahb_fails_trans;
152 // hk_lfr_adc_
153 // hk_lfr_adc_
153 QLabel *hk_lfr_adc_failure;
154 QLabel *hk_lfr_adc_failure;
154 QLabel *hk_lfr_adc_timeout;
155 QLabel *hk_lfr_adc_timeout;
155 QLabel *hk_lfr_toomany_err;
156 QLabel *hk_lfr_toomany_err;
156 // hk_lfr_cpu_
157 // hk_lfr_cpu_
157 QLabel *hk_lfr_cpu_write_err;
158 QLabel *hk_lfr_cpu_write_err;
158 QLabel *hk_lfr_cpu_ins_access_err;
159 QLabel *hk_lfr_cpu_ins_access_err;
159 QLabel *hk_lfr_cpu_illegal_ins;
160 QLabel *hk_lfr_cpu_illegal_ins;
160 QLabel *hk_lfr_cpu_privilegied_ins;
161 QLabel *hk_lfr_cpu_privilegied_ins;
161 QLabel *hk_lfr_cpu_register_hw;
162 QLabel *hk_lfr_cpu_register_hw;
162 QLabel *hk_lfr_cpu_not_aligned;
163 QLabel *hk_lfr_cpu_not_aligned;
163 QLabel *hk_lfr_cpu_data_exception;
164 QLabel *hk_lfr_cpu_data_exception;
164 QLabel *hk_lfr_cpu_div_exception;
165 QLabel *hk_lfr_cpu_div_exception;
165 QLabel *hk_lfr_cpu_arith_overflow;
166 QLabel *hk_lfr_cpu_arith_overflow;
166 };
167 };
167
168
168 #endif // HKDISPLAY_H
169 #endif // HKDISPLAY_H
@@ -1,382 +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: Thu Jul 4 10:56:56 2013
3 # Generated by qmake (2.01a) (Qt 4.8.4) on: Thu Jul 4 13:26:49 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++ CONFIG+=debug CONFIG+=declarative_debug -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_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 -g -Wall -W -D_REENTRANT $(DEFINES)
14 CFLAGS = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
15 CXXFLAGS = -pipe -g -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 =
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/debug.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/declarative_debug.prf \
106 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
106 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
107 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
107 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
108 /usr/lib64/qt4/mkspecs/features/qt.prf \
108 /usr/lib64/qt4/mkspecs/features/qt.prf \
109 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
109 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
110 /usr/lib64/qt4/mkspecs/features/moc.prf \
110 /usr/lib64/qt4/mkspecs/features/moc.prf \
111 /usr/lib64/qt4/mkspecs/features/resources.prf \
111 /usr/lib64/qt4/mkspecs/features/resources.prf \
112 /usr/lib64/qt4/mkspecs/features/uic.prf \
112 /usr/lib64/qt4/mkspecs/features/uic.prf \
113 /usr/lib64/qt4/mkspecs/features/yacc.prf \
113 /usr/lib64/qt4/mkspecs/features/yacc.prf \
114 /usr/lib64/qt4/mkspecs/features/lex.prf \
114 /usr/lib64/qt4/mkspecs/features/lex.prf \
115 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
115 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
116 gselesia.pro
116 gselesia.pro
117 QMAKE_TARGET = lfrsgse
117 QMAKE_TARGET = lfrsgse
118 DESTDIR =
118 DESTDIR =
119 TARGET = lfrsgse
119 TARGET = lfrsgse
120
120
121 first: all
121 first: all
122 ####### Implicit rules
122 ####### Implicit rules
123
123
124 .SUFFIXES: .o .c .cpp .cc .cxx .C
124 .SUFFIXES: .o .c .cpp .cc .cxx .C
125
125
126 .cpp.o:
126 .cpp.o:
127 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
127 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
128
128
129 .cc.o:
129 .cc.o:
130 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
130 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
131
131
132 .cxx.o:
132 .cxx.o:
133 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
133 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
134
134
135 .C.o:
135 .C.o:
136 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
136 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
137
137
138 .c.o:
138 .c.o:
139 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
139 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
140
140
141 ####### Build rules
141 ####### Build rules
142
142
143 all: Makefile $(TARGET)
143 all: Makefile $(TARGET)
144
144
145 $(TARGET): $(OBJECTS)
145 $(TARGET): $(OBJECTS)
146 $(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
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
148
148
149 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 \
150 /usr/lib64/qt4/mkspecs/common/linux.conf \
150 /usr/lib64/qt4/mkspecs/common/linux.conf \
151 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
151 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
152 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
152 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
153 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
153 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
154 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
154 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
155 /usr/lib64/qt4/mkspecs/qconfig.pri \
155 /usr/lib64/qt4/mkspecs/qconfig.pri \
156 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
156 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
157 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
157 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
158 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
158 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
159 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
159 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
160 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
160 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
161 /usr/lib64/qt4/mkspecs/features/debug.prf \
161 /usr/lib64/qt4/mkspecs/features/debug.prf \
162 /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 \
163 /usr/lib64/qt4/mkspecs/features/declarative_debug.prf \
164 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
164 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
165 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
165 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
166 /usr/lib64/qt4/mkspecs/features/qt.prf \
166 /usr/lib64/qt4/mkspecs/features/qt.prf \
167 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
167 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
168 /usr/lib64/qt4/mkspecs/features/moc.prf \
168 /usr/lib64/qt4/mkspecs/features/moc.prf \
169 /usr/lib64/qt4/mkspecs/features/resources.prf \
169 /usr/lib64/qt4/mkspecs/features/resources.prf \
170 /usr/lib64/qt4/mkspecs/features/uic.prf \
170 /usr/lib64/qt4/mkspecs/features/uic.prf \
171 /usr/lib64/qt4/mkspecs/features/yacc.prf \
171 /usr/lib64/qt4/mkspecs/features/yacc.prf \
172 /usr/lib64/qt4/mkspecs/features/lex.prf \
172 /usr/lib64/qt4/mkspecs/features/lex.prf \
173 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
173 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
174 /usr/lib64/libQtXml.prl \
174 /usr/lib64/libQtXml.prl \
175 /usr/lib64/libQtCore.prl \
175 /usr/lib64/libQtCore.prl \
176 /usr/lib64/libQtGui.prl \
176 /usr/lib64/libQtGui.prl \
177 /usr/lib64/libQtNetwork.prl
177 /usr/lib64/libQtNetwork.prl
178 $(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ CONFIG+=debug CONFIG+=declarative_debug -o Makefile gselesia.pro
178 $(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ CONFIG+=debug CONFIG+=declarative_debug -o Makefile gselesia.pro
179 /usr/lib64/qt4/mkspecs/common/unix.conf:
179 /usr/lib64/qt4/mkspecs/common/unix.conf:
180 /usr/lib64/qt4/mkspecs/common/linux.conf:
180 /usr/lib64/qt4/mkspecs/common/linux.conf:
181 /usr/lib64/qt4/mkspecs/common/gcc-base.conf:
181 /usr/lib64/qt4/mkspecs/common/gcc-base.conf:
182 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf:
182 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf:
183 /usr/lib64/qt4/mkspecs/common/g++-base.conf:
183 /usr/lib64/qt4/mkspecs/common/g++-base.conf:
184 /usr/lib64/qt4/mkspecs/common/g++-unix.conf:
184 /usr/lib64/qt4/mkspecs/common/g++-unix.conf:
185 /usr/lib64/qt4/mkspecs/qconfig.pri:
185 /usr/lib64/qt4/mkspecs/qconfig.pri:
186 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri:
186 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri:
187 /usr/lib64/qt4/mkspecs/features/qt_functions.prf:
187 /usr/lib64/qt4/mkspecs/features/qt_functions.prf:
188 /usr/lib64/qt4/mkspecs/features/qt_config.prf:
188 /usr/lib64/qt4/mkspecs/features/qt_config.prf:
189 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf:
189 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf:
190 /usr/lib64/qt4/mkspecs/features/default_pre.prf:
190 /usr/lib64/qt4/mkspecs/features/default_pre.prf:
191 /usr/lib64/qt4/mkspecs/features/debug.prf:
191 /usr/lib64/qt4/mkspecs/features/debug.prf:
192 /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:
193 /usr/lib64/qt4/mkspecs/features/declarative_debug.prf:
194 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
194 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
195 /usr/lib64/qt4/mkspecs/features/warn_on.prf:
195 /usr/lib64/qt4/mkspecs/features/warn_on.prf:
196 /usr/lib64/qt4/mkspecs/features/qt.prf:
196 /usr/lib64/qt4/mkspecs/features/qt.prf:
197 /usr/lib64/qt4/mkspecs/features/unix/thread.prf:
197 /usr/lib64/qt4/mkspecs/features/unix/thread.prf:
198 /usr/lib64/qt4/mkspecs/features/moc.prf:
198 /usr/lib64/qt4/mkspecs/features/moc.prf:
199 /usr/lib64/qt4/mkspecs/features/resources.prf:
199 /usr/lib64/qt4/mkspecs/features/resources.prf:
200 /usr/lib64/qt4/mkspecs/features/uic.prf:
200 /usr/lib64/qt4/mkspecs/features/uic.prf:
201 /usr/lib64/qt4/mkspecs/features/yacc.prf:
201 /usr/lib64/qt4/mkspecs/features/yacc.prf:
202 /usr/lib64/qt4/mkspecs/features/lex.prf:
202 /usr/lib64/qt4/mkspecs/features/lex.prf:
203 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf:
203 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf:
204 /usr/lib64/libQtXml.prl:
204 /usr/lib64/libQtXml.prl:
205 /usr/lib64/libQtCore.prl:
205 /usr/lib64/libQtCore.prl:
206 /usr/lib64/libQtGui.prl:
206 /usr/lib64/libQtGui.prl:
207 /usr/lib64/libQtNetwork.prl:
207 /usr/lib64/libQtNetwork.prl:
208 qmake: FORCE
208 qmake: FORCE
209 @$(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ CONFIG+=debug CONFIG+=declarative_debug -o Makefile gselesia.pro
209 @$(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ CONFIG+=debug CONFIG+=declarative_debug -o Makefile gselesia.pro
210
210
211 dist:
211 dist:
212 @$(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
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
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
214
214
215
215
216 clean:compiler_clean
216 clean:compiler_clean
217 -$(DEL_FILE) $(OBJECTS)
217 -$(DEL_FILE) $(OBJECTS)
218 -$(DEL_FILE) *~ core *.core
218 -$(DEL_FILE) *~ core *.core
219
219
220
220
221 ####### Sub-libraries
221 ####### Sub-libraries
222
222
223 distclean: clean
223 distclean: clean
224 -$(DEL_FILE) $(TARGET)
224 -$(DEL_FILE) $(TARGET)
225 -$(DEL_FILE) Makefile
225 -$(DEL_FILE) Makefile
226
226
227
227
228 check: first
228 check: first
229
229
230 mocclean: compiler_moc_header_clean compiler_moc_source_clean
230 mocclean: compiler_moc_header_clean compiler_moc_source_clean
231
231
232 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
232 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
233
233
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
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
235 compiler_moc_header_clean:
235 compiler_moc_header_clean:
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
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
237 moc_mainwindow.cpp: lfrxmlhandler.h \
237 moc_mainwindow.cpp: lfrxmlhandler.h \
238 lfrxmlwriter.h \
238 lfrxmlwriter.h \
239 mainwindowui.h \
239 mainwindowui.h \
240 lfrspectrogram.h \
240 lfrspectrogram.h \
241 lfrxmlparser.h \
241 lfrxmlparser.h \
242 mainwindow.h
242 mainwindow.h
243 /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
244
244
245 moc_mainwindowui.cpp: lfrspectrogram.h \
245 moc_mainwindowui.cpp: lfrspectrogram.h \
246 mainwindowui.h
246 mainwindowui.h
247 /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
248
248
249 moc_qipdialogbox.cpp: ../common_PLE/qipdialogbox.h
249 moc_qipdialogbox.cpp: ../common_PLE/qipdialogbox.h
250 /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
251
251
252 moc_lfrxmlhandler.cpp: lfrxmlhandler.h
252 moc_lfrxmlhandler.cpp: lfrxmlhandler.h
253 /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
254
254
255 moc_lfrxmlwriter.cpp: lfrxmlwriter.h
255 moc_lfrxmlwriter.cpp: lfrxmlwriter.h
256 /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
257
257
258 moc_tmstatistics.cpp: ../rmapplugin/tmstatistics.h
258 moc_tmstatistics.cpp: ../rmapplugin/tmstatistics.h
259 /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
260
260
261 moc_tmpackettoread.cpp: ../rmapplugin/tmpackettoread.h
261 moc_tmpackettoread.cpp: ../rmapplugin/tmpackettoread.h
262 /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
263
263
264 moc_wfpacket.cpp: ../rmapplugin/wfpacket.h
264 moc_wfpacket.cpp: ../rmapplugin/wfpacket.h
265 /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
266
266
267 moc_hkdisplay.cpp: ../common_PLE/hkdisplay.h
267 moc_hkdisplay.cpp: ../common_PLE/hkdisplay.h
268 /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
269
269
270 moc_lfrxmlparser.cpp: lfrxmlparser.h
270 moc_lfrxmlparser.cpp: lfrxmlparser.h
271 /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
272
272
273 moc_lfrspectrogram.cpp: lfrspectrogram.h
273 moc_lfrspectrogram.cpp: lfrspectrogram.h
274 /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
275
275
276 compiler_rcc_make_all:
276 compiler_rcc_make_all:
277 compiler_rcc_clean:
277 compiler_rcc_clean:
278 compiler_image_collection_make_all: qmake_image_collection.cpp
278 compiler_image_collection_make_all: qmake_image_collection.cpp
279 compiler_image_collection_clean:
279 compiler_image_collection_clean:
280 -$(DEL_FILE) qmake_image_collection.cpp
280 -$(DEL_FILE) qmake_image_collection.cpp
281 compiler_moc_source_make_all:
281 compiler_moc_source_make_all:
282 compiler_moc_source_clean:
282 compiler_moc_source_clean:
283 compiler_uic_make_all:
283 compiler_uic_make_all:
284 compiler_uic_clean:
284 compiler_uic_clean:
285 compiler_yacc_decl_make_all:
285 compiler_yacc_decl_make_all:
286 compiler_yacc_decl_clean:
286 compiler_yacc_decl_clean:
287 compiler_yacc_impl_make_all:
287 compiler_yacc_impl_make_all:
288 compiler_yacc_impl_clean:
288 compiler_yacc_impl_clean:
289 compiler_lex_make_all:
289 compiler_lex_make_all:
290 compiler_lex_clean:
290 compiler_lex_clean:
291 compiler_clean: compiler_moc_header_clean
291 compiler_clean: compiler_moc_header_clean
292
292
293 ####### Compile
293 ####### Compile
294
294
295 main.o: main.cpp mainwindow.h \
295 main.o: main.cpp mainwindow.h \
296 lfrxmlhandler.h \
296 lfrxmlhandler.h \
297 lfrxmlwriter.h \
297 lfrxmlwriter.h \
298 mainwindowui.h \
298 mainwindowui.h \
299 lfrspectrogram.h \
299 lfrspectrogram.h \
300 lfrxmlparser.h
300 lfrxmlparser.h
301 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
301 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
302
302
303 mainwindow.o: mainwindow.cpp mainwindow.h \
303 mainwindow.o: mainwindow.cpp mainwindow.h \
304 lfrxmlhandler.h \
304 lfrxmlhandler.h \
305 lfrxmlwriter.h \
305 lfrxmlwriter.h \
306 mainwindowui.h \
306 mainwindowui.h \
307 lfrspectrogram.h \
307 lfrspectrogram.h \
308 lfrxmlparser.h
308 lfrxmlparser.h
309 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
309 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
310
310
311 mainwindowui.o: mainwindowui.cpp mainwindowui.h \
311 mainwindowui.o: mainwindowui.cpp mainwindowui.h \
312 lfrspectrogram.h
312 lfrspectrogram.h
313 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindowui.o mainwindowui.cpp
313 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindowui.o mainwindowui.cpp
314
314
315 qipdialogbox.o: ../common_PLE/qipdialogbox.cpp ../common_PLE/qipdialogbox.h
315 qipdialogbox.o: ../common_PLE/qipdialogbox.cpp ../common_PLE/qipdialogbox.h
316 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qipdialogbox.o ../common_PLE/qipdialogbox.cpp
316 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qipdialogbox.o ../common_PLE/qipdialogbox.cpp
317
317
318 lfrxmlhandler.o: lfrxmlhandler.cpp lfrxmlhandler.h
318 lfrxmlhandler.o: lfrxmlhandler.cpp lfrxmlhandler.h
319 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlhandler.o lfrxmlhandler.cpp
319 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlhandler.o lfrxmlhandler.cpp
320
320
321 lfrxmlwriter.o: lfrxmlwriter.cpp lfrxmlwriter.h
321 lfrxmlwriter.o: lfrxmlwriter.cpp lfrxmlwriter.h
322 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlwriter.o lfrxmlwriter.cpp
322 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlwriter.o lfrxmlwriter.cpp
323
323
324 tmstatistics.o: ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmstatistics.h
324 tmstatistics.o: ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmstatistics.h
325 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmstatistics.o ../rmapplugin/tmstatistics.cpp
325 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmstatistics.o ../rmapplugin/tmstatistics.cpp
326
326
327 tmpackettoread.o: ../rmapplugin/tmpackettoread.cpp ../rmapplugin/tmpackettoread.h
327 tmpackettoread.o: ../rmapplugin/tmpackettoread.cpp ../rmapplugin/tmpackettoread.h
328 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmpackettoread.o ../rmapplugin/tmpackettoread.cpp
328 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmpackettoread.o ../rmapplugin/tmpackettoread.cpp
329
329
330 wfpacket.o: ../rmapplugin/wfpacket.cpp ../rmapplugin/wfpacket.h
330 wfpacket.o: ../rmapplugin/wfpacket.cpp ../rmapplugin/wfpacket.h
331 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpacket.o ../rmapplugin/wfpacket.cpp
331 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpacket.o ../rmapplugin/wfpacket.cpp
332
332
333 hkdisplay.o: ../common_PLE/hkdisplay.cpp ../common_PLE/hkdisplay.h
333 hkdisplay.o: ../common_PLE/hkdisplay.cpp ../common_PLE/hkdisplay.h
334 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o hkdisplay.o ../common_PLE/hkdisplay.cpp
334 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o hkdisplay.o ../common_PLE/hkdisplay.cpp
335
335
336 lfrxmlparser.o: lfrxmlparser.cpp lfrxmlparser.h
336 lfrxmlparser.o: lfrxmlparser.cpp lfrxmlparser.h
337 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlparser.o lfrxmlparser.cpp
337 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlparser.o lfrxmlparser.cpp
338
338
339 lfrspectrogram.o: lfrspectrogram.cpp lfrspectrogram.h
339 lfrspectrogram.o: lfrspectrogram.cpp lfrspectrogram.h
340 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrspectrogram.o lfrspectrogram.cpp
340 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrspectrogram.o lfrspectrogram.cpp
341
341
342 moc_mainwindow.o: moc_mainwindow.cpp
342 moc_mainwindow.o: moc_mainwindow.cpp
343 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
343 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
344
344
345 moc_mainwindowui.o: moc_mainwindowui.cpp
345 moc_mainwindowui.o: moc_mainwindowui.cpp
346 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindowui.o moc_mainwindowui.cpp
346 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindowui.o moc_mainwindowui.cpp
347
347
348 moc_qipdialogbox.o: moc_qipdialogbox.cpp
348 moc_qipdialogbox.o: moc_qipdialogbox.cpp
349 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qipdialogbox.o moc_qipdialogbox.cpp
349 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qipdialogbox.o moc_qipdialogbox.cpp
350
350
351 moc_lfrxmlhandler.o: moc_lfrxmlhandler.cpp
351 moc_lfrxmlhandler.o: moc_lfrxmlhandler.cpp
352 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlhandler.o moc_lfrxmlhandler.cpp
352 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlhandler.o moc_lfrxmlhandler.cpp
353
353
354 moc_lfrxmlwriter.o: moc_lfrxmlwriter.cpp
354 moc_lfrxmlwriter.o: moc_lfrxmlwriter.cpp
355 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlwriter.o moc_lfrxmlwriter.cpp
355 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlwriter.o moc_lfrxmlwriter.cpp
356
356
357 moc_tmstatistics.o: moc_tmstatistics.cpp
357 moc_tmstatistics.o: moc_tmstatistics.cpp
358 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmstatistics.o moc_tmstatistics.cpp
358 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmstatistics.o moc_tmstatistics.cpp
359
359
360 moc_tmpackettoread.o: moc_tmpackettoread.cpp
360 moc_tmpackettoread.o: moc_tmpackettoread.cpp
361 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmpackettoread.o moc_tmpackettoread.cpp
361 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmpackettoread.o moc_tmpackettoread.cpp
362
362
363 moc_wfpacket.o: moc_wfpacket.cpp
363 moc_wfpacket.o: moc_wfpacket.cpp
364 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpacket.o moc_wfpacket.cpp
364 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpacket.o moc_wfpacket.cpp
365
365
366 moc_hkdisplay.o: moc_hkdisplay.cpp
366 moc_hkdisplay.o: moc_hkdisplay.cpp
367 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_hkdisplay.o moc_hkdisplay.cpp
367 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_hkdisplay.o moc_hkdisplay.cpp
368
368
369 moc_lfrxmlparser.o: moc_lfrxmlparser.cpp
369 moc_lfrxmlparser.o: moc_lfrxmlparser.cpp
370 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlparser.o moc_lfrxmlparser.cpp
370 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlparser.o moc_lfrxmlparser.cpp
371
371
372 moc_lfrspectrogram.o: moc_lfrspectrogram.cpp
372 moc_lfrspectrogram.o: moc_lfrspectrogram.cpp
373 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrspectrogram.o moc_lfrspectrogram.cpp
373 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrspectrogram.o moc_lfrspectrogram.cpp
374
374
375 ####### Install
375 ####### Install
376
376
377 install: FORCE
377 install: FORCE
378
378
379 uninstall: FORCE
379 uninstall: FORCE
380
380
381 FORCE:
381 FORCE:
382
382
@@ -1,265 +1,215
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-07-04T12:07:39. -->
3 <!-- Written by Qt Creator 2.4.1, 2013-07-04T13:53:51. -->
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">1</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">true</value>
66 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</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.3 in PATH (System) Release</value>
100 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 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">/home/admin/opt/LPPMON_PLUGINS_PLE/gse_lesia</value>
104 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/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 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</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">
111 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
112 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
115 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
116 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
117 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
118 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
119 </valuemap>
120 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
121 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
122 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
123 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
124 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
125 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
126 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
127 </valuemap>
128 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
129 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
130 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
131 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
132 </valuemap>
133 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
134 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
135 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
136 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
137 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
138 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
139 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
140 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
141 </valuemap>
142 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
143 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
144 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
145 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
146 </valuemap>
147 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
148 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
149 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
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>
152 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
153 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</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>
156 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
157 </valuemap>
158 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
159 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
109 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
160 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
110 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
161 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
111 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
162 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
112 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
163 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
164 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
165 </valuemap>
115 </valuemap>
166 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
116 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
167 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
117 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
168 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
118 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
169 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
119 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
170 </valuemap>
120 </valuemap>
171 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
121 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
172 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
122 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
173 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
123 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
174 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
124 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
175 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
125 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
176 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
126 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
177 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
127 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
178 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
128 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
179 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
129 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
180 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
130 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
181 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
131 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
182 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
132 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
183 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
133 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
184 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
134 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
185 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
135 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
186 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
136 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
187 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
137 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
188 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
138 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
189 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
139 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
190 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
140 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
191 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
141 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
192 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
142 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
193 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
143 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
194 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
144 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
195 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
145 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
196 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
146 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
197 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
147 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
198 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
148 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
199 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
149 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
200 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
150 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
201 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
151 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
202 <value type="int">0</value>
152 <value type="int">0</value>
203 <value type="int">1</value>
153 <value type="int">1</value>
204 <value type="int">2</value>
154 <value type="int">2</value>
205 <value type="int">3</value>
155 <value type="int">3</value>
206 <value type="int">4</value>
156 <value type="int">4</value>
207 <value type="int">5</value>
157 <value type="int">5</value>
208 <value type="int">6</value>
158 <value type="int">6</value>
209 <value type="int">7</value>
159 <value type="int">7</value>
210 <value type="int">8</value>
160 <value type="int">8</value>
211 <value type="int">9</value>
161 <value type="int">9</value>
212 <value type="int">10</value>
162 <value type="int">10</value>
213 <value type="int">11</value>
163 <value type="int">11</value>
214 <value type="int">12</value>
164 <value type="int">12</value>
215 <value type="int">13</value>
165 <value type="int">13</value>
216 <value type="int">14</value>
166 <value type="int">14</value>
217 </valuelist>
167 </valuelist>
218 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
168 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
219 <value type="int">0</value>
169 <value type="int">0</value>
220 <value type="int">1</value>
170 <value type="int">1</value>
221 <value type="int">2</value>
171 <value type="int">2</value>
222 <value type="int">3</value>
172 <value type="int">3</value>
223 <value type="int">4</value>
173 <value type="int">4</value>
224 <value type="int">5</value>
174 <value type="int">5</value>
225 <value type="int">6</value>
175 <value type="int">6</value>
226 <value type="int">7</value>
176 <value type="int">7</value>
227 <value type="int">8</value>
177 <value type="int">8</value>
228 <value type="int">9</value>
178 <value type="int">9</value>
229 <value type="int">10</value>
179 <value type="int">10</value>
230 <value type="int">11</value>
180 <value type="int">11</value>
231 <value type="int">12</value>
181 <value type="int">12</value>
232 <value type="int">13</value>
182 <value type="int">13</value>
233 <value type="int">14</value>
183 <value type="int">14</value>
234 </valuelist>
184 </valuelist>
235 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">gselesia</value>
185 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">gselesia</value>
236 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
186 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
237 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value>
187 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value>
238 <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value>
188 <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value>
239 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
189 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
240 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">gselesia.pro</value>
190 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">gselesia.pro</value>
241 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
191 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
242 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
192 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
243 <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/>
193 <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/>
244 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
194 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
245 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
195 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
246 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
196 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
247 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
197 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
248 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
198 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
249 </valuemap>
199 </valuemap>
250 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
200 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
251 </valuemap>
201 </valuemap>
252 </data>
202 </data>
253 <data>
203 <data>
254 <variable>ProjectExplorer.Project.TargetCount</variable>
204 <variable>ProjectExplorer.Project.TargetCount</variable>
255 <value type="int">1</value>
205 <value type="int">1</value>
256 </data>
206 </data>
257 <data>
207 <data>
258 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
208 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
259 <value type="QString">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value>
209 <value type="QString">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value>
260 </data>
210 </data>
261 <data>
211 <data>
262 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
212 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
263 <value type="int">10</value>
213 <value type="int">10</value>
264 </data>
214 </data>
265 </qtcreator>
215 </qtcreator>
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
@@ -1,497 +1,498
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 : QMainWindow(parent)
7 {
7 {
8 parsingContinue = false;
8 parsingContinue = false;
9 totalOfBytes = 0;
9 totalOfBytes = 0;
10 totalOfPackets = 0;
10 totalOfPackets = 0;
11
11
12 //****
12 //****
13 // XML
13 // XML
14 // xml handlers
14 // xml handlers
15 xmlHandler = new LFRXmlHandler();
15 xmlHandler = new LFRXmlHandler();
16 // xml sources
16 // xml sources
17 sourceTC = new QXmlInputSource();
17 sourceTC = new QXmlInputSource();
18 // xml writer
18 // xml writer
19 lfrXmlWriter = new LFRXmlWriter();
19 lfrXmlWriter = new LFRXmlWriter();
20 // setup xml parser for the echo bridge
20 // setup xml parser for the echo bridge
21 lfrXmlParser = new LFRXmlParser();
21 lfrXmlParser = new LFRXmlParser();
22
22
23 UI = new MainWindowUI();
23 UI = new MainWindowUI();
24 readSettings();
24 readSettings();
25 this->UI->serverTMEchoDialogBox->setIP(echoBridgeIP0, echoBridgeIP1, echoBridgeIP2, echoBridgeIP3);
25 this->UI->serverTMEchoDialogBox->setIP(echoBridgeIP0, echoBridgeIP1, echoBridgeIP2, echoBridgeIP3);
26
26
27 lfrXmlParser->generalCCSDSPacketStore = &this->generalCCSDSPacketStore;
27 lfrXmlParser->generalCCSDSPacketStore = &this->generalCCSDSPacketStore;
28
28
29 initSocketStatesList();
29 initSocketStatesList();
30
30
31 this->setLayout(UI->layout());
31 this->setCentralWidget(this->UI);
32 //this->setLayout(UI->layout());
32
33
33 analyserSGSEServerTC = new QTcpServer();
34 analyserSGSEServerTC = new QTcpServer();
34 analyserSGSEServerTM = new QTcpServer();
35 analyserSGSEServerTM = new QTcpServer();
35
36
36 socketTC = NULL;
37 socketTC = NULL;
37 socketTM = NULL;
38 socketTM = NULL;
38 socketEchoServer = new QTcpSocket();
39 socketEchoServer = new QTcpSocket();
39
40
40 connect(this->UI->button_openServerTCTM, SIGNAL(clicked()), this, SLOT(listenOnTCTMPorts()));
41 connect(this->UI->button_openServerTCTM, SIGNAL(clicked()), this, SLOT(listenOnTCTMPorts()));
41 connect(this->UI->button_testServerTCTM, SIGNAL(clicked()), this, SLOT(testTCTMPorts()));
42 connect(this->UI->button_testServerTCTM, SIGNAL(clicked()), this, SLOT(testTCTMPorts()));
42 connect(this->UI->button_openSocketEchoServer, SIGNAL(clicked()), this, SLOT(openEchoServer()));
43 connect(this->UI->button_openSocketEchoServer, SIGNAL(clicked()), this, SLOT(openEchoServer()));
43 //
44 //
44 connect(this->analyserSGSEServerTC, SIGNAL(newConnection()), this, SLOT(newConnectionOnTCServer()));
45 connect(this->analyserSGSEServerTC, SIGNAL(newConnection()), this, SLOT(newConnectionOnTCServer()));
45 connect(this->analyserSGSEServerTM, SIGNAL(newConnection()), this, SLOT(newConnectionOnTMServer()));
46 connect(this->analyserSGSEServerTM, SIGNAL(newConnection()), this, SLOT(newConnectionOnTMServer()));
46 //
47 //
47 connect(this, SIGNAL(socketTMHasChanged(QTcpSocket*)), this->lfrXmlWriter, SLOT(setSocketTM(QTcpSocket*)));
48 connect(this, SIGNAL(socketTMHasChanged(QTcpSocket*)), this->lfrXmlWriter, SLOT(setSocketTM(QTcpSocket*)));
48 connect(this->UI->button_TCAcknowledgement, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_TC_Acknowledgment()));
49 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()));
50 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()));
51 connect(this->UI->button_GSEHK, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_GSE_HK()));
51
52
52 // socket echo server
53 // socket echo server
53 connect(this->socketEchoServer, SIGNAL(stateChanged(QAbstractSocket::SocketState)),
54 connect(this->socketEchoServer, SIGNAL(stateChanged(QAbstractSocket::SocketState)),
54 this, SLOT(socket_TMEcho_ServerHasChanged()));
55 this, SLOT(socket_TMEcho_ServerHasChanged()));
55 connect(this->socketEchoServer, SIGNAL(readyRead()),
56 connect(this->socketEchoServer, SIGNAL(readyRead()),
56 this, SLOT(readDataOnSocketEchoServer()));
57 this, SLOT(readDataOnSocketEchoServer()));
57
58
58 // display on console
59 // display on console
59 connect(this->xmlHandler, SIGNAL(displayMessage(QString)),
60 connect(this->xmlHandler, SIGNAL(displayMessage(QString)),
60 this, SLOT(displayOnConsole(QString)));
61 this, SLOT(displayOnConsole(QString)));
61 connect(this->UI->hkDisplay, SIGNAL(displayMessage(QString)),
62 connect(this->UI->hkDisplay, SIGNAL(displayMessage(QString)),
62 this, SLOT(displayOnConsole(QString)));
63 this, SLOT(displayOnConsole(QString)));
63 connect(this->lfrXmlParser, SIGNAL(sendMessage(QString)),
64 connect(this->lfrXmlParser, SIGNAL(sendMessage(QString)),
64 this, SLOT(displayOnConsole(QString)));
65 this, SLOT(displayOnConsole(QString)));
65 //
66 //
66 connect(this->lfrXmlParser, SIGNAL(processPacketStore()),
67 connect(this->lfrXmlParser, SIGNAL(processPacketStore()),
67 this, SLOT(processPacketStore()));
68 this, SLOT(processPacketStore()));
68 //
69 //
69 connect(this->UI->button_resetStatistics, SIGNAL(clicked()),
70 connect(this->UI->button_resetStatistics, SIGNAL(clicked()),
70 this, SLOT(resetStatistics()));
71 this, SLOT(resetStatistics()));
71
72
72 displayNetworkInterfaces();
73 displayNetworkInterfaces();
73
74
74 this->xmlHandler->packetStoreHasChanged(&generalCCSDSPacketStore);
75 this->xmlHandler->packetStoreHasChanged(&generalCCSDSPacketStore);
75 };
76 };
76
77
77 MainWindow::~MainWindow()
78 MainWindow::~MainWindow()
78 {
79 {
79
80
80 }
81 }
81
82
82 void MainWindow::displayNetworkInterfaces()
83 void MainWindow::displayNetworkInterfaces()
83 {
84 {
84 QList<QHostAddress> list = QNetworkInterface::allAddresses();
85 QList<QHostAddress> list = QNetworkInterface::allAddresses();
85 this->displayOnConsole("Network interfaces:");
86 this->displayOnConsole("Network interfaces:");
86 for(int nIter=0; nIter<list.count(); nIter++)
87 for(int nIter=0; nIter<list.count(); nIter++)
87 {
88 {
88 this->UI->displayOnConsole(list[nIter].toString());
89 this->UI->displayOnConsole(list[nIter].toString());
89 }
90 }
90 }
91 }
91
92
92 void MainWindow::listenOnTCTMPorts()
93 void MainWindow::listenOnTCTMPorts()
93 {
94 {
94 QString str;
95 QString str;
95
96
96 //***
97 //***
97 // TC
98 // TC
98 analyserSGSEServerTC->listen(QHostAddress::Any, this->UI->getTCPort());
99 analyserSGSEServerTC->listen(QHostAddress::Any, this->UI->getTCPort());
99 str = analyserSGSEServerTC->errorString();
100 str = analyserSGSEServerTC->errorString();
100 if (!str.isEmpty())
101 if (!str.isEmpty())
101 {
102 {
102 this->displayOnConsole(str);
103 this->displayOnConsole(str);
103 }
104 }
104 this->displayOnConsole("Listening TC on port "
105 this->displayOnConsole("Listening TC on port "
105 + QString::number(this->UI->getTCPort())
106 + QString::number(this->UI->getTCPort())
106 );
107 );
107
108
108 //***
109 //***
109 // TM
110 // TM
110 analyserSGSEServerTM->listen(QHostAddress::Any, this->UI->getTMPort());
111 analyserSGSEServerTM->listen(QHostAddress::Any, this->UI->getTMPort());
111 str = analyserSGSEServerTM->errorString();
112 str = analyserSGSEServerTM->errorString();
112 if (!str.isEmpty())
113 if (!str.isEmpty())
113 {
114 {
114 this->displayOnConsole(str);
115 this->displayOnConsole(str);
115 }
116 }
116 this->displayOnConsole("Listening TM on port "
117 this->displayOnConsole("Listening TM on port "
117 + QString::number(this->UI->getTMPort())
118 + QString::number(this->UI->getTMPort())
118 );
119 );
119 }
120 }
120
121
121 void MainWindow::testTCTMPorts()
122 void MainWindow::testTCTMPorts()
122 {
123 {
123 if (socketTC != NULL)
124 if (socketTC != NULL)
124 {
125 {
125 this->displayOnConsole("TC socket *** " + socketStates.at(socketTC->state()) );
126 this->displayOnConsole("TC socket *** " + socketStates.at(socketTC->state()) );
126 }
127 }
127 else
128 else
128 {
129 {
129 this->displayOnConsole("TC socket *** not tested, (socketTC) is NULL" );
130 this->displayOnConsole("TC socket *** not tested, (socketTC) is NULL" );
130 }
131 }
131 if (socketTM != NULL)
132 if (socketTM != NULL)
132 {
133 {
133 this->displayOnConsole("TM socket *** " + socketStates.at(socketTM->state()) );
134 this->displayOnConsole("TM socket *** " + socketStates.at(socketTM->state()) );
134 }
135 }
135 else
136 else
136 {
137 {
137 this->displayOnConsole("TM socket *** not tested, (socketTM) is NULL" );
138 this->displayOnConsole("TM socket *** not tested, (socketTM) is NULL" );
138 }
139 }
139 }
140 }
140
141
141 void MainWindow::newConnectionOnTCServer()
142 void MainWindow::newConnectionOnTCServer()
142 {
143 {
143 this->displayOnConsole("got new connection on TC port");
144 this->displayOnConsole("got new connection on TC port");
144 socketTC = analyserSGSEServerTC->nextPendingConnection();
145 socketTC = analyserSGSEServerTC->nextPendingConnection();
145 this->displayOnConsole("TC socket *** " + socketStates.at(socketTC->state()) );
146 this->displayOnConsole("TC socket *** " + socketStates.at(socketTC->state()) );
146 connect(this->socketTC, SIGNAL(readyRead()), this, SLOT(readDataOnTCPort()));
147 connect(this->socketTC, SIGNAL(readyRead()), this, SLOT(readDataOnTCPort()));
147 }
148 }
148
149
149 void MainWindow::newConnectionOnTMServer()
150 void MainWindow::newConnectionOnTMServer()
150 {
151 {
151 this->displayOnConsole("got new connection on TM port");
152 this->displayOnConsole("got new connection on TM port");
152 socketTM = analyserSGSEServerTM->nextPendingConnection();
153 socketTM = analyserSGSEServerTM->nextPendingConnection();
153 this->displayOnConsole("TM socket *** " + socketStates.at(socketTM->state()) );
154 this->displayOnConsole("TM socket *** " + socketStates.at(socketTM->state()) );
154 connect(this->socketTM, SIGNAL(readyRead()), this, SLOT(readDataOnTMPort()));
155 connect(this->socketTM, SIGNAL(readyRead()), this, SLOT(readDataOnTMPort()));
155
156
156 emit socketTMHasChanged(this->socketTM);
157 emit socketTMHasChanged(this->socketTM);
157 }
158 }
158
159
159 void MainWindow::readDataOnTCPort()
160 void MainWindow::readDataOnTCPort()
160 {
161 {
161 bool ok;
162 bool ok;
162 int nbBytesAvailable = 0;
163 int nbBytesAvailable = 0;
163
164
164 nbBytesAvailable = socketTC->bytesAvailable();
165 nbBytesAvailable = socketTC->bytesAvailable();
165 buffer = (char *) malloc(nbBytesAvailable);
166 buffer = (char *) malloc(nbBytesAvailable);
166 socketTC->read(buffer, nbBytesAvailable);
167 socketTC->read(buffer, nbBytesAvailable);
167
168
168 this->displayOnConsole("readDataOnTCPort *** "
169 this->displayOnConsole("readDataOnTCPort *** "
169 + QString::number(nbBytesAvailable)
170 + QString::number(nbBytesAvailable)
170 + " read");
171 + " read");
171
172
172 QByteArray xmlData( buffer, nbBytesAvailable);
173 QByteArray xmlData( buffer, nbBytesAvailable);
173
174
174 free(buffer);
175 free(buffer);
175
176
176 sourceTC->setData( xmlData );
177 sourceTC->setData( xmlData );
177
178
178 xmlReader.setContentHandler(xmlHandler);
179 xmlReader.setContentHandler(xmlHandler);
179 xmlReader.setErrorHandler(xmlHandler);
180 xmlReader.setErrorHandler(xmlHandler);
180
181
181 ok = xmlReader.parse(sourceTC);
182 ok = xmlReader.parse(sourceTC);
182 if (!ok) {
183 if (!ok) {
183 std::cout << "Parsing failed." << std::endl;
184 std::cout << "Parsing failed." << std::endl;
184 }
185 }
185 else {
186 else {
186 QStringList names = xmlHandler->names();
187 QStringList names = xmlHandler->names();
187 QList<int> indentations = xmlHandler->indentations();
188 QList<int> indentations = xmlHandler->indentations();
188
189
189 int items = names.count();
190 int items = names.count();
190
191
191 for (int i = 0; i < items; ++i) {
192 for (int i = 0; i < items; ++i) {
192 displayOnConsole(
193 displayOnConsole(
193 names[i]
194 names[i]
194 + " --- identations: "
195 + " --- identations: "
195 + QString::number(indentations[i]));
196 + QString::number(indentations[i]));
196 }
197 }
197 }
198 }
198 }
199 }
199
200
200 void MainWindow::readDataOnTMPort()
201 void MainWindow::readDataOnTMPort()
201 {
202 {
202 this->displayOnConsole("TM data received, begin parsing");
203 this->displayOnConsole("TM data received, begin parsing");
203 }
204 }
204
205
205 void MainWindow::readDataOnSocketEchoServer()
206 void MainWindow::readDataOnSocketEchoServer()
206 {
207 {
207 QString dataString;
208 QString dataString;
208
209
209 dataArray.append(socketEchoServer->readAll());
210 dataArray.append(socketEchoServer->readAll());
210 dataString = QString::fromAscii(dataArray);
211 dataString = QString::fromAscii(dataArray);
211 this->lfrXmlParser->processIncomingStr(dataString);
212 this->lfrXmlParser->processIncomingStr(dataString);
212 dataArray.clear();
213 dataArray.clear();
213 }
214 }
214
215
215 void MainWindow::displayOnConsole(QString message)
216 void MainWindow::displayOnConsole(QString message)
216 {
217 {
217 this->UI->displayOnConsole( message );
218 this->UI->displayOnConsole( message );
218 }
219 }
219
220
220 void MainWindow::initSocketStatesList()
221 void MainWindow::initSocketStatesList()
221 {
222 {
222 socketStates.append("The socket is not connected");
223 socketStates.append("The socket is not connected");
223 socketStates.append("The socket is performing a host name lookup");
224 socketStates.append("The socket is performing a host name lookup");
224 socketStates.append("The socket has started establishing a connection");
225 socketStates.append("The socket has started establishing a connection");
225 socketStates.append("A connection is established");
226 socketStates.append("A connection is established");
226 socketStates.append("The socket is bound to an address and port (for servers)");
227 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)");
228 socketStates.append("The socket is about to close (data may still be waiting to be written)");
228 socketStates.append("For internal use only");
229 socketStates.append("For internal use only");
229 }
230 }
230
231
231 void MainWindow::openEchoServer()
232 void MainWindow::openEchoServer()
232 {
233 {
233 socketEchoServer->connectToHost(this->UI->serverTMEchoDialogBox->getIP(),
234 socketEchoServer->connectToHost(this->UI->serverTMEchoDialogBox->getIP(),
234 this->UI->spinbox_serverTMEchoPort->value());
235 this->UI->spinbox_serverTMEchoPort->value());
235 //socketEchoServer->open();
236 //socketEchoServer->open();
236 }
237 }
237
238
238 void MainWindow::socket_TMEcho_ServerHasChanged()
239 void MainWindow::socket_TMEcho_ServerHasChanged()
239 {
240 {
240 this->displayOnConsole("TM Echo Socket socket *** " + socketStates.at(socketEchoServer->state()) );
241 this->displayOnConsole("TM Echo Socket socket *** " + socketStates.at(socketEchoServer->state()) );
241 }
242 }
242
243
243 void MainWindow::preProcessPacket(TMPacketToRead *packet)
244 void MainWindow::preProcessPacket(TMPacketToRead *packet)
244 {
245 {
245 unsigned char pid = 0;
246 unsigned char pid = 0;
246 unsigned char cat = 0;
247 unsigned char cat = 0;
247 unsigned char typ = 0;
248 unsigned char typ = 0;
248 unsigned char sub = 0;
249 unsigned char sub = 0;
249 unsigned int sid = 0;
250 unsigned int sid = 0;
250 unsigned int length = 0;
251 unsigned int length = 0;
251 unsigned int coarse_t = 0;
252 unsigned int coarse_t = 0;
252 unsigned int fine_t = 0;
253 unsigned int fine_t = 0;
253
254
254 //*********************************
255 //*********************************
255 // get the parameters of the packet
256 // get the parameters of the packet
256 pid = ((packet->Value[4] & 0x07) << 4) + ((packet->Value[5] & 0xf0) >> 4);
257 pid = ((packet->Value[4] & 0x07) << 4) + ((packet->Value[5] & 0xf0) >> 4);
257 cat = packet->Value[5] & 0x0f;
258 cat = packet->Value[5] & 0x0f;
258 typ = packet->Value[11]; // TYPE
259 typ = packet->Value[11]; // TYPE
259 sub = packet->Value[12]; // SUBTYPE
260 sub = packet->Value[12]; // SUBTYPE
260 sid = 0;
261 sid = 0;
261 length = packet->Value[8] * 256 + packet->Value[9];
262 length = packet->Value[8] * 256 + packet->Value[9];
262 // compare length in the packet with the size of the packet
263 // compare length in the packet with the size of the packet
263 if ( (length + 1 + 10) != (packet->size))
264 if ( (length + 1 + 10) != (packet->size))
264 {
265 {
265 displayOnConsole("reception of " + QString::number(packet->size)
266 displayOnConsole("reception of " + QString::number(packet->size)
266 + " bytes instead of " + QString::number(length + 1 + 10));
267 + " bytes instead of " + QString::number(length + 1 + 10));
267 }
268 }
268 coarse_t = packet->Value[14] * pow(2, 24) + packet->Value[15] * pow(2, 16)
269 coarse_t = packet->Value[14] * pow(2, 24) + packet->Value[15] * pow(2, 16)
269 + packet->Value[16] * pow(2, 8) + packet->Value[17];
270 + packet->Value[16] * pow(2, 8) + packet->Value[17];
270 fine_t = packet->Value[18] * pow(2, 8) + packet->Value[19];
271 fine_t = packet->Value[18] * pow(2, 8) + packet->Value[19];
271
272
272 if ((pid == 76) & (cat == 1) & (typ == 1) & (sub == 8))
273 if ((pid == 76) & (cat == 1) & (typ == 1) & (sub == 8))
273 sid = packet->Value[20] * 256 + packet->Value[21];
274 sid = packet->Value[20] * 256 + packet->Value[21];
274 else if ((pid == 76) & (cat == 4) & (typ == 3) & (sub == 25))
275 else if ((pid == 76) & (cat == 4) & (typ == 3) & (sub == 25))
275 sid = 1;
276 sid = 1;
276 else if ((pid == 76) & (cat == 12) & (typ == 21) & (sub == 3))
277 else if ((pid == 76) & (cat == 12) & (typ == 21) & (sub == 3))
277 sid = packet->Value[20];
278 sid = packet->Value[20];
278 else if ((pid == 79) & (cat == 12) & (typ == 21) & (sub == 3))
279 else if ((pid == 79) & (cat == 12) & (typ == 21) & (sub == 3))
279 sid = packet->Value[20];
280 sid = packet->Value[20];
280
281
281 this->UI->tmStatistics->updateStatistics(pid, cat, typ, sub, sid, length, coarse_t, fine_t);
282 this->UI->tmStatistics->updateStatistics(pid, cat, typ, sub, sid, length, coarse_t, fine_t);
282
283
283 //***************************************************
284 //***************************************************
284 // if the packet is an HK packet, display its content
285 // if the packet is an HK packet, display its content
285 if ( (typ == TYPE_HK) & (sub == SUBTYPE_HK) )
286 if ( (typ == TYPE_HK) & (sub == SUBTYPE_HK) )
286 {
287 {
287 this->UI->hkDisplay->displayPacket(packet);
288 this->UI->hkDisplay->displayPacket(packet);
288 }
289 }
289
290
290 //****************************************
291 //****************************************
291 // if the packet is a waveform, display it
292 // if the packet is a waveform, display it
292 if ( (typ == 21) & (sub == 3) )
293 if ( (typ == 21) & (sub == 3) )
293 {
294 {
294 sid = packet->Value[20]; // SID
295 sid = packet->Value[20]; // SID
295 switch (sid){
296 switch (sid){
296 case SID_NORMAL_SWF_F0:
297 case SID_NORMAL_SWF_F0:
297 buildWFAndDisplay(packet, &wfPacketNormal[0], 0);
298 buildWFAndDisplay(packet, &wfPacketNormal[0], 0);
298 break;
299 break;
299 case SID_NORMAL_SWF_F1:
300 case SID_NORMAL_SWF_F1:
300 buildWFAndDisplay(packet, &wfPacketNormal[1], 1);
301 buildWFAndDisplay(packet, &wfPacketNormal[1], 1);
301 break;
302 break;
302 case SID_NORMAL_SWF_F2:
303 case SID_NORMAL_SWF_F2:
303 buildWFAndDisplay(packet, &wfPacketNormal[2], 2);
304 buildWFAndDisplay(packet, &wfPacketNormal[2], 2);
304 break;
305 break;
305 case SID_NORMAL_CWF_F3:
306 case SID_NORMAL_CWF_F3:
306 buildWFAndDisplay(packet, &wfPacketNormal[3], 3);
307 buildWFAndDisplay(packet, &wfPacketNormal[3], 3);
307 break;
308 break;
308 case SID_BURST_CWF_F2:
309 case SID_BURST_CWF_F2:
309 buildWFAndDisplayBurst(packet, &wfPacketBurst);
310 buildWFAndDisplayBurst(packet, &wfPacketBurst);
310 break;
311 break;
311 case SID_SBM1_CWF_F1:
312 case SID_SBM1_CWF_F1:
312 buildWFAndDisplaySBM1(packet, &wfPacketSBM1);
313 buildWFAndDisplaySBM1(packet, &wfPacketSBM1);
313 break;
314 break;
314 case SID_SBM2_CWF_F2:
315 case SID_SBM2_CWF_F2:
315 buildWFAndDisplaySBM2(packet, &wfPacketSBM2);
316 buildWFAndDisplaySBM2(packet, &wfPacketSBM2);
316 break;
317 break;
317 }
318 }
318 }
319 }
319 }
320 }
320
321
321 void MainWindow::buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page)
322 void MainWindow::buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page)
322 {
323 {
323 unsigned int i = 0;
324 unsigned int i = 0;
324 unsigned int j = 0;
325 unsigned int j = 0;
325 unsigned char *data;
326 unsigned char *data;
326 unsigned char pkt_nr = 0;
327 unsigned char pkt_nr = 0;
327 unsigned int blk_nr = 0;
328 unsigned int blk_nr = 0;
328
329
329 pkt_nr = packet->Value[23]; // PKT_NR
330 pkt_nr = packet->Value[23]; // PKT_NR
330 blk_nr = packet->Value[30] * 256 + packet->Value[31];
331 blk_nr = packet->Value[30] * 256 + packet->Value[31];
331 data = &packet->Value[32]; // start of the first data block;
332 data = &packet->Value[32]; // start of the first data block;
332 j = (pkt_nr-1) * 340;
333 j = (pkt_nr-1) * 340;
333 for ( i=0; i<blk_nr; i++ ){
334 for ( i=0; i<blk_nr; i++ ){
334 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
335 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]) );
336 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]) );
337 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]) );
338 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]) );
339 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]) );
340 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
340 }
341 }
341 if (pkt_nr == 7)
342 if (pkt_nr == 7)
342 {
343 {
343 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0);
344 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0);
344 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e1, num_page, 1);
345 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e1, num_page, 1);
345 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e2, num_page, 2);
346 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e2, num_page, 2);
346 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b1, num_page, 3);
347 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b1, num_page, 3);
347 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b2, num_page, 4);
348 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b2, num_page, 4);
348 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b3, num_page, 5);
349 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b3, num_page, 5);
349 }
350 }
350 }
351 }
351
352
352 void MainWindow::buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket)
353 void MainWindow::buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket)
353 {
354 {
354 unsigned int i = 0;
355 unsigned int i = 0;
355 unsigned int j = 0;
356 unsigned int j = 0;
356 unsigned char *data;
357 unsigned char *data;
357 static unsigned char pkt_nr = 1;
358 static unsigned char pkt_nr = 1;
358 unsigned int blk_nr = 0;
359 unsigned int blk_nr = 0;
359
360
360 blk_nr = packet->Value[28] * 256 + packet->Value[29];
361 blk_nr = packet->Value[28] * 256 + packet->Value[29];
361 data = &packet->Value[30]; // start of the first data block;
362 data = &packet->Value[30]; // start of the first data block;
362 j = (pkt_nr-1) * 340;
363 j = (pkt_nr-1) * 340;
363 for ( i=0; i<blk_nr; i++ ){
364 for ( i=0; i<blk_nr; i++ ){
364 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
365 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]) );
366 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]) );
367 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]) );
368 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]) );
369 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]) );
370 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
370 }
371 }
371 pkt_nr = pkt_nr + 1;
372 pkt_nr = pkt_nr + 1;
372 if (blk_nr == 8)
373 if (blk_nr == 8)
373 {
374 {
374 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_v, 0);
375 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_v, 0);
375 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_e1, 1);
376 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_e1, 1);
376 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_e2, 2);
377 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_e2, 2);
377 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b1, 3);
378 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b1, 3);
378 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b2, 4);
379 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b2, 4);
379 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b3, 5);
380 this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b3, 5);
380 pkt_nr = 1;
381 pkt_nr = 1;
381 }
382 }
382 }
383 }
383
384
384 void MainWindow::buildWFAndDisplaySBM1(TMPacketToRead *packet, WFPacket *wfPacket)
385 void MainWindow::buildWFAndDisplaySBM1(TMPacketToRead *packet, WFPacket *wfPacket)
385 {
386 {
386 unsigned int i = 0;
387 unsigned int i = 0;
387 unsigned int j = 0;
388 unsigned int j = 0;
388 unsigned char *data;
389 unsigned char *data;
389 static unsigned char pkt_nr = 1;
390 static unsigned char pkt_nr = 1;
390 unsigned int blk_nr = 0;
391 unsigned int blk_nr = 0;
391
392
392 blk_nr = packet->Value[28] * 256 + packet->Value[29];
393 blk_nr = packet->Value[28] * 256 + packet->Value[29];
393 data = &packet->Value[30]; // start of the first data block;
394 data = &packet->Value[30]; // start of the first data block;
394 j = (pkt_nr-1) * 340;
395 j = (pkt_nr-1) * 340;
395 for ( i=0; i<blk_nr; i++ ){
396 for ( i=0; i<blk_nr; i++ ){
396 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
397 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]) );
398 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]) );
399 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]) );
400 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]) );
401 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]) );
402 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
402 }
403 }
403 pkt_nr = pkt_nr + 1;
404 pkt_nr = pkt_nr + 1;
404 if (blk_nr == 8)
405 if (blk_nr == 8)
405 {
406 {
406 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_v, 0);
407 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_v, 0);
407 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_e1, 1);
408 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_e1, 1);
408 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_e2, 2);
409 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_e2, 2);
409 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b1, 3);
410 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b1, 3);
410 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b2, 4);
411 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b2, 4);
411 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b3, 5);
412 this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b3, 5);
412 pkt_nr = 1;
413 pkt_nr = 1;
413 }
414 }
414 }
415 }
415
416
416 void MainWindow::buildWFAndDisplaySBM2(TMPacketToRead *packet, WFPacket *wfPacket)
417 void MainWindow::buildWFAndDisplaySBM2(TMPacketToRead *packet, WFPacket *wfPacket)
417 {
418 {
418 unsigned int i = 0;
419 unsigned int i = 0;
419 unsigned int j = 0;
420 unsigned int j = 0;
420 unsigned char *data;
421 unsigned char *data;
421 static unsigned char pkt_nr = 1;
422 static unsigned char pkt_nr = 1;
422 unsigned int blk_nr = 0;
423 unsigned int blk_nr = 0;
423
424
424 blk_nr = packet->Value[28] * 256 + packet->Value[29];
425 blk_nr = packet->Value[28] * 256 + packet->Value[29];
425 data = &packet->Value[30]; // start of the first data block;
426 data = &packet->Value[30]; // start of the first data block;
426 j = (pkt_nr-1) * 340;
427 j = (pkt_nr-1) * 340;
427 for ( i=0; i<blk_nr; i++ ){
428 for ( i=0; i<blk_nr; i++ ){
428 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
429 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]) );
430 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]) );
431 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]) );
432 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]) );
433 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]) );
434 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
434 }
435 }
435 pkt_nr = pkt_nr + 1;
436 pkt_nr = pkt_nr + 1;
436 if (blk_nr == 8)
437 if (blk_nr == 8)
437 {
438 {
438 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_v, 0);
439 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_v, 0);
439 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_e1, 1);
440 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_e1, 1);
440 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_e2, 2);
441 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_e2, 2);
441 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b1, 3);
442 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b1, 3);
442 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b2, 4);
443 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b2, 4);
443 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b3, 5);
444 this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b3, 5);
444 pkt_nr = 1;
445 pkt_nr = 1;
445 }
446 }
446 }
447 }
447
448
448 void MainWindow::processIncomingPacket(TMPacketToRead *packet)
449 void MainWindow::processIncomingPacket(TMPacketToRead *packet)
449 {
450 {
450 totalOfBytes = totalOfBytes + packet->size;
451 totalOfBytes = totalOfBytes + packet->size;
451 totalOfPackets = totalOfPackets + 1;
452 totalOfPackets = totalOfPackets + 1;
452 this->UI->totalOfBytesHasChanged(totalOfBytes);
453 this->UI->totalOfBytesHasChanged(totalOfBytes);
453 this->UI->totalOfPacketsHasChanged(totalOfPackets);
454 this->UI->totalOfPacketsHasChanged(totalOfPackets);
454 preProcessPacket(packet);
455 preProcessPacket(packet);
455 }
456 }
456
457
457 void MainWindow::resetStatistics()
458 void MainWindow::resetStatistics()
458 {
459 {
459 totalOfBytes = 0;
460 totalOfBytes = 0;
460 totalOfPackets = 0;
461 totalOfPackets = 0;
461 this->UI->totalOfBytesHasChanged(totalOfBytes);
462 this->UI->totalOfBytesHasChanged(totalOfBytes);
462 this->UI->totalOfPacketsHasChanged(totalOfPackets);
463 this->UI->totalOfPacketsHasChanged(totalOfPackets);
463 }
464 }
464
465
465 void MainWindow::processPacketStore()
466 void MainWindow::processPacketStore()
466 {
467 {
467 TMPacketToRead *packet;
468 TMPacketToRead *packet;
468 while(!generalCCSDSPacketStore.isEmpty())
469 while(!generalCCSDSPacketStore.isEmpty())
469 {
470 {
470 packet = generalCCSDSPacketStore.takeFirst();
471 packet = generalCCSDSPacketStore.takeFirst();
471 processIncomingPacket(packet);
472 processIncomingPacket(packet);
472 delete(packet);
473 delete(packet);
473 }
474 }
474 }
475 }
475
476
476 void MainWindow::readSettings()
477 void MainWindow::readSettings()
477 {
478 {
478 QSettings settings("lpp", "lfrsgse");
479 QSettings settings("lpp", "lfrsgse");
479 echoBridgeIP0 = (unsigned char) settings.value("echoBridgeIP0", 127).toInt();
480 echoBridgeIP0 = (unsigned char) settings.value("echoBridgeIP0", 127).toInt();
480 echoBridgeIP1 = (unsigned char) settings.value("echoBridgeIP1", 0).toInt();
481 echoBridgeIP1 = (unsigned char) settings.value("echoBridgeIP1", 0).toInt();
481 echoBridgeIP2 = (unsigned char) settings.value("echoBridgeIP2", 0).toInt();
482 echoBridgeIP2 = (unsigned char) settings.value("echoBridgeIP2", 0).toInt();
482 echoBridgeIP3 = (unsigned char) settings.value("echoBridgeIP3", 1).toInt();
483 echoBridgeIP3 = (unsigned char) settings.value("echoBridgeIP3", 1).toInt();
483 }
484 }
484
485
485 void MainWindow::writeSettings()
486 void MainWindow::writeSettings()
486 {
487 {
487 QSettings settings("lpp", "lfrsgse");
488 QSettings settings("lpp", "lfrsgse");
488 settings.setValue("echoBridgeIP0", this->UI->serverTMEchoDialogBox->get_addressPart1());
489 settings.setValue("echoBridgeIP0", this->UI->serverTMEchoDialogBox->get_addressPart1());
489 settings.setValue("echoBridgeIP1", this->UI->serverTMEchoDialogBox->get_addressPart2());
490 settings.setValue("echoBridgeIP1", this->UI->serverTMEchoDialogBox->get_addressPart2());
490 settings.setValue("echoBridgeIP2", this->UI->serverTMEchoDialogBox->get_addressPart3());
491 settings.setValue("echoBridgeIP2", this->UI->serverTMEchoDialogBox->get_addressPart3());
491 settings.setValue("echoBridgeIP3", this->UI->serverTMEchoDialogBox->get_addressPart4());
492 settings.setValue("echoBridgeIP3", this->UI->serverTMEchoDialogBox->get_addressPart4());
492 }
493 }
493
494
494 void MainWindow::closeEvent(QCloseEvent *)
495 void MainWindow::closeEvent(QCloseEvent *)
495 {
496 {
496 writeSettings();
497 writeSettings();
497 }
498 }
@@ -1,95 +1,96
1 #ifndef MAINWINDOW_H
1 #ifndef MAINWINDOW_H
2 #define MAINWINDOW_H
2 #define MAINWINDOW_H
3
3
4 #include <QTcpServer>
4 #include <QTcpServer>
5 #include <QTcpSocket>
5 #include <QTcpSocket>
6 #include <QXmlSimpleReader>
6 #include <QXmlSimpleReader>
7 #include <QSettings>
7 #include <QSettings>
8 #include <QMainWindow>
8
9
9 #include <lfrxmlhandler.h>
10 #include <lfrxmlhandler.h>
10 #include <lfrxmlwriter.h>
11 #include <lfrxmlwriter.h>
11 #include <mainwindowui.h>
12 #include <mainwindowui.h>
12 #include "tmpackettoread.h"
13 #include "tmpackettoread.h"
13 #include "wfpacket.h"
14 #include "wfpacket.h"
14 #include "lfrxmlparser.h"
15 #include "lfrxmlparser.h"
15
16
16 class MainWindow : public QWidget
17 class MainWindow : public QMainWindow
17 {
18 {
18 Q_OBJECT
19 Q_OBJECT
19
20
20 public:
21 public:
21 MainWindow(QWidget *parent = 0);
22 MainWindow(QWidget *parent = 0);
22 ~MainWindow();
23 ~MainWindow();
23
24
24 void displayNetworkInterfaces();
25 void displayNetworkInterfaces();
25 void initSocketStatesList();
26 void initSocketStatesList();
26 void preProcessPacket(TMPacketToRead *packet);
27 void preProcessPacket(TMPacketToRead *packet);
27 void buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page);
28 void buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page);
28 void buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket);
29 void buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket);
29 void buildWFAndDisplaySBM1(TMPacketToRead *packet, WFPacket *wfPacket);
30 void buildWFAndDisplaySBM1(TMPacketToRead *packet, WFPacket *wfPacket);
30 void buildWFAndDisplaySBM2(TMPacketToRead *packet, WFPacket *wfPacket);
31 void buildWFAndDisplaySBM2(TMPacketToRead *packet, WFPacket *wfPacket);
31
32
32 protected:
33 protected:
33 void closeEvent(QCloseEvent *);
34 void closeEvent(QCloseEvent *);
34
35
35 private:
36 private:
36 void readSettings();
37 void readSettings();
37 void writeSettings();
38 void writeSettings();
38 unsigned char echoBridgeIP0;
39 unsigned char echoBridgeIP0;
39 unsigned char echoBridgeIP1;
40 unsigned char echoBridgeIP1;
40 unsigned char echoBridgeIP2;
41 unsigned char echoBridgeIP2;
41 unsigned char echoBridgeIP3;
42 unsigned char echoBridgeIP3;
42
43
43 QByteArray dataArray;
44 QByteArray dataArray;
44
45
45 QList<TMPacketToRead*> generalCCSDSPacketStore;
46 QList<TMPacketToRead*> generalCCSDSPacketStore;
46
47
47 QTcpServer *analyserSGSEServerTC;
48 QTcpServer *analyserSGSEServerTC;
48 QTcpServer *analyserSGSEServerTM;
49 QTcpServer *analyserSGSEServerTM;
49 QTcpSocket *socketTC;
50 QTcpSocket *socketTC;
50 QTcpSocket *socketTM;
51 QTcpSocket *socketTM;
51 QTcpSocket *socketEchoServer;
52 QTcpSocket *socketEchoServer;
52
53
53 unsigned int totalOfBytes;
54 unsigned int totalOfBytes;
54 unsigned int totalOfPackets;
55 unsigned int totalOfPackets;
55
56
56 QXmlSimpleReader xmlReader;
57 QXmlSimpleReader xmlReader;
57 QXmlInputSource *sourceTC;
58 QXmlInputSource *sourceTC;
58 LFRXmlHandler *xmlHandler;
59 LFRXmlHandler *xmlHandler;
59 LFRXmlParser *lfrXmlParser;
60 LFRXmlParser *lfrXmlParser;
60
61
61 QList<QString> socketStates;
62 QList<QString> socketStates;
62
63
63 char *buffer;
64 char *buffer;
64
65
65 MainWindowUI *UI;
66 MainWindowUI *UI;
66
67
67 LFRXmlWriter *lfrXmlWriter;
68 LFRXmlWriter *lfrXmlWriter;
68
69
69 WFPacket wfPacketNormal[4];
70 WFPacket wfPacketNormal[4];
70 WFPacket wfPacketBurst;
71 WFPacket wfPacketBurst;
71 WFPacket wfPacketSBM1;
72 WFPacket wfPacketSBM1;
72 WFPacket wfPacketSBM2;
73 WFPacket wfPacketSBM2;
73
74
74 bool parsingContinue;
75 bool parsingContinue;
75
76
76 signals:
77 signals:
77 void socketTMHasChanged(QTcpSocket *socket);
78 void socketTMHasChanged(QTcpSocket *socket);
78
79
79 public slots:
80 public slots:
80 void displayOnConsole(QString message);
81 void displayOnConsole(QString message);
81 void listenOnTCTMPorts();
82 void listenOnTCTMPorts();
82 void testTCTMPorts();
83 void testTCTMPorts();
83 void newConnectionOnTCServer();
84 void newConnectionOnTCServer();
84 void newConnectionOnTMServer();
85 void newConnectionOnTMServer();
85 void readDataOnTCPort();
86 void readDataOnTCPort();
86 void readDataOnTMPort();
87 void readDataOnTMPort();
87 void readDataOnSocketEchoServer();
88 void readDataOnSocketEchoServer();
88 void openEchoServer();
89 void openEchoServer();
89 void socket_TMEcho_ServerHasChanged();
90 void socket_TMEcho_ServerHasChanged();
90 void processIncomingPacket(TMPacketToRead *packet);
91 void processIncomingPacket(TMPacketToRead *packet);
91 void resetStatistics();
92 void resetStatistics();
92 void processPacketStore();
93 void processPacketStore();
93 };
94 };
94
95
95 #endif // MAINWINDOW_H
96 #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((QWidget *) wfPageBurst, tr("WFRM BURST"));
98 spwTabWidget->addTab((QWidget *) wfPageBurst, tr("WFRM BURST"));
99 spwTabWidget->addTab((QWidget *) wfPageSBM1, tr("WFRM SBM1"));
99 spwTabWidget->addTab((QWidget *) wfPageSBM1, tr("WFRM SBM1"));
100 spwTabWidget->addTab((QWidget *) wfPageSBM2, 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,580 +1,517
1 #############################################################################
1 #############################################################################
2 # Makefile for building: librmapplugin.so.1.0.0
2 # Makefile for building: librmapplugin.so.1.0.0
3 # Generated by qmake (2.01a) (Qt 4.8.4) on: Fri Jun 28 14:35:47 2013
3 # Generated by qmake (2.01a) (Qt 4.8.4) on: Thu Jul 4 12:50:48 2013
4 # Project: rmapplugin.pro
4 # Project: rmapplugin.pro
5 # Template: lib
5 # Template: lib
6 # Command: /usr/bin/qmake-qt4 -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile rmapplugin.pro
6 # Command: /usr/bin/qmake-qt4 -o Makefile rmapplugin.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 = -DPLUGIN=rmapplugin -DPLUGINHEADER="\"rmapplugin.h\"" -Ddriver_Name="\"RMAPPlugin\"" -Ddriver_Author="\"Paul Leroy paul.leroy@lpp.polytechnique.fr\"" -Ddriver_Version="\"1.1.2\"" -Ddriver_Description="\"AHB bus controler, works with Gaisler's AHB plugn' play bus.\"" -Ddriver_can_be_root=1 -Ddriver_can_be_child=0 -Ddriver_VID=0 -Ddriver_PID=0 -DLPPMON_VERSION="\"0.0.1\"" -DUNIXTRANSLATIONPATH -DLPPMON_PLUGINS_INSTALL_PATH="QDir::homePath()+\"/.lppmon/plugins\"" -DLPPMON_CONFIG_PATH="QDir::homePath()+\"/.lppmon/config\"" -DLPPMON_TRANSLATION_PATH="\"/etc/lppmon/translations\"" -DLPPMONPLUGIN_LIBRARY -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
13 DEFINES = -DPLUGIN=rmapplugin -DPLUGINHEADER="\"rmapplugin.h\"" -Ddriver_Name="\"RMAPPlugin\"" -Ddriver_Author="\"Paul Leroy paul.leroy@lpp.polytechnique.fr\"" -Ddriver_Version="\"1.1.2\"" -Ddriver_Description="\"AHB bus controler, works with Gaisler's AHB plugn' play bus.\"" -Ddriver_can_be_root=1 -Ddriver_can_be_child=0 -Ddriver_VID=0 -Ddriver_PID=0 -DLPPMON_VERSION="\"0.0.1\"" -DUNIXTRANSLATIONPATH -DLPPMON_PLUGINS_INSTALL_PATH="QDir::homePath()+\"/.lppmon/plugins\"" -DLPPMON_CONFIG_PATH="QDir::homePath()+\"/.lppmon/config\"" -DLPPMON_TRANSLATION_PATH="\"/etc/lppmon/translations\"" -DLPPMONPLUGIN_LIBRARY -DQT_NO_DEBUG -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 -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 -I/usr/include/python2.7 -I/usr/include/python2.7 -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 -I/usr/include/python2.7 -I/usr/include/python2.7 -Wall -W -D_REENTRANT -fPIC $(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../spw_usb_driver_v2.63/inc -I/usr/include/lppmon/common -I/usr/include/lppmon -I/usr/include/lppmon/pluginsInterface -I/usr/include/PythonQt -Imoc
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../spw_usb_driver_v2.63/inc -I/usr/include/lppmon/common -I/usr/include/lppmon/wfdisplay -I/usr/include/lppmon/common -I/usr/include/lppmon -I/usr/include/lppmon/pluginsInterface -I/usr/include/PythonQt -Imoc
17 LINK = g++
17 LINK = g++
18 LFLAGS = -Wl,-O1 -Wl,-z,relro -shared -Wl,-soname,librmapplugin.so.1
18 LFLAGS = -Wl,-O1 -Wl,-z,relro -shared -Wl,-soname,librmapplugin.so.1
19 LIBS = $(SUBLIBS) -L/usr/lib64 ../spw_usb_driver_v2.63/lib/x86_64/libSpaceWireUSBAPI.so ../spw_usb_driver_v2.63/lib/x86_64/libConfigLibraryUSB.so -ldl -lutil -lm -lpython2.7 -lPythonQt_QtAll -lPythonQt -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread
19 LIBS = $(SUBLIBS) -L/usr/lib64 ../spw_usb_driver_v2.63/lib/x86_64/libSpaceWireUSBAPI.so ../spw_usb_driver_v2.63/lib/x86_64/libConfigLibraryUSB.so -llppmoncommon -lwfdisplay -lqwt5-qt4 -ldl -lutil -lm -lpython2.7 -lPythonQt_QtAll -lPythonQt -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 = obj/
42 OBJECTS_DIR = obj/
43
43
44 ####### Files
44 ####### Files
45
45
46 SOURCES = rmapplugin.cpp \
46 SOURCES = rmapplugin.cpp \
47 rmappluginui.cpp \
47 rmappluginui.cpp \
48 rmapoperations.cpp \
48 rmapoperations.cpp \
49 ccsds.cpp \
49 ccsds.cpp \
50 ../common_PLE/qipdialogbox.cpp \
50 ../common_PLE/qipdialogbox.cpp \
51 ../common_PLE/gresbstatusenquiry.cpp \
51 ../common_PLE/gresbstatusenquiry.cpp \
52 rmappluginpythonwrapper.cpp \
52 rmappluginpythonwrapper.cpp \
53 stardundee.cpp \
53 stardundee.cpp \
54 gresb.cpp \
54 gresb.cpp \
55 tcpackettosend.cpp \
55 tcpackettosend.cpp \
56 tmpackettoread.cpp \
56 tmpackettoread.cpp \
57 wfdisplay.cpp \
58 tmstatistics.cpp \
57 tmstatistics.cpp \
59 wfplot.cpp \
60 wfpage.cpp \
61 wfpacket.cpp \
58 wfpacket.cpp \
62 tmechobridge.cpp \
59 tmechobridge.cpp \
63 /usr/include/lppmon/pluginsInterface/lppmonplugininterface.cpp moc/moc_rmappluginui.cpp \
60 /usr/include/lppmon/pluginsInterface/lppmonplugininterface.cpp moc/moc_rmappluginui.cpp \
64 moc/moc_rmapplugin.cpp \
61 moc/moc_rmapplugin.cpp \
65 moc/moc_qipdialogbox.cpp \
62 moc/moc_qipdialogbox.cpp \
66 moc/moc_gresbstatusenquiry.cpp \
63 moc/moc_gresbstatusenquiry.cpp \
67 moc/moc_rmappluginpythonwrapper.cpp \
64 moc/moc_rmappluginpythonwrapper.cpp \
68 moc/moc_stardundee.cpp \
65 moc/moc_stardundee.cpp \
69 moc/moc_gresb.cpp \
66 moc/moc_gresb.cpp \
70 moc/moc_tcpackettosend.cpp \
67 moc/moc_tcpackettosend.cpp \
71 moc/moc_tmpackettoread.cpp \
68 moc/moc_tmpackettoread.cpp \
72 moc/moc_wfdisplay.cpp \
73 moc/moc_tmstatistics.cpp \
69 moc/moc_tmstatistics.cpp \
74 moc/moc_wfplot.cpp \
75 moc/moc_wfpage.cpp \
76 moc/moc_wfpacket.cpp \
70 moc/moc_wfpacket.cpp \
77 moc/moc_tmechobridge.cpp \
71 moc/moc_tmechobridge.cpp \
78 moc/moc_genericPySysdriver.cpp \
72 moc/moc_genericPySysdriver.cpp \
79 moc/moc_lppmonplugin.cpp
73 moc/moc_lppmonplugin.cpp
80 OBJECTS = obj/rmapplugin.o \
74 OBJECTS = obj/rmapplugin.o \
81 obj/rmappluginui.o \
75 obj/rmappluginui.o \
82 obj/rmapoperations.o \
76 obj/rmapoperations.o \
83 obj/ccsds.o \
77 obj/ccsds.o \
84 obj/qipdialogbox.o \
78 obj/qipdialogbox.o \
85 obj/gresbstatusenquiry.o \
79 obj/gresbstatusenquiry.o \
86 obj/rmappluginpythonwrapper.o \
80 obj/rmappluginpythonwrapper.o \
87 obj/stardundee.o \
81 obj/stardundee.o \
88 obj/gresb.o \
82 obj/gresb.o \
89 obj/tcpackettosend.o \
83 obj/tcpackettosend.o \
90 obj/tmpackettoread.o \
84 obj/tmpackettoread.o \
91 obj/wfdisplay.o \
92 obj/tmstatistics.o \
85 obj/tmstatistics.o \
93 obj/wfplot.o \
94 obj/wfpage.o \
95 obj/wfpacket.o \
86 obj/wfpacket.o \
96 obj/tmechobridge.o \
87 obj/tmechobridge.o \
97 obj/lppmonplugininterface.o \
88 obj/lppmonplugininterface.o \
98 obj/moc_rmappluginui.o \
89 obj/moc_rmappluginui.o \
99 obj/moc_rmapplugin.o \
90 obj/moc_rmapplugin.o \
100 obj/moc_qipdialogbox.o \
91 obj/moc_qipdialogbox.o \
101 obj/moc_gresbstatusenquiry.o \
92 obj/moc_gresbstatusenquiry.o \
102 obj/moc_rmappluginpythonwrapper.o \
93 obj/moc_rmappluginpythonwrapper.o \
103 obj/moc_stardundee.o \
94 obj/moc_stardundee.o \
104 obj/moc_gresb.o \
95 obj/moc_gresb.o \
105 obj/moc_tcpackettosend.o \
96 obj/moc_tcpackettosend.o \
106 obj/moc_tmpackettoread.o \
97 obj/moc_tmpackettoread.o \
107 obj/moc_wfdisplay.o \
108 obj/moc_tmstatistics.o \
98 obj/moc_tmstatistics.o \
109 obj/moc_wfplot.o \
110 obj/moc_wfpage.o \
111 obj/moc_wfpacket.o \
99 obj/moc_wfpacket.o \
112 obj/moc_tmechobridge.o \
100 obj/moc_tmechobridge.o \
113 obj/moc_genericPySysdriver.o \
101 obj/moc_genericPySysdriver.o \
114 obj/moc_lppmonplugin.o
102 obj/moc_lppmonplugin.o
115 DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \
103 DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \
116 /usr/lib64/qt4/mkspecs/common/linux.conf \
104 /usr/lib64/qt4/mkspecs/common/linux.conf \
117 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
105 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
118 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
106 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
119 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
107 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
120 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
108 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
121 /usr/lib64/qt4/mkspecs/qconfig.pri \
109 /usr/lib64/qt4/mkspecs/qconfig.pri \
122 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
110 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
123 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
111 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
124 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
112 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
125 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
113 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
126 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
114 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
127 /usr/lib64/qt4/mkspecs/features/release.prf \
115 /usr/lib64/qt4/mkspecs/features/release.prf \
128 /usr/lib64/qt4/mkspecs/features/default_post.prf \
116 /usr/lib64/qt4/mkspecs/features/default_post.prf \
129 /usr/lib64/qt4/mkspecs/features/lppmonplugin.prf \
117 /usr/lib64/qt4/mkspecs/features/lppmonplugin.prf \
130 /usr/lib64/qt4/mkspecs/features/pythonqt.prf \
118 /usr/lib64/qt4/mkspecs/features/pythonqt.prf \
131 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
119 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
132 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
120 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
133 /usr/lib64/qt4/mkspecs/features/qt.prf \
121 /usr/lib64/qt4/mkspecs/features/qt.prf \
134 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
122 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
135 /usr/lib64/qt4/mkspecs/features/moc.prf \
123 /usr/lib64/qt4/mkspecs/features/moc.prf \
136 /usr/lib64/qt4/mkspecs/features/resources.prf \
124 /usr/lib64/qt4/mkspecs/features/resources.prf \
137 /usr/lib64/qt4/mkspecs/features/uic.prf \
125 /usr/lib64/qt4/mkspecs/features/uic.prf \
138 /usr/lib64/qt4/mkspecs/features/yacc.prf \
126 /usr/lib64/qt4/mkspecs/features/yacc.prf \
139 /usr/lib64/qt4/mkspecs/features/lex.prf \
127 /usr/lib64/qt4/mkspecs/features/lex.prf \
140 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
128 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
141 rmapplugin.pro
129 rmapplugin.pro
142 QMAKE_TARGET = rmapplugin
130 QMAKE_TARGET = rmapplugin
143 DESTDIR = bin/
131 DESTDIR = bin/
144 TARGET = librmapplugin.so.1.0.0
132 TARGET = librmapplugin.so.1.0.0
145 TARGETA = bin/librmapplugin.a
133 TARGETA = bin/librmapplugin.a
146 TARGETD = librmapplugin.so.1.0.0
134 TARGETD = librmapplugin.so.1.0.0
147 TARGET0 = librmapplugin.so
135 TARGET0 = librmapplugin.so
148 TARGET1 = librmapplugin.so.1
136 TARGET1 = librmapplugin.so.1
149 TARGET2 = librmapplugin.so.1.0
137 TARGET2 = librmapplugin.so.1.0
150
138
151 first: all
139 first: all
152 ####### Implicit rules
140 ####### Implicit rules
153
141
154 .SUFFIXES: .o .c .cpp .cc .cxx .C
142 .SUFFIXES: .o .c .cpp .cc .cxx .C
155
143
156 .cpp.o:
144 .cpp.o:
157 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
145 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
158
146
159 .cc.o:
147 .cc.o:
160 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
148 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
161
149
162 .cxx.o:
150 .cxx.o:
163 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
151 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
164
152
165 .C.o:
153 .C.o:
166 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
154 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
167
155
168 .c.o:
156 .c.o:
169 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
157 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
170
158
171 ####### Build rules
159 ####### Build rules
172
160
173 all: Makefile bin/$(TARGET)
161 all: Makefile bin/$(TARGET)
174
162
175 bin/$(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP)
163 bin/$(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP)
176 @$(CHK_DIR_EXISTS) bin/ || $(MKDIR) bin/
164 @$(CHK_DIR_EXISTS) bin/ || $(MKDIR) bin/
177 -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
165 -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
178 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
166 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
179 -ln -s $(TARGET) $(TARGET0)
167 -ln -s $(TARGET) $(TARGET0)
180 -ln -s $(TARGET) $(TARGET1)
168 -ln -s $(TARGET) $(TARGET1)
181 -ln -s $(TARGET) $(TARGET2)
169 -ln -s $(TARGET) $(TARGET2)
182 -$(DEL_FILE) bin/$(TARGET)
170 -$(DEL_FILE) bin/$(TARGET)
183 -$(DEL_FILE) bin/$(TARGET0)
171 -$(DEL_FILE) bin/$(TARGET0)
184 -$(DEL_FILE) bin/$(TARGET1)
172 -$(DEL_FILE) bin/$(TARGET1)
185 -$(DEL_FILE) bin/$(TARGET2)
173 -$(DEL_FILE) bin/$(TARGET2)
186 -$(MOVE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) bin/
174 -$(MOVE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) bin/
187
175
188
176
189
177
190 staticlib: $(TARGETA)
178 staticlib: $(TARGETA)
191
179
192 $(TARGETA): $(OBJECTS) $(OBJCOMP)
180 $(TARGETA): $(OBJECTS) $(OBJCOMP)
193 -$(DEL_FILE) $(TARGETA)
181 -$(DEL_FILE) $(TARGETA)
194 $(AR) $(TARGETA) $(OBJECTS)
182 $(AR) $(TARGETA) $(OBJECTS)
195
183
196 Makefile: rmapplugin.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \
184 Makefile: rmapplugin.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \
197 /usr/lib64/qt4/mkspecs/common/linux.conf \
185 /usr/lib64/qt4/mkspecs/common/linux.conf \
198 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
186 /usr/lib64/qt4/mkspecs/common/gcc-base.conf \
199 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
187 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \
200 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
188 /usr/lib64/qt4/mkspecs/common/g++-base.conf \
201 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
189 /usr/lib64/qt4/mkspecs/common/g++-unix.conf \
202 /usr/lib64/qt4/mkspecs/qconfig.pri \
190 /usr/lib64/qt4/mkspecs/qconfig.pri \
203 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
191 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \
204 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
192 /usr/lib64/qt4/mkspecs/features/qt_functions.prf \
205 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
193 /usr/lib64/qt4/mkspecs/features/qt_config.prf \
206 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
194 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \
207 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
195 /usr/lib64/qt4/mkspecs/features/default_pre.prf \
208 /usr/lib64/qt4/mkspecs/features/release.prf \
196 /usr/lib64/qt4/mkspecs/features/release.prf \
209 /usr/lib64/qt4/mkspecs/features/default_post.prf \
197 /usr/lib64/qt4/mkspecs/features/default_post.prf \
210 /usr/lib64/qt4/mkspecs/features/lppmonplugin.prf \
198 /usr/lib64/qt4/mkspecs/features/lppmonplugin.prf \
211 /usr/lib64/qt4/mkspecs/features/pythonqt.prf \
199 /usr/lib64/qt4/mkspecs/features/pythonqt.prf \
212 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
200 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
213 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
201 /usr/lib64/qt4/mkspecs/features/warn_on.prf \
214 /usr/lib64/qt4/mkspecs/features/qt.prf \
202 /usr/lib64/qt4/mkspecs/features/qt.prf \
215 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
203 /usr/lib64/qt4/mkspecs/features/unix/thread.prf \
216 /usr/lib64/qt4/mkspecs/features/moc.prf \
204 /usr/lib64/qt4/mkspecs/features/moc.prf \
217 /usr/lib64/qt4/mkspecs/features/resources.prf \
205 /usr/lib64/qt4/mkspecs/features/resources.prf \
218 /usr/lib64/qt4/mkspecs/features/uic.prf \
206 /usr/lib64/qt4/mkspecs/features/uic.prf \
219 /usr/lib64/qt4/mkspecs/features/yacc.prf \
207 /usr/lib64/qt4/mkspecs/features/yacc.prf \
220 /usr/lib64/qt4/mkspecs/features/lex.prf \
208 /usr/lib64/qt4/mkspecs/features/lex.prf \
221 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
209 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \
222 /usr/lib64/libQtXml.prl \
210 /usr/lib64/libQtXml.prl \
223 /usr/lib64/libQtCore.prl \
211 /usr/lib64/libQtCore.prl \
224 /usr/lib64/libQtGui.prl \
212 /usr/lib64/libQtGui.prl \
225 /usr/lib64/libQtNetwork.prl
213 /usr/lib64/libQtNetwork.prl
226 $(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile rmapplugin.pro
214 $(QMAKE) -o Makefile rmapplugin.pro
227 /usr/lib64/qt4/mkspecs/common/unix.conf:
215 /usr/lib64/qt4/mkspecs/common/unix.conf:
228 /usr/lib64/qt4/mkspecs/common/linux.conf:
216 /usr/lib64/qt4/mkspecs/common/linux.conf:
229 /usr/lib64/qt4/mkspecs/common/gcc-base.conf:
217 /usr/lib64/qt4/mkspecs/common/gcc-base.conf:
230 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf:
218 /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf:
231 /usr/lib64/qt4/mkspecs/common/g++-base.conf:
219 /usr/lib64/qt4/mkspecs/common/g++-base.conf:
232 /usr/lib64/qt4/mkspecs/common/g++-unix.conf:
220 /usr/lib64/qt4/mkspecs/common/g++-unix.conf:
233 /usr/lib64/qt4/mkspecs/qconfig.pri:
221 /usr/lib64/qt4/mkspecs/qconfig.pri:
234 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri:
222 /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri:
235 /usr/lib64/qt4/mkspecs/features/qt_functions.prf:
223 /usr/lib64/qt4/mkspecs/features/qt_functions.prf:
236 /usr/lib64/qt4/mkspecs/features/qt_config.prf:
224 /usr/lib64/qt4/mkspecs/features/qt_config.prf:
237 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf:
225 /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf:
238 /usr/lib64/qt4/mkspecs/features/default_pre.prf:
226 /usr/lib64/qt4/mkspecs/features/default_pre.prf:
239 /usr/lib64/qt4/mkspecs/features/release.prf:
227 /usr/lib64/qt4/mkspecs/features/release.prf:
240 /usr/lib64/qt4/mkspecs/features/default_post.prf:
228 /usr/lib64/qt4/mkspecs/features/default_post.prf:
241 /usr/lib64/qt4/mkspecs/features/lppmonplugin.prf:
229 /usr/lib64/qt4/mkspecs/features/lppmonplugin.prf:
242 /usr/lib64/qt4/mkspecs/features/pythonqt.prf:
230 /usr/lib64/qt4/mkspecs/features/pythonqt.prf:
243 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
231 /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
244 /usr/lib64/qt4/mkspecs/features/warn_on.prf:
232 /usr/lib64/qt4/mkspecs/features/warn_on.prf:
245 /usr/lib64/qt4/mkspecs/features/qt.prf:
233 /usr/lib64/qt4/mkspecs/features/qt.prf:
246 /usr/lib64/qt4/mkspecs/features/unix/thread.prf:
234 /usr/lib64/qt4/mkspecs/features/unix/thread.prf:
247 /usr/lib64/qt4/mkspecs/features/moc.prf:
235 /usr/lib64/qt4/mkspecs/features/moc.prf:
248 /usr/lib64/qt4/mkspecs/features/resources.prf:
236 /usr/lib64/qt4/mkspecs/features/resources.prf:
249 /usr/lib64/qt4/mkspecs/features/uic.prf:
237 /usr/lib64/qt4/mkspecs/features/uic.prf:
250 /usr/lib64/qt4/mkspecs/features/yacc.prf:
238 /usr/lib64/qt4/mkspecs/features/yacc.prf:
251 /usr/lib64/qt4/mkspecs/features/lex.prf:
239 /usr/lib64/qt4/mkspecs/features/lex.prf:
252 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf:
240 /usr/lib64/qt4/mkspecs/features/include_source_dir.prf:
253 /usr/lib64/libQtXml.prl:
241 /usr/lib64/libQtXml.prl:
254 /usr/lib64/libQtCore.prl:
242 /usr/lib64/libQtCore.prl:
255 /usr/lib64/libQtGui.prl:
243 /usr/lib64/libQtGui.prl:
256 /usr/lib64/libQtNetwork.prl:
244 /usr/lib64/libQtNetwork.prl:
257 qmake: FORCE
245 qmake: FORCE
258 @$(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile rmapplugin.pro
246 @$(QMAKE) -o Makefile rmapplugin.pro
259
247
260 dist:
248 dist:
261 @$(CHK_DIR_EXISTS) obj/rmapplugin1.0.0 || $(MKDIR) obj/rmapplugin1.0.0
249 @$(CHK_DIR_EXISTS) obj/rmapplugin1.0.0 || $(MKDIR) obj/rmapplugin1.0.0
262 $(COPY_FILE) --parents $(SOURCES) $(DIST) obj/rmapplugin1.0.0/ && $(COPY_FILE) --parents rmappluginui.h rmapplugin.h rmapoperations.h ccsds.h ../common_PLE/qipdialogbox.h ../common_PLE/gresbstatusenquiry.h rmappluginpythonwrapper.h stardundee.h ../spw_usb_driver_v2.61/inc/spw_usb_api.h ../spw_usb_driver_v2.61/inc/spw_config_library.h gresb.h tcpackettosend.h tmpackettoread.h wfdisplay.h tmstatistics.h wfplot.h wfpage.h wfpacket.h params.h tmechobridge.h /usr/include/lppmon/genericPySysdriver.h /usr/include/lppmon/lppmonplugin.h obj/rmapplugin1.0.0/ && $(COPY_FILE) --parents rmapplugin.cpp rmappluginui.cpp rmapoperations.cpp ccsds.cpp ../common_PLE/qipdialogbox.cpp ../common_PLE/gresbstatusenquiry.cpp rmappluginpythonwrapper.cpp stardundee.cpp gresb.cpp tcpackettosend.cpp tmpackettoread.cpp wfdisplay.cpp tmstatistics.cpp wfplot.cpp wfpage.cpp wfpacket.cpp tmechobridge.cpp /usr/include/lppmon/pluginsInterface/lppmonplugininterface.cpp obj/rmapplugin1.0.0/ && (cd `dirname obj/rmapplugin1.0.0` && $(TAR) rmapplugin1.0.0.tar rmapplugin1.0.0 && $(COMPRESS) rmapplugin1.0.0.tar) && $(MOVE) `dirname obj/rmapplugin1.0.0`/rmapplugin1.0.0.tar.gz . && $(DEL_FILE) -r obj/rmapplugin1.0.0
250 $(COPY_FILE) --parents $(SOURCES) $(DIST) obj/rmapplugin1.0.0/ && $(COPY_FILE) --parents rmappluginui.h rmapplugin.h rmapoperations.h ccsds.h ../common_PLE/qipdialogbox.h ../common_PLE/gresbstatusenquiry.h rmappluginpythonwrapper.h stardundee.h ../spw_usb_driver_v2.61/inc/spw_usb_api.h ../spw_usb_driver_v2.61/inc/spw_config_library.h gresb.h tcpackettosend.h tmpackettoread.h tmstatistics.h wfpacket.h params.h tmechobridge.h /usr/include/lppmon/genericPySysdriver.h /usr/include/lppmon/lppmonplugin.h obj/rmapplugin1.0.0/ && $(COPY_FILE) --parents rmapplugin.cpp rmappluginui.cpp rmapoperations.cpp ccsds.cpp ../common_PLE/qipdialogbox.cpp ../common_PLE/gresbstatusenquiry.cpp rmappluginpythonwrapper.cpp stardundee.cpp gresb.cpp tcpackettosend.cpp tmpackettoread.cpp tmstatistics.cpp wfpacket.cpp tmechobridge.cpp /usr/include/lppmon/pluginsInterface/lppmonplugininterface.cpp obj/rmapplugin1.0.0/ && (cd `dirname obj/rmapplugin1.0.0` && $(TAR) rmapplugin1.0.0.tar rmapplugin1.0.0 && $(COMPRESS) rmapplugin1.0.0.tar) && $(MOVE) `dirname obj/rmapplugin1.0.0`/rmapplugin1.0.0.tar.gz . && $(DEL_FILE) -r obj/rmapplugin1.0.0
263
251
264
252
265 clean:compiler_clean
253 clean:compiler_clean
266 -$(DEL_FILE) $(OBJECTS)
254 -$(DEL_FILE) $(OBJECTS)
267 -$(DEL_FILE) *~ core *.core
255 -$(DEL_FILE) *~ core *.core
268
256
269
257
270 ####### Sub-libraries
258 ####### Sub-libraries
271
259
272 distclean: clean
260 distclean: clean
273 -$(DEL_FILE) bin/$(TARGET)
261 -$(DEL_FILE) bin/$(TARGET)
274 -$(DEL_FILE) bin/$(TARGET0) bin/$(TARGET1) bin/$(TARGET2) $(TARGETA)
262 -$(DEL_FILE) bin/$(TARGET0) bin/$(TARGET1) bin/$(TARGET2) $(TARGETA)
275 -$(DEL_FILE) Makefile
263 -$(DEL_FILE) Makefile
276
264
277
265
278 check: first
266 check: first
279
267
280 mocclean: compiler_moc_header_clean compiler_moc_source_clean
268 mocclean: compiler_moc_header_clean compiler_moc_source_clean
281
269
282 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
270 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
283
271
284 compiler_moc_header_make_all: moc/moc_rmappluginui.cpp moc/moc_rmapplugin.cpp moc/moc_qipdialogbox.cpp moc/moc_gresbstatusenquiry.cpp moc/moc_rmappluginpythonwrapper.cpp moc/moc_stardundee.cpp moc/moc_gresb.cpp moc/moc_tcpackettosend.cpp moc/moc_tmpackettoread.cpp moc/moc_wfdisplay.cpp moc/moc_tmstatistics.cpp moc/moc_wfplot.cpp moc/moc_wfpage.cpp moc/moc_wfpacket.cpp moc/moc_tmechobridge.cpp moc/moc_genericPySysdriver.cpp moc/moc_lppmonplugin.cpp
272 compiler_moc_header_make_all: moc/moc_rmappluginui.cpp moc/moc_rmapplugin.cpp moc/moc_qipdialogbox.cpp moc/moc_gresbstatusenquiry.cpp moc/moc_rmappluginpythonwrapper.cpp moc/moc_stardundee.cpp moc/moc_gresb.cpp moc/moc_tcpackettosend.cpp moc/moc_tmpackettoread.cpp moc/moc_tmstatistics.cpp moc/moc_wfpacket.cpp moc/moc_tmechobridge.cpp moc/moc_genericPySysdriver.cpp moc/moc_lppmonplugin.cpp
285 compiler_moc_header_clean:
273 compiler_moc_header_clean:
286 -$(DEL_FILE) moc/moc_rmappluginui.cpp moc/moc_rmapplugin.cpp moc/moc_qipdialogbox.cpp moc/moc_gresbstatusenquiry.cpp moc/moc_rmappluginpythonwrapper.cpp moc/moc_stardundee.cpp moc/moc_gresb.cpp moc/moc_tcpackettosend.cpp moc/moc_tmpackettoread.cpp moc/moc_wfdisplay.cpp moc/moc_tmstatistics.cpp moc/moc_wfplot.cpp moc/moc_wfpage.cpp moc/moc_wfpacket.cpp moc/moc_tmechobridge.cpp moc/moc_genericPySysdriver.cpp moc/moc_lppmonplugin.cpp
274 -$(DEL_FILE) moc/moc_rmappluginui.cpp moc/moc_rmapplugin.cpp moc/moc_qipdialogbox.cpp moc/moc_gresbstatusenquiry.cpp moc/moc_rmappluginpythonwrapper.cpp moc/moc_stardundee.cpp moc/moc_gresb.cpp moc/moc_tcpackettosend.cpp moc/moc_tmpackettoread.cpp moc/moc_tmstatistics.cpp moc/moc_wfpacket.cpp moc/moc_tmechobridge.cpp moc/moc_genericPySysdriver.cpp moc/moc_lppmonplugin.cpp
287 moc/moc_rmappluginui.cpp: rmapoperations.h \
275 moc/moc_rmappluginui.cpp: rmapoperations.h \
288 params.h \
276 params.h \
289 stardundee.h \
277 stardundee.h \
290 ccsds.h \
278 ccsds.h \
291 tmpackettoread.h \
279 tmpackettoread.h \
292 gresb.h \
280 gresb.h \
293 wfdisplay.h \
294 wfplot.h \
295 wfpage.h \
296 tmstatistics.h \
281 tmstatistics.h \
297 tmechobridge.h \
282 tmechobridge.h \
298 rmappluginui.h
283 rmappluginui.h
299 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) rmappluginui.h -o moc/moc_rmappluginui.cpp
284 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) rmappluginui.h -o moc/moc_rmappluginui.cpp
300
285
301 moc/moc_rmapplugin.cpp: rmappluginui.h \
286 moc/moc_rmapplugin.cpp: rmappluginui.h \
302 rmapoperations.h \
287 rmapoperations.h \
303 params.h \
288 params.h \
304 stardundee.h \
289 stardundee.h \
305 ccsds.h \
290 ccsds.h \
306 tmpackettoread.h \
291 tmpackettoread.h \
307 gresb.h \
292 gresb.h \
308 wfdisplay.h \
309 wfplot.h \
310 wfpage.h \
311 tmstatistics.h \
293 tmstatistics.h \
312 tmechobridge.h \
294 tmechobridge.h \
313 wfpacket.h \
295 wfpacket.h \
314 rmapplugin.h
296 rmapplugin.h
315 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) rmapplugin.h -o moc/moc_rmapplugin.cpp
297 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) rmapplugin.h -o moc/moc_rmapplugin.cpp
316
298
317 moc/moc_qipdialogbox.cpp: ../common_PLE/qipdialogbox.h
299 moc/moc_qipdialogbox.cpp: ../common_PLE/qipdialogbox.h
318 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/qipdialogbox.h -o moc/moc_qipdialogbox.cpp
300 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/qipdialogbox.h -o moc/moc_qipdialogbox.cpp
319
301
320 moc/moc_gresbstatusenquiry.cpp: ../common_PLE/gresbstatusenquiry.h
302 moc/moc_gresbstatusenquiry.cpp: ../common_PLE/gresbstatusenquiry.h
321 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/gresbstatusenquiry.h -o moc/moc_gresbstatusenquiry.cpp
303 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/gresbstatusenquiry.h -o moc/moc_gresbstatusenquiry.cpp
322
304
323 moc/moc_rmappluginpythonwrapper.cpp: rmapoperations.h \
305 moc/moc_rmappluginpythonwrapper.cpp: rmapoperations.h \
324 params.h \
306 params.h \
325 ccsds.h \
307 ccsds.h \
326 tcpackettosend.h \
308 tcpackettosend.h \
327 tmpackettoread.h \
309 tmpackettoread.h \
328 rmappluginpythonwrapper.h
310 rmappluginpythonwrapper.h
329 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) rmappluginpythonwrapper.h -o moc/moc_rmappluginpythonwrapper.cpp
311 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) rmappluginpythonwrapper.h -o moc/moc_rmappluginpythonwrapper.cpp
330
312
331 moc/moc_stardundee.cpp: rmapoperations.h \
313 moc/moc_stardundee.cpp: rmapoperations.h \
332 params.h \
314 params.h \
333 ccsds.h \
315 ccsds.h \
334 tmpackettoread.h \
316 tmpackettoread.h \
335 stardundee.h
317 stardundee.h
336 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) stardundee.h -o moc/moc_stardundee.cpp
318 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) stardundee.h -o moc/moc_stardundee.cpp
337
319
338 moc/moc_gresb.cpp: rmapoperations.h \
320 moc/moc_gresb.cpp: rmapoperations.h \
339 params.h \
321 params.h \
340 ccsds.h \
322 ccsds.h \
341 tmpackettoread.h \
323 tmpackettoread.h \
342 gresb.h
324 gresb.h
343 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) gresb.h -o moc/moc_gresb.cpp
325 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) gresb.h -o moc/moc_gresb.cpp
344
326
345 moc/moc_tcpackettosend.cpp: tcpackettosend.h
327 moc/moc_tcpackettosend.cpp: tcpackettosend.h
346 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) tcpackettosend.h -o moc/moc_tcpackettosend.cpp
328 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) tcpackettosend.h -o moc/moc_tcpackettosend.cpp
347
329
348 moc/moc_tmpackettoread.cpp: tmpackettoread.h
330 moc/moc_tmpackettoread.cpp: tmpackettoread.h
349 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) tmpackettoread.h -o moc/moc_tmpackettoread.cpp
331 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) tmpackettoread.h -o moc/moc_tmpackettoread.cpp
350
332
351 moc/moc_wfdisplay.cpp: wfplot.h \
352 params.h \
353 wfpage.h \
354 wfdisplay.h
355 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfdisplay.h -o moc/moc_wfdisplay.cpp
356
357 moc/moc_tmstatistics.cpp: tmstatistics.h
333 moc/moc_tmstatistics.cpp: tmstatistics.h
358 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) tmstatistics.h -o moc/moc_tmstatistics.cpp
334 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) tmstatistics.h -o moc/moc_tmstatistics.cpp
359
335
360 moc/moc_wfplot.cpp: params.h \
361 wfplot.h
362 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfplot.h -o moc/moc_wfplot.cpp
363
364 moc/moc_wfpage.cpp: wfplot.h \
365 params.h \
366 wfpage.h
367 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfpage.h -o moc/moc_wfpage.cpp
368
369 moc/moc_wfpacket.cpp: params.h \
336 moc/moc_wfpacket.cpp: params.h \
370 wfpacket.h
337 wfpacket.h
371 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfpacket.h -o moc/moc_wfpacket.cpp
338 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfpacket.h -o moc/moc_wfpacket.cpp
372
339
373 moc/moc_tmechobridge.cpp: tmpackettoread.h \
340 moc/moc_tmechobridge.cpp: tmpackettoread.h \
374 tmechobridge.h
341 tmechobridge.h
375 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) tmechobridge.h -o moc/moc_tmechobridge.cpp
342 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) tmechobridge.h -o moc/moc_tmechobridge.cpp
376
343
377 moc/moc_genericPySysdriver.cpp: /usr/include/lppmon/genericPySysdriver.h
344 moc/moc_genericPySysdriver.cpp: /usr/include/lppmon/genericPySysdriver.h
378 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) /usr/include/lppmon/genericPySysdriver.h -o moc/moc_genericPySysdriver.cpp
345 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) /usr/include/lppmon/genericPySysdriver.h -o moc/moc_genericPySysdriver.cpp
379
346
380 moc/moc_lppmonplugin.cpp: /usr/include/lppmon/lppmonplugin.h
347 moc/moc_lppmonplugin.cpp: /usr/include/lppmon/lppmonplugin.h
381 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) /usr/include/lppmon/lppmonplugin.h -o moc/moc_lppmonplugin.cpp
348 /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) /usr/include/lppmon/lppmonplugin.h -o moc/moc_lppmonplugin.cpp
382
349
383 compiler_rcc_make_all:
350 compiler_rcc_make_all:
384 compiler_rcc_clean:
351 compiler_rcc_clean:
385 compiler_image_collection_make_all: qmake_image_collection.cpp
352 compiler_image_collection_make_all: qmake_image_collection.cpp
386 compiler_image_collection_clean:
353 compiler_image_collection_clean:
387 -$(DEL_FILE) qmake_image_collection.cpp
354 -$(DEL_FILE) qmake_image_collection.cpp
388 compiler_moc_source_make_all:
355 compiler_moc_source_make_all:
389 compiler_moc_source_clean:
356 compiler_moc_source_clean:
390 compiler_uic_make_all:
357 compiler_uic_make_all:
391 compiler_uic_clean:
358 compiler_uic_clean:
392 compiler_yacc_decl_make_all:
359 compiler_yacc_decl_make_all:
393 compiler_yacc_decl_clean:
360 compiler_yacc_decl_clean:
394 compiler_yacc_impl_make_all:
361 compiler_yacc_impl_make_all:
395 compiler_yacc_impl_clean:
362 compiler_yacc_impl_clean:
396 compiler_lex_make_all:
363 compiler_lex_make_all:
397 compiler_lex_clean:
364 compiler_lex_clean:
398 compiler_clean: compiler_moc_header_clean
365 compiler_clean: compiler_moc_header_clean
399
366
400 ####### Compile
367 ####### Compile
401
368
402 obj/rmapplugin.o: rmapplugin.cpp rmapplugin.h \
369 obj/rmapplugin.o: rmapplugin.cpp rmapplugin.h \
403 rmappluginui.h \
370 rmappluginui.h \
404 rmapoperations.h \
371 rmapoperations.h \
405 params.h \
372 params.h \
406 stardundee.h \
373 stardundee.h \
407 ccsds.h \
374 ccsds.h \
408 tmpackettoread.h \
375 tmpackettoread.h \
409 gresb.h \
376 gresb.h \
410 wfdisplay.h \
411 wfplot.h \
412 wfpage.h \
413 tmstatistics.h \
377 tmstatistics.h \
414 tmechobridge.h \
378 tmechobridge.h \
415 wfpacket.h \
379 wfpacket.h \
416 rmappluginpythonwrapper.h \
380 rmappluginpythonwrapper.h \
417 tcpackettosend.h
381 tcpackettosend.h
418 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/rmapplugin.o rmapplugin.cpp
382 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/rmapplugin.o rmapplugin.cpp
419
383
420 obj/rmappluginui.o: rmappluginui.cpp rmapplugin.h \
384 obj/rmappluginui.o: rmappluginui.cpp rmapplugin.h \
421 rmappluginui.h \
385 rmappluginui.h \
422 rmapoperations.h \
386 rmapoperations.h \
423 params.h \
387 params.h \
424 stardundee.h \
388 stardundee.h \
425 ccsds.h \
389 ccsds.h \
426 tmpackettoread.h \
390 tmpackettoread.h \
427 gresb.h \
391 gresb.h \
428 wfdisplay.h \
429 wfplot.h \
430 wfpage.h \
431 tmstatistics.h \
392 tmstatistics.h \
432 tmechobridge.h \
393 tmechobridge.h \
433 wfpacket.h
394 wfpacket.h
434 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/rmappluginui.o rmappluginui.cpp
395 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/rmappluginui.o rmappluginui.cpp
435
396
436 obj/rmapoperations.o: rmapoperations.cpp rmapoperations.h \
397 obj/rmapoperations.o: rmapoperations.cpp rmapoperations.h \
437 params.h
398 params.h
438 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/rmapoperations.o rmapoperations.cpp
399 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/rmapoperations.o rmapoperations.cpp
439
400
440 obj/ccsds.o: ccsds.cpp ccsds.h
401 obj/ccsds.o: ccsds.cpp ccsds.h
441 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/ccsds.o ccsds.cpp
402 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/ccsds.o ccsds.cpp
442
403
443 obj/qipdialogbox.o: ../common_PLE/qipdialogbox.cpp ../common_PLE/qipdialogbox.h
404 obj/qipdialogbox.o: ../common_PLE/qipdialogbox.cpp ../common_PLE/qipdialogbox.h
444 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qipdialogbox.o ../common_PLE/qipdialogbox.cpp
405 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qipdialogbox.o ../common_PLE/qipdialogbox.cpp
445
406
446 obj/gresbstatusenquiry.o: ../common_PLE/gresbstatusenquiry.cpp ../common_PLE/gresbstatusenquiry.h
407 obj/gresbstatusenquiry.o: ../common_PLE/gresbstatusenquiry.cpp ../common_PLE/gresbstatusenquiry.h
447 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/gresbstatusenquiry.o ../common_PLE/gresbstatusenquiry.cpp
408 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/gresbstatusenquiry.o ../common_PLE/gresbstatusenquiry.cpp
448
409
449 obj/rmappluginpythonwrapper.o: rmappluginpythonwrapper.cpp rmappluginpythonwrapper.h \
410 obj/rmappluginpythonwrapper.o: rmappluginpythonwrapper.cpp rmappluginpythonwrapper.h \
450 rmapoperations.h \
411 rmapoperations.h \
451 params.h \
412 params.h \
452 ccsds.h \
413 ccsds.h \
453 tcpackettosend.h \
414 tcpackettosend.h \
454 tmpackettoread.h
415 tmpackettoread.h
455 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/rmappluginpythonwrapper.o rmappluginpythonwrapper.cpp
416 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/rmappluginpythonwrapper.o rmappluginpythonwrapper.cpp
456
417
457 obj/stardundee.o: stardundee.cpp stardundee.h \
418 obj/stardundee.o: stardundee.cpp stardundee.h \
458 rmapoperations.h \
419 rmapoperations.h \
459 params.h \
420 params.h \
460 ccsds.h \
421 ccsds.h \
461 tmpackettoread.h
422 tmpackettoread.h
462 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/stardundee.o stardundee.cpp
423 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/stardundee.o stardundee.cpp
463
424
464 obj/gresb.o: gresb.cpp gresb.h \
425 obj/gresb.o: gresb.cpp gresb.h \
465 rmapoperations.h \
426 rmapoperations.h \
466 params.h \
427 params.h \
467 ccsds.h \
428 ccsds.h \
468 tmpackettoread.h
429 tmpackettoread.h
469 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/gresb.o gresb.cpp
430 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/gresb.o gresb.cpp
470
431
471 obj/tcpackettosend.o: tcpackettosend.cpp tcpackettosend.h
432 obj/tcpackettosend.o: tcpackettosend.cpp tcpackettosend.h
472 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/tcpackettosend.o tcpackettosend.cpp
433 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/tcpackettosend.o tcpackettosend.cpp
473
434
474 obj/tmpackettoread.o: tmpackettoread.cpp tmpackettoread.h
435 obj/tmpackettoread.o: tmpackettoread.cpp tmpackettoread.h
475 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/tmpackettoread.o tmpackettoread.cpp
436 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/tmpackettoread.o tmpackettoread.cpp
476
437
477 obj/wfdisplay.o: wfdisplay.cpp wfdisplay.h \
478 wfplot.h \
479 params.h \
480 wfpage.h
481 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/wfdisplay.o wfdisplay.cpp
482
483 obj/tmstatistics.o: tmstatistics.cpp tmstatistics.h
438 obj/tmstatistics.o: tmstatistics.cpp tmstatistics.h
484 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/tmstatistics.o tmstatistics.cpp
439 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/tmstatistics.o tmstatistics.cpp
485
440
486 obj/wfplot.o: wfplot.cpp wfplot.h \
487 params.h
488 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/wfplot.o wfplot.cpp
489
490 obj/wfpage.o: wfpage.cpp wfpage.h \
491 wfplot.h \
492 params.h
493 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/wfpage.o wfpage.cpp
494
495 obj/wfpacket.o: wfpacket.cpp wfpacket.h \
441 obj/wfpacket.o: wfpacket.cpp wfpacket.h \
496 params.h
442 params.h
497 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/wfpacket.o wfpacket.cpp
443 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/wfpacket.o wfpacket.cpp
498
444
499 obj/tmechobridge.o: tmechobridge.cpp tmechobridge.h \
445 obj/tmechobridge.o: tmechobridge.cpp tmechobridge.h \
500 tmpackettoread.h
446 tmpackettoread.h
501 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/tmechobridge.o tmechobridge.cpp
447 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/tmechobridge.o tmechobridge.cpp
502
448
503 obj/lppmonplugininterface.o: /usr/include/lppmon/pluginsInterface/lppmonplugininterface.cpp /usr/include/lppmon/pluginsInterface/lppmonplugininterface.h \
449 obj/lppmonplugininterface.o: /usr/include/lppmon/pluginsInterface/lppmonplugininterface.cpp /usr/include/lppmon/pluginsInterface/lppmonplugininterface.h \
504 /usr/include/lppmon/pluginsInterface/lppmonplugininterface_global.h
450 /usr/include/lppmon/pluginsInterface/lppmonplugininterface_global.h
505 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/lppmonplugininterface.o /usr/include/lppmon/pluginsInterface/lppmonplugininterface.cpp
451 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/lppmonplugininterface.o /usr/include/lppmon/pluginsInterface/lppmonplugininterface.cpp
506
452
507 obj/moc_rmappluginui.o: moc/moc_rmappluginui.cpp
453 obj/moc_rmappluginui.o: moc/moc_rmappluginui.cpp
508 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_rmappluginui.o moc/moc_rmappluginui.cpp
454 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_rmappluginui.o moc/moc_rmappluginui.cpp
509
455
510 obj/moc_rmapplugin.o: moc/moc_rmapplugin.cpp
456 obj/moc_rmapplugin.o: moc/moc_rmapplugin.cpp
511 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_rmapplugin.o moc/moc_rmapplugin.cpp
457 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_rmapplugin.o moc/moc_rmapplugin.cpp
512
458
513 obj/moc_qipdialogbox.o: moc/moc_qipdialogbox.cpp
459 obj/moc_qipdialogbox.o: moc/moc_qipdialogbox.cpp
514 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_qipdialogbox.o moc/moc_qipdialogbox.cpp
460 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_qipdialogbox.o moc/moc_qipdialogbox.cpp
515
461
516 obj/moc_gresbstatusenquiry.o: moc/moc_gresbstatusenquiry.cpp
462 obj/moc_gresbstatusenquiry.o: moc/moc_gresbstatusenquiry.cpp
517 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_gresbstatusenquiry.o moc/moc_gresbstatusenquiry.cpp
463 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_gresbstatusenquiry.o moc/moc_gresbstatusenquiry.cpp
518
464
519 obj/moc_rmappluginpythonwrapper.o: moc/moc_rmappluginpythonwrapper.cpp
465 obj/moc_rmappluginpythonwrapper.o: moc/moc_rmappluginpythonwrapper.cpp
520 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_rmappluginpythonwrapper.o moc/moc_rmappluginpythonwrapper.cpp
466 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_rmappluginpythonwrapper.o moc/moc_rmappluginpythonwrapper.cpp
521
467
522 obj/moc_stardundee.o: moc/moc_stardundee.cpp
468 obj/moc_stardundee.o: moc/moc_stardundee.cpp
523 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_stardundee.o moc/moc_stardundee.cpp
469 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_stardundee.o moc/moc_stardundee.cpp
524
470
525 obj/moc_gresb.o: moc/moc_gresb.cpp
471 obj/moc_gresb.o: moc/moc_gresb.cpp
526 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_gresb.o moc/moc_gresb.cpp
472 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_gresb.o moc/moc_gresb.cpp
527
473
528 obj/moc_tcpackettosend.o: moc/moc_tcpackettosend.cpp
474 obj/moc_tcpackettosend.o: moc/moc_tcpackettosend.cpp
529 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_tcpackettosend.o moc/moc_tcpackettosend.cpp
475 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_tcpackettosend.o moc/moc_tcpackettosend.cpp
530
476
531 obj/moc_tmpackettoread.o: moc/moc_tmpackettoread.cpp
477 obj/moc_tmpackettoread.o: moc/moc_tmpackettoread.cpp
532 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_tmpackettoread.o moc/moc_tmpackettoread.cpp
478 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_tmpackettoread.o moc/moc_tmpackettoread.cpp
533
479
534 obj/moc_wfdisplay.o: moc/moc_wfdisplay.cpp
535 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_wfdisplay.o moc/moc_wfdisplay.cpp
536
537 obj/moc_tmstatistics.o: moc/moc_tmstatistics.cpp
480 obj/moc_tmstatistics.o: moc/moc_tmstatistics.cpp
538 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_tmstatistics.o moc/moc_tmstatistics.cpp
481 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_tmstatistics.o moc/moc_tmstatistics.cpp
539
482
540 obj/moc_wfplot.o: moc/moc_wfplot.cpp
541 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_wfplot.o moc/moc_wfplot.cpp
542
543 obj/moc_wfpage.o: moc/moc_wfpage.cpp
544 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_wfpage.o moc/moc_wfpage.cpp
545
546 obj/moc_wfpacket.o: moc/moc_wfpacket.cpp
483 obj/moc_wfpacket.o: moc/moc_wfpacket.cpp
547 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_wfpacket.o moc/moc_wfpacket.cpp
484 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_wfpacket.o moc/moc_wfpacket.cpp
548
485
549 obj/moc_tmechobridge.o: moc/moc_tmechobridge.cpp
486 obj/moc_tmechobridge.o: moc/moc_tmechobridge.cpp
550 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_tmechobridge.o moc/moc_tmechobridge.cpp
487 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_tmechobridge.o moc/moc_tmechobridge.cpp
551
488
552 obj/moc_genericPySysdriver.o: moc/moc_genericPySysdriver.cpp
489 obj/moc_genericPySysdriver.o: moc/moc_genericPySysdriver.cpp
553 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_genericPySysdriver.o moc/moc_genericPySysdriver.cpp
490 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_genericPySysdriver.o moc/moc_genericPySysdriver.cpp
554
491
555 obj/moc_lppmonplugin.o: moc/moc_lppmonplugin.cpp
492 obj/moc_lppmonplugin.o: moc/moc_lppmonplugin.cpp
556 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_lppmonplugin.o moc/moc_lppmonplugin.cpp
493 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_lppmonplugin.o moc/moc_lppmonplugin.cpp
557
494
558 ####### Install
495 ####### Install
559
496
560 install_target: first FORCE
497 install_target: first FORCE
561 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/home/admin/.lppmon/plugins/ || $(MKDIR) $(INSTALL_ROOT)/home/admin/.lppmon/plugins/
498 @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/home/paul/.lppmon/plugins/ || $(MKDIR) $(INSTALL_ROOT)/home/paul/.lppmon/plugins/
562 -$(INSTALL_PROGRAM) "bin/$(TARGET)" "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET)"
499 -$(INSTALL_PROGRAM) "bin/$(TARGET)" "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET)"
563 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET0)"
500 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET0)"
564 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET1)"
501 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET1)"
565 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET2)"
502 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET2)"
566
503
567 uninstall_target: FORCE
504 uninstall_target: FORCE
568 -$(DEL_FILE) "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET)"
505 -$(DEL_FILE) "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET)"
569 -$(DEL_FILE) "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET0)"
506 -$(DEL_FILE) "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET0)"
570 -$(DEL_FILE) "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET1)"
507 -$(DEL_FILE) "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET1)"
571 -$(DEL_FILE) "$(INSTALL_ROOT)/home/admin/.lppmon/plugins/$(TARGET2)"
508 -$(DEL_FILE) "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET2)"
572 -$(DEL_DIR) $(INSTALL_ROOT)/home/admin/.lppmon/plugins/
509 -$(DEL_DIR) $(INSTALL_ROOT)/home/paul/.lppmon/plugins/
573
510
574
511
575 install: install_target FORCE
512 install: install_target FORCE
576
513
577 uninstall: uninstall_target FORCE
514 uninstall: uninstall_target FORCE
578
515
579 FORCE:
516 FORCE:
580
517
@@ -1,83 +1,82
1 #
1 #
2 # Project created by QtCreator 2011-09-20T08:15:30
2 # Project created by QtCreator 2011-09-20T08:15:30
3 #
3 #
4 #-------------------------------------------------
4 #-------------------------------------------------
5
5
6 #include(/etc/lppmon/lppmonplugin.prf)
6 #include(/etc/lppmon/lppmonplugin.prf)
7 CONFIG += lppmonplugin
7 CONFIG += lppmonplugin
8 TARGET = rmapplugin
8 TARGET = rmapplugin
9
9
10 DEFINES += PLUGIN=rmapplugin
10 DEFINES += PLUGIN=rmapplugin
11 DEFINES += PLUGINHEADER="\"\\\"rmapplugin.h"\\\"\"
11 DEFINES += PLUGINHEADER="\"\\\"rmapplugin.h"\\\"\"
12 DEFINES += driver_Name="\"\\\"RMAPPlugin"\\\"\"
12 DEFINES += driver_Name="\"\\\"RMAPPlugin"\\\"\"
13 DEFINES += driver_Author="\"\\\"Paul Leroy paul.leroy@lpp.polytechnique.fr"\\\"\"
13 DEFINES += driver_Author="\"\\\"Paul Leroy paul.leroy@lpp.polytechnique.fr"\\\"\"
14 DEFINES += driver_Version="\"\\\"1.1.2"\\\"\"
14 DEFINES += driver_Version="\"\\\"1.1.2"\\\"\"
15 DEFINES += driver_Description="\"\\\"AHB bus controler, works with Gaisler's AHB plugn' play bus."\\\"\"
15 DEFINES += driver_Description="\"\\\"AHB bus controler, works with Gaisler's AHB plugn' play bus."\\\"\"
16 DEFINES += driver_can_be_root=1
16 DEFINES += driver_can_be_root=1
17 DEFINES += driver_can_be_child=0
17 DEFINES += driver_can_be_child=0
18 DEFINES += driver_VID=0
18 DEFINES += driver_VID=0
19 DEFINES += driver_PID=0
19 DEFINES += driver_PID=0
20
20
21 QT += network
21 QT += network
22
22
23 LIBS += ../spw_usb_driver_v2.63/lib/x86_64/libSpaceWireUSBAPI.so \
23 LIBS += ../spw_usb_driver_v2.63/lib/x86_64/libSpaceWireUSBAPI.so \
24 ../spw_usb_driver_v2.63/lib/x86_64/libConfigLibraryUSB.so
24 ../spw_usb_driver_v2.63/lib/x86_64/libConfigLibraryUSB.so
25
25
26
26
27 INCLUDEPATH += \
27 INCLUDEPATH += \
28 $${PWD} \
28 $${PWD} \
29 ../common_PLE \
29 ../common_PLE \
30 ../spw_usb_driver_v2.63/inc
30 ../spw_usb_driver_v2.63/inc \
31 $${QT_INSTALL_HEADER} \
32 $$[QT_INSTALL_HEADERS]/lppmon/common \
33 $$[QT_INSTALL_HEADERS]/lppmon/wfdisplay
34
35 LIBS += -llppmoncommon -lwfdisplay -lqwt5-qt4
31
36
32
37
33 HEADERS += \
38 HEADERS += \
34 rmappluginui.h \
39 rmappluginui.h \
35 rmapplugin.h \
40 rmapplugin.h \
36 rmapoperations.h \
41 rmapoperations.h \
37 ccsds.h \
42 ccsds.h \
38 ../common_PLE/qipdialogbox.h \
43 ../common_PLE/qipdialogbox.h \
39 ../common_PLE/gresbstatusenquiry.h \
44 ../common_PLE/gresbstatusenquiry.h \
40 rmappluginpythonwrapper.h \
45 rmappluginpythonwrapper.h \
41 stardundee.h \
46 stardundee.h \
42 ../spw_usb_driver_v2.61/inc/spw_usb_api.h \
47 ../spw_usb_driver_v2.61/inc/spw_usb_api.h \
43 ../spw_usb_driver_v2.61/inc/spw_config_library.h \
48 ../spw_usb_driver_v2.61/inc/spw_config_library.h \
44 gresb.h \
49 gresb.h \
45 tcpackettosend.h \
50 tcpackettosend.h \
46 tmpackettoread.h \
51 tmpackettoread.h \
47 wfdisplay.h \
48 tmstatistics.h \
52 tmstatistics.h \
49 wfplot.h \
50 wfpage.h \
51 wfpacket.h \
53 wfpacket.h \
52 params.h \
54 params.h \
53 tmechobridge.h
55 tmechobridge.h
54
56
55
57
56 SOURCES += \
58 SOURCES += \
57 rmapplugin.cpp \
59 rmapplugin.cpp \
58 rmappluginui.cpp \
60 rmappluginui.cpp \
59 rmapoperations.cpp \
61 rmapoperations.cpp \
60 ccsds.cpp \
62 ccsds.cpp \
61 ../common_PLE/qipdialogbox.cpp \
63 ../common_PLE/qipdialogbox.cpp \
62 ../common_PLE/gresbstatusenquiry.cpp \
64 ../common_PLE/gresbstatusenquiry.cpp \
63 rmappluginpythonwrapper.cpp \
65 rmappluginpythonwrapper.cpp \
64 stardundee.cpp \
66 stardundee.cpp \
65 gresb.cpp \
67 gresb.cpp \
66 tcpackettosend.cpp \
68 tcpackettosend.cpp \
67 tmpackettoread.cpp \
69 tmpackettoread.cpp \
68 wfdisplay.cpp \
69 tmstatistics.cpp \
70 tmstatistics.cpp \
70 wfplot.cpp \
71 wfpage.cpp \
72 wfpacket.cpp \
71 wfpacket.cpp \
73 tmechobridge.cpp
72 tmechobridge.cpp
74
73
75
74
76
75
77
76
78
77
79
78
80
79
81
80
82
81
83
82
@@ -1,164 +1,166
1 /*------------------------------------------------------------------------------
1 /*------------------------------------------------------------------------------
2 -- This file is a part of the LPPMON Software
2 -- This file is a part of the LPPMON Software
3 -- Copyright (C) 20011, Laboratory of Plasma Physics - CNRS
3 -- Copyright (C) 20011, Laboratory of Plasma Physics - CNRS
4 --
4 --
5 -- This program is free software; you can redistribute it and/or modify
5 -- This program is free software; you can redistribute it and/or modify
6 -- it under the terms of the GNU General Public License as published by
6 -- it under the terms of the GNU General Public License as published by
7 -- the Free Software Foundation; either version 3 of the License, or
7 -- the Free Software Foundation; either version 3 of the License, or
8 -- (at your option) any later version.
8 -- (at your option) any later version.
9 --
9 --
10 -- This program is distributed in the hope that it will be useful,
10 -- This program is distributed in the hope that it will be useful,
11 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
11 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
12 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 -- GNU General Public License for more details.
13 -- GNU General Public License for more details.
14 --
14 --
15 -- You should have received a copy of the GNU General Public License
15 -- You should have received a copy of the GNU General Public License
16 -- along with this program; if not, write to the Free Software
16 -- along with this program; if not, write to the Free Software
17 -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 -------------------------------------------------------------------------------*/
18 -------------------------------------------------------------------------------*/
19 /*-- Author : Paul Leroy
19 /*-- Author : Paul Leroy
20 -- Mail : paul.leroy@lpp.polytechnique.fr
20 -- Mail : paul.leroy@lpp.polytechnique.fr
21 ----------------------------------------------------------------------------*/
21 ----------------------------------------------------------------------------*/
22 #ifndef RMAPPLUGINUI_H
22 #ifndef RMAPPLUGINUI_H
23 #define RMAPPLUGINUI_H
23 #define RMAPPLUGINUI_H
24
24
25 #include <QWidget>
25 #include <QWidget>
26 #include <QPushButton>
26 #include <QPushButton>
27 #include <QLabel>
27 #include <QLabel>
28 #include <QSlider>
28 #include <QSlider>
29 #include <QSpinBox>
29 #include <QSpinBox>
30 #include <QGridLayout>
30 #include <QGridLayout>
31 #include <QCheckBox>
31 #include <QCheckBox>
32 #include <QFile>
32 #include <QFile>
33 #include <QTextStream>
33 #include <QTextStream>
34 #include <QFileDialog>
34 #include <QFileDialog>
35 #include <QDir>
35 #include <QDir>
36 #include <QDialog>
36 #include <QDialog>
37 #include <QCloseEvent>
37 #include <QCloseEvent>
38 #include <QTabWidget>
38 #include <QTabWidget>
39 #include "qipdialogbox.h"
39 #include <QTextEdit>
40 #include <QRadioButton>
41 #include <QGroupBox>
42
40 #include <rmapoperations.h>
43 #include <rmapoperations.h>
41 #include <gresbstatusenquiry.h>
44 #include <gresbstatusenquiry.h>
42 #include <QTextEdit>
43 #include <stardundee.h>
45 #include <stardundee.h>
44 #include <gresb.h>
46 #include <gresb.h>
45 #include <QRadioButton>
47 #include <wfdisplay.h>
46 #include <QGroupBox>
48
47 #include "wfdisplay.h"
49 #include "qipdialogbox.h"
48 #include "tmstatistics.h"
50 #include "tmstatistics.h"
49 #include "tmechobridge.h"
51 #include "tmechobridge.h"
50
52
51 enum selectedBridge{
53 enum selectedBridge{
52 selectedBridgeIsUnknown,
54 selectedBridgeIsUnknown,
53 selectedBridgeIsGRESB,
55 selectedBridgeIsGRESB,
54 selectedBridgeIsStarDundee
56 selectedBridgeIsStarDundee
55 };
57 };
56
58
57 class rmapPluginUI : public QWidget
59 class rmapPluginUI : public QWidget
58 {
60 {
59 Q_OBJECT
61 Q_OBJECT
60
62
61 public:
63 public:
62 explicit rmapPluginUI(QWidget *parent = 0);
64 explicit rmapPluginUI(QWidget *parent = 0);
63 ~rmapPluginUI();
65 ~rmapPluginUI();
64
66
65 QPushButton* rmapOpenCommunicationButton;
67 QPushButton* rmapOpenCommunicationButton;
66 QPushButton* rmapCloseCommunicationButton;
68 QPushButton* rmapCloseCommunicationButton;
67 QPushButton* logFileChooseButton;
69 QPushButton* logFileChooseButton;
68 QPushButton* gresbStatusQueryRetryButton;
70 QPushButton* gresbStatusQueryRetryButton;
69 QPushButton* gresbStatusQueryAbortButton;
71 QPushButton* gresbStatusQueryAbortButton;
70 QPushButton* sendCCSDSCommandButton;
72 QPushButton* sendCCSDSCommandButton;
71 QPushButton* send_TC_LFR_UPDATE_TIME_Button;
73 QPushButton* send_TC_LFR_UPDATE_TIME_Button;
72 QPushButton* reset_TC_LFR_UPDATE_TIME_Button;
74 QPushButton* reset_TC_LFR_UPDATE_TIME_Button;
73 QPushButton* clearConsoleButton;
75 QPushButton* clearConsoleButton;
74
76
75 QRadioButton* selectGRESB_BUTTON;
77 QRadioButton* selectGRESB_BUTTON;
76 QRadioButton* selectStarDundee_BUTTON;
78 QRadioButton* selectStarDundee_BUTTON;
77
79
78 QGroupBox *selection_GROUPBOX;
80 QGroupBox *selection_GROUPBOX;
79
81
80 QSpinBox* gresbVirtualLinkSpinBox;
82 QSpinBox* gresbVirtualLinkSpinBox;
81 QSpinBox* spwLinkSpinBox;
83 QSpinBox* spwLinkSpinBox;
82 QSpinBox* rmapSourceLogicalAddressSpinBox;
84 QSpinBox* rmapSourceLogicalAddressSpinBox;
83 QSpinBox* rmapTargetLogicalAddressSpinBox;
85 QSpinBox* rmapTargetLogicalAddressSpinBox;
84 QSpinBox* CCSDSTargetLogicalAddressSpinBox;
86 QSpinBox* CCSDSTargetLogicalAddressSpinBox;
85
87
86 QCheckBox *logEnableCheckBox;
88 QCheckBox *logEnableCheckBox;
87 QCheckBox *RMAP_write_verify;
89 QCheckBox *RMAP_write_verify;
88 QCheckBox *RMAP_write_reply;
90 QCheckBox *RMAP_write_reply;
89
91
90 QLabel* rmapSendStateLabel;
92 QLabel* rmapSendStateLabel;
91 QLabel* rmapReceiveStateLabel;
93 QLabel* rmapReceiveStateLabel;
92 QLabel* gresbStatusQueryLabel;
94 QLabel* gresbStatusQueryLabel;
93 QLabel* gresbStatusQueryDialogLabel;
95 QLabel* gresbStatusQueryDialogLabel;
94 QLabel* sendCCSDSCommandLabel;
96 QLabel* sendCCSDSCommandLabel;
95 QLabel* nbPacketInStore;
97 QLabel* nbPacketInStore;
96
98
97 QDialog* gresbStatusQueryDialog;
99 QDialog* gresbStatusQueryDialog;
98
100
99 QTextEdit* console;
101 QTextEdit* console;
100
102
101 WFDisplay* wfDisplay;
103 WFDisplay* wfDisplay;
102
104
103 TMStatistics* tmStatistics;
105 TMStatistics* tmStatistics;
104
106
105 // SPACEWIRE BRIDGES
107 // SPACEWIRE BRIDGES
106 StarDundee *starDundee;
108 StarDundee *starDundee;
107 gresb *gresbBridge;
109 gresb *gresbBridge;
108
110
109 // TM Echo Bridge
111 // TM Echo Bridge
110 TMEchoBridge * tmEchoBridge;
112 TMEchoBridge * tmEchoBridge;
111
113
112 bool islogfileenable();
114 bool islogfileenable();
113 void appendToLogFile(const QString & text);
115 void appendToLogFile(const QString & text);
114 void closeEvent(QCloseEvent *event);
116 void closeEvent(QCloseEvent *event);
115
117
116 public slots:
118 public slots:
117 void chooseLogFile();
119 void chooseLogFile();
118 void logFileEnDisable(int state);
120 void logFileEnDisable(int state);
119 RMAP_command_codes getCommandCode();
121 RMAP_command_codes getCommandCode();
120
122
121 private slots:
123 private slots:
122 void selectionBetweenGresbAndStarDundee();
124 void selectionBetweenGresbAndStarDundee();
123 void isOpen(bool flag);
125 void isOpen(bool flag);
124
126
125 signals:
127 signals:
126 void connectPortsig(QString PortName,int baudrate);
128 void connectPortsig(QString PortName,int baudrate);
127 void setLogFileName(QString FileName);
129 void setLogFileName(QString FileName);
128 void commandCodeHasChanged(RMAP_command_codes commandCode);
130 void commandCodeHasChanged(RMAP_command_codes commandCode);
129 void bridgeHasChanged(selectedBridge bridge);
131 void bridgeHasChanged(selectedBridge bridge);
130 void targetHasChanged(unsigned char target);
132 void targetHasChanged(unsigned char target);
131 void sourceHasChanged(unsigned char source);
133 void sourceHasChanged(unsigned char source);
132
134
133 private:
135 private:
134 QLabel *gresbBridgeIPLabel;
136 QLabel *gresbBridgeIPLabel;
135 QLabel *gresbVirtualLinkLabel;
137 QLabel *gresbVirtualLinkLabel;
136 QLabel *spwLinkLabel;
138 QLabel *spwLinkLabel;
137 QLabel *rmapSourceLogicalAddressLabel;
139 QLabel *rmapSourceLogicalAddressLabel;
138 QLabel *rmapTargetLogicalAddressLabel;
140 QLabel *rmapTargetLogicalAddressLabel;
139 QLabel *logFileName;
141 QLabel *logFileName;
140
142
141 QGridLayout *bridgeSelection_LAYOUT;
143 QGridLayout *bridgeSelection_LAYOUT;
142 QGridLayout *connectionLayout;
144 QGridLayout *connectionLayout;
143 QGridLayout *gresbStatusQueryDialogLayout;
145 QGridLayout *gresbStatusQueryDialogLayout;
144 QGridLayout *generalParameters_LAYOUT;
146 QGridLayout *generalParameters_LAYOUT;
145 QVBoxLayout *selectionLayout;
147 QVBoxLayout *selectionLayout;
146 QVBoxLayout *mainLayout;
148 QVBoxLayout *mainLayout;
147 QVBoxLayout *ccsdsLayout;
149 QVBoxLayout *ccsdsLayout;
148 QVBoxLayout *consoleLayout;
150 QVBoxLayout *consoleLayout;
149
151
150 QTabWidget *spwTabWidget;
152 QTabWidget *spwTabWidget;
151
153
152 QWidget* bridgeWidget;
154 QWidget* bridgeWidget;
153
155
154 QGroupBox *gresb_GROUPBOX;
156 QGroupBox *gresb_GROUPBOX;
155 QGroupBox *stardundee_GROUPBOX;
157 QGroupBox *stardundee_GROUPBOX;
156 QGroupBox *generalParameters_GROUPBOX;
158 QGroupBox *generalParameters_GROUPBOX;
157
159
158 QFile *logFile;
160 QFile *logFile;
159 QTextStream *logFileStrm;
161 QTextStream *logFileStrm;
160 bool logFileEn;
162 bool logFileEn;
161
163
162 };
164 };
163
165
164 #endif // RMAPPLUGINUI_H
166 #endif // RMAPPLUGINUI_H
@@ -1,314 +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: Thu Jul 4 10:42:53 2013
3 # Generated by qmake (2.01a) (Qt 4.8.4) on: Thu Jul 4 13:53:16 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: /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 = /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 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
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 wfdisplay_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: wfdisplay_global.h \
223 moc_wfpage.cpp: wfdisplay_global.h \
224 wfplot.h \
224 wfplot.h \
225 wfdisplay_params.h \
225 wfdisplay_params.h \
226 wfpage.h
226 wfpage.h
227 /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
228
228
229 compiler_rcc_make_all:
229 compiler_rcc_make_all:
230 compiler_rcc_clean:
230 compiler_rcc_clean:
231 compiler_image_collection_make_all: qmake_image_collection.cpp
231 compiler_image_collection_make_all: qmake_image_collection.cpp
232 compiler_image_collection_clean:
232 compiler_image_collection_clean:
233 -$(DEL_FILE) qmake_image_collection.cpp
233 -$(DEL_FILE) qmake_image_collection.cpp
234 compiler_moc_source_make_all:
234 compiler_moc_source_make_all:
235 compiler_moc_source_clean:
235 compiler_moc_source_clean:
236 compiler_uic_make_all:
236 compiler_uic_make_all:
237 compiler_uic_clean:
237 compiler_uic_clean:
238 compiler_yacc_decl_make_all:
238 compiler_yacc_decl_make_all:
239 compiler_yacc_decl_clean:
239 compiler_yacc_decl_clean:
240 compiler_yacc_impl_make_all:
240 compiler_yacc_impl_make_all:
241 compiler_yacc_impl_clean:
241 compiler_yacc_impl_clean:
242 compiler_lex_make_all:
242 compiler_lex_make_all:
243 compiler_lex_clean:
243 compiler_lex_clean:
244 compiler_clean: compiler_moc_header_clean
244 compiler_clean: compiler_moc_header_clean
245
245
246 ####### Compile
246 ####### Compile
247
247
248 wfdisplay.o: wfdisplay.cpp wfdisplay.h \
248 wfdisplay.o: wfdisplay.cpp wfdisplay.h \
249 wfdisplay_global.h \
249 wfdisplay_global.h \
250 wfpage.h \
250 wfpage.h \
251 wfplot.h \
251 wfplot.h \
252 wfdisplay_params.h
252 wfdisplay_params.h
253 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfdisplay.o wfdisplay.cpp
253 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfdisplay.o wfdisplay.cpp
254
254
255 wfplot.o: wfplot.cpp wfplot.h \
255 wfplot.o: wfplot.cpp wfplot.h \
256 wfdisplay_params.h
256 wfdisplay_params.h
257 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfplot.o wfplot.cpp
257 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfplot.o wfplot.cpp
258
258
259 wfpage.o: wfpage.cpp wfpage.h \
259 wfpage.o: wfpage.cpp wfpage.h \
260 wfdisplay_global.h \
260 wfdisplay_global.h \
261 wfplot.h \
261 wfplot.h \
262 wfdisplay_params.h
262 wfdisplay_params.h
263 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpage.o wfpage.cpp
263 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpage.o wfpage.cpp
264
264
265 moc_wfdisplay.o: moc_wfdisplay.cpp
265 moc_wfdisplay.o: moc_wfdisplay.cpp
266 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfdisplay.o moc_wfdisplay.cpp
266 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfdisplay.o moc_wfdisplay.cpp
267
267
268 moc_wfplot.o: moc_wfplot.cpp
268 moc_wfplot.o: moc_wfplot.cpp
269 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfplot.o moc_wfplot.cpp
269 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfplot.o moc_wfplot.cpp
270
270
271 moc_wfpage.o: moc_wfpage.cpp
271 moc_wfpage.o: moc_wfpage.cpp
272 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpage.o moc_wfpage.cpp
272 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpage.o moc_wfpage.cpp
273
273
274 ####### Install
274 ####### Install
275
275
276 install_header: first FORCE
276 install_header: first FORCE
277 @$(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/
278 -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfdisplay.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
278 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfdisplay.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/
279 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfdisplay_global.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/
280 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/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/
281 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/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/
282 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfdisplay_params.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
283
283
284
284
285 uninstall_header: FORCE
285 uninstall_header: FORCE
286 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay.h
286 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay.h
287 -$(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
288 -$(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
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
290 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay_params.h
291 -$(DEL_DIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
291 -$(DEL_DIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/
292
292
293
293
294 install_target: first FORCE
294 install_target: first FORCE
295 @$(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/
296 -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET)"
296 -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET)"
297 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)"
297 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)"
298 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)"
298 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)"
299 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)"
299 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)"
300
300
301 uninstall_target: FORCE
301 uninstall_target: FORCE
302 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET)"
302 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET)"
303 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)"
303 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)"
304 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)"
304 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)"
305 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)"
305 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)"
306 -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib64/
306 -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib64/
307
307
308
308
309 install: install_header install_target FORCE
309 install: install_header install_target FORCE
310
310
311 uninstall: uninstall_header uninstall_target FORCE
311 uninstall: uninstall_header uninstall_target FORCE
312
312
313 FORCE:
313 FORCE:
314
314
@@ -1,265 +1,214
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-07-04T12:07:00. -->
3 <!-- Written by Qt Creator 2.4.1, 2013-07-04T13:53:51. -->
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">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.3 in PATH (System) Debug</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">2</value>
103 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</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>
104 <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay</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 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</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">
111 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
112 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
115 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
116 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
117 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
118 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
119 </valuemap>
120 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
121 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
122 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
123 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
124 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
125 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
126 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
127 </valuemap>
128 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
129 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
130 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
131 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
132 </valuemap>
133 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
134 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
135 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
136 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
137 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
138 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
139 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
140 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
141 </valuemap>
142 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
143 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
144 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
145 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
146 </valuemap>
147 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
148 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
149 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
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>
152 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
153 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</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>
156 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
157 </valuemap>
158 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
159 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
109 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
160 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
110 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
161 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
111 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
162 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
112 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
163 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
164 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
165 </valuemap>
115 </valuemap>
166 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
116 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
167 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
117 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
168 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
118 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
169 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
119 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
170 </valuemap>
120 </valuemap>
171 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
121 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
172 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
122 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
173 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
123 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
174 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
124 <value type="bool" key="Analyzer.Project.UseGlobal">true</value>
175 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
125 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
176 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
126 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
177 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
127 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
178 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
128 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
179 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
129 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
180 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
130 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
181 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
131 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
182 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
132 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
183 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
133 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
184 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
134 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
185 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
135 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
186 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
136 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
187 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
137 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
188 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
138 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
189 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
139 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
190 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
140 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
191 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
141 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
192 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
142 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
193 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
143 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
194 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
144 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
195 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
145 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
196 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
146 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
197 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
147 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
198 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
148 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
199 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
149 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
200 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
150 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
201 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
151 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
202 <value type="int">0</value>
152 <value type="int">0</value>
203 <value type="int">1</value>
153 <value type="int">1</value>
204 <value type="int">2</value>
154 <value type="int">2</value>
205 <value type="int">3</value>
155 <value type="int">3</value>
206 <value type="int">4</value>
156 <value type="int">4</value>
207 <value type="int">5</value>
157 <value type="int">5</value>
208 <value type="int">6</value>
158 <value type="int">6</value>
209 <value type="int">7</value>
159 <value type="int">7</value>
210 <value type="int">8</value>
160 <value type="int">8</value>
211 <value type="int">9</value>
161 <value type="int">9</value>
212 <value type="int">10</value>
162 <value type="int">10</value>
213 <value type="int">11</value>
163 <value type="int">11</value>
214 <value type="int">12</value>
164 <value type="int">12</value>
215 <value type="int">13</value>
165 <value type="int">13</value>
216 <value type="int">14</value>
166 <value type="int">14</value>
217 </valuelist>
167 </valuelist>
218 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
168 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
219 <value type="int">0</value>
169 <value type="int">0</value>
220 <value type="int">1</value>
170 <value type="int">1</value>
221 <value type="int">2</value>
171 <value type="int">2</value>
222 <value type="int">3</value>
172 <value type="int">3</value>
223 <value type="int">4</value>
173 <value type="int">4</value>
224 <value type="int">5</value>
174 <value type="int">5</value>
225 <value type="int">6</value>
175 <value type="int">6</value>
226 <value type="int">7</value>
176 <value type="int">7</value>
227 <value type="int">8</value>
177 <value type="int">8</value>
228 <value type="int">9</value>
178 <value type="int">9</value>
229 <value type="int">10</value>
179 <value type="int">10</value>
230 <value type="int">11</value>
180 <value type="int">11</value>
231 <value type="int">12</value>
181 <value type="int">12</value>
232 <value type="int">13</value>
182 <value type="int">13</value>
233 <value type="int">14</value>
183 <value type="int">14</value>
234 </valuelist>
184 </valuelist>
235 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">wfdisplay</value>
185 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
186 <value type="int" key="ProjectExplorer.CustomExecutableRunConfiguration.BaseEnvironmentBase">2</value>
187 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value>
188 <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value>
189 <valuelist type="QVariantList" key="ProjectExplorer.CustomExecutableRunConfiguration.UserEnvironmentChanges"/>
190 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value>
191 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Custom Executable</value>
236 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
192 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
237 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value>
193 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</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>
245 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
194 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
246 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
195 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
247 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
196 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
248 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
197 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
249 </valuemap>
198 </valuemap>
250 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
199 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
251 </valuemap>
200 </valuemap>
252 </data>
201 </data>
253 <data>
202 <data>
254 <variable>ProjectExplorer.Project.TargetCount</variable>
203 <variable>ProjectExplorer.Project.TargetCount</variable>
255 <value type="int">1</value>
204 <value type="int">1</value>
256 </data>
205 </data>
257 <data>
206 <data>
258 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
207 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
259 <value type="QString">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value>
208 <value type="QString">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value>
260 </data>
209 </data>
261 <data>
210 <data>
262 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
211 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
263 <value type="int">10</value>
212 <value type="int">10</value>
264 </data>
213 </data>
265 </qtcreator>
214 </qtcreator>
@@ -1,411 +1,410
1 #include "wfpage.h"
1 #include "wfpage.h"
2
2
3 WFPage::WFPage(QWidget *parent) :
3 WFPage::WFPage(QWidget *parent) :
4 QMainWindow(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 dockV = NULL;
28 dockV = NULL;
29 dockE1 = NULL;
29 dockE1 = NULL;
30 dockE2 = NULL;
30 dockE2 = NULL;
31 dockB1 = NULL;
31 dockB1 = NULL;
32 dockB2 = NULL;
32 dockB2 = NULL;
33 dockB3 = NULL;
33 dockB3 = NULL;
34
34
35 createToolBar();
35 createToolBar();
36 //
36 //
37 //this->setLayout(mainLayout);
37 //this->setLayout(mainLayout);
38 }
38 }
39
39
40 void WFPage::displayOnPlot(short *data, unsigned char num)
40 void WFPage::displayOnPlot(short *data, unsigned char num)
41 {
41 {
42 switch(num){
42 switch(num){
43 case 0:
43 case 0:
44 wfPlot_v->displayOnPlot(data, DEFAULT_SIZE);
44 wfPlot_v->displayOnPlot(data, DEFAULT_SIZE);
45 break;
45 break;
46 case 1:
46 case 1:
47 wfPlot_e1->displayOnPlot(data, DEFAULT_SIZE);
47 wfPlot_e1->displayOnPlot(data, DEFAULT_SIZE);
48 break;
48 break;
49 case 2:
49 case 2:
50 wfPlot_e2->displayOnPlot(data, DEFAULT_SIZE);
50 wfPlot_e2->displayOnPlot(data, DEFAULT_SIZE);
51 break;
51 break;
52 case 3:
52 case 3:
53 wfPlot_b1->displayOnPlot(data, DEFAULT_SIZE);
53 wfPlot_b1->displayOnPlot(data, DEFAULT_SIZE);
54 break;
54 break;
55 case 4:
55 case 4:
56 wfPlot_b2->displayOnPlot(data, DEFAULT_SIZE);
56 wfPlot_b2->displayOnPlot(data, DEFAULT_SIZE);
57 break;
57 break;
58 case 5:
58 case 5:
59 wfPlot_b3->displayOnPlot(data, DEFAULT_SIZE);
59 wfPlot_b3->displayOnPlot(data, DEFAULT_SIZE);
60 break;
60 break;
61 }
61 }
62 }
62 }
63
63
64 void WFPage::createDockWindows()
64 void WFPage::createDockWindows()
65 {
65 {
66 dockV = new QDockWidget(tr("V"), this);
66 dockV = new QDockWidget(tr("V"), this);
67 dockE1 = new QDockWidget(tr("E1"), this);
67 dockE1 = new QDockWidget(tr("E1"), this);
68 dockE2 = new QDockWidget(tr("E2"), this);
68 dockE2 = new QDockWidget(tr("E2"), this);
69 dockB1 = new QDockWidget(tr("B1"), this);
69 dockB1 = new QDockWidget(tr("B1"), this);
70 dockB2 = new QDockWidget(tr("B2"), this);
70 dockB2 = new QDockWidget(tr("B2"), this);
71 dockB3 = new QDockWidget(tr("B3"), this);
71 dockB3 = new QDockWidget(tr("B3"), this);
72 }
72 }
73
73
74 void WFPage::createToolBar()
74 void WFPage::createToolBar()
75 {
75 {
76 radio_v = new QRadioButton(tr("v"));
76 radio_v = new QRadioButton(tr("v"));
77 radio_e1 = new QRadioButton(tr("e1"));
77 radio_e1 = new QRadioButton(tr("e1"));
78 radio_e2 = new QRadioButton(tr("e2"));
78 radio_e2 = new QRadioButton(tr("e2"));
79 radio_b1 = new QRadioButton(tr("b1"));
79 radio_b1 = new QRadioButton(tr("b1"));
80 radio_b2 = new QRadioButton(tr("b2"));
80 radio_b2 = new QRadioButton(tr("b2"));
81 radio_b3 = new QRadioButton(tr("b3"));
81 radio_b3 = new QRadioButton(tr("b3"));
82 radio_tabify = new QRadioButton(tr("tabify"));
82 radio_tabify = new QRadioButton(tr("tabify"));
83
83
84 radio_v->setAutoExclusive(false);
84 radio_v->setAutoExclusive(false);
85 radio_e1->setAutoExclusive(false);
85 radio_e1->setAutoExclusive(false);
86 radio_e2->setAutoExclusive(false);
86 radio_e2->setAutoExclusive(false);
87 radio_b1->setAutoExclusive(false);
87 radio_b1->setAutoExclusive(false);
88 radio_b2->setAutoExclusive(false);
88 radio_b2->setAutoExclusive(false);
89 radio_b3->setAutoExclusive(false);
89 radio_b3->setAutoExclusive(false);
90 radio_tabify->setAutoExclusive(false);
90 radio_tabify->setAutoExclusive(false);
91
91
92 myToolBar = new QToolBar("select");
92 myToolBar = new QToolBar("select");
93
93
94 myToolBar->addWidget(radio_v);
94 myToolBar->addWidget(radio_v);
95 myToolBar->addWidget(radio_e1);
95 myToolBar->addWidget(radio_e1);
96 myToolBar->addWidget(radio_e2);
96 myToolBar->addWidget(radio_e2);
97 myToolBar->addWidget(radio_b1);
97 myToolBar->addWidget(radio_b1);
98 myToolBar->addWidget(radio_b2);
98 myToolBar->addWidget(radio_b2);
99 myToolBar->addWidget(radio_b3);
99 myToolBar->addWidget(radio_b3);
100 myToolBar->addSeparator();
100 myToolBar->addSeparator();
101 myToolBar->addWidget(radio_tabify);
101 myToolBar->addWidget(radio_tabify);
102
102
103 addToolBar(Qt::LeftToolBarArea, myToolBar);
103 addToolBar(Qt::LeftToolBarArea, myToolBar);
104
104
105 radio_tabify->setChecked(true);
105 radio_tabify->setChecked(true);
106
106
107 connect(this->radio_v, SIGNAL(clicked(bool)), this, SLOT(actionRadioV(bool)));
107 connect(this->radio_v, SIGNAL(clicked(bool)), this, SLOT(actionRadioV(bool)));
108 connect(this->radio_e1, SIGNAL(clicked(bool)), this, SLOT(actionRadioE1(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)));
109 connect(this->radio_e2, SIGNAL(clicked(bool)), this, SLOT(actionRadioE2(bool)));
110 connect(this->radio_b1, SIGNAL(clicked(bool)), this, SLOT(actionRadioB1(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)));
111 connect(this->radio_b2, SIGNAL(clicked(bool)), this, SLOT(actionRadioB2(bool)));
112 connect(this->radio_b3, SIGNAL(clicked(bool)), this, SLOT(actionRadioB3(bool)));
112 connect(this->radio_b3, SIGNAL(clicked(bool)), this, SLOT(actionRadioB3(bool)));
113 connect(this->radio_tabify, SIGNAL(clicked(bool)), this, SLOT(organizeDocks()));
113 connect(this->radio_tabify, SIGNAL(clicked(bool)), this, SLOT(organizeDocks()));
114 }
114 }
115
115
116 void WFPage::actionRadioV(bool state)
116 void WFPage::actionRadioV(bool state)
117 {
117 {
118 if (state == true)
118 if (state == true)
119 {
119 {
120 if (dockV == NULL)
120 if (dockV == NULL)
121 {
121 {
122 dockV = new QDockWidget("V", this);
122 dockV = new QDockWidget("V", this);
123 dockV->setWidget(wfPlot_v);
123 dockV->setWidget(wfPlot_v);
124 }
124 }
125 }
125 }
126 else
126 else
127 {
127 {
128 this->removeDockWidget(dockV);
128 this->removeDockWidget(dockV);
129 }
129 }
130 organizeDocks();
130 organizeDocks();
131 }
131 }
132
132
133 void WFPage::actionRadioE1(bool state)
133 void WFPage::actionRadioE1(bool state)
134 {
134 {
135 if (state == true)
135 if (state == true)
136 {
136 {
137 if (dockE1 == NULL)
137 if (dockE1 == NULL)
138 {
138 {
139 dockE1 = new QDockWidget("E1", this);
139 dockE1 = new QDockWidget("E1", this);
140 dockE1->setWidget(wfPlot_e1);
140 dockE1->setWidget(wfPlot_e1);
141 }
141 }
142 addDockWidget(Qt::TopDockWidgetArea, dockE1);
142 addDockWidget(Qt::TopDockWidgetArea, dockE1);
143 dockE1->show();
143 dockE1->show();
144 }
144 }
145 else
145 else
146 {
146 {
147 this->removeDockWidget(dockE1);
147 this->removeDockWidget(dockE1);
148 }
148 }
149 organizeDocks();
149 organizeDocks();
150 }
150 }
151
151
152 void WFPage::actionRadioE2(bool state)
152 void WFPage::actionRadioE2(bool state)
153 {
153 {
154 if (state == true)
154 if (state == true)
155 {
155 {
156 if (dockE2 == NULL)
156 if (dockE2 == NULL)
157 {
157 {
158 dockE2 = new QDockWidget("E2", this);
158 dockE2 = new QDockWidget("E2", this);
159 dockE2->setWidget(wfPlot_e2);
159 dockE2->setWidget(wfPlot_e2);
160 }
160 }
161 addDockWidget(Qt::TopDockWidgetArea, dockE2);
161 addDockWidget(Qt::TopDockWidgetArea, dockE2);
162 dockE2->show();
162 dockE2->show();
163 }
163 }
164 else
164 else
165 {
165 {
166 this->removeDockWidget(dockE2);
166 this->removeDockWidget(dockE2);
167 }
167 }
168 organizeDocks();
168 organizeDocks();
169 }
169 }
170
170
171 void WFPage::actionRadioB1(bool state)
171 void WFPage::actionRadioB1(bool state)
172 {
172 {
173 if (state == true)
173 if (state == true)
174 {
174 {
175 if (dockB1 == NULL)
175 if (dockB1 == NULL)
176 {
176 {
177 dockB1 = new QDockWidget("B1", this);
177 dockB1 = new QDockWidget("B1", this);
178 dockB1->setWidget(wfPlot_b1);
178 dockB1->setWidget(wfPlot_b1);
179 }
179 }
180 }
180 }
181 else
181 else
182 {
182 {
183 this->removeDockWidget(dockB1);
183 this->removeDockWidget(dockB1);
184 }
184 }
185 organizeDocks();
185 organizeDocks();
186 }
186 }
187
187
188 void WFPage::actionRadioB2(bool state)
188 void WFPage::actionRadioB2(bool state)
189 {
189 {
190 if (state == true)
190 if (state == true)
191 {
191 {
192 if (dockB2 == NULL)
192 if (dockB2 == NULL)
193 {
193 {
194 dockB2 = new QDockWidget("B2", this);
194 dockB2 = new QDockWidget("B2", this);
195 dockB2->setWidget(wfPlot_b2);
195 dockB2->setWidget(wfPlot_b2);
196 }
196 }
197 }
197 }
198 else
198 else
199 {
199 {
200 this->removeDockWidget(dockB2);
200 this->removeDockWidget(dockB2);
201 }
201 }
202 organizeDocks();
202 organizeDocks();
203 }
203 }
204
204
205 void WFPage::actionRadioB3(bool state)
205 void WFPage::actionRadioB3(bool state)
206 {
206 {
207 if (state == true)
207 if (state == true)
208 {
208 {
209 if (dockB3 == NULL)
209 if (dockB3 == NULL)
210 {
210 {
211 dockB3 = new QDockWidget("B3", this);
211 dockB3 = new QDockWidget("B3", this);
212 dockB3->setWidget(wfPlot_b3);
212 dockB3->setWidget(wfPlot_b3);
213 }
213 }
214 }
214 }
215 else
215 else
216 {
216 {
217 this->removeDockWidget(dockB3);
217 this->removeDockWidget(dockB3);
218 }
218 }
219 organizeDocks();
219 organizeDocks();
220 }
220 }
221
221
222 void WFPage::buildDockList()
222 void WFPage::buildDockList()
223 {
223 {
224 dockList.clear();
224 dockList.clear();
225
225
226 if (radio_v->isChecked())
226 if (radio_v->isChecked())
227 {
227 {
228 dockList.append(dockV);
228 dockList.append(dockV);
229 removeDockWidget(dockV);
229 removeDockWidget(dockV);
230 }
230 }
231 if (radio_e1->isChecked())
231 if (radio_e1->isChecked())
232 {
232 {
233 dockList.append(dockE1);
233 dockList.append(dockE1);
234 removeDockWidget(dockE1);
234 removeDockWidget(dockE1);
235 }
235 }
236 if (radio_e2->isChecked())
236 if (radio_e2->isChecked())
237 {
237 {
238 dockList.append(dockE2);
238 dockList.append(dockE2);
239 removeDockWidget(dockE2);
239 removeDockWidget(dockE2);
240 }
240 }
241 if (radio_b1->isChecked())
241 if (radio_b1->isChecked())
242 {
242 {
243 dockList.append(dockB1);
243 dockList.append(dockB1);
244 removeDockWidget(dockB1);
244 removeDockWidget(dockB1);
245 }
245 }
246 if (radio_b2->isChecked())
246 if (radio_b2->isChecked())
247 {
247 {
248 dockList.append(dockB2);
248 dockList.append(dockB2);
249 removeDockWidget(dockB2);
249 removeDockWidget(dockB2);
250 }
250 }
251 if (radio_b3->isChecked())
251 if (radio_b3->isChecked())
252 {
252 {
253 dockList.append(dockB3);
253 dockList.append(dockB3);
254 removeDockWidget(dockB3);
254 removeDockWidget(dockB3);
255 }
255 }
256 }
256 }
257
257
258 void WFPage::organizeDocks()
258 void WFPage::organizeDocks()
259 {
259 {
260 if (radio_tabify->isChecked())
260 if (radio_tabify->isChecked())
261 {
261 {
262 tabify();
262 tabify();
263 this->resize(1.2*this->minimumSizeHint());
264 }
263 }
265 else
264 else
266 {
265 {
267 unTabify();
266 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 }
267 }
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());
276 }
275 }
277
276
278 void WFPage::unTabify()
277 void WFPage::unTabify()
279 {
278 {
280 buildDockList();
279 buildDockList();
281
280
282 switch(dockList.size())
281 switch(dockList.size())
283 {
282 {
284 case 0:
283 case 0:
285 break;
284 break;
286 case 1:
285 case 1:
287 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
286 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
288 dockList.at(0)->show();
287 dockList.at(0)->show();
289 break;
288 break;
290 case 2:
289 case 2:
291 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
290 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
292 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
291 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
293 dockList.at(0)->show();
292 dockList.at(0)->show();
294 dockList.at(1)->show();
293 dockList.at(1)->show();
295 break;
294 break;
296 case 3:
295 case 3:
297 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
296 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
298 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
297 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
299 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2));
298 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2));
300 dockList.at(0)->show();
299 dockList.at(0)->show();
301 dockList.at(1)->show();
300 dockList.at(1)->show();
302 dockList.at(2)->show();
301 dockList.at(2)->show();
303 break;
302 break;
304 case 4:
303 case 4:
305 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
304 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
306 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
305 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
307 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2));
306 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2));
308 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
307 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
309 dockList.at(0)->show();
308 dockList.at(0)->show();
310 dockList.at(1)->show();
309 dockList.at(1)->show();
311 dockList.at(2)->show();
310 dockList.at(2)->show();
312 dockList.at(3)->show();
311 dockList.at(3)->show();
313 break;
312 break;
314 case 5:
313 case 5:
315 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
314 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
316 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
315 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
317 addDockWidget(Qt::TopDockWidgetArea, dockList.at(2));
316 addDockWidget(Qt::TopDockWidgetArea, dockList.at(2));
318 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
317 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
319 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4));
318 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4));
320 dockList.at(0)->show();
319 dockList.at(0)->show();
321 dockList.at(1)->show();
320 dockList.at(1)->show();
322 dockList.at(2)->show();
321 dockList.at(2)->show();
323 dockList.at(3)->show();
322 dockList.at(3)->show();
324 dockList.at(4)->show();
323 dockList.at(4)->show();
325 break;
324 break;
326 case 6:
325 case 6:
327 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
326 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
328 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
327 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
329 addDockWidget(Qt::TopDockWidgetArea, dockList.at(2));
328 addDockWidget(Qt::TopDockWidgetArea, dockList.at(2));
330 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
329 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
331 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4));
330 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4));
332 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(5));
331 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(5));
333 dockList.at(0)->show();
332 dockList.at(0)->show();
334 dockList.at(1)->show();
333 dockList.at(1)->show();
335 dockList.at(2)->show();
334 dockList.at(2)->show();
336 dockList.at(3)->show();
335 dockList.at(3)->show();
337 dockList.at(4)->show();
336 dockList.at(4)->show();
338 dockList.at(5)->show();
337 dockList.at(5)->show();
339 break;
338 break;
340 default:
339 default:
341 break;
340 break;
342 }
341 }
343 }
342 }
344
343
345 void WFPage::tabify()
344 void WFPage::tabify()
346 {
345 {
347 buildDockList();
346 buildDockList();
348
347
349 switch(dockList.size())
348 switch(dockList.size())
350 {
349 {
351 case 0:
350 case 0:
352 break;
351 break;
353 case 1:
352 case 1:
354 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
353 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
355 dockList.at(0)->show();
354 dockList.at(0)->show();
356 break;
355 break;
357 case 2:
356 case 2:
358 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
357 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
359 tabifyDockWidget(dockList.at(0), dockList.at(1));
358 tabifyDockWidget(dockList.at(0), dockList.at(1));
360 dockList.at(0)->show();
359 dockList.at(0)->show();
361 dockList.at(1)->show();
360 dockList.at(1)->show();
362 break;
361 break;
363 case 3:
362 case 3:
364 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
363 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
365 tabifyDockWidget(dockList.at(0), dockList.at(1));
364 tabifyDockWidget(dockList.at(0), dockList.at(1));
366 tabifyDockWidget(dockList.at(1), dockList.at(2));
365 tabifyDockWidget(dockList.at(1), dockList.at(2));
367 dockList.at(0)->show();
366 dockList.at(0)->show();
368 dockList.at(1)->show();
367 dockList.at(1)->show();
369 dockList.at(2)->show();
368 dockList.at(2)->show();
370 break;
369 break;
371 case 4:
370 case 4:
372 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
371 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
373 tabifyDockWidget(dockList.at(0), dockList.at(1));
372 tabifyDockWidget(dockList.at(0), dockList.at(1));
374 tabifyDockWidget(dockList.at(1), dockList.at(2));
373 tabifyDockWidget(dockList.at(1), dockList.at(2));
375 tabifyDockWidget(dockList.at(2), dockList.at(3));
374 tabifyDockWidget(dockList.at(2), dockList.at(3));
376 dockList.at(0)->show();
375 dockList.at(0)->show();
377 dockList.at(1)->show();
376 dockList.at(1)->show();
378 dockList.at(2)->show();
377 dockList.at(2)->show();
379 dockList.at(3)->show();
378 dockList.at(3)->show();
380 break;
379 break;
381 case 5:
380 case 5:
382 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
381 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
383 tabifyDockWidget(dockList.at(0), dockList.at(1));
382 tabifyDockWidget(dockList.at(0), dockList.at(1));
384 tabifyDockWidget(dockList.at(1), dockList.at(2));
383 tabifyDockWidget(dockList.at(1), dockList.at(2));
385 tabifyDockWidget(dockList.at(2), dockList.at(3));
384 tabifyDockWidget(dockList.at(2), dockList.at(3));
386 tabifyDockWidget(dockList.at(3), dockList.at(4));
385 tabifyDockWidget(dockList.at(3), dockList.at(4));
387 dockList.at(0)->show();
386 dockList.at(0)->show();
388 dockList.at(1)->show();
387 dockList.at(1)->show();
389 dockList.at(2)->show();
388 dockList.at(2)->show();
390 dockList.at(3)->show();
389 dockList.at(3)->show();
391 dockList.at(4)->show();
390 dockList.at(4)->show();
392 break;
391 break;
393 case 6:
392 case 6:
394 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
393 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
395 tabifyDockWidget(dockList.at(0), dockList.at(1));
394 tabifyDockWidget(dockList.at(0), dockList.at(1));
396 tabifyDockWidget(dockList.at(1), dockList.at(2));
395 tabifyDockWidget(dockList.at(1), dockList.at(2));
397 tabifyDockWidget(dockList.at(2), dockList.at(3));
396 tabifyDockWidget(dockList.at(2), dockList.at(3));
398 tabifyDockWidget(dockList.at(3), dockList.at(4));
397 tabifyDockWidget(dockList.at(3), dockList.at(4));
399 tabifyDockWidget(dockList.at(4), dockList.at(5));
398 tabifyDockWidget(dockList.at(4), dockList.at(5));
400 dockList.at(0)->show();
399 dockList.at(0)->show();
401 dockList.at(1)->show();
400 dockList.at(1)->show();
402 dockList.at(2)->show();
401 dockList.at(2)->show();
403 dockList.at(3)->show();
402 dockList.at(3)->show();
404 dockList.at(4)->show();
403 dockList.at(4)->show();
405 dockList.at(5)->show();
404 dockList.at(5)->show();
406 break;
405 break;
407 default:
406 default:
408 break;
407 break;
409 }
408 }
410 }
409 }
411
410
General Comments 0
You need to be logged in to leave comments. Login now