@@ -1,197 +1,197 | |||||
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 QtCreator 2.8.1, 2013-11- |
|
3 | <!-- Written by QtCreator 2.8.1, 2013-11-14T14:43:39. --> | |
4 | <qtcreator> |
|
4 | <qtcreator> | |
5 | <data> |
|
5 | <data> | |
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
|
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> | |
7 | <value type="int">0</value> |
|
7 | <value type="int">0</value> | |
8 | </data> |
|
8 | </data> | |
9 | <data> |
|
9 | <data> | |
10 | <variable>ProjectExplorer.Project.EditorSettings</variable> |
|
10 | <variable>ProjectExplorer.Project.EditorSettings</variable> | |
11 | <valuemap type="QVariantMap"> |
|
11 | <valuemap type="QVariantMap"> | |
12 | <value type="bool" key="EditorConfiguration.AutoIndent">true</value> |
|
12 | <value type="bool" key="EditorConfiguration.AutoIndent">true</value> | |
13 | <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> |
|
13 | <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> | |
14 | <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value> |
|
14 | <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value> | |
15 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> |
|
15 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> | |
16 | <value type="QString" key="language">Cpp</value> |
|
16 | <value type="QString" key="language">Cpp</value> | |
17 | <valuemap type="QVariantMap" key="value"> |
|
17 | <valuemap type="QVariantMap" key="value"> | |
18 | <value type="QString" key="CurrentPreferences">CppGlobal</value> |
|
18 | <value type="QString" key="CurrentPreferences">CppGlobal</value> | |
19 | </valuemap> |
|
19 | </valuemap> | |
20 | </valuemap> |
|
20 | </valuemap> | |
21 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> |
|
21 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> | |
22 | <value type="QString" key="language">QmlJS</value> |
|
22 | <value type="QString" key="language">QmlJS</value> | |
23 | <valuemap type="QVariantMap" key="value"> |
|
23 | <valuemap type="QVariantMap" key="value"> | |
24 | <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> |
|
24 | <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> | |
25 | </valuemap> |
|
25 | </valuemap> | |
26 | </valuemap> |
|
26 | </valuemap> | |
27 | <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> |
|
27 | <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> | |
28 | <value type="QByteArray" key="EditorConfiguration.Codec">System</value> |
|
28 | <value type="QByteArray" key="EditorConfiguration.Codec">System</value> | |
29 | <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> |
|
29 | <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> | |
30 | <value type="int" key="EditorConfiguration.IndentSize">4</value> |
|
30 | <value type="int" key="EditorConfiguration.IndentSize">4</value> | |
31 | <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value> |
|
31 | <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value> | |
32 | <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> |
|
32 | <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> | |
33 | <value type="int" key="EditorConfiguration.PaddingMode">1</value> |
|
33 | <value type="int" key="EditorConfiguration.PaddingMode">1</value> | |
34 | <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> |
|
34 | <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> | |
35 | <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> |
|
35 | <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> | |
36 | <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> |
|
36 | <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> | |
37 | <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> |
|
37 | <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> | |
38 | <value type="int" key="EditorConfiguration.TabSize">8</value> |
|
38 | <value type="int" key="EditorConfiguration.TabSize">8</value> | |
39 | <value type="bool" key="EditorConfiguration.UseGlobal">true</value> |
|
39 | <value type="bool" key="EditorConfiguration.UseGlobal">true</value> | |
40 | <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> |
|
40 | <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> | |
41 | <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> |
|
41 | <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> | |
42 | <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> |
|
42 | <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> | |
43 | <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> |
|
43 | <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> | |
44 | <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> |
|
44 | <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> | |
45 | </valuemap> |
|
45 | </valuemap> | |
46 | </data> |
|
46 | </data> | |
47 | <data> |
|
47 | <data> | |
48 | <variable>ProjectExplorer.Project.PluginSettings</variable> |
|
48 | <variable>ProjectExplorer.Project.PluginSettings</variable> | |
49 | <valuemap type="QVariantMap"/> |
|
49 | <valuemap type="QVariantMap"/> | |
50 | </data> |
|
50 | </data> | |
51 | <data> |
|
51 | <data> | |
52 | <variable>ProjectExplorer.Project.Target.0</variable> |
|
52 | <variable>ProjectExplorer.Project.Target.0</variable> | |
53 | <valuemap type="QVariantMap"> |
|
53 | <valuemap type="QVariantMap"> | |
54 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop-Qt 4.8.2 in PATH (System)</value> |
|
54 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop-Qt 4.8.2 in PATH (System)</value> | |
55 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop-Qt 4.8.2 in PATH (System)</value> |
|
55 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop-Qt 4.8.2 in PATH (System)</value> | |
56 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{5289e843-9ef2-45ce-88c6-ad27d8e08def}</value> |
|
56 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{5289e843-9ef2-45ce-88c6-ad27d8e08def}</value> | |
57 | <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> |
|
57 | <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> | |
58 | <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> |
|
58 | <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> | |
59 | <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> |
|
59 | <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> | |
60 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> |
|
60 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> | |
61 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
61 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
62 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
62 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
63 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> |
|
63 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> |
|
64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> | |
65 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
65 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
66 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> |
|
66 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |
67 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> |
|
67 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |
68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value> |
|
68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value> | |
69 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> |
|
69 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |
70 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> |
|
70 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |
71 | </valuemap> |
|
71 | </valuemap> | |
72 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> |
|
72 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |
73 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> |
|
73 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
74 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
74 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
75 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
75 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
76 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
76 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
77 | <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> |
|
77 | <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> | |
78 | <value type="QString">-w</value> |
|
78 | <value type="QString">-w</value> | |
79 | <value type="QString">-r</value> |
|
79 | <value type="QString">-r</value> | |
80 | </valuelist> |
|
80 | </valuelist> | |
81 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> |
|
81 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |
82 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w </value> |
|
82 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w </value> | |
83 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
83 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
84 | </valuemap> |
|
84 | </valuemap> | |
85 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> |
|
85 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |
86 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> |
|
86 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |
87 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
87 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
88 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> |
|
88 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |
89 | </valuemap> |
|
89 | </valuemap> | |
90 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> |
|
90 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |
91 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
91 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
92 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> |
|
92 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
93 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
93 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</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">Qt4ProjectManager.MakeStep</value> |
|
95 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
96 | <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> |
|
96 | <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> | |
97 | <value type="QString">-w</value> |
|
97 | <value type="QString">-w</value> | |
98 | <value type="QString">-r</value> |
|
98 | <value type="QString">-r</value> | |
99 | </valuelist> |
|
99 | </valuelist> | |
100 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> |
|
100 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |
101 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w clean</value> |
|
101 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w clean</value> | |
102 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
102 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
103 | </valuemap> |
|
103 | </valuemap> | |
104 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> |
|
104 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |
105 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> |
|
105 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |
106 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
106 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
107 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> |
|
107 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |
108 | </valuemap> |
|
108 | </valuemap> | |
109 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
109 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |
110 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
110 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |
111 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
111 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |
112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value> |
|
112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value> | |
113 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
113 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |
115 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> |
|
115 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |
116 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value> |
|
116 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value> | |
117 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
117 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> | |
118 | </valuemap> |
|
118 | </valuemap> | |
119 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value> |
|
119 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value> | |
120 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> |
|
120 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> | |
121 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
121 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
122 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> |
|
122 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> | |
123 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> |
|
123 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> | |
124 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
124 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
125 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> |
|
125 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> | |
126 | </valuemap> |
|
126 | </valuemap> | |
127 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> |
|
127 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> | |
128 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value> |
|
128 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value> | |
129 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
129 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
130 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> |
|
130 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> | |
131 | </valuemap> |
|
131 | </valuemap> | |
132 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> |
|
132 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> | |
133 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/> |
|
133 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/> | |
134 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> |
|
134 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> | |
135 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
135 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> | |
136 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
136 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |
137 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
137 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |
138 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
138 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |
139 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
139 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |
140 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
140 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |
141 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
141 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |
142 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
142 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |
143 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
143 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |
144 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
144 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |
145 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
145 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |
146 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
146 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |
147 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
147 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |
148 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
148 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |
149 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
149 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |
150 | <value type="int">0</value> |
|
150 | <value type="int">0</value> | |
151 | <value type="int">1</value> |
|
151 | <value type="int">1</value> | |
152 | <value type="int">2</value> |
|
152 | <value type="int">2</value> | |
153 | <value type="int">3</value> |
|
153 | <value type="int">3</value> | |
154 | <value type="int">4</value> |
|
154 | <value type="int">4</value> | |
155 | <value type="int">5</value> |
|
155 | <value type="int">5</value> | |
156 | <value type="int">6</value> |
|
156 | <value type="int">6</value> | |
157 | <value type="int">7</value> |
|
157 | <value type="int">7</value> | |
158 | <value type="int">8</value> |
|
158 | <value type="int">8</value> | |
159 | <value type="int">9</value> |
|
159 | <value type="int">9</value> | |
160 | <value type="int">10</value> |
|
160 | <value type="int">10</value> | |
161 | <value type="int">11</value> |
|
161 | <value type="int">11</value> | |
162 | <value type="int">12</value> |
|
162 | <value type="int">12</value> | |
163 | <value type="int">13</value> |
|
163 | <value type="int">13</value> | |
164 | <value type="int">14</value> |
|
164 | <value type="int">14</value> | |
165 | </valuelist> |
|
165 | </valuelist> | |
166 | <value type="int" key="PE.EnvironmentAspect.Base">2</value> |
|
166 | <value type="int" key="PE.EnvironmentAspect.Base">2</value> | |
167 | <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> |
|
167 | <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> | |
168 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value> |
|
168 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value> | |
169 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable">lppmon</value> |
|
169 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable">lppmon</value> | |
170 | <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value> |
|
170 | <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value> | |
171 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value> |
|
171 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value> | |
172 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Run lppmon</value> |
|
172 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Run lppmon</value> | |
173 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
173 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
174 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value> |
|
174 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value> | |
175 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> |
|
175 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> | |
176 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> |
|
176 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> | |
177 | <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value> |
|
177 | <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value> | |
178 | <value type="bool" key="RunConfiguration.UseMultiProcess">false</value> |
|
178 | <value type="bool" key="RunConfiguration.UseMultiProcess">false</value> | |
179 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> |
|
179 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | |
180 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> |
|
180 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> | |
181 | </valuemap> |
|
181 | </valuemap> | |
182 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> |
|
182 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> | |
183 | </valuemap> |
|
183 | </valuemap> | |
184 | </data> |
|
184 | </data> | |
185 | <data> |
|
185 | <data> | |
186 | <variable>ProjectExplorer.Project.TargetCount</variable> |
|
186 | <variable>ProjectExplorer.Project.TargetCount</variable> | |
187 | <value type="int">1</value> |
|
187 | <value type="int">1</value> | |
188 | </data> |
|
188 | </data> | |
189 | <data> |
|
189 | <data> | |
190 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> |
|
190 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> | |
191 | <value type="QByteArray">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value> |
|
191 | <value type="QByteArray">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value> | |
192 | </data> |
|
192 | </data> | |
193 | <data> |
|
193 | <data> | |
194 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> |
|
194 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> | |
195 | <value type="int">14</value> |
|
195 | <value type="int">14</value> | |
196 | </data> |
|
196 | </data> | |
197 | </qtcreator> |
|
197 | </qtcreator> |
@@ -1,381 +1,376 | |||||
1 | ############################################################################# |
|
1 | ############################################################################# | |
2 | # Makefile for building: lfrsgse |
|
2 | # Makefile for building: lfrsgse | |
3 |
# Generated by qmake (2.01a) (Qt 4.8.5) on: T |
|
3 | # Generated by qmake (2.01a) (Qt 4.8.5) on: Tue Nov 12 11:16:36 2013 | |
4 | # Project: gselesia.pro |
|
4 | # Project: gselesia.pro | |
5 | # Template: app |
|
5 | # Template: app | |
6 |
# Command: /usr/bin/qmake-qt4 - |
|
6 | # Command: /usr/bin/qmake-qt4 -o Makefile gselesia.pro | |
7 | ############################################################################# |
|
7 | ############################################################################# | |
8 |
|
8 | |||
9 | ####### Compiler, tools and options |
|
9 | ####### Compiler, tools and options | |
10 |
|
10 | |||
11 | CC = gcc |
|
11 | CC = gcc | |
12 | CXX = g++ |
|
12 | CXX = g++ | |
13 | DEFINES = -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED |
|
13 | DEFINES = -DQT_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 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT $(DEFINES) |
|
14 | CFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT $(DEFINES) | |
15 | CXXFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT $(DEFINES) |
|
15 | CXXFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -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/usr/include/lppmon/parameterdump -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/usr/include/lppmon/parameterdump -I. | |
17 | LINK = g++ |
|
17 | LINK = g++ | |
18 | LFLAGS = -Wl,-O1 -Wl,-z,relro |
|
18 | LFLAGS = -Wl,-O1 -Wl,-z,relro | |
19 | LIBS = $(SUBLIBS) -L/usr/lib64 -llppmoncommon -lwfdisplay -lparameterdump -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread |
|
19 | LIBS = $(SUBLIBS) -L/usr/lib64 -llppmoncommon -lwfdisplay -lparameterdump -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 | lfrxmlhandler.cpp \ |
|
49 | lfrxmlhandler.cpp \ | |
50 | lfrxmlwriter.cpp \ |
|
50 | lfrxmlwriter.cpp \ | |
51 | ../rmapplugin/tmstatistics.cpp \ |
|
51 | ../rmapplugin/tmstatistics.cpp \ | |
52 | ../rmapplugin/tmpackettoread.cpp \ |
|
52 | ../rmapplugin/tmpackettoread.cpp \ | |
53 | ../rmapplugin/wfpacket.cpp \ |
|
53 | ../rmapplugin/wfpacket.cpp \ | |
54 | ../rmapplugin/spectrapacket.cpp \ |
|
54 | ../rmapplugin/spectrapacket.cpp \ | |
55 | ../common_PLE/qipdialogbox.cpp \ |
|
55 | ../common_PLE/qipdialogbox.cpp \ | |
56 | ../common_PLE/hkdisplay.cpp \ |
|
56 | ../common_PLE/hkdisplay.cpp \ | |
57 | lfrxmlparser.cpp moc_mainwindow.cpp \ |
|
57 | lfrxmlparser.cpp moc_mainwindow.cpp \ | |
58 | moc_mainwindowui.cpp \ |
|
58 | moc_mainwindowui.cpp \ | |
59 | moc_lfrxmlhandler.cpp \ |
|
59 | moc_lfrxmlhandler.cpp \ | |
60 | moc_lfrxmlwriter.cpp \ |
|
60 | moc_lfrxmlwriter.cpp \ | |
61 | moc_tmstatistics.cpp \ |
|
61 | moc_tmstatistics.cpp \ | |
62 | moc_tmpackettoread.cpp \ |
|
62 | moc_tmpackettoread.cpp \ | |
63 | moc_wfpacket.cpp \ |
|
63 | moc_wfpacket.cpp \ | |
64 | moc_spectrapacket.cpp \ |
|
64 | moc_spectrapacket.cpp \ | |
65 | moc_qipdialogbox.cpp \ |
|
65 | moc_qipdialogbox.cpp \ | |
66 | moc_hkdisplay.cpp \ |
|
66 | moc_hkdisplay.cpp \ | |
67 | moc_lfrxmlparser.cpp |
|
67 | moc_lfrxmlparser.cpp | |
68 | OBJECTS = main.o \ |
|
68 | OBJECTS = main.o \ | |
69 | mainwindow.o \ |
|
69 | mainwindow.o \ | |
70 | mainwindowui.o \ |
|
70 | mainwindowui.o \ | |
71 | lfrxmlhandler.o \ |
|
71 | lfrxmlhandler.o \ | |
72 | lfrxmlwriter.o \ |
|
72 | lfrxmlwriter.o \ | |
73 | tmstatistics.o \ |
|
73 | tmstatistics.o \ | |
74 | tmpackettoread.o \ |
|
74 | tmpackettoread.o \ | |
75 | wfpacket.o \ |
|
75 | wfpacket.o \ | |
76 | spectrapacket.o \ |
|
76 | spectrapacket.o \ | |
77 | qipdialogbox.o \ |
|
77 | qipdialogbox.o \ | |
78 | hkdisplay.o \ |
|
78 | hkdisplay.o \ | |
79 | lfrxmlparser.o \ |
|
79 | lfrxmlparser.o \ | |
80 | moc_mainwindow.o \ |
|
80 | moc_mainwindow.o \ | |
81 | moc_mainwindowui.o \ |
|
81 | moc_mainwindowui.o \ | |
82 | moc_lfrxmlhandler.o \ |
|
82 | moc_lfrxmlhandler.o \ | |
83 | moc_lfrxmlwriter.o \ |
|
83 | moc_lfrxmlwriter.o \ | |
84 | moc_tmstatistics.o \ |
|
84 | moc_tmstatistics.o \ | |
85 | moc_tmpackettoread.o \ |
|
85 | moc_tmpackettoread.o \ | |
86 | moc_wfpacket.o \ |
|
86 | moc_wfpacket.o \ | |
87 | moc_spectrapacket.o \ |
|
87 | moc_spectrapacket.o \ | |
88 | moc_qipdialogbox.o \ |
|
88 | moc_qipdialogbox.o \ | |
89 | moc_hkdisplay.o \ |
|
89 | moc_hkdisplay.o \ | |
90 | moc_lfrxmlparser.o |
|
90 | moc_lfrxmlparser.o | |
91 | DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \ |
|
91 | DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \ | |
92 | /usr/lib64/qt4/mkspecs/common/linux.conf \ |
|
92 | /usr/lib64/qt4/mkspecs/common/linux.conf \ | |
93 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ |
|
93 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ | |
94 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ |
|
94 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ | |
95 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ |
|
95 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ | |
96 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ |
|
96 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ | |
97 | /usr/lib64/qt4/mkspecs/qconfig.pri \ |
|
97 | /usr/lib64/qt4/mkspecs/qconfig.pri \ | |
98 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ |
|
98 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ | |
99 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ |
|
99 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ | |
100 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ |
|
100 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ | |
101 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ |
|
101 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ | |
102 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ |
|
102 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ | |
103 | /usr/lib64/qt4/mkspecs/features/release.prf \ |
|
103 | /usr/lib64/qt4/mkspecs/features/release.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/shared.prf \ |
|
105 | /usr/lib64/qt4/mkspecs/features/shared.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 |
|
147 | |||
148 | Makefile: gselesia.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \ |
|
148 | Makefile: gselesia.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \ | |
149 | /usr/lib64/qt4/mkspecs/common/linux.conf \ |
|
149 | /usr/lib64/qt4/mkspecs/common/linux.conf \ | |
150 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ |
|
150 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ | |
151 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ |
|
151 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ | |
152 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ |
|
152 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ | |
153 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ |
|
153 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ | |
154 | /usr/lib64/qt4/mkspecs/qconfig.pri \ |
|
154 | /usr/lib64/qt4/mkspecs/qconfig.pri \ | |
155 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ |
|
155 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ | |
156 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ |
|
156 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ | |
157 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ |
|
157 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ | |
158 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ |
|
158 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ | |
159 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ |
|
159 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ | |
160 | /usr/lib64/qt4/mkspecs/features/release.prf \ |
|
160 | /usr/lib64/qt4/mkspecs/features/release.prf \ | |
161 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ |
|
161 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ | |
162 | /usr/lib64/qt4/mkspecs/features/shared.prf \ |
|
162 | /usr/lib64/qt4/mkspecs/features/shared.prf \ | |
163 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
163 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ | |
164 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ |
|
164 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ | |
165 | /usr/lib64/qt4/mkspecs/features/qt.prf \ |
|
165 | /usr/lib64/qt4/mkspecs/features/qt.prf \ | |
166 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ |
|
166 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ | |
167 | /usr/lib64/qt4/mkspecs/features/moc.prf \ |
|
167 | /usr/lib64/qt4/mkspecs/features/moc.prf \ | |
168 | /usr/lib64/qt4/mkspecs/features/resources.prf \ |
|
168 | /usr/lib64/qt4/mkspecs/features/resources.prf \ | |
169 | /usr/lib64/qt4/mkspecs/features/uic.prf \ |
|
169 | /usr/lib64/qt4/mkspecs/features/uic.prf \ | |
170 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ |
|
170 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ | |
171 | /usr/lib64/qt4/mkspecs/features/lex.prf \ |
|
171 | /usr/lib64/qt4/mkspecs/features/lex.prf \ | |
172 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ |
|
172 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ | |
173 | /usr/lib64/libQtXml.prl \ |
|
173 | /usr/lib64/libQtXml.prl \ | |
174 | /usr/lib64/libQtCore.prl \ |
|
174 | /usr/lib64/libQtCore.prl \ | |
175 | /usr/lib64/libQtGui.prl \ |
|
175 | /usr/lib64/libQtGui.prl \ | |
176 | /usr/lib64/libQtNetwork.prl |
|
176 | /usr/lib64/libQtNetwork.prl | |
177 |
$(QMAKE) |
|
177 | $(QMAKE) -o Makefile gselesia.pro | |
178 | /usr/lib64/qt4/mkspecs/common/unix.conf: |
|
178 | /usr/lib64/qt4/mkspecs/common/unix.conf: | |
179 | /usr/lib64/qt4/mkspecs/common/linux.conf: |
|
179 | /usr/lib64/qt4/mkspecs/common/linux.conf: | |
180 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf: |
|
180 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf: | |
181 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf: |
|
181 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf: | |
182 | /usr/lib64/qt4/mkspecs/common/g++-base.conf: |
|
182 | /usr/lib64/qt4/mkspecs/common/g++-base.conf: | |
183 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf: |
|
183 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf: | |
184 | /usr/lib64/qt4/mkspecs/qconfig.pri: |
|
184 | /usr/lib64/qt4/mkspecs/qconfig.pri: | |
185 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri: |
|
185 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri: | |
186 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf: |
|
186 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf: | |
187 | /usr/lib64/qt4/mkspecs/features/qt_config.prf: |
|
187 | /usr/lib64/qt4/mkspecs/features/qt_config.prf: | |
188 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf: |
|
188 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf: | |
189 | /usr/lib64/qt4/mkspecs/features/default_pre.prf: |
|
189 | /usr/lib64/qt4/mkspecs/features/default_pre.prf: | |
190 | /usr/lib64/qt4/mkspecs/features/release.prf: |
|
190 | /usr/lib64/qt4/mkspecs/features/release.prf: | |
191 | /usr/lib64/qt4/mkspecs/features/default_post.prf: |
|
191 | /usr/lib64/qt4/mkspecs/features/default_post.prf: | |
192 | /usr/lib64/qt4/mkspecs/features/shared.prf: |
|
192 | /usr/lib64/qt4/mkspecs/features/shared.prf: | |
193 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: |
|
193 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: | |
194 | /usr/lib64/qt4/mkspecs/features/warn_on.prf: |
|
194 | /usr/lib64/qt4/mkspecs/features/warn_on.prf: | |
195 | /usr/lib64/qt4/mkspecs/features/qt.prf: |
|
195 | /usr/lib64/qt4/mkspecs/features/qt.prf: | |
196 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf: |
|
196 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf: | |
197 | /usr/lib64/qt4/mkspecs/features/moc.prf: |
|
197 | /usr/lib64/qt4/mkspecs/features/moc.prf: | |
198 | /usr/lib64/qt4/mkspecs/features/resources.prf: |
|
198 | /usr/lib64/qt4/mkspecs/features/resources.prf: | |
199 | /usr/lib64/qt4/mkspecs/features/uic.prf: |
|
199 | /usr/lib64/qt4/mkspecs/features/uic.prf: | |
200 | /usr/lib64/qt4/mkspecs/features/yacc.prf: |
|
200 | /usr/lib64/qt4/mkspecs/features/yacc.prf: | |
201 | /usr/lib64/qt4/mkspecs/features/lex.prf: |
|
201 | /usr/lib64/qt4/mkspecs/features/lex.prf: | |
202 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf: |
|
202 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf: | |
203 | /usr/lib64/libQtXml.prl: |
|
203 | /usr/lib64/libQtXml.prl: | |
204 | /usr/lib64/libQtCore.prl: |
|
204 | /usr/lib64/libQtCore.prl: | |
205 | /usr/lib64/libQtGui.prl: |
|
205 | /usr/lib64/libQtGui.prl: | |
206 | /usr/lib64/libQtNetwork.prl: |
|
206 | /usr/lib64/libQtNetwork.prl: | |
207 | qmake: FORCE |
|
207 | qmake: FORCE | |
208 |
@$(QMAKE) |
|
208 | @$(QMAKE) -o Makefile gselesia.pro | |
209 |
|
209 | |||
210 | dist: |
|
210 | dist: | |
211 | @$(CHK_DIR_EXISTS) .tmp/lfrsgse1.0.0 || $(MKDIR) .tmp/lfrsgse1.0.0 |
|
211 | @$(CHK_DIR_EXISTS) .tmp/lfrsgse1.0.0 || $(MKDIR) .tmp/lfrsgse1.0.0 | |
212 | $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents mainwindow.h mainwindowui.h lfrxmlhandler.h lfrxmlwriter.h ../rmapplugin/tmstatistics.h ../rmapplugin/tmpackettoread.h ../rmapplugin/wfpacket.h ../rmapplugin/spectrapacket.h ../common_PLE/qipdialogbox.h ../common_PLE/hkdisplay.h ../rmapplugin/params.h ../../DEV_PLE/header/TC_types.h ../../DEV_PLE/header/ccsds_types.h lfrxmlparser.h .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp mainwindowui.cpp lfrxmlhandler.cpp lfrxmlwriter.cpp ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmpackettoread.cpp ../rmapplugin/wfpacket.cpp ../rmapplugin/spectrapacket.cpp ../common_PLE/qipdialogbox.cpp ../common_PLE/hkdisplay.cpp lfrxmlparser.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 |
|
212 | $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents mainwindow.h mainwindowui.h lfrxmlhandler.h lfrxmlwriter.h ../rmapplugin/tmstatistics.h ../rmapplugin/tmpackettoread.h ../rmapplugin/wfpacket.h ../rmapplugin/spectrapacket.h ../common_PLE/qipdialogbox.h ../common_PLE/hkdisplay.h ../rmapplugin/params.h ../../DEV_PLE/header/TC_types.h ../../DEV_PLE/header/ccsds_types.h lfrxmlparser.h .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp mainwindowui.cpp lfrxmlhandler.cpp lfrxmlwriter.cpp ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmpackettoread.cpp ../rmapplugin/wfpacket.cpp ../rmapplugin/spectrapacket.cpp ../common_PLE/qipdialogbox.cpp ../common_PLE/hkdisplay.cpp lfrxmlparser.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 |
|
213 | |||
214 |
|
214 | |||
215 | clean:compiler_clean |
|
215 | clean:compiler_clean | |
216 | -$(DEL_FILE) $(OBJECTS) |
|
216 | -$(DEL_FILE) $(OBJECTS) | |
217 | -$(DEL_FILE) *~ core *.core |
|
217 | -$(DEL_FILE) *~ core *.core | |
218 |
|
218 | |||
219 |
|
219 | |||
220 | ####### Sub-libraries |
|
220 | ####### Sub-libraries | |
221 |
|
221 | |||
222 | distclean: clean |
|
222 | distclean: clean | |
223 | -$(DEL_FILE) $(TARGET) |
|
223 | -$(DEL_FILE) $(TARGET) | |
224 | -$(DEL_FILE) Makefile |
|
224 | -$(DEL_FILE) Makefile | |
225 |
|
225 | |||
226 |
|
226 | |||
227 | check: first |
|
227 | check: first | |
228 |
|
228 | |||
229 | mocclean: compiler_moc_header_clean compiler_moc_source_clean |
|
229 | mocclean: compiler_moc_header_clean compiler_moc_source_clean | |
230 |
|
230 | |||
231 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all |
|
231 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all | |
232 |
|
232 | |||
233 | compiler_moc_header_make_all: moc_mainwindow.cpp moc_mainwindowui.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_spectrapacket.cpp moc_qipdialogbox.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp |
|
233 | compiler_moc_header_make_all: moc_mainwindow.cpp moc_mainwindowui.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_spectrapacket.cpp moc_qipdialogbox.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp | |
234 | compiler_moc_header_clean: |
|
234 | compiler_moc_header_clean: | |
235 | -$(DEL_FILE) moc_mainwindow.cpp moc_mainwindowui.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_spectrapacket.cpp moc_qipdialogbox.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp |
|
235 | -$(DEL_FILE) moc_mainwindow.cpp moc_mainwindowui.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_spectrapacket.cpp moc_qipdialogbox.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp | |
236 | moc_mainwindow.cpp: lfrxmlhandler.h \ |
|
236 | moc_mainwindow.cpp: lfrxmlhandler.h \ | |
237 | lfrxmlwriter.h \ |
|
237 | lfrxmlwriter.h \ | |
238 | mainwindowui.h \ |
|
238 | mainwindowui.h \ | |
239 | lfrspectrogram.h \ |
|
|||
240 | lfrxmlparser.h \ |
|
239 | lfrxmlparser.h \ | |
241 | mainwindow.h |
|
240 | mainwindow.h | |
242 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp |
|
241 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp | |
243 |
|
242 | |||
244 |
moc_mainwindowui.cpp: |
|
243 | moc_mainwindowui.cpp: mainwindowui.h | |
245 | mainwindowui.h |
|
|||
246 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindowui.h -o moc_mainwindowui.cpp |
|
244 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindowui.h -o moc_mainwindowui.cpp | |
247 |
|
245 | |||
248 | moc_lfrxmlhandler.cpp: lfrxmlhandler.h |
|
246 | moc_lfrxmlhandler.cpp: lfrxmlhandler.h | |
249 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlhandler.h -o moc_lfrxmlhandler.cpp |
|
247 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlhandler.h -o moc_lfrxmlhandler.cpp | |
250 |
|
248 | |||
251 | moc_lfrxmlwriter.cpp: lfrxmlwriter.h |
|
249 | moc_lfrxmlwriter.cpp: lfrxmlwriter.h | |
252 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlwriter.h -o moc_lfrxmlwriter.cpp |
|
250 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlwriter.h -o moc_lfrxmlwriter.cpp | |
253 |
|
251 | |||
254 | moc_tmstatistics.cpp: ../rmapplugin/tmstatistics.h |
|
252 | moc_tmstatistics.cpp: ../rmapplugin/tmstatistics.h | |
255 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmstatistics.h -o moc_tmstatistics.cpp |
|
253 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmstatistics.h -o moc_tmstatistics.cpp | |
256 |
|
254 | |||
257 | moc_tmpackettoread.cpp: ../rmapplugin/tmpackettoread.h |
|
255 | moc_tmpackettoread.cpp: ../rmapplugin/tmpackettoread.h | |
258 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmpackettoread.h -o moc_tmpackettoread.cpp |
|
256 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmpackettoread.h -o moc_tmpackettoread.cpp | |
259 |
|
257 | |||
260 | moc_wfpacket.cpp: ../rmapplugin/wfpacket.h |
|
258 | moc_wfpacket.cpp: ../rmapplugin/wfpacket.h | |
261 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/wfpacket.h -o moc_wfpacket.cpp |
|
259 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/wfpacket.h -o moc_wfpacket.cpp | |
262 |
|
260 | |||
263 | moc_spectrapacket.cpp: ../rmapplugin/spectrapacket.h |
|
261 | moc_spectrapacket.cpp: ../rmapplugin/spectrapacket.h | |
264 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/spectrapacket.h -o moc_spectrapacket.cpp |
|
262 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/spectrapacket.h -o moc_spectrapacket.cpp | |
265 |
|
263 | |||
266 | moc_qipdialogbox.cpp: ../common_PLE/qipdialogbox.h |
|
264 | moc_qipdialogbox.cpp: ../common_PLE/qipdialogbox.h | |
267 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/qipdialogbox.h -o moc_qipdialogbox.cpp |
|
265 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/qipdialogbox.h -o moc_qipdialogbox.cpp | |
268 |
|
266 | |||
269 | moc_hkdisplay.cpp: ../common_PLE/hkdisplay.h |
|
267 | moc_hkdisplay.cpp: ../common_PLE/hkdisplay.h | |
270 | /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 | |
271 |
|
269 | |||
272 | moc_lfrxmlparser.cpp: lfrxmlparser.h |
|
270 | moc_lfrxmlparser.cpp: lfrxmlparser.h | |
273 | /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 | |
274 |
|
272 | |||
275 | compiler_rcc_make_all: |
|
273 | compiler_rcc_make_all: | |
276 | compiler_rcc_clean: |
|
274 | compiler_rcc_clean: | |
277 | compiler_image_collection_make_all: qmake_image_collection.cpp |
|
275 | compiler_image_collection_make_all: qmake_image_collection.cpp | |
278 | compiler_image_collection_clean: |
|
276 | compiler_image_collection_clean: | |
279 | -$(DEL_FILE) qmake_image_collection.cpp |
|
277 | -$(DEL_FILE) qmake_image_collection.cpp | |
280 | compiler_moc_source_make_all: |
|
278 | compiler_moc_source_make_all: | |
281 | compiler_moc_source_clean: |
|
279 | compiler_moc_source_clean: | |
282 | compiler_uic_make_all: |
|
280 | compiler_uic_make_all: | |
283 | compiler_uic_clean: |
|
281 | compiler_uic_clean: | |
284 | compiler_yacc_decl_make_all: |
|
282 | compiler_yacc_decl_make_all: | |
285 | compiler_yacc_decl_clean: |
|
283 | compiler_yacc_decl_clean: | |
286 | compiler_yacc_impl_make_all: |
|
284 | compiler_yacc_impl_make_all: | |
287 | compiler_yacc_impl_clean: |
|
285 | compiler_yacc_impl_clean: | |
288 | compiler_lex_make_all: |
|
286 | compiler_lex_make_all: | |
289 | compiler_lex_clean: |
|
287 | compiler_lex_clean: | |
290 | compiler_clean: compiler_moc_header_clean |
|
288 | compiler_clean: compiler_moc_header_clean | |
291 |
|
289 | |||
292 | ####### Compile |
|
290 | ####### Compile | |
293 |
|
291 | |||
294 | main.o: main.cpp mainwindow.h \ |
|
292 | main.o: main.cpp mainwindow.h \ | |
295 | lfrxmlhandler.h \ |
|
293 | lfrxmlhandler.h \ | |
296 | lfrxmlwriter.h \ |
|
294 | lfrxmlwriter.h \ | |
297 | mainwindowui.h \ |
|
295 | mainwindowui.h \ | |
298 | lfrspectrogram.h \ |
|
|||
299 | lfrxmlparser.h |
|
296 | lfrxmlparser.h | |
300 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp |
|
297 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp | |
301 |
|
298 | |||
302 | mainwindow.o: mainwindow.cpp mainwindow.h \ |
|
299 | mainwindow.o: mainwindow.cpp mainwindow.h \ | |
303 | lfrxmlhandler.h \ |
|
300 | lfrxmlhandler.h \ | |
304 | lfrxmlwriter.h \ |
|
301 | lfrxmlwriter.h \ | |
305 | mainwindowui.h \ |
|
302 | mainwindowui.h \ | |
306 | lfrspectrogram.h \ |
|
|||
307 | lfrxmlparser.h |
|
303 | lfrxmlparser.h | |
308 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp |
|
304 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp | |
309 |
|
305 | |||
310 |
mainwindowui.o: mainwindowui.cpp mainwindowui.h |
|
306 | mainwindowui.o: mainwindowui.cpp mainwindowui.h | |
311 | lfrspectrogram.h |
|
|||
312 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindowui.o mainwindowui.cpp |
|
307 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindowui.o mainwindowui.cpp | |
313 |
|
308 | |||
314 | lfrxmlhandler.o: lfrxmlhandler.cpp lfrxmlhandler.h |
|
309 | lfrxmlhandler.o: lfrxmlhandler.cpp lfrxmlhandler.h | |
315 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlhandler.o lfrxmlhandler.cpp |
|
310 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlhandler.o lfrxmlhandler.cpp | |
316 |
|
311 | |||
317 | lfrxmlwriter.o: lfrxmlwriter.cpp lfrxmlwriter.h |
|
312 | lfrxmlwriter.o: lfrxmlwriter.cpp lfrxmlwriter.h | |
318 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlwriter.o lfrxmlwriter.cpp |
|
313 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlwriter.o lfrxmlwriter.cpp | |
319 |
|
314 | |||
320 | tmstatistics.o: ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmstatistics.h |
|
315 | tmstatistics.o: ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmstatistics.h | |
321 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmstatistics.o ../rmapplugin/tmstatistics.cpp |
|
316 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmstatistics.o ../rmapplugin/tmstatistics.cpp | |
322 |
|
317 | |||
323 | tmpackettoread.o: ../rmapplugin/tmpackettoread.cpp ../rmapplugin/tmpackettoread.h |
|
318 | tmpackettoread.o: ../rmapplugin/tmpackettoread.cpp ../rmapplugin/tmpackettoread.h | |
324 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmpackettoread.o ../rmapplugin/tmpackettoread.cpp |
|
319 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmpackettoread.o ../rmapplugin/tmpackettoread.cpp | |
325 |
|
320 | |||
326 | wfpacket.o: ../rmapplugin/wfpacket.cpp ../rmapplugin/wfpacket.h |
|
321 | wfpacket.o: ../rmapplugin/wfpacket.cpp ../rmapplugin/wfpacket.h | |
327 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpacket.o ../rmapplugin/wfpacket.cpp |
|
322 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpacket.o ../rmapplugin/wfpacket.cpp | |
328 |
|
323 | |||
329 | spectrapacket.o: ../rmapplugin/spectrapacket.cpp ../rmapplugin/spectrapacket.h |
|
324 | spectrapacket.o: ../rmapplugin/spectrapacket.cpp ../rmapplugin/spectrapacket.h | |
330 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o spectrapacket.o ../rmapplugin/spectrapacket.cpp |
|
325 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o spectrapacket.o ../rmapplugin/spectrapacket.cpp | |
331 |
|
326 | |||
332 | qipdialogbox.o: ../common_PLE/qipdialogbox.cpp ../common_PLE/qipdialogbox.h |
|
327 | qipdialogbox.o: ../common_PLE/qipdialogbox.cpp ../common_PLE/qipdialogbox.h | |
333 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qipdialogbox.o ../common_PLE/qipdialogbox.cpp |
|
328 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qipdialogbox.o ../common_PLE/qipdialogbox.cpp | |
334 |
|
329 | |||
335 | hkdisplay.o: ../common_PLE/hkdisplay.cpp ../common_PLE/hkdisplay.h |
|
330 | hkdisplay.o: ../common_PLE/hkdisplay.cpp ../common_PLE/hkdisplay.h | |
336 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o hkdisplay.o ../common_PLE/hkdisplay.cpp |
|
331 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o hkdisplay.o ../common_PLE/hkdisplay.cpp | |
337 |
|
332 | |||
338 | lfrxmlparser.o: lfrxmlparser.cpp lfrxmlparser.h |
|
333 | lfrxmlparser.o: lfrxmlparser.cpp lfrxmlparser.h | |
339 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlparser.o lfrxmlparser.cpp |
|
334 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlparser.o lfrxmlparser.cpp | |
340 |
|
335 | |||
341 | moc_mainwindow.o: moc_mainwindow.cpp |
|
336 | moc_mainwindow.o: moc_mainwindow.cpp | |
342 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp |
|
337 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp | |
343 |
|
338 | |||
344 | moc_mainwindowui.o: moc_mainwindowui.cpp |
|
339 | moc_mainwindowui.o: moc_mainwindowui.cpp | |
345 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindowui.o moc_mainwindowui.cpp |
|
340 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindowui.o moc_mainwindowui.cpp | |
346 |
|
341 | |||
347 | moc_lfrxmlhandler.o: moc_lfrxmlhandler.cpp |
|
342 | moc_lfrxmlhandler.o: moc_lfrxmlhandler.cpp | |
348 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlhandler.o moc_lfrxmlhandler.cpp |
|
343 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlhandler.o moc_lfrxmlhandler.cpp | |
349 |
|
344 | |||
350 | moc_lfrxmlwriter.o: moc_lfrxmlwriter.cpp |
|
345 | moc_lfrxmlwriter.o: moc_lfrxmlwriter.cpp | |
351 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlwriter.o moc_lfrxmlwriter.cpp |
|
346 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlwriter.o moc_lfrxmlwriter.cpp | |
352 |
|
347 | |||
353 | moc_tmstatistics.o: moc_tmstatistics.cpp |
|
348 | moc_tmstatistics.o: moc_tmstatistics.cpp | |
354 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmstatistics.o moc_tmstatistics.cpp |
|
349 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmstatistics.o moc_tmstatistics.cpp | |
355 |
|
350 | |||
356 | moc_tmpackettoread.o: moc_tmpackettoread.cpp |
|
351 | moc_tmpackettoread.o: moc_tmpackettoread.cpp | |
357 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmpackettoread.o moc_tmpackettoread.cpp |
|
352 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmpackettoread.o moc_tmpackettoread.cpp | |
358 |
|
353 | |||
359 | moc_wfpacket.o: moc_wfpacket.cpp |
|
354 | moc_wfpacket.o: moc_wfpacket.cpp | |
360 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpacket.o moc_wfpacket.cpp |
|
355 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpacket.o moc_wfpacket.cpp | |
361 |
|
356 | |||
362 | moc_spectrapacket.o: moc_spectrapacket.cpp |
|
357 | moc_spectrapacket.o: moc_spectrapacket.cpp | |
363 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_spectrapacket.o moc_spectrapacket.cpp |
|
358 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_spectrapacket.o moc_spectrapacket.cpp | |
364 |
|
359 | |||
365 | moc_qipdialogbox.o: moc_qipdialogbox.cpp |
|
360 | moc_qipdialogbox.o: moc_qipdialogbox.cpp | |
366 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qipdialogbox.o moc_qipdialogbox.cpp |
|
361 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qipdialogbox.o moc_qipdialogbox.cpp | |
367 |
|
362 | |||
368 | moc_hkdisplay.o: moc_hkdisplay.cpp |
|
363 | moc_hkdisplay.o: moc_hkdisplay.cpp | |
369 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_hkdisplay.o moc_hkdisplay.cpp |
|
364 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_hkdisplay.o moc_hkdisplay.cpp | |
370 |
|
365 | |||
371 | moc_lfrxmlparser.o: moc_lfrxmlparser.cpp |
|
366 | moc_lfrxmlparser.o: moc_lfrxmlparser.cpp | |
372 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlparser.o moc_lfrxmlparser.cpp |
|
367 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlparser.o moc_lfrxmlparser.cpp | |
373 |
|
368 | |||
374 | ####### Install |
|
369 | ####### Install | |
375 |
|
370 | |||
376 | install: FORCE |
|
371 | install: FORCE | |
377 |
|
372 | |||
378 | uninstall: FORCE |
|
373 | uninstall: FORCE | |
379 |
|
374 | |||
380 | FORCE: |
|
375 | FORCE: | |
381 |
|
376 |
@@ -1,198 +1,198 | |||||
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 QtCreator 2.8.1, 2013-11- |
|
3 | <!-- Written by QtCreator 2.8.1, 2013-11-12T11:12:03. --> | |
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 | <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value> |
|
14 | <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value> | |
15 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> |
|
15 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> | |
16 | <value type="QString" key="language">Cpp</value> |
|
16 | <value type="QString" key="language">Cpp</value> | |
17 | <valuemap type="QVariantMap" key="value"> |
|
17 | <valuemap type="QVariantMap" key="value"> | |
18 | <value type="QString" key="CurrentPreferences">CppGlobal</value> |
|
18 | <value type="QString" key="CurrentPreferences">CppGlobal</value> | |
19 | </valuemap> |
|
19 | </valuemap> | |
20 | </valuemap> |
|
20 | </valuemap> | |
21 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> |
|
21 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> | |
22 | <value type="QString" key="language">QmlJS</value> |
|
22 | <value type="QString" key="language">QmlJS</value> | |
23 | <valuemap type="QVariantMap" key="value"> |
|
23 | <valuemap type="QVariantMap" key="value"> | |
24 | <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> |
|
24 | <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> | |
25 | </valuemap> |
|
25 | </valuemap> | |
26 | </valuemap> |
|
26 | </valuemap> | |
27 | <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> |
|
27 | <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> | |
28 | <value type="QByteArray" key="EditorConfiguration.Codec">System</value> |
|
28 | <value type="QByteArray" key="EditorConfiguration.Codec">System</value> | |
29 | <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> |
|
29 | <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> | |
30 | <value type="int" key="EditorConfiguration.IndentSize">4</value> |
|
30 | <value type="int" key="EditorConfiguration.IndentSize">4</value> | |
31 | <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value> |
|
31 | <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value> | |
32 | <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> |
|
32 | <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> | |
33 | <value type="int" key="EditorConfiguration.PaddingMode">1</value> |
|
33 | <value type="int" key="EditorConfiguration.PaddingMode">1</value> | |
34 | <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> |
|
34 | <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> | |
35 | <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> |
|
35 | <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> | |
36 | <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> |
|
36 | <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> | |
37 | <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> |
|
37 | <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> | |
38 | <value type="int" key="EditorConfiguration.TabSize">8</value> |
|
38 | <value type="int" key="EditorConfiguration.TabSize">8</value> | |
39 | <value type="bool" key="EditorConfiguration.UseGlobal">true</value> |
|
39 | <value type="bool" key="EditorConfiguration.UseGlobal">true</value> | |
40 | <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> |
|
40 | <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> | |
41 | <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> |
|
41 | <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> | |
42 | <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> |
|
42 | <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> | |
43 | <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> |
|
43 | <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> | |
44 | <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> |
|
44 | <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> | |
45 | </valuemap> |
|
45 | </valuemap> | |
46 | </data> |
|
46 | </data> | |
47 | <data> |
|
47 | <data> | |
48 | <variable>ProjectExplorer.Project.PluginSettings</variable> |
|
48 | <variable>ProjectExplorer.Project.PluginSettings</variable> | |
49 | <valuemap type="QVariantMap"/> |
|
49 | <valuemap type="QVariantMap"/> | |
50 | </data> |
|
50 | </data> | |
51 | <data> |
|
51 | <data> | |
52 | <variable>ProjectExplorer.Project.Target.0</variable> |
|
52 | <variable>ProjectExplorer.Project.Target.0</variable> | |
53 | <valuemap type="QVariantMap"> |
|
53 | <valuemap type="QVariantMap"> | |
54 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop-Qt 4.8.2 in PATH (System)</value> |
|
54 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop-Qt 4.8.2 in PATH (System)</value> | |
55 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop-Qt 4.8.2 in PATH (System)</value> |
|
55 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop-Qt 4.8.2 in PATH (System)</value> | |
56 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{5289e843-9ef2-45ce-88c6-ad27d8e08def}</value> |
|
56 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{5289e843-9ef2-45ce-88c6-ad27d8e08def}</value> | |
57 | <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> |
|
57 | <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> | |
58 | <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> |
|
58 | <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> | |
59 | <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> |
|
59 | <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> | |
60 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> |
|
60 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> | |
61 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
61 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
62 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
62 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
63 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> |
|
63 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> |
|
64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> | |
65 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
65 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
66 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> |
|
66 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |
67 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> |
|
67 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |
68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value> |
|
68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value> | |
69 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> |
|
69 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |
70 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> |
|
70 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |
71 | </valuemap> |
|
71 | </valuemap> | |
72 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> |
|
72 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |
73 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> |
|
73 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
74 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
74 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
75 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
75 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
76 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
76 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
77 | <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> |
|
77 | <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> | |
78 | <value type="QString">-w</value> |
|
78 | <value type="QString">-w</value> | |
79 | <value type="QString">-r</value> |
|
79 | <value type="QString">-r</value> | |
80 | </valuelist> |
|
80 | </valuelist> | |
81 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> |
|
81 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |
82 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w </value> |
|
82 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w </value> | |
83 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
83 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
84 | </valuemap> |
|
84 | </valuemap> | |
85 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> |
|
85 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |
86 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> |
|
86 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |
87 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
87 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
88 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> |
|
88 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |
89 | </valuemap> |
|
89 | </valuemap> | |
90 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> |
|
90 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |
91 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
91 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
92 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> |
|
92 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
93 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
93 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</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">Qt4ProjectManager.MakeStep</value> |
|
95 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
96 | <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> |
|
96 | <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> | |
97 | <value type="QString">-w</value> |
|
97 | <value type="QString">-w</value> | |
98 | <value type="QString">-r</value> |
|
98 | <value type="QString">-r</value> | |
99 | </valuelist> |
|
99 | </valuelist> | |
100 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> |
|
100 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |
101 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w clean</value> |
|
101 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w clean</value> | |
102 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
102 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
103 | </valuemap> |
|
103 | </valuemap> | |
104 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> |
|
104 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |
105 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> |
|
105 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |
106 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
106 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
107 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> |
|
107 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |
108 | </valuemap> |
|
108 | </valuemap> | |
109 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
109 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |
110 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
110 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |
111 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
111 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |
112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value> |
|
112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value> | |
113 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
113 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |
115 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> |
|
115 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |
116 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/gse_lesia</value> |
|
116 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/gse_lesia</value> | |
117 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
117 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> | |
118 | </valuemap> |
|
118 | </valuemap> | |
119 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value> |
|
119 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value> | |
120 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> |
|
120 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> | |
121 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
121 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
122 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> |
|
122 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> | |
123 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> |
|
123 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> | |
124 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
124 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
125 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> |
|
125 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> | |
126 | </valuemap> |
|
126 | </valuemap> | |
127 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> |
|
127 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> | |
128 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value> |
|
128 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value> | |
129 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
129 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
130 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> |
|
130 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> | |
131 | </valuemap> |
|
131 | </valuemap> | |
132 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> |
|
132 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> | |
133 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/> |
|
133 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/> | |
134 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> |
|
134 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> | |
135 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
135 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> | |
136 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
136 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |
137 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
137 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |
138 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
138 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |
139 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
139 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |
140 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
140 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |
141 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
141 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |
142 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
142 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |
143 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
143 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |
144 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
144 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |
145 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
145 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |
146 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
146 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |
147 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
147 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |
148 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
148 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |
149 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
149 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |
150 | <value type="int">0</value> |
|
150 | <value type="int">0</value> | |
151 | <value type="int">1</value> |
|
151 | <value type="int">1</value> | |
152 | <value type="int">2</value> |
|
152 | <value type="int">2</value> | |
153 | <value type="int">3</value> |
|
153 | <value type="int">3</value> | |
154 | <value type="int">4</value> |
|
154 | <value type="int">4</value> | |
155 | <value type="int">5</value> |
|
155 | <value type="int">5</value> | |
156 | <value type="int">6</value> |
|
156 | <value type="int">6</value> | |
157 | <value type="int">7</value> |
|
157 | <value type="int">7</value> | |
158 | <value type="int">8</value> |
|
158 | <value type="int">8</value> | |
159 | <value type="int">9</value> |
|
159 | <value type="int">9</value> | |
160 | <value type="int">10</value> |
|
160 | <value type="int">10</value> | |
161 | <value type="int">11</value> |
|
161 | <value type="int">11</value> | |
162 | <value type="int">12</value> |
|
162 | <value type="int">12</value> | |
163 | <value type="int">13</value> |
|
163 | <value type="int">13</value> | |
164 | <value type="int">14</value> |
|
164 | <value type="int">14</value> | |
165 | </valuelist> |
|
165 | </valuelist> | |
166 | <value type="int" key="PE.EnvironmentAspect.Base">2</value> |
|
166 | <value type="int" key="PE.EnvironmentAspect.Base">2</value> | |
167 | <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> |
|
167 | <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> | |
168 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">gselesia</value> |
|
168 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">gselesia</value> | |
169 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
169 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
170 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/opt/LPPMON_PLUGINS_PAUL/gse_lesia/gselesia.pro</value> |
|
170 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/opt/LPPMON_PLUGINS_PAUL/gse_lesia/gselesia.pro</value> | |
171 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> |
|
171 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> | |
172 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">gselesia.pro</value> |
|
172 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">gselesia.pro</value> | |
173 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value> |
|
173 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value> | |
174 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value> |
|
174 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value> | |
175 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value> |
|
175 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value> | |
176 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> |
|
176 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> | |
177 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> |
|
177 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> | |
178 | <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value> |
|
178 | <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value> | |
179 | <value type="bool" key="RunConfiguration.UseMultiProcess">false</value> |
|
179 | <value type="bool" key="RunConfiguration.UseMultiProcess">false</value> | |
180 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> |
|
180 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | |
181 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> |
|
181 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> | |
182 | </valuemap> |
|
182 | </valuemap> | |
183 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> |
|
183 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> | |
184 | </valuemap> |
|
184 | </valuemap> | |
185 | </data> |
|
185 | </data> | |
186 | <data> |
|
186 | <data> | |
187 | <variable>ProjectExplorer.Project.TargetCount</variable> |
|
187 | <variable>ProjectExplorer.Project.TargetCount</variable> | |
188 | <value type="int">1</value> |
|
188 | <value type="int">1</value> | |
189 | </data> |
|
189 | </data> | |
190 | <data> |
|
190 | <data> | |
191 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> |
|
191 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> | |
192 | <value type="QByteArray">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value> |
|
192 | <value type="QByteArray">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value> | |
193 | </data> |
|
193 | </data> | |
194 | <data> |
|
194 | <data> | |
195 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> |
|
195 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> | |
196 | <value type="int">14</value> |
|
196 | <value type="int">14</value> | |
197 | </data> |
|
197 | </data> | |
198 | </qtcreator> |
|
198 | </qtcreator> |
1 | NO CONTENT: modified file, binary diff hidden |
|
NO CONTENT: modified file, binary diff hidden |
@@ -1,270 +1,270 | |||||
1 | #include "entermode.h" |
|
1 | #include "entermode.h" | |
2 |
|
2 | |||
3 | EnterMode::EnterMode(QWidget *parent) : |
|
3 | EnterMode::EnterMode(QWidget *parent) : | |
4 | QWidget(parent) |
|
4 | QWidget(parent) | |
5 | { |
|
5 | { | |
6 | button_enterModeStandby = new QPushButton(tr("STANDBY")); |
|
6 | button_enterModeStandby = new QPushButton(tr("STANDBY")); | |
7 | button_enterModeNormal = new QPushButton(tr("NORMAL")); |
|
7 | button_enterModeNormal = new QPushButton(tr("NORMAL")); | |
8 | button_enterModeBurst = new QPushButton(tr("BURST")); |
|
8 | button_enterModeBurst = new QPushButton(tr("BURST")); | |
9 | button_enterModeSBM1 = new QPushButton(tr("SBM1")); |
|
9 | button_enterModeSBM1 = new QPushButton(tr("SBM1")); | |
10 | button_enterModeSBM2 = new QPushButton(tr("SBM2")); |
|
10 | button_enterModeSBM2 = new QPushButton(tr("SBM2")); | |
11 |
|
11 | |||
12 | button_reset = new QPushButton(tr("RESET")); |
|
12 | button_reset = new QPushButton(tr("RESET")); | |
13 | button_updateInfo = new QPushButton(tr("UPDATE_INFO")); |
|
13 | button_updateInfo = new QPushButton(tr("UPDATE_INFO")); | |
14 | button_enableCalibration = new QPushButton(tr("ENABLE_CAL")); |
|
14 | button_enableCalibration = new QPushButton(tr("ENABLE_CAL")); | |
15 | button_disableCalibration = new QPushButton(tr("DISABLE_CAL")); |
|
15 | button_disableCalibration = new QPushButton(tr("DISABLE_CAL")); | |
16 | button_updateTime = new QPushButton(tr("UPDATE_TIME")); |
|
16 | button_updateTime = new QPushButton(tr("UPDATE_TIME")); | |
17 |
|
17 | |||
18 | mainLayout = new QGridLayout(); |
|
18 | mainLayout = new QGridLayout(); | |
19 | overallLayout = new QGridLayout(); |
|
19 | overallLayout = new QGridLayout(); | |
20 |
|
20 | |||
21 | layout_updateTime = new QVBoxLayout(); |
|
21 | layout_updateTime = new QVBoxLayout(); | |
22 | layout_otherTC = new QVBoxLayout(); |
|
22 | layout_otherTC = new QVBoxLayout(); | |
23 |
|
23 | |||
24 | arbitraryTime = new ArbitraryTime(0); |
|
24 | arbitraryTime = new ArbitraryTime(0); | |
25 |
|
25 | |||
26 | layout_otherTC->addWidget(button_reset); |
|
26 | layout_otherTC->addWidget(button_reset); | |
27 | layout_otherTC->addWidget(button_updateInfo); |
|
27 | layout_otherTC->addWidget(button_updateInfo); | |
28 | layout_otherTC->addWidget(button_enableCalibration); |
|
28 | layout_otherTC->addWidget(button_enableCalibration); | |
29 | layout_otherTC->addWidget(button_disableCalibration); |
|
29 | layout_otherTC->addWidget(button_disableCalibration); | |
30 | layout_otherTC->addStretch(); |
|
30 | layout_otherTC->addStretch(); | |
31 |
|
31 | |||
32 | layout_updateTime->addWidget(button_updateTime); |
|
32 | layout_updateTime->addWidget(button_updateTime); | |
33 | layout_updateTime->addWidget(arbitraryTime); |
|
33 | layout_updateTime->addWidget(arbitraryTime); | |
34 | layout_updateTime->addStretch(); |
|
34 | layout_updateTime->addStretch(); | |
35 |
|
35 | |||
36 | groupBox = new QGroupBox(tr("ENTER_MODE")); |
|
36 | groupBox = new QGroupBox(tr("ENTER_MODE")); | |
37 | groupBox_updateTime = new QGroupBox(tr("UPDATE_TIME")); |
|
37 | groupBox_updateTime = new QGroupBox(tr("UPDATE_TIME")); | |
38 | groupBox_otherTC = new QGroupBox(tr("OTHER TC")); |
|
38 | groupBox_otherTC = new QGroupBox(tr("OTHER TC")); | |
39 |
|
39 | |||
40 | mainLayout->addWidget(button_enterModeStandby, 0, 0, 1, 1); |
|
40 | mainLayout->addWidget(button_enterModeStandby, 0, 0, 1, 1); | |
41 | mainLayout->addWidget(button_enterModeNormal, 1, 0, 1, 1); |
|
41 | mainLayout->addWidget(button_enterModeNormal, 1, 0, 1, 1); | |
42 | mainLayout->addWidget(button_enterModeBurst, 2, 0, 1, 1); |
|
42 | mainLayout->addWidget(button_enterModeBurst, 2, 0, 1, 1); | |
43 | mainLayout->addWidget(button_enterModeSBM1, 3, 0, 1, 1); |
|
43 | mainLayout->addWidget(button_enterModeSBM1, 3, 0, 1, 1); | |
44 | mainLayout->addWidget(button_enterModeSBM2, 4, 0, 1, 1); |
|
44 | mainLayout->addWidget(button_enterModeSBM2, 4, 0, 1, 1); | |
45 |
|
45 | |||
46 | mainLayout->setColumnStretch(1, 1); |
|
46 | mainLayout->setColumnStretch(1, 1); | |
47 | mainLayout->setRowStretch(5, 1); |
|
47 | mainLayout->setRowStretch(5, 1); | |
48 |
|
48 | |||
49 | groupBox->setLayout(mainLayout); |
|
49 | groupBox->setLayout(mainLayout); | |
50 | groupBox_otherTC->setLayout(layout_otherTC); |
|
50 | groupBox_otherTC->setLayout(layout_otherTC); | |
51 | groupBox_updateTime->setLayout(layout_updateTime); |
|
51 | groupBox_updateTime->setLayout(layout_updateTime); | |
52 |
|
52 | |||
53 | parameterDump = new ParameterDump(); |
|
53 | parameterDump = new ParameterDump(); | |
54 |
|
54 | |||
55 | connect(this->button_reset, SIGNAL(clicked()), this, SLOT(sendReset())); |
|
55 | connect(this->button_reset, SIGNAL(clicked()), this, SLOT(sendReset())); | |
56 |
|
56 | |||
57 | connect(this->button_enterModeStandby, SIGNAL(clicked()), this, SLOT(enterModeStandby())); |
|
57 | connect(this->button_enterModeStandby, SIGNAL(clicked()), this, SLOT(enterModeStandby())); | |
58 | connect(this->button_enterModeNormal, SIGNAL(clicked()), this, SLOT(enterModeNormal())); |
|
58 | connect(this->button_enterModeNormal, SIGNAL(clicked()), this, SLOT(enterModeNormal())); | |
59 | connect(this->button_enterModeBurst, SIGNAL(clicked()), this, SLOT(enterModeBurst())); |
|
59 | connect(this->button_enterModeBurst, SIGNAL(clicked()), this, SLOT(enterModeBurst())); | |
60 | connect(this->button_enterModeSBM1, SIGNAL(clicked()), this, SLOT(enterModeSBM1())); |
|
60 | connect(this->button_enterModeSBM1, SIGNAL(clicked()), this, SLOT(enterModeSBM1())); | |
61 | connect(this->button_enterModeSBM2, SIGNAL(clicked()), this, SLOT(enterModeSBM2())); |
|
61 | connect(this->button_enterModeSBM2, SIGNAL(clicked()), this, SLOT(enterModeSBM2())); | |
62 |
|
62 | |||
63 | connect(this->button_updateInfo, SIGNAL(clicked()), this, SLOT(sendUpdateInfo())); |
|
63 | connect(this->button_updateInfo, SIGNAL(clicked()), this, SLOT(sendUpdateInfo())); | |
64 | connect(this->button_enableCalibration, SIGNAL(clicked()), this, SLOT(sendEnableCalibration())); |
|
64 | connect(this->button_enableCalibration, SIGNAL(clicked()), this, SLOT(sendEnableCalibration())); | |
65 | connect(this->button_disableCalibration, SIGNAL(clicked()), this, SLOT(sendDisableCalibration())); |
|
65 | connect(this->button_disableCalibration, SIGNAL(clicked()), this, SLOT(sendDisableCalibration())); | |
66 | connect(this->button_updateTime, SIGNAL(clicked()), this->arbitraryTime, SLOT(sendCurrentTimeToSend())); |
|
66 | connect(this->button_updateTime, SIGNAL(clicked()), this->arbitraryTime, SLOT(sendCurrentTimeToSend())); | |
67 |
|
67 | |||
68 | overallLayout->addWidget(groupBox, 0, 0, 1, 1); |
|
68 | overallLayout->addWidget(groupBox, 0, 0, 1, 1); | |
69 | overallLayout->addWidget(groupBox_updateTime, 1, 0, 1, 1); |
|
69 | overallLayout->addWidget(groupBox_updateTime, 1, 0, 1, 1); | |
70 | overallLayout->addWidget(groupBox_otherTC, 2, 0, 1, 1); |
|
70 | overallLayout->addWidget(groupBox_otherTC, 2, 0, 1, 1); | |
71 |
|
71 | |||
72 | this->setLayout(overallLayout); |
|
72 | this->setLayout(overallLayout); | |
73 | } |
|
73 | } | |
74 |
|
74 | |||
75 | void EnterMode::sendEnterMode( unsigned char mode) |
|
75 | void EnterMode::sendEnterMode( unsigned char mode) | |
76 | { |
|
76 | { | |
77 | Packet_TC_LFR_ENTER_MODE_t packet; |
|
77 | Packet_TC_LFR_ENTER_MODE_t packet; | |
78 | unsigned char crcAsTwoBytes[2]; |
|
78 | unsigned char crcAsTwoBytes[2]; | |
79 |
|
79 | |||
80 | packet.packetID[0] = (unsigned char) (TC_LFR_PACKET_ID >> 8); |
|
80 | packet.packetID[0] = (unsigned char) (TC_LFR_PACKET_ID >> 8); | |
81 | packet.packetID[1] = (unsigned char) (TC_LFR_PACKET_ID ); |
|
81 | packet.packetID[1] = (unsigned char) (TC_LFR_PACKET_ID ); | |
82 | packet.packetSequenceControl[0] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL >> 8); |
|
82 | packet.packetSequenceControl[0] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL >> 8); | |
83 | packet.packetSequenceControl[1] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL ); |
|
83 | packet.packetSequenceControl[1] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL ); | |
84 | packet.packetLength[0] = (unsigned char) (PACKET_LENGTH_TC_LFR_ENTER_MODE >> 8); |
|
84 | packet.packetLength[0] = (unsigned char) (PACKET_LENGTH_TC_LFR_ENTER_MODE >> 8); | |
85 | packet.packetLength[1] = (unsigned char) (PACKET_LENGTH_TC_LFR_ENTER_MODE ); |
|
85 | packet.packetLength[1] = (unsigned char) (PACKET_LENGTH_TC_LFR_ENTER_MODE ); | |
86 |
|
86 | |||
87 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; |
|
87 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; | |
88 | packet.serviceType = TC_TYPE_DEFAULT; |
|
88 | packet.serviceType = TC_TYPE_DEFAULT; | |
89 | packet.serviceSubType = TC_SUBTYPE_ENTER_MODE; |
|
89 | packet.serviceSubType = TC_SUBTYPE_ENTER_MODE; | |
90 |
packet.sourceID = SID_TC_D |
|
90 | packet.sourceID = SID_TC_GROUND; | |
91 | packet.spare = 0x00; |
|
91 | packet.spare = 0x00; | |
92 | packet.mode = mode; |
|
92 | packet.mode = mode; | |
93 | packet.enterModeTime[0] = 0x00; |
|
93 | packet.enterModeTime[0] = 0x00; | |
94 | packet.enterModeTime[1] = 0x00; |
|
94 | packet.enterModeTime[1] = 0x00; | |
95 | packet.enterModeTime[2] = 0x00; |
|
95 | packet.enterModeTime[2] = 0x00; | |
96 | packet.enterModeTime[3] = 0x00; |
|
96 | packet.enterModeTime[3] = 0x00; | |
97 | packet.enterModeTime[4] = 0x00; |
|
97 | packet.enterModeTime[4] = 0x00; | |
98 | packet.enterModeTime[5] = 0x00; |
|
98 | packet.enterModeTime[5] = 0x00; | |
99 |
|
99 | |||
100 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, |
|
100 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, | |
101 | PACKET_LENGTH_TC_LFR_ENTER_MODE + CCSDS_TC_TM_PACKET_OFFSET - 2); |
|
101 | PACKET_LENGTH_TC_LFR_ENTER_MODE + CCSDS_TC_TM_PACKET_OFFSET - 2); | |
102 | packet.crc[0] = crcAsTwoBytes[0]; |
|
102 | packet.crc[0] = crcAsTwoBytes[0]; | |
103 | packet.crc[1] = crcAsTwoBytes[1]; |
|
103 | packet.crc[1] = crcAsTwoBytes[1]; | |
104 |
|
104 | |||
105 | emit WriteSPWSig((char*) &packet, PACKET_LENGTH_TC_LFR_ENTER_MODE + CCSDS_TC_TM_PACKET_OFFSET, |
|
105 | emit WriteSPWSig((char*) &packet, PACKET_LENGTH_TC_LFR_ENTER_MODE + CCSDS_TC_TM_PACKET_OFFSET, | |
106 | CCSDS_NODE_ADDRESS, CCSDS_USER_APP); |
|
106 | CCSDS_NODE_ADDRESS, CCSDS_USER_APP); | |
107 | } |
|
107 | } | |
108 |
|
108 | |||
109 | void EnterMode::enterModeStandby() |
|
109 | void EnterMode::enterModeStandby() | |
110 | { |
|
110 | { | |
111 | sendEnterMode( 0 ); |
|
111 | sendEnterMode( 0 ); | |
112 | } |
|
112 | } | |
113 |
|
113 | |||
114 | void EnterMode::enterModeNormal() |
|
114 | void EnterMode::enterModeNormal() | |
115 | { |
|
115 | { | |
116 | sendEnterMode( 1 ); |
|
116 | sendEnterMode( 1 ); | |
117 | } |
|
117 | } | |
118 |
|
118 | |||
119 | void EnterMode::enterModeBurst() |
|
119 | void EnterMode::enterModeBurst() | |
120 | { |
|
120 | { | |
121 | sendEnterMode( 2 ); |
|
121 | sendEnterMode( 2 ); | |
122 | } |
|
122 | } | |
123 |
|
123 | |||
124 | void EnterMode::enterModeSBM1() |
|
124 | void EnterMode::enterModeSBM1() | |
125 | { |
|
125 | { | |
126 | sendEnterMode( 3 ); |
|
126 | sendEnterMode( 3 ); | |
127 | } |
|
127 | } | |
128 |
|
128 | |||
129 | void EnterMode::enterModeSBM2() |
|
129 | void EnterMode::enterModeSBM2() | |
130 | { |
|
130 | { | |
131 | sendEnterMode( 4 ); |
|
131 | sendEnterMode( 4 ); | |
132 | } |
|
132 | } | |
133 |
|
133 | |||
134 | void EnterMode::sendReset() |
|
134 | void EnterMode::sendReset() | |
135 | { |
|
135 | { | |
136 | Packet_TC_LFR_RESET_t packet; |
|
136 | Packet_TC_LFR_RESET_t packet; | |
137 | unsigned char crcAsTwoBytes[2]; |
|
137 | unsigned char crcAsTwoBytes[2]; | |
138 |
|
138 | |||
139 | packet.packetID[0] = (unsigned char) (TC_LFR_PACKET_ID >> 8); |
|
139 | packet.packetID[0] = (unsigned char) (TC_LFR_PACKET_ID >> 8); | |
140 | packet.packetID[1] = (unsigned char) (TC_LFR_PACKET_ID ); |
|
140 | packet.packetID[1] = (unsigned char) (TC_LFR_PACKET_ID ); | |
141 | packet.packetSequenceControl[0] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL >> 8); |
|
141 | packet.packetSequenceControl[0] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL >> 8); | |
142 | packet.packetSequenceControl[1] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL ); |
|
142 | packet.packetSequenceControl[1] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL ); | |
143 | packet.packetLength[0] = (unsigned char) (PACKET_LENGTH_TC_LFR_RESET >> 8); |
|
143 | packet.packetLength[0] = (unsigned char) (PACKET_LENGTH_TC_LFR_RESET >> 8); | |
144 | packet.packetLength[1] = (unsigned char) (PACKET_LENGTH_TC_LFR_RESET ); |
|
144 | packet.packetLength[1] = (unsigned char) (PACKET_LENGTH_TC_LFR_RESET ); | |
145 |
|
145 | |||
146 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; |
|
146 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; | |
147 | packet.serviceType = TC_TYPE_DEFAULT; |
|
147 | packet.serviceType = TC_TYPE_DEFAULT; | |
148 | packet.serviceSubType = TC_SUBTYPE_RESET; |
|
148 | packet.serviceSubType = TC_SUBTYPE_RESET; | |
149 |
packet.sourceID = SID_TC_D |
|
149 | packet.sourceID = SID_TC_GROUND; | |
150 |
|
150 | |||
151 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, |
|
151 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, | |
152 | PACKET_LENGTH_TC_LFR_RESET + CCSDS_TC_TM_PACKET_OFFSET - 2); |
|
152 | PACKET_LENGTH_TC_LFR_RESET + CCSDS_TC_TM_PACKET_OFFSET - 2); | |
153 | packet.crc[0] = crcAsTwoBytes[0]; |
|
153 | packet.crc[0] = crcAsTwoBytes[0]; | |
154 | packet.crc[1] = crcAsTwoBytes[1]; |
|
154 | packet.crc[1] = crcAsTwoBytes[1]; | |
155 |
|
155 | |||
156 | emit WriteSPWSig((char*) &packet, PACKET_LENGTH_TC_LFR_RESET + CCSDS_TC_TM_PACKET_OFFSET, |
|
156 | emit WriteSPWSig((char*) &packet, PACKET_LENGTH_TC_LFR_RESET + CCSDS_TC_TM_PACKET_OFFSET, | |
157 | CCSDS_NODE_ADDRESS, CCSDS_USER_APP); |
|
157 | CCSDS_NODE_ADDRESS, CCSDS_USER_APP); | |
158 | } |
|
158 | } | |
159 |
|
159 | |||
160 | void EnterMode::sendUpdateInfo() |
|
160 | void EnterMode::sendUpdateInfo() | |
161 | { |
|
161 | { | |
162 | Packet_TC_LFR_UPDATE_INFO_t packet; |
|
162 | Packet_TC_LFR_UPDATE_INFO_t packet; | |
163 | unsigned char crcAsTwoBytes[2]; |
|
163 | unsigned char crcAsTwoBytes[2]; | |
164 |
|
164 | |||
165 | packet.packetID[0] = (unsigned char) (TC_LFR_PACKET_ID >> 8); |
|
165 | packet.packetID[0] = (unsigned char) (TC_LFR_PACKET_ID >> 8); | |
166 | packet.packetID[1] = (unsigned char) (TC_LFR_PACKET_ID ); |
|
166 | packet.packetID[1] = (unsigned char) (TC_LFR_PACKET_ID ); | |
167 | packet.packetSequenceControl[0] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL >> 8); |
|
167 | packet.packetSequenceControl[0] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL >> 8); | |
168 | packet.packetSequenceControl[1] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL ); |
|
168 | packet.packetSequenceControl[1] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL ); | |
169 | packet.packetLength[0] = (unsigned char) (PACKET_LENGTH_TC_LFR_UPDATE_INFO >> 8); |
|
169 | packet.packetLength[0] = (unsigned char) (PACKET_LENGTH_TC_LFR_UPDATE_INFO >> 8); | |
170 | packet.packetLength[1] = (unsigned char) (PACKET_LENGTH_TC_LFR_UPDATE_INFO ); |
|
170 | packet.packetLength[1] = (unsigned char) (PACKET_LENGTH_TC_LFR_UPDATE_INFO ); | |
171 |
|
171 | |||
172 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; |
|
172 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; | |
173 | packet.serviceType = TC_TYPE_DEFAULT; |
|
173 | packet.serviceType = TC_TYPE_DEFAULT; | |
174 | packet.serviceSubType = TC_SUBTYPE_UPDATE_INFO; |
|
174 | packet.serviceSubType = TC_SUBTYPE_UPDATE_INFO; | |
175 |
packet.sourceID = SID_TC_D |
|
175 | packet.sourceID = SID_TC_GROUND; | |
176 |
|
176 | |||
177 | packet.set1 = 0x00; |
|
177 | packet.set1 = 0x00; | |
178 | packet.set2 = 0x00; |
|
178 | packet.set2 = 0x00; | |
179 | packet.set3_bias_setting_set1[0] = 0x00; |
|
179 | packet.set3_bias_setting_set1[0] = 0x00; | |
180 | packet.set3_bias_setting_set1[1] = 0x00; |
|
180 | packet.set3_bias_setting_set1[1] = 0x00; | |
181 | packet.set3_bias_setting_set1[2] = 0x00; |
|
181 | packet.set3_bias_setting_set1[2] = 0x00; | |
182 | packet.set3_bias_setting_set1[3] = 0x00; |
|
182 | packet.set3_bias_setting_set1[3] = 0x00; | |
183 | packet.set3_bias_setting_set1[4] = 0x00; |
|
183 | packet.set3_bias_setting_set1[4] = 0x00; | |
184 | packet.set3_bias_setting_set2[5] = 0x00; |
|
184 | packet.set3_bias_setting_set2[5] = 0x00; | |
185 | packet.set3_bias_voltage[0] = 0x00; |
|
185 | packet.set3_bias_voltage[0] = 0x00; | |
186 | packet.set3_bias_voltage[1] = 0x00; |
|
186 | packet.set3_bias_voltage[1] = 0x00; | |
187 | packet.set3_bias_voltage[2] = 0x00; |
|
187 | packet.set3_bias_voltage[2] = 0x00; | |
188 | packet.set3_bias_voltage[3] = 0x00; |
|
188 | packet.set3_bias_voltage[3] = 0x00; | |
189 | packet.set4[0] = 0x00; |
|
189 | packet.set4[0] = 0x00; | |
190 | packet.set4[1] = 0x00; |
|
190 | packet.set4[1] = 0x00; | |
191 | packet.set4[2] = 0x00; |
|
191 | packet.set4[2] = 0x00; | |
192 | packet.set4[3] = 0x00; |
|
192 | packet.set4[3] = 0x00; | |
193 | packet.set4[4] = 0x00; |
|
193 | packet.set4[4] = 0x00; | |
194 | packet.set4[5] = 0x00; |
|
194 | packet.set4[5] = 0x00; | |
195 | packet.set4[6] = 0x00; |
|
195 | packet.set4[6] = 0x00; | |
196 | packet.set4[7] = 0x00; |
|
196 | packet.set4[7] = 0x00; | |
197 | packet.set5 = 0x00; |
|
197 | packet.set5 = 0x00; | |
198 | packet.set6 = 0x00; |
|
198 | packet.set6 = 0x00; | |
199 | packet.set7[0] = 0x00; |
|
199 | packet.set7[0] = 0x00; | |
200 | packet.set7[1] = 0x00; |
|
200 | packet.set7[1] = 0x00; | |
201 | packet.set7[2] = 0x00; |
|
201 | packet.set7[2] = 0x00; | |
202 | packet.set7[3] = 0x00; |
|
202 | packet.set7[3] = 0x00; | |
203 | packet.set7[4] = 0x00; |
|
203 | packet.set7[4] = 0x00; | |
204 | packet.set7[5] = 0x00; |
|
204 | packet.set7[5] = 0x00; | |
205 | packet.set7[6] = 0x00; |
|
205 | packet.set7[6] = 0x00; | |
206 | packet.set7[7] = 0x00; |
|
206 | packet.set7[7] = 0x00; | |
207 |
|
207 | |||
208 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, |
|
208 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, | |
209 | PACKET_LENGTH_TC_LFR_UPDATE_INFO + CCSDS_TC_TM_PACKET_OFFSET - 2); |
|
209 | PACKET_LENGTH_TC_LFR_UPDATE_INFO + CCSDS_TC_TM_PACKET_OFFSET - 2); | |
210 | packet.crc[0] = crcAsTwoBytes[0]; |
|
210 | packet.crc[0] = crcAsTwoBytes[0]; | |
211 | packet.crc[1] = crcAsTwoBytes[1]; |
|
211 | packet.crc[1] = crcAsTwoBytes[1]; | |
212 |
|
212 | |||
213 | emit WriteSPWSig((char*) &packet, PACKET_LENGTH_TC_LFR_UPDATE_INFO + CCSDS_TC_TM_PACKET_OFFSET, |
|
213 | emit WriteSPWSig((char*) &packet, PACKET_LENGTH_TC_LFR_UPDATE_INFO + CCSDS_TC_TM_PACKET_OFFSET, | |
214 | CCSDS_NODE_ADDRESS, CCSDS_USER_APP); |
|
214 | CCSDS_NODE_ADDRESS, CCSDS_USER_APP); | |
215 | } |
|
215 | } | |
216 |
|
216 | |||
217 | void EnterMode::sendEnableCalibration() |
|
217 | void EnterMode::sendEnableCalibration() | |
218 | { |
|
218 | { | |
219 | Packet_TC_LFR_ENABLE_DISABLE_CALIBRATION_t packet; |
|
219 | Packet_TC_LFR_ENABLE_DISABLE_CALIBRATION_t packet; | |
220 | unsigned char crcAsTwoBytes[2]; |
|
220 | unsigned char crcAsTwoBytes[2]; | |
221 |
|
221 | |||
222 | packet.packetID[0] = (unsigned char) (TC_LFR_PACKET_ID >> 8); |
|
222 | packet.packetID[0] = (unsigned char) (TC_LFR_PACKET_ID >> 8); | |
223 | packet.packetID[1] = (unsigned char) (TC_LFR_PACKET_ID ); |
|
223 | packet.packetID[1] = (unsigned char) (TC_LFR_PACKET_ID ); | |
224 | packet.packetSequenceControl[0] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL >> 8); |
|
224 | packet.packetSequenceControl[0] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL >> 8); | |
225 | packet.packetSequenceControl[1] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL ); |
|
225 | packet.packetSequenceControl[1] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL ); | |
226 | packet.packetLength[0] = (unsigned char) (PACKET_LENGTH_TC_LFR_ENABLE_CALIBRATION >> 8); |
|
226 | packet.packetLength[0] = (unsigned char) (PACKET_LENGTH_TC_LFR_ENABLE_CALIBRATION >> 8); | |
227 | packet.packetLength[1] = (unsigned char) (PACKET_LENGTH_TC_LFR_ENABLE_CALIBRATION ); |
|
227 | packet.packetLength[1] = (unsigned char) (PACKET_LENGTH_TC_LFR_ENABLE_CALIBRATION ); | |
228 |
|
228 | |||
229 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; |
|
229 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; | |
230 | packet.serviceType = TC_TYPE_DEFAULT; |
|
230 | packet.serviceType = TC_TYPE_DEFAULT; | |
231 | packet.serviceSubType = TC_SUBTYPE_ENABLE_CALIBRATION; |
|
231 | packet.serviceSubType = TC_SUBTYPE_ENABLE_CALIBRATION; | |
232 |
packet.sourceID = SID_TC_D |
|
232 | packet.sourceID = SID_TC_GROUND; | |
233 |
|
233 | |||
234 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, |
|
234 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, | |
235 | PACKET_LENGTH_TC_LFR_ENABLE_CALIBRATION + CCSDS_TC_TM_PACKET_OFFSET - 2); |
|
235 | PACKET_LENGTH_TC_LFR_ENABLE_CALIBRATION + CCSDS_TC_TM_PACKET_OFFSET - 2); | |
236 | packet.crc[0] = crcAsTwoBytes[0]; |
|
236 | packet.crc[0] = crcAsTwoBytes[0]; | |
237 | packet.crc[1] = crcAsTwoBytes[1]; |
|
237 | packet.crc[1] = crcAsTwoBytes[1]; | |
238 |
|
238 | |||
239 | emit WriteSPWSig((char*) &packet, PACKET_LENGTH_TC_LFR_ENABLE_CALIBRATION + CCSDS_TC_TM_PACKET_OFFSET, |
|
239 | emit WriteSPWSig((char*) &packet, PACKET_LENGTH_TC_LFR_ENABLE_CALIBRATION + CCSDS_TC_TM_PACKET_OFFSET, | |
240 | CCSDS_NODE_ADDRESS, CCSDS_USER_APP); |
|
240 | CCSDS_NODE_ADDRESS, CCSDS_USER_APP); | |
241 | } |
|
241 | } | |
242 |
|
242 | |||
243 | void EnterMode::sendDisableCalibration() |
|
243 | void EnterMode::sendDisableCalibration() | |
244 | { |
|
244 | { | |
245 | Packet_TC_LFR_ENABLE_DISABLE_CALIBRATION_t packet; |
|
245 | Packet_TC_LFR_ENABLE_DISABLE_CALIBRATION_t packet; | |
246 | unsigned char crcAsTwoBytes[2]; |
|
246 | unsigned char crcAsTwoBytes[2]; | |
247 |
|
247 | |||
248 | packet.packetID[0] = (unsigned char) (TC_LFR_PACKET_ID >> 8); |
|
248 | packet.packetID[0] = (unsigned char) (TC_LFR_PACKET_ID >> 8); | |
249 | packet.packetID[1] = (unsigned char) (TC_LFR_PACKET_ID ); |
|
249 | packet.packetID[1] = (unsigned char) (TC_LFR_PACKET_ID ); | |
250 | packet.packetSequenceControl[0] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL >> 8); |
|
250 | packet.packetSequenceControl[0] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL >> 8); | |
251 | packet.packetSequenceControl[1] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL ); |
|
251 | packet.packetSequenceControl[1] = (unsigned char) (TC_LFR_PACKET_SEQUENCE_CONTROL ); | |
252 | packet.packetLength[0] = (unsigned char) (PACKET_LENGTH_TC_LFR_DISABLE_CALIBRATION >> 8); |
|
252 | packet.packetLength[0] = (unsigned char) (PACKET_LENGTH_TC_LFR_DISABLE_CALIBRATION >> 8); | |
253 | packet.packetLength[1] = (unsigned char) (PACKET_LENGTH_TC_LFR_DISABLE_CALIBRATION ); |
|
253 | packet.packetLength[1] = (unsigned char) (PACKET_LENGTH_TC_LFR_DISABLE_CALIBRATION ); | |
254 |
|
254 | |||
255 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; |
|
255 | packet.ccsdsSecHeaderFlag_pusVersion_ack = 0x19; | |
256 | packet.serviceType = TC_TYPE_DEFAULT; |
|
256 | packet.serviceType = TC_TYPE_DEFAULT; | |
257 | packet.serviceSubType = TC_SUBTYPE_DISABLE_CALIBRATION; |
|
257 | packet.serviceSubType = TC_SUBTYPE_DISABLE_CALIBRATION; | |
258 |
packet.sourceID = SID_TC_D |
|
258 | packet.sourceID = SID_TC_GROUND; | |
259 |
|
259 | |||
260 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, |
|
260 | parameterDump->GetCRCAsTwoBytes((unsigned char*) &packet, crcAsTwoBytes, | |
261 | PACKET_LENGTH_TC_LFR_DISABLE_CALIBRATION + CCSDS_TC_TM_PACKET_OFFSET - 2); |
|
261 | PACKET_LENGTH_TC_LFR_DISABLE_CALIBRATION + CCSDS_TC_TM_PACKET_OFFSET - 2); | |
262 | packet.crc[0] = crcAsTwoBytes[0]; |
|
262 | packet.crc[0] = crcAsTwoBytes[0]; | |
263 | packet.crc[1] = crcAsTwoBytes[1]; |
|
263 | packet.crc[1] = crcAsTwoBytes[1]; | |
264 |
|
264 | |||
265 | emit WriteSPWSig((char*) &packet, PACKET_LENGTH_TC_LFR_DISABLE_CALIBRATION + CCSDS_TC_TM_PACKET_OFFSET, |
|
265 | emit WriteSPWSig((char*) &packet, PACKET_LENGTH_TC_LFR_DISABLE_CALIBRATION + CCSDS_TC_TM_PACKET_OFFSET, | |
266 | CCSDS_NODE_ADDRESS, CCSDS_USER_APP); |
|
266 | CCSDS_NODE_ADDRESS, CCSDS_USER_APP); | |
267 | } |
|
267 | } | |
268 |
|
268 | |||
269 |
|
269 | |||
270 |
|
270 |
@@ -1,903 +1,967 | |||||
1 | #include "tmstatistics.h" |
|
1 | #include "tmstatistics.h" | |
2 | #include <QtGui> |
|
2 | #include <QtGui> | |
3 | #include <QFontInfo> |
|
3 | #include <QFontInfo> | |
4 | #include <stdio.h> |
|
4 | #include <stdio.h> | |
5 |
|
5 | |||
6 | TMStatistics::TMStatistics(QWidget *parent) : |
|
6 | TMStatistics::TMStatistics(QWidget *parent) : | |
7 | QWidget(parent) |
|
7 | QWidget(parent) | |
8 | { |
|
8 | { | |
9 | // Create Fonts |
|
9 | // Create Fonts | |
10 | QFont font; |
|
10 | QFont font; | |
11 | font = QFont(this->fontInfo().family(), STATISTICS_FONT_SIZE, QFont::Light); |
|
11 | font = QFont(this->fontInfo().family(), STATISTICS_FONT_SIZE, QFont::Light); | |
12 |
|
12 | |||
13 | label_UNKNOWN = new QLabel("UNKNOWN"); |
|
13 | label_UNKNOWN = new QLabel("UNKNOWN"); | |
14 | label_UNKNOWN_nb = new QLabel("-"); |
|
14 | label_UNKNOWN_nb = new QLabel("-"); | |
15 |
|
15 | |||
16 | mainLayout = new QGridLayout(); |
|
16 | mainLayout = new QGridLayout(); | |
17 | layout_stat = new QGridLayout(); // TM stastictics |
|
17 | layout_stat = new QGridLayout(); // TM stastictics | |
18 | layout_NORM = new QGridLayout(); // TM_LFR_SCIENCE_NORMAL_ |
|
18 | layout_NORM = new QGridLayout(); // TM_LFR_SCIENCE_NORMAL_ | |
19 | layout_BURST = new QGridLayout(); // TM_LFR_SCIENCE_BURST_ |
|
19 | layout_BURST = new QGridLayout(); // TM_LFR_SCIENCE_BURST_ | |
20 | layout_SBM1 = new QGridLayout(); // TM_LFR_SCIENCE_SBM1_ |
|
20 | layout_SBM1 = new QGridLayout(); // TM_LFR_SCIENCE_SBM1_ | |
21 | layout_SBM2 = new QGridLayout(); // TM_LFR_SCIENCE_SBM2_ |
|
21 | layout_SBM2 = new QGridLayout(); // TM_LFR_SCIENCE_SBM2_ | |
22 | layout_last = new QGridLayout(); // last TM description |
|
22 | layout_last = new QGridLayout(); // last TM description | |
23 | layout_record = new QVBoxLayout(); |
|
23 | layout_record = new QVBoxLayout(); | |
24 |
|
24 | |||
25 | //*************** |
|
25 | //*************** | |
26 | // TM_LFR_TC_EXE_ |
|
26 | // TM_LFR_TC_EXE_ | |
27 | label_SUCC = new QLabel("SUCCESS"); |
|
27 | label_SUCC = new QLabel("SUCCESS"); | |
28 | label_INCO = new QLabel("INCONSISTENT"); |
|
28 | label_INCO = new QLabel("INCONSISTENT"); | |
29 | label_NOTE = new QLabel("NOT_EXECUTABLE"); |
|
29 | label_NOTE = new QLabel("NOT_EXECUTABLE"); | |
30 | label_NOTI = new QLabel("NOT_IMPLEMENTED"); |
|
30 | label_NOTI = new QLabel("NOT_IMPLEMENTED"); | |
31 | label_ERRO = new QLabel("ERROR"); |
|
31 | label_ERRO = new QLabel("ERROR"); | |
32 | label_CORR = new QLabel("CORRUPTED"); |
|
32 | label_CORR = new QLabel("CORRUPTED"); | |
33 | label_HK = new QLabel("TM_LFR_HK"); |
|
33 | label_HK = new QLabel("TM_LFR_HK"); | |
34 | label_DUMP = new QLabel("TM_LFR_PARAMETER_DUMP"); |
|
34 | label_DUMP = new QLabel("TM_LFR_PARAMETER_DUMP"); | |
35 | // |
|
35 | // | |
36 | label_SUCC_nb = new QLabel("-"); |
|
36 | label_SUCC_nb = new QLabel("-"); | |
37 | label_INCO_nb = new QLabel("-"); |
|
37 | label_INCO_nb = new QLabel("-"); | |
38 | label_NOTE_nb = new QLabel("-"); |
|
38 | label_NOTE_nb = new QLabel("-"); | |
39 | label_NOTI_nb = new QLabel("-"); |
|
39 | label_NOTI_nb = new QLabel("-"); | |
40 | label_ERRO_nb = new QLabel("-"); |
|
40 | label_ERRO_nb = new QLabel("-"); | |
41 | label_CORR_nb = new QLabel("-"); |
|
41 | label_CORR_nb = new QLabel("-"); | |
42 | label_HK_nb = new QLabel("-"); |
|
42 | label_HK_nb = new QLabel("-"); | |
43 | label_DUMP_nb = new QLabel("-"); |
|
43 | label_DUMP_nb = new QLabel("-"); | |
44 |
|
44 | |||
45 | //*********************** |
|
45 | //*********************** | |
46 | // TM_LFR_SCIENCE_NORMAL_ |
|
46 | // TM_LFR_SCIENCE_NORMAL_ | |
47 | label_NORM_SWF_F0 = new QLabel("SWF_F0"); |
|
47 | label_NORM_SWF_F0 = new QLabel("SWF_F0"); | |
48 | label_NORM_SWF_F1 = new QLabel("SWF_F1"); |
|
48 | label_NORM_SWF_F1 = new QLabel("SWF_F1"); | |
49 | label_NORM_SWF_F2 = new QLabel("SWF_F2"); |
|
49 | label_NORM_SWF_F2 = new QLabel("SWF_F2"); | |
50 | label_NORM_CWF_F3 = new QLabel("CWF_F3"); |
|
50 | label_NORM_CWF_F3 = new QLabel("CWF_F3"); | |
51 | label_NORM_ASM_F0 = new QLabel("ASM_F0"); |
|
51 | label_NORM_ASM_F0 = new QLabel("ASM_F0"); | |
52 | label_NORM_ASM_F1 = new QLabel("ASM_F1"); |
|
52 | label_NORM_ASM_F1 = new QLabel("ASM_F1"); | |
53 | label_NORM_ASM_F2 = new QLabel("ASM_F2"); |
|
53 | label_NORM_ASM_F2 = new QLabel("ASM_F2"); | |
54 | label_NORM_BP1_F0 = new QLabel("BP1_F0"); |
|
54 | label_NORM_BP1_F0 = new QLabel("BP1_F0"); | |
55 | label_NORM_BP1_F1 = new QLabel("BP1_F1"); |
|
55 | label_NORM_BP1_F1 = new QLabel("BP1_F1"); | |
56 | label_NORM_BP1_F2 = new QLabel("BP1_F2"); |
|
56 | label_NORM_BP1_F2 = new QLabel("BP1_F2"); | |
57 | label_NORM_BP2_F0 = new QLabel("BP2_F0"); |
|
57 | label_NORM_BP2_F0 = new QLabel("BP2_F0"); | |
58 | label_NORM_BP2_F1 = new QLabel("BP2_F1"); |
|
58 | label_NORM_BP2_F1 = new QLabel("BP2_F1"); | |
59 | label_NORM_BP2_F2 = new QLabel("BP2_F2"); |
|
59 | label_NORM_BP2_F2 = new QLabel("BP2_F2"); | |
60 | // |
|
60 | // | |
61 | label_NORM_SWF_F0_nb = new QLabel("-"); |
|
61 | label_NORM_SWF_F0_nb = new QLabel("-"); | |
62 | label_NORM_SWF_F1_nb = new QLabel("-"); |
|
62 | label_NORM_SWF_F1_nb = new QLabel("-"); | |
63 | label_NORM_SWF_F2_nb = new QLabel("-"); |
|
63 | label_NORM_SWF_F2_nb = new QLabel("-"); | |
64 | label_NORM_CWF_F3_nb = new QLabel("-"); |
|
64 | label_NORM_CWF_F3_nb = new QLabel("-"); | |
65 | label_NORM_ASM_F0_nb = new QLabel("-"); |
|
65 | label_NORM_ASM_F0_nb = new QLabel("-"); | |
66 | label_NORM_ASM_F1_nb = new QLabel("-"); |
|
66 | label_NORM_ASM_F1_nb = new QLabel("-"); | |
67 | label_NORM_ASM_F2_nb = new QLabel("-"); |
|
67 | label_NORM_ASM_F2_nb = new QLabel("-"); | |
68 | label_NORM_BP1_F0_nb = new QLabel("-"); |
|
68 | label_NORM_BP1_F0_nb = new QLabel("-"); | |
69 | label_NORM_BP1_F1_nb = new QLabel("-"); |
|
69 | label_NORM_BP1_F1_nb = new QLabel("-"); | |
70 | label_NORM_BP1_F2_nb = new QLabel("-"); |
|
70 | label_NORM_BP1_F2_nb = new QLabel("-"); | |
71 | label_NORM_BP2_F0_nb = new QLabel("-"); |
|
71 | label_NORM_BP2_F0_nb = new QLabel("-"); | |
72 | label_NORM_BP2_F1_nb = new QLabel("-"); |
|
72 | label_NORM_BP2_F1_nb = new QLabel("-"); | |
73 | label_NORM_BP2_F2_nb = new QLabel("-"); |
|
73 | label_NORM_BP2_F2_nb = new QLabel("-"); | |
74 |
|
74 | |||
75 | //********************** |
|
75 | //********************** | |
76 | // TM_LFR_SCIENCE_BURST_ |
|
76 | // TM_LFR_SCIENCE_BURST_ | |
77 | label_BURST_CWF_F2 = new QLabel("CWF_F2"); |
|
77 | label_BURST_CWF_F2 = new QLabel("CWF_F2"); | |
78 | label_BURST_BP1_F0 = new QLabel("BP1_F0"); |
|
78 | label_BURST_BP1_F0 = new QLabel("BP1_F0"); | |
79 | label_BURST_BP2_F0 = new QLabel("BP2_F0"); |
|
79 | label_BURST_BP2_F0 = new QLabel("BP2_F0"); | |
80 | label_BURST_BP1_F1 = new QLabel("BP1_F1"); |
|
80 | label_BURST_BP1_F1 = new QLabel("BP1_F1"); | |
81 | label_BURST_BP2_F1 = new QLabel("BP2_F1"); |
|
81 | label_BURST_BP2_F1 = new QLabel("BP2_F1"); | |
82 | // |
|
82 | // | |
83 | label_BURST_CWF_F2_nb = new QLabel("-"); |
|
83 | label_BURST_CWF_F2_nb = new QLabel("-"); | |
84 | label_BURST_BP1_F0_nb = new QLabel("-"); |
|
84 | label_BURST_BP1_F0_nb = new QLabel("-"); | |
85 | label_BURST_BP2_F0_nb = new QLabel("-"); |
|
85 | label_BURST_BP2_F0_nb = new QLabel("-"); | |
86 | label_BURST_BP1_F1_nb = new QLabel("-"); |
|
86 | label_BURST_BP1_F1_nb = new QLabel("-"); | |
87 | label_BURST_BP2_F1_nb = new QLabel("-"); |
|
87 | label_BURST_BP2_F1_nb = new QLabel("-"); | |
88 |
|
88 | |||
89 | //********************* |
|
89 | //********************* | |
90 | // TM_LFR_SCIENCE_SBM1_ |
|
90 | // TM_LFR_SCIENCE_SBM1_ | |
91 | label_SBM1_CWF_F1 = new QLabel("CWF_F1"); |
|
91 | label_SBM1_CWF_F1 = new QLabel("CWF_F1"); | |
92 | label_SBM1_BP1_F0 = new QLabel("BP1_F0"); |
|
92 | label_SBM1_BP1_F0 = new QLabel("BP1_F0"); | |
93 | label_SBM1_BP2_F0 = new QLabel("BP2_F0"); |
|
93 | label_SBM1_BP2_F0 = new QLabel("BP2_F0"); | |
94 | // |
|
94 | // | |
95 | label_SBM1_CWF_F1_nb = new QLabel("-"); |
|
95 | label_SBM1_CWF_F1_nb = new QLabel("-"); | |
96 | label_SBM1_BP1_F0_nb = new QLabel("-"); |
|
96 | label_SBM1_BP1_F0_nb = new QLabel("-"); | |
97 | label_SBM1_BP2_F0_nb = new QLabel("-"); |
|
97 | label_SBM1_BP2_F0_nb = new QLabel("-"); | |
98 |
|
98 | |||
99 | //********************* |
|
99 | //********************* | |
100 | // TM_LFR_SCIENCE_SBM2_ |
|
100 | // TM_LFR_SCIENCE_SBM2_ | |
101 | label_SBM2_CWF_F2 = new QLabel("CWF_F2"); |
|
101 | label_SBM2_CWF_F2 = new QLabel("CWF_F2"); | |
102 | label_SBM2_BP1_F0 = new QLabel("BP1_F0"); |
|
102 | label_SBM2_BP1_F0 = new QLabel("BP1_F0"); | |
103 | label_SBM2_BP2_F0 = new QLabel("BP2_F0"); |
|
103 | label_SBM2_BP2_F0 = new QLabel("BP2_F0"); | |
104 | label_SBM2_BP1_F1 = new QLabel("BP1_F1"); |
|
104 | label_SBM2_BP1_F1 = new QLabel("BP1_F1"); | |
105 | label_SBM2_BP2_F1 = new QLabel("BP2_F1"); |
|
105 | label_SBM2_BP2_F1 = new QLabel("BP2_F1"); | |
106 | // |
|
106 | // | |
107 | label_SBM2_CWF_F2_nb = new QLabel("-"); |
|
107 | label_SBM2_CWF_F2_nb = new QLabel("-"); | |
108 | label_SBM2_BP1_F0_nb = new QLabel("-"); |
|
108 | label_SBM2_BP1_F0_nb = new QLabel("-"); | |
109 | label_SBM2_BP2_F0_nb = new QLabel("-"); |
|
109 | label_SBM2_BP2_F0_nb = new QLabel("-"); | |
110 | label_SBM2_BP1_F1_nb = new QLabel("-"); |
|
110 | label_SBM2_BP1_F1_nb = new QLabel("-"); | |
111 | label_SBM2_BP2_F1_nb = new QLabel("-"); |
|
111 | label_SBM2_BP2_F1_nb = new QLabel("-"); | |
112 |
|
112 | |||
113 | //******** |
|
113 | //******** | |
114 | // LAST TM |
|
114 | // LAST TM | |
115 | label_PID = new QLabel("PID"); |
|
115 | label_PID = new QLabel("PID"); | |
116 | label_CAT = new QLabel("CAT"); |
|
116 | label_CAT = new QLabel("CAT"); | |
117 | label_TYP = new QLabel("Type"); |
|
117 | label_TYP = new QLabel("Type"); | |
118 | label_SUB = new QLabel("Subtype"); |
|
118 | label_SUB = new QLabel("Subtype"); | |
119 | label_SID = new QLabel("SID"); |
|
119 | label_SID = new QLabel("SID"); | |
120 | label_SIZ = new QLabel("Length"); |
|
120 | label_SIZ = new QLabel("Length"); | |
121 | label_coarse_time = new QLabel("Coarse time: "); |
|
121 | label_coarse_time = new QLabel("Coarse time: "); | |
122 | label_fine_time = new QLabel("Fine time: "); |
|
122 | label_fine_time = new QLabel("Fine time: "); | |
123 | // |
|
123 | // | |
124 | label_PID_is = new QLabel("-"); |
|
124 | label_PID_is = new QLabel("-"); | |
125 | label_CAT_is = new QLabel("-"); |
|
125 | label_CAT_is = new QLabel("-"); | |
126 | label_TYP_is = new QLabel("-"); |
|
126 | label_TYP_is = new QLabel("-"); | |
127 | label_SUB_is = new QLabel("-"); |
|
127 | label_SUB_is = new QLabel("-"); | |
128 | label_SID_is = new QLabel("-"); |
|
128 | label_SID_is = new QLabel("-"); | |
129 | label_SIZ_is = new QLabel("-"); |
|
129 | label_SIZ_is = new QLabel("-"); | |
130 | label_coarse_time_val = new QLabel("-"); |
|
130 | label_coarse_time_val = new QLabel("-"); | |
131 | label_fine_time_val = new QLabel("-"); |
|
131 | label_fine_time_val = new QLabel("-"); | |
132 |
|
132 | |||
133 | // QPushButton |
|
133 | // QPushButton | |
134 | button_reset_stat = new QPushButton("reset stat"); |
|
134 | button_reset_stat = new QPushButton("reset stat"); | |
135 | button_chooseDir = new QPushButton("choose dir"); |
|
135 | button_chooseDir = new QPushButton("choose dir"); | |
136 |
|
136 | |||
137 | //QCheckBox |
|
137 | //QCheckBox | |
138 | checkbox_record = new QCheckBox("Record packets"); |
|
|||
139 | checkbox_packetLog = new QCheckBox("Log packets"); |
|
138 | checkbox_packetLog = new QCheckBox("Log packets"); | |
|
139 | checkbox_packetRecording = new QCheckBox("Store packets (RAW)"); | |||
|
140 | checkbox_CSVPacketRecording = new QCheckBox("Store Packets (CSV)"); | |||
140 | label_currentDir = new QLabel("Current Dir: -"); |
|
141 | label_currentDir = new QLabel("Current Dir: -"); | |
141 |
|
142 | |||
142 | //********** |
|
143 | //********** | |
143 | // QGroupBox |
|
144 | // QGroupBox | |
144 | this->setStyleSheet("QGroupBox {border: 1px solid black; }"); |
|
145 | this->setStyleSheet("QGroupBox {border: 1px solid black; }"); | |
145 |
|
146 | |||
146 | groupbox_stat = new QGroupBox("TM_LFR_TC_EXE_"); |
|
147 | groupbox_stat = new QGroupBox("TM_LFR_TC_EXE_"); | |
147 | groupbox_NORM = new QGroupBox("TM_LFR_SCIENCE_NORMAL_"); |
|
148 | groupbox_NORM = new QGroupBox("TM_LFR_SCIENCE_NORMAL_"); | |
148 | groupbox_BURST = new QGroupBox("TM_LFR_SCIENCE_BURST_"); |
|
149 | groupbox_BURST = new QGroupBox("TM_LFR_SCIENCE_BURST_"); | |
149 | groupbox_SBM1 = new QGroupBox("TM_LFR_SCIENCE_SBM1_"); |
|
150 | groupbox_SBM1 = new QGroupBox("TM_LFR_SCIENCE_SBM1_"); | |
150 | groupbox_SBM2 = new QGroupBox("TM_LFR_SCIENCE_SBM2_"); |
|
151 | groupbox_SBM2 = new QGroupBox("TM_LFR_SCIENCE_SBM2_"); | |
151 | groupbox_last = new QGroupBox("Last TM received"); |
|
152 | groupbox_last = new QGroupBox("Last TM received"); | |
152 | groupbox_record = new QGroupBox("Packet recording"); |
|
153 | groupbox_record = new QGroupBox("Packet recording"); | |
153 |
|
154 | |||
154 | readSettings(); |
|
155 | readSettings(); | |
155 | logFile = new QFile(); |
|
156 | logFile = new QFile(); | |
156 | packetLogFile = new QFile(); |
|
157 | packetLogFile = new QFile(); | |
|
158 | csvPacketRecordFile = new QFile(); | |||
157 | logFileEn = false; |
|
159 | logFileEn = false; | |
158 | packetLogFileEn = false; |
|
160 | packetLogFileEn = false; | |
|
161 | csvPacketRecordFileEn = false; | |||
159 |
|
162 | |||
160 | initConstants(); |
|
163 | initConstants(); | |
161 |
|
164 | |||
162 | buildMonitor_NORM(); |
|
165 | buildMonitor_NORM(); | |
163 | buildMonitor_BURST(); |
|
166 | buildMonitor_BURST(); | |
164 | buildMonitor_SBM1(); |
|
167 | buildMonitor_SBM1(); | |
165 | buildMonitor_SBM2(); |
|
168 | buildMonitor_SBM2(); | |
166 | buildMonitor(); |
|
169 | buildMonitor(); | |
167 |
|
170 | |||
168 | groupbox_stat->setFont(font); |
|
171 | groupbox_stat->setFont(font); | |
169 | groupbox_NORM->setFont(font); |
|
172 | groupbox_NORM->setFont(font); | |
170 | groupbox_BURST->setFont(font); |
|
173 | groupbox_BURST->setFont(font); | |
171 | groupbox_SBM1->setFont(font); |
|
174 | groupbox_SBM1->setFont(font); | |
172 | groupbox_SBM2->setFont(font); |
|
175 | groupbox_SBM2->setFont(font); | |
173 | groupbox_last->setFont(font); |
|
176 | groupbox_last->setFont(font); | |
174 | groupbox_record->setFont(font); |
|
177 | groupbox_record->setFont(font); | |
175 |
|
178 | |||
176 | connect(this->button_reset_stat, SIGNAL(clicked()), this, SLOT(resetStatistics())); |
|
179 | connect(this->button_reset_stat, SIGNAL(clicked()), this, SLOT(resetStatistics())); | |
177 | connect(this->button_chooseDir, SIGNAL(clicked()), this, SLOT(chooseDir())); |
|
180 | connect(this->button_chooseDir, SIGNAL(clicked()), this, SLOT(chooseDir())); | |
178 |
|
181 | |||
179 |
connect(this->checkbox_ |
|
182 | connect(this->checkbox_packetLog, SIGNAL(stateChanged(int)), | |
180 | connect(this->checkbox_packetLog, SIGNAL(stateChanged(int)), this, SLOT(logPackets(int))); |
|
183 | this, SLOT(logPackets(int))); | |
|
184 | connect(this->checkbox_packetRecording, SIGNAL(stateChanged(int)), | |||
|
185 | this, SLOT(storePackets(int))); | |||
|
186 | connect(this->checkbox_CSVPacketRecording, SIGNAL(stateChanged(int)), | |||
|
187 | this, SLOT(storeCSVPackets(int))); | |||
181 | } |
|
188 | } | |
182 |
|
189 | |||
183 | void TMStatistics::initConstants() |
|
190 | void TMStatistics::initConstants() | |
184 | { |
|
191 | { | |
185 | UNKNOWN_nb = 0; |
|
192 | UNKNOWN_nb = 0; | |
186 |
|
193 | |||
187 | // TM_LFR_TC_EXE_ |
|
194 | // TM_LFR_TC_EXE_ | |
188 | SUCC_nb = 0; |
|
195 | SUCC_nb = 0; | |
189 | INCO_nb = 0; |
|
196 | INCO_nb = 0; | |
190 | NOTE_nb = 0; |
|
197 | NOTE_nb = 0; | |
191 | NOTI_nb = 0; |
|
198 | NOTI_nb = 0; | |
192 | ERRO_nb = 0; |
|
199 | ERRO_nb = 0; | |
193 | CORR_nb = 0; |
|
200 | CORR_nb = 0; | |
194 | HK_nb = 0; |
|
201 | HK_nb = 0; | |
195 | DUMP_nb = 0; |
|
202 | DUMP_nb = 0; | |
196 |
|
203 | |||
197 | // TM_LFR_SCIENCE_NORMAL_ |
|
204 | // TM_LFR_SCIENCE_NORMAL_ | |
198 | NORM_SWF_F0_nb = 0; |
|
205 | NORM_SWF_F0_nb = 0; | |
199 | NORM_SWF_F1_nb = 0; |
|
206 | NORM_SWF_F1_nb = 0; | |
200 | NORM_SWF_F2_nb = 0; |
|
207 | NORM_SWF_F2_nb = 0; | |
201 | NORM_CWF_F3_nb = 0; |
|
208 | NORM_CWF_F3_nb = 0; | |
202 | NORM_ASM_F0_nb = 0; |
|
209 | NORM_ASM_F0_nb = 0; | |
203 | NORM_ASM_F1_nb = 0; |
|
210 | NORM_ASM_F1_nb = 0; | |
204 | NORM_ASM_F2_nb = 0; |
|
211 | NORM_ASM_F2_nb = 0; | |
205 | NORM_BP1_F0_nb = 0; |
|
212 | NORM_BP1_F0_nb = 0; | |
206 | NORM_BP1_F1_nb = 0; |
|
213 | NORM_BP1_F1_nb = 0; | |
207 | NORM_BP1_F2_nb = 0; |
|
214 | NORM_BP1_F2_nb = 0; | |
208 | NORM_BP2_F0_nb = 0; |
|
215 | NORM_BP2_F0_nb = 0; | |
209 | NORM_BP2_F1_nb = 0; |
|
216 | NORM_BP2_F1_nb = 0; | |
210 | NORM_BP2_F2_nb = 0; |
|
217 | NORM_BP2_F2_nb = 0; | |
211 |
|
218 | |||
212 | BURST_CWF_F2_nb = 0; |
|
219 | BURST_CWF_F2_nb = 0; | |
213 | BURST_BP1_F0_nb = 0; |
|
220 | BURST_BP1_F0_nb = 0; | |
214 | BURST_BP2_F0_nb = 0; |
|
221 | BURST_BP2_F0_nb = 0; | |
215 | BURST_BP1_F1_nb = 0; |
|
222 | BURST_BP1_F1_nb = 0; | |
216 | BURST_BP2_F1_nb = 0; |
|
223 | BURST_BP2_F1_nb = 0; | |
217 | SBM1_CWF_F1_nb = 0; |
|
224 | SBM1_CWF_F1_nb = 0; | |
218 | SBM1_BP1_F0_nb = 0; |
|
225 | SBM1_BP1_F0_nb = 0; | |
219 | SBM1_BP2_F0_nb = 0; |
|
226 | SBM1_BP2_F0_nb = 0; | |
220 | SBM2_CWF_F2_nb = 0; |
|
227 | SBM2_CWF_F2_nb = 0; | |
221 | SBM2_BP1_F0_nb = 0; |
|
228 | SBM2_BP1_F0_nb = 0; | |
222 | SBM2_BP2_F0_nb = 0; |
|
229 | SBM2_BP2_F0_nb = 0; | |
223 | SBM2_BP1_F1_nb = 0; |
|
230 | SBM2_BP1_F1_nb = 0; | |
224 | SBM2_BP2_F1_nb = 0; |
|
231 | SBM2_BP2_F1_nb = 0; | |
225 | } |
|
232 | } | |
226 |
|
233 | |||
227 | void TMStatistics::buildMonitor_NORM() |
|
234 | void TMStatistics::buildMonitor_NORM() | |
228 | { |
|
235 | { | |
229 | layout_NORM->addWidget(label_NORM_SWF_F0, 0, 0, 1, 1); |
|
236 | layout_NORM->addWidget(label_NORM_SWF_F0, 0, 0, 1, 1); | |
230 | layout_NORM->addWidget(label_NORM_SWF_F1, 1, 0, 1, 1); |
|
237 | layout_NORM->addWidget(label_NORM_SWF_F1, 1, 0, 1, 1); | |
231 | layout_NORM->addWidget(label_NORM_SWF_F2, 2, 0, 1, 1); |
|
238 | layout_NORM->addWidget(label_NORM_SWF_F2, 2, 0, 1, 1); | |
232 | layout_NORM->addWidget(label_NORM_CWF_F3, 3, 0, 1, 1); |
|
239 | layout_NORM->addWidget(label_NORM_CWF_F3, 3, 0, 1, 1); | |
233 | // |
|
240 | // | |
234 | layout_NORM->addWidget(label_NORM_SWF_F0_nb, 0, 1, 1, 1); |
|
241 | layout_NORM->addWidget(label_NORM_SWF_F0_nb, 0, 1, 1, 1); | |
235 | layout_NORM->addWidget(label_NORM_SWF_F1_nb, 1, 1, 1, 1); |
|
242 | layout_NORM->addWidget(label_NORM_SWF_F1_nb, 1, 1, 1, 1); | |
236 | layout_NORM->addWidget(label_NORM_SWF_F2_nb, 2, 1, 1, 1); |
|
243 | layout_NORM->addWidget(label_NORM_SWF_F2_nb, 2, 1, 1, 1); | |
237 | layout_NORM->addWidget(label_NORM_CWF_F3_nb, 3, 1, 1, 1); |
|
244 | layout_NORM->addWidget(label_NORM_CWF_F3_nb, 3, 1, 1, 1); | |
238 | // |
|
245 | // | |
239 | layout_NORM->addWidget(label_NORM_ASM_F0, 4, 0, 1, 1); |
|
246 | layout_NORM->addWidget(label_NORM_ASM_F0, 4, 0, 1, 1); | |
240 | layout_NORM->addWidget(label_NORM_ASM_F1, 5, 0, 1, 1); |
|
247 | layout_NORM->addWidget(label_NORM_ASM_F1, 5, 0, 1, 1); | |
241 | layout_NORM->addWidget(label_NORM_ASM_F2, 6, 0, 1, 1); |
|
248 | layout_NORM->addWidget(label_NORM_ASM_F2, 6, 0, 1, 1); | |
242 | // |
|
249 | // | |
243 | layout_NORM->addWidget(label_NORM_ASM_F0_nb, 4, 1, 1, 1); |
|
250 | layout_NORM->addWidget(label_NORM_ASM_F0_nb, 4, 1, 1, 1); | |
244 | layout_NORM->addWidget(label_NORM_ASM_F1_nb, 5, 1, 1, 1); |
|
251 | layout_NORM->addWidget(label_NORM_ASM_F1_nb, 5, 1, 1, 1); | |
245 | layout_NORM->addWidget(label_NORM_ASM_F2_nb, 6, 1, 1, 1); |
|
252 | layout_NORM->addWidget(label_NORM_ASM_F2_nb, 6, 1, 1, 1); | |
246 | // |
|
253 | // | |
247 | layout_NORM->addWidget(label_NORM_BP1_F0, 0, 2, 1, 1); |
|
254 | layout_NORM->addWidget(label_NORM_BP1_F0, 0, 2, 1, 1); | |
248 | layout_NORM->addWidget(label_NORM_BP1_F1, 1, 2, 1, 1); |
|
255 | layout_NORM->addWidget(label_NORM_BP1_F1, 1, 2, 1, 1); | |
249 | layout_NORM->addWidget(label_NORM_BP1_F2, 2, 2, 1, 1); |
|
256 | layout_NORM->addWidget(label_NORM_BP1_F2, 2, 2, 1, 1); | |
250 | layout_NORM->addWidget(label_NORM_BP2_F0, 3, 2, 1, 1); |
|
257 | layout_NORM->addWidget(label_NORM_BP2_F0, 3, 2, 1, 1); | |
251 | layout_NORM->addWidget(label_NORM_BP2_F1, 4, 2, 1, 1); |
|
258 | layout_NORM->addWidget(label_NORM_BP2_F1, 4, 2, 1, 1); | |
252 | layout_NORM->addWidget(label_NORM_BP2_F2, 5, 2, 1, 1); |
|
259 | layout_NORM->addWidget(label_NORM_BP2_F2, 5, 2, 1, 1); | |
253 | // |
|
260 | // | |
254 | layout_NORM->addWidget(label_NORM_BP1_F0_nb, 0, 3, 1, 1); |
|
261 | layout_NORM->addWidget(label_NORM_BP1_F0_nb, 0, 3, 1, 1); | |
255 | layout_NORM->addWidget(label_NORM_BP1_F1_nb, 1, 3, 1, 1); |
|
262 | layout_NORM->addWidget(label_NORM_BP1_F1_nb, 1, 3, 1, 1); | |
256 | layout_NORM->addWidget(label_NORM_BP1_F2_nb, 2, 3, 1, 1); |
|
263 | layout_NORM->addWidget(label_NORM_BP1_F2_nb, 2, 3, 1, 1); | |
257 | layout_NORM->addWidget(label_NORM_BP2_F0_nb, 3, 3, 1, 1); |
|
264 | layout_NORM->addWidget(label_NORM_BP2_F0_nb, 3, 3, 1, 1); | |
258 | layout_NORM->addWidget(label_NORM_BP2_F1_nb, 4, 3, 1, 1); |
|
265 | layout_NORM->addWidget(label_NORM_BP2_F1_nb, 4, 3, 1, 1); | |
259 | layout_NORM->addWidget(label_NORM_BP2_F2_nb, 5, 3, 1, 1); |
|
266 | layout_NORM->addWidget(label_NORM_BP2_F2_nb, 5, 3, 1, 1); | |
260 | } |
|
267 | } | |
261 |
|
268 | |||
262 | void TMStatistics::buildMonitor_BURST() |
|
269 | void TMStatistics::buildMonitor_BURST() | |
263 | { |
|
270 | { | |
264 | layout_BURST->addWidget(label_BURST_CWF_F2, 0, 0, 1, 1); |
|
271 | layout_BURST->addWidget(label_BURST_CWF_F2, 0, 0, 1, 1); | |
265 | layout_BURST->addWidget(label_BURST_BP1_F0, 1, 0, 1, 1); |
|
272 | layout_BURST->addWidget(label_BURST_BP1_F0, 1, 0, 1, 1); | |
266 | layout_BURST->addWidget(label_BURST_BP2_F0, 2, 0, 1, 1); |
|
273 | layout_BURST->addWidget(label_BURST_BP2_F0, 2, 0, 1, 1); | |
267 | layout_BURST->addWidget(label_BURST_BP1_F1, 3, 0, 1, 1); |
|
274 | layout_BURST->addWidget(label_BURST_BP1_F1, 3, 0, 1, 1); | |
268 | layout_BURST->addWidget(label_BURST_BP2_F1, 4, 0, 1, 1); |
|
275 | layout_BURST->addWidget(label_BURST_BP2_F1, 4, 0, 1, 1); | |
269 | // |
|
276 | // | |
270 | layout_BURST->addWidget(label_BURST_CWF_F2_nb, 0, 1, 1, 1); |
|
277 | layout_BURST->addWidget(label_BURST_CWF_F2_nb, 0, 1, 1, 1); | |
271 | layout_BURST->addWidget(label_BURST_BP1_F0_nb, 1, 1, 1, 1); |
|
278 | layout_BURST->addWidget(label_BURST_BP1_F0_nb, 1, 1, 1, 1); | |
272 | layout_BURST->addWidget(label_BURST_BP2_F0_nb, 2, 1, 1, 1); |
|
279 | layout_BURST->addWidget(label_BURST_BP2_F0_nb, 2, 1, 1, 1); | |
273 | layout_BURST->addWidget(label_BURST_BP1_F1_nb, 3, 1, 1, 1); |
|
280 | layout_BURST->addWidget(label_BURST_BP1_F1_nb, 3, 1, 1, 1); | |
274 | layout_BURST->addWidget(label_BURST_BP2_F1_nb, 4, 1, 1, 1); |
|
281 | layout_BURST->addWidget(label_BURST_BP2_F1_nb, 4, 1, 1, 1); | |
275 | // |
|
282 | // | |
276 | layout_BURST->setRowStretch(5, 1); |
|
283 | layout_BURST->setRowStretch(5, 1); | |
277 | layout_BURST->setColumnStretch(2,1); |
|
284 | layout_BURST->setColumnStretch(2,1); | |
278 | } |
|
285 | } | |
279 |
|
286 | |||
280 | void TMStatistics::buildMonitor_SBM1() |
|
287 | void TMStatistics::buildMonitor_SBM1() | |
281 | { |
|
288 | { | |
282 | layout_SBM1->addWidget(label_SBM1_CWF_F1, 0, 0, 1, 1); |
|
289 | layout_SBM1->addWidget(label_SBM1_CWF_F1, 0, 0, 1, 1); | |
283 | layout_SBM1->addWidget(label_SBM1_BP1_F0, 1, 0, 1, 1); |
|
290 | layout_SBM1->addWidget(label_SBM1_BP1_F0, 1, 0, 1, 1); | |
284 | layout_SBM1->addWidget(label_SBM1_BP2_F0, 2, 0, 1, 1); |
|
291 | layout_SBM1->addWidget(label_SBM1_BP2_F0, 2, 0, 1, 1); | |
285 | // |
|
292 | // | |
286 | layout_SBM1->addWidget(label_SBM1_CWF_F1_nb, 0, 1, 1, 1); |
|
293 | layout_SBM1->addWidget(label_SBM1_CWF_F1_nb, 0, 1, 1, 1); | |
287 | layout_SBM1->addWidget(label_SBM1_BP1_F0_nb, 1, 1, 1, 1); |
|
294 | layout_SBM1->addWidget(label_SBM1_BP1_F0_nb, 1, 1, 1, 1); | |
288 | layout_SBM1->addWidget(label_SBM1_BP2_F0_nb, 2, 1, 1, 1); |
|
295 | layout_SBM1->addWidget(label_SBM1_BP2_F0_nb, 2, 1, 1, 1); | |
289 | // |
|
296 | // | |
290 | layout_SBM1->setRowStretch(3, 1); |
|
297 | layout_SBM1->setRowStretch(3, 1); | |
291 | layout_SBM1->setColumnStretch(2,1); |
|
298 | layout_SBM1->setColumnStretch(2,1); | |
292 | } |
|
299 | } | |
293 |
|
300 | |||
294 | void TMStatistics::buildMonitor_SBM2() |
|
301 | void TMStatistics::buildMonitor_SBM2() | |
295 | { |
|
302 | { | |
296 | layout_SBM2->addWidget(label_SBM2_CWF_F2, 0, 0, 1, 1); |
|
303 | layout_SBM2->addWidget(label_SBM2_CWF_F2, 0, 0, 1, 1); | |
297 | layout_SBM2->addWidget(label_SBM2_BP1_F0, 1, 0, 1, 1); |
|
304 | layout_SBM2->addWidget(label_SBM2_BP1_F0, 1, 0, 1, 1); | |
298 | layout_SBM2->addWidget(label_SBM2_BP2_F0, 2, 0, 1, 1); |
|
305 | layout_SBM2->addWidget(label_SBM2_BP2_F0, 2, 0, 1, 1); | |
299 | layout_SBM2->addWidget(label_SBM2_BP1_F1, 3, 0, 1, 1); |
|
306 | layout_SBM2->addWidget(label_SBM2_BP1_F1, 3, 0, 1, 1); | |
300 | layout_SBM2->addWidget(label_SBM2_BP2_F1, 4, 0, 1, 1); |
|
307 | layout_SBM2->addWidget(label_SBM2_BP2_F1, 4, 0, 1, 1); | |
301 | // |
|
308 | // | |
302 | layout_SBM2->addWidget(label_SBM2_CWF_F2_nb, 0, 1, 1, 1); |
|
309 | layout_SBM2->addWidget(label_SBM2_CWF_F2_nb, 0, 1, 1, 1); | |
303 | layout_SBM2->addWidget(label_SBM2_BP1_F0_nb, 1, 1, 1, 1); |
|
310 | layout_SBM2->addWidget(label_SBM2_BP1_F0_nb, 1, 1, 1, 1); | |
304 | layout_SBM2->addWidget(label_SBM2_BP2_F0_nb, 2, 1, 1, 1); |
|
311 | layout_SBM2->addWidget(label_SBM2_BP2_F0_nb, 2, 1, 1, 1); | |
305 | layout_SBM2->addWidget(label_SBM2_BP1_F1_nb, 3, 1, 1, 1); |
|
312 | layout_SBM2->addWidget(label_SBM2_BP1_F1_nb, 3, 1, 1, 1); | |
306 | layout_SBM2->addWidget(label_SBM2_BP2_F1_nb, 4, 1, 1, 1); |
|
313 | layout_SBM2->addWidget(label_SBM2_BP2_F1_nb, 4, 1, 1, 1); | |
307 | // |
|
314 | // | |
308 | layout_SBM2->setRowStretch(5, 1); |
|
315 | layout_SBM2->setRowStretch(5, 1); | |
309 | layout_SBM2->setColumnStretch(2,1); |
|
316 | layout_SBM2->setColumnStretch(2,1); | |
310 | } |
|
317 | } | |
311 |
|
318 | |||
312 | void TMStatistics::buildMonitor() |
|
319 | void TMStatistics::buildMonitor() | |
313 | { |
|
320 | { | |
314 | //*************** |
|
321 | //*************** | |
315 | // TM_LFR_TC_EXE_ |
|
322 | // TM_LFR_TC_EXE_ | |
316 | layout_stat->addWidget(label_SUCC, 0, 0, 1, 1); |
|
323 | layout_stat->addWidget(label_SUCC, 0, 0, 1, 1); | |
317 | layout_stat->addWidget(label_INCO, 1, 0, 1, 1); |
|
324 | layout_stat->addWidget(label_INCO, 1, 0, 1, 1); | |
318 | layout_stat->addWidget(label_NOTE, 2, 0, 1, 1); |
|
325 | layout_stat->addWidget(label_NOTE, 2, 0, 1, 1); | |
319 | layout_stat->addWidget(label_NOTI, 3, 0, 1, 1); |
|
326 | layout_stat->addWidget(label_NOTI, 3, 0, 1, 1); | |
320 | layout_stat->addWidget(label_ERRO, 4, 0, 1, 1); |
|
327 | layout_stat->addWidget(label_ERRO, 4, 0, 1, 1); | |
321 | layout_stat->addWidget(label_CORR, 5, 0, 1, 1); |
|
328 | layout_stat->addWidget(label_CORR, 5, 0, 1, 1); | |
322 | layout_stat->addWidget(label_HK, 6, 0, 1, 1); |
|
329 | layout_stat->addWidget(label_HK, 6, 0, 1, 1); | |
323 | layout_stat->addWidget(label_DUMP, 7, 0, 1, 1); |
|
330 | layout_stat->addWidget(label_DUMP, 7, 0, 1, 1); | |
324 | // |
|
331 | // | |
325 | layout_stat->addWidget(label_SUCC_nb, 0, 1, 1, 1); |
|
332 | layout_stat->addWidget(label_SUCC_nb, 0, 1, 1, 1); | |
326 | layout_stat->addWidget(label_INCO_nb, 1, 1, 1, 1); |
|
333 | layout_stat->addWidget(label_INCO_nb, 1, 1, 1, 1); | |
327 | layout_stat->addWidget(label_NOTE_nb, 2, 1, 1, 1); |
|
334 | layout_stat->addWidget(label_NOTE_nb, 2, 1, 1, 1); | |
328 | layout_stat->addWidget(label_NOTI_nb, 3, 1, 1, 1); |
|
335 | layout_stat->addWidget(label_NOTI_nb, 3, 1, 1, 1); | |
329 | layout_stat->addWidget(label_ERRO_nb, 4, 1, 1, 1); |
|
336 | layout_stat->addWidget(label_ERRO_nb, 4, 1, 1, 1); | |
330 | layout_stat->addWidget(label_CORR_nb, 5, 1, 1, 1); |
|
337 | layout_stat->addWidget(label_CORR_nb, 5, 1, 1, 1); | |
331 | layout_stat->addWidget(label_HK_nb, 6, 1, 1, 1); |
|
338 | layout_stat->addWidget(label_HK_nb, 6, 1, 1, 1); | |
332 | layout_stat->addWidget(label_DUMP_nb, 7, 1, 1, 1); |
|
339 | layout_stat->addWidget(label_DUMP_nb, 7, 1, 1, 1); | |
333 |
|
340 | |||
334 | //******** |
|
341 | //******** | |
335 | // LAST TM |
|
342 | // LAST TM | |
336 | layout_last->addWidget(label_PID, 0, 0, 1, 1); |
|
343 | layout_last->addWidget(label_PID, 0, 0, 1, 1); | |
337 | layout_last->addWidget(label_CAT, 0, 1, 1, 1); |
|
344 | layout_last->addWidget(label_CAT, 0, 1, 1, 1); | |
338 | layout_last->addWidget(label_TYP, 0, 2, 1, 1); |
|
345 | layout_last->addWidget(label_TYP, 0, 2, 1, 1); | |
339 | layout_last->addWidget(label_SUB, 0, 3, 1, 1); |
|
346 | layout_last->addWidget(label_SUB, 0, 3, 1, 1); | |
340 | layout_last->addWidget(label_SID, 0, 4, 1, 1); |
|
347 | layout_last->addWidget(label_SID, 0, 4, 1, 1); | |
341 | layout_last->addWidget(label_SIZ, 0, 5, 1, 1); |
|
348 | layout_last->addWidget(label_SIZ, 0, 5, 1, 1); | |
342 | // |
|
349 | // | |
343 | layout_last->addWidget(label_PID_is, 1, 0, 1, 1); |
|
350 | layout_last->addWidget(label_PID_is, 1, 0, 1, 1); | |
344 | layout_last->addWidget(label_CAT_is, 1, 1, 1, 1); |
|
351 | layout_last->addWidget(label_CAT_is, 1, 1, 1, 1); | |
345 | layout_last->addWidget(label_TYP_is, 1, 2, 1, 1); |
|
352 | layout_last->addWidget(label_TYP_is, 1, 2, 1, 1); | |
346 | layout_last->addWidget(label_SUB_is, 1, 3, 1, 1); |
|
353 | layout_last->addWidget(label_SUB_is, 1, 3, 1, 1); | |
347 | layout_last->addWidget(label_SID_is, 1, 4, 1, 1); |
|
354 | layout_last->addWidget(label_SID_is, 1, 4, 1, 1); | |
348 | layout_last->addWidget(label_SIZ_is, 1, 5, 1, 1); |
|
355 | layout_last->addWidget(label_SIZ_is, 1, 5, 1, 1); | |
349 | // |
|
356 | // | |
350 | layout_last->addWidget(label_coarse_time, 2, 0, 1, 1); |
|
357 | layout_last->addWidget(label_coarse_time, 2, 0, 1, 1); | |
351 | layout_last->addWidget(label_coarse_time_val, 2, 1, 1, 1); |
|
358 | layout_last->addWidget(label_coarse_time_val, 2, 1, 1, 1); | |
352 | layout_last->addWidget(label_fine_time, 2, 2, 1, 1); |
|
359 | layout_last->addWidget(label_fine_time, 2, 2, 1, 1); | |
353 | layout_last->addWidget(label_fine_time_val, 2, 3, 1, 1); |
|
360 | layout_last->addWidget(label_fine_time_val, 2, 3, 1, 1); | |
354 | // |
|
361 | // | |
355 | layout_last->addWidget(label_UNKNOWN, 3, 0, 1, 1); |
|
362 | layout_last->addWidget(label_UNKNOWN, 3, 0, 1, 1); | |
356 | layout_last->addWidget(label_UNKNOWN_nb, 3, 1, 1, 1); |
|
363 | layout_last->addWidget(label_UNKNOWN_nb, 3, 1, 1, 1); | |
357 |
|
364 | |||
358 | layout_record->addWidget(checkbox_record); |
|
|||
359 | layout_record->addWidget(checkbox_packetLog); |
|
365 | layout_record->addWidget(checkbox_packetLog); | |
|
366 | layout_record->addWidget(checkbox_packetRecording); | |||
|
367 | layout_record->addWidget(checkbox_CSVPacketRecording); | |||
360 | layout_record->addWidget(button_chooseDir); |
|
368 | layout_record->addWidget(button_chooseDir); | |
361 | layout_record->addWidget(label_currentDir); |
|
369 | layout_record->addWidget(label_currentDir); | |
362 | layout_record->insertStretch(4, 1); |
|
370 | layout_record->insertStretch(4, 1); | |
363 |
|
371 | |||
364 | //*********** |
|
372 | //*********** | |
365 | // groupboxes |
|
373 | // groupboxes | |
366 | groupbox_stat->setLayout(layout_stat); |
|
374 | groupbox_stat->setLayout(layout_stat); | |
367 | groupbox_NORM->setLayout(layout_NORM); |
|
375 | groupbox_NORM->setLayout(layout_NORM); | |
368 | groupbox_BURST->setLayout(layout_BURST); |
|
376 | groupbox_BURST->setLayout(layout_BURST); | |
369 | groupbox_SBM1->setLayout(layout_SBM1); |
|
377 | groupbox_SBM1->setLayout(layout_SBM1); | |
370 | groupbox_SBM2->setLayout(layout_SBM2); |
|
378 | groupbox_SBM2->setLayout(layout_SBM2); | |
371 | groupbox_last->setLayout(layout_last); |
|
379 | groupbox_last->setLayout(layout_last); | |
372 | groupbox_record->setLayout(layout_record); |
|
380 | groupbox_record->setLayout(layout_record); | |
373 | // |
|
381 | // | |
374 | mainLayout->addWidget(groupbox_stat, 0, 0, 1, 1); |
|
382 | mainLayout->addWidget(groupbox_stat, 0, 0, 1, 1); | |
375 | mainLayout->addWidget(groupbox_NORM, 1, 0, 1, 1); |
|
383 | mainLayout->addWidget(groupbox_NORM, 1, 0, 1, 1); | |
376 | mainLayout->addWidget(groupbox_last, 2, 0, 1, 2); |
|
384 | mainLayout->addWidget(groupbox_last, 2, 0, 1, 2); | |
377 | mainLayout->addWidget(groupbox_SBM1, 0, 1, 1, 1); |
|
385 | mainLayout->addWidget(groupbox_SBM1, 0, 1, 1, 1); | |
378 | mainLayout->addWidget(groupbox_SBM2, 0, 2, 1, 1); |
|
386 | mainLayout->addWidget(groupbox_SBM2, 0, 2, 1, 1); | |
379 | mainLayout->addWidget(groupbox_BURST, 1, 1, 1, 1); |
|
387 | mainLayout->addWidget(groupbox_BURST, 1, 1, 1, 1); | |
380 | mainLayout->addWidget(groupbox_record, 1, 2, 1, 1); |
|
388 | mainLayout->addWidget(groupbox_record, 1, 2, 1, 1); | |
381 | mainLayout->addWidget(button_reset_stat, 3, 0, 1, 3); |
|
389 | mainLayout->addWidget(button_reset_stat, 3, 0, 1, 3); | |
382 | mainLayout->setColumnStretch(3, 1); |
|
390 | mainLayout->setColumnStretch(3, 1); | |
383 | mainLayout->setRowStretch(4, 1); |
|
391 | mainLayout->setRowStretch(4, 1); | |
384 | // |
|
392 | // | |
385 | this->setLayout(mainLayout); |
|
393 | this->setLayout(mainLayout); | |
386 | } |
|
394 | } | |
387 |
|
395 | |||
388 | void TMStatistics::resetStatistics() |
|
396 | void TMStatistics::resetStatistics() | |
389 | { |
|
397 | { | |
390 | initConstants(); |
|
398 | initConstants(); | |
391 | // |
|
399 | // | |
392 | label_UNKNOWN_nb->setText("-"); |
|
400 | label_UNKNOWN_nb->setText("-"); | |
393 | label_SUCC_nb->setText("-"); |
|
401 | label_SUCC_nb->setText("-"); | |
394 | label_INCO_nb->setText("-"); |
|
402 | label_INCO_nb->setText("-"); | |
395 | label_NOTE_nb->setText("-"); |
|
403 | label_NOTE_nb->setText("-"); | |
396 | label_NOTI_nb->setText("-"); |
|
404 | label_NOTI_nb->setText("-"); | |
397 | label_ERRO_nb->setText("-"); |
|
405 | label_ERRO_nb->setText("-"); | |
398 | label_CORR_nb->setText("-"); |
|
406 | label_CORR_nb->setText("-"); | |
399 | label_HK_nb->setText("-"); |
|
407 | label_HK_nb->setText("-"); | |
400 | label_DUMP_nb->setText("-"); |
|
408 | label_DUMP_nb->setText("-"); | |
401 | // |
|
409 | // | |
402 | label_NORM_SWF_F0_nb->setText("-"); |
|
410 | label_NORM_SWF_F0_nb->setText("-"); | |
403 | label_NORM_SWF_F1_nb->setText("-"); |
|
411 | label_NORM_SWF_F1_nb->setText("-"); | |
404 | label_NORM_SWF_F2_nb->setText("-"); |
|
412 | label_NORM_SWF_F2_nb->setText("-"); | |
405 | label_NORM_CWF_F3_nb->setText("-"); |
|
413 | label_NORM_CWF_F3_nb->setText("-"); | |
406 | label_NORM_ASM_F0_nb->setText("-"); |
|
414 | label_NORM_ASM_F0_nb->setText("-"); | |
407 | // |
|
415 | // | |
408 | label_BURST_CWF_F2_nb->setText("-"); |
|
416 | label_BURST_CWF_F2_nb->setText("-"); | |
409 | // |
|
417 | // | |
410 | label_SBM1_CWF_F1_nb->setText("-"); |
|
418 | label_SBM1_CWF_F1_nb->setText("-"); | |
411 | // |
|
419 | // | |
412 | label_SBM2_CWF_F2_nb->setText("-"); |
|
420 | label_SBM2_CWF_F2_nb->setText("-"); | |
413 | // |
|
421 | // | |
414 | label_PID_is->setText("-"); |
|
422 | label_PID_is->setText("-"); | |
415 | label_CAT_is->setText("-"); |
|
423 | label_CAT_is->setText("-"); | |
416 | label_TYP_is->setText("-"); |
|
424 | label_TYP_is->setText("-"); | |
417 | label_SUB_is->setText("-"); |
|
425 | label_SUB_is->setText("-"); | |
418 | label_SID_is->setText("-"); |
|
426 | label_SID_is->setText("-"); | |
419 | label_SIZ_is->setText("-"); |
|
427 | label_SIZ_is->setText("-"); | |
420 | // |
|
428 | // | |
421 | label_coarse_time_val->setText("-"); |
|
429 | label_coarse_time_val->setText("-"); | |
422 | label_fine_time_val->setText("-"); |
|
430 | label_fine_time_val->setText("-"); | |
423 | } |
|
431 | } | |
424 |
|
432 | |||
425 | void TMStatistics::updateStatistics(unsigned char pid, unsigned char cat, |
|
433 | void TMStatistics::updateStatistics(unsigned char pid, unsigned char cat, | |
426 | unsigned char typ, unsigned char sub, |
|
434 | unsigned char typ, unsigned char sub, | |
427 | unsigned int sid, unsigned int length, |
|
435 | unsigned int sid, unsigned int length, | |
428 | unsigned int coarse_t, unsigned int fine_t) |
|
436 | unsigned int coarse_t, unsigned int fine_t) | |
429 | { |
|
437 | { | |
430 | if (cat == TM_PACKET_CAT_TC_EXE) |
|
438 | if (cat == TM_PACKET_CAT_TC_EXE) | |
431 | { |
|
439 | { | |
432 | if (typ == TM_TYPE_TC_EXE) |
|
440 | if (typ == TM_TYPE_TC_EXE) | |
433 | { |
|
441 | { | |
434 | if (sub == TM_SUBTYPE_EXE_OK) |
|
442 | if (sub == TM_SUBTYPE_EXE_OK) | |
435 | { |
|
443 | { | |
436 | SUCC_nb = SUCC_nb + 1; |
|
444 | SUCC_nb = SUCC_nb + 1; | |
437 | label_SUCC_nb->setText(QString::number(SUCC_nb)); |
|
445 | label_SUCC_nb->setText(QString::number(SUCC_nb)); | |
438 | } |
|
446 | } | |
439 | else if (sub == TM_SUBTYPE_EXE_NOK) |
|
447 | else if (sub == TM_SUBTYPE_EXE_NOK) | |
440 | { |
|
448 | { | |
441 | if (sid == WRONG_APP_DATA) |
|
449 | if (sid == WRONG_APP_DATA) | |
442 | { |
|
450 | { | |
443 | INCO_nb = INCO_nb + 1; |
|
451 | INCO_nb = INCO_nb + 1; | |
444 | label_INCO_nb->setText(QString::number(INCO_nb)); |
|
452 | label_INCO_nb->setText(QString::number(INCO_nb)); | |
445 | } |
|
453 | } | |
446 | else if (sid == TC_NOT_EXE) |
|
454 | else if (sid == TC_NOT_EXE) | |
447 | { |
|
455 | { | |
448 | NOTE_nb = NOTE_nb + 1; |
|
456 | NOTE_nb = NOTE_nb + 1; | |
449 | label_NOTE_nb->setText(QString::number(NOTE_nb)); |
|
457 | label_NOTE_nb->setText(QString::number(NOTE_nb)); | |
450 | } |
|
458 | } | |
451 | else if (sid == FUNCT_NOT_IMPL) |
|
459 | else if (sid == FUNCT_NOT_IMPL) | |
452 | { |
|
460 | { | |
453 | NOTI_nb = NOTI_nb + 1; |
|
461 | NOTI_nb = NOTI_nb + 1; | |
454 | label_NOTI_nb->setText(QString::number(NOTI_nb)); |
|
462 | label_NOTI_nb->setText(QString::number(NOTI_nb)); | |
455 | } |
|
463 | } | |
456 | else if (sid == FAIL_DETECTED) |
|
464 | else if (sid == FAIL_DETECTED) | |
457 | { |
|
465 | { | |
458 | ERRO_nb = ERRO_nb + 1; |
|
466 | ERRO_nb = ERRO_nb + 1; | |
459 | label_ERRO_nb->setText(QString::number(ERRO_nb)); |
|
467 | label_ERRO_nb->setText(QString::number(ERRO_nb)); | |
460 | } |
|
468 | } | |
461 | else if (sid == CORRUPTED) |
|
469 | else if (sid == CORRUPTED) | |
462 | { |
|
470 | { | |
463 | CORR_nb = CORR_nb + 1; |
|
471 | CORR_nb = CORR_nb + 1; | |
464 | label_CORR_nb->setText(QString::number(CORR_nb)); |
|
472 | label_CORR_nb->setText(QString::number(CORR_nb)); | |
465 | } |
|
473 | } | |
466 | else incrementUnknown(); |
|
474 | else incrementUnknown(); | |
467 | } |
|
475 | } | |
468 | else incrementUnknown(); |
|
476 | else incrementUnknown(); | |
469 | } |
|
477 | } | |
470 | else |
|
478 | else | |
471 | incrementUnknown(); |
|
479 | incrementUnknown(); | |
472 | } |
|
480 | } | |
473 | else if (cat == TM_PACKET_CAT_HK) |
|
481 | else if (cat == TM_PACKET_CAT_HK) | |
474 | { |
|
482 | { | |
475 | if (typ == TM_TYPE_HK) |
|
483 | if (typ == TM_TYPE_HK) | |
476 | { |
|
484 | { | |
477 | if (sub == TM_SUBTYPE_HK) |
|
485 | if (sub == TM_SUBTYPE_HK) | |
478 | if (sid == SID_HK) |
|
486 | if (sid == SID_HK) | |
479 | { |
|
487 | { | |
480 | HK_nb = HK_nb + 1; |
|
488 | HK_nb = HK_nb + 1; | |
481 | label_HK_nb->setText(QString::number(HK_nb)); |
|
489 | label_HK_nb->setText(QString::number(HK_nb)); | |
482 | } |
|
490 | } | |
483 | else |
|
491 | else | |
484 | { |
|
492 | { | |
485 | incrementUnknown(); |
|
493 | incrementUnknown(); | |
486 | } |
|
494 | } | |
487 | else |
|
495 | else | |
488 | { |
|
496 | { | |
489 | incrementUnknown(); |
|
497 | incrementUnknown(); | |
490 | } |
|
498 | } | |
491 | } |
|
499 | } | |
492 | else |
|
500 | else | |
493 | { |
|
501 | { | |
494 | incrementUnknown(); |
|
502 | incrementUnknown(); | |
495 | } |
|
503 | } | |
496 | } |
|
504 | } | |
497 | else if (cat == TM_PACKET_CAT_PARAMETER_DUMP) |
|
505 | else if (cat == TM_PACKET_CAT_PARAMETER_DUMP) | |
498 | { |
|
506 | { | |
499 | if (typ == TM_TYPE_PARAMETER_DUMP) |
|
507 | if (typ == TM_TYPE_PARAMETER_DUMP) | |
500 | { |
|
508 | { | |
501 | if (sub == TM_SUBTYPE_PARAMETER_DUMP) |
|
509 | if (sub == TM_SUBTYPE_PARAMETER_DUMP) | |
502 | if (sid == SID_PARAMETER_DUMP) |
|
510 | if (sid == SID_PARAMETER_DUMP) | |
503 | { |
|
511 | { | |
504 | DUMP_nb = DUMP_nb + 1; |
|
512 | DUMP_nb = DUMP_nb + 1; | |
505 | label_DUMP_nb->setText(QString::number(DUMP_nb)); |
|
513 | label_DUMP_nb->setText(QString::number(DUMP_nb)); | |
506 | } |
|
514 | } | |
507 | else |
|
515 | else | |
508 | { |
|
516 | { | |
509 | incrementUnknown(); |
|
517 | incrementUnknown(); | |
510 | } |
|
518 | } | |
511 | else |
|
519 | else | |
512 | { |
|
520 | { | |
513 | incrementUnknown(); |
|
521 | incrementUnknown(); | |
514 | } |
|
522 | } | |
515 | } |
|
523 | } | |
516 | else |
|
524 | else | |
517 | { |
|
525 | { | |
518 | incrementUnknown(); |
|
526 | incrementUnknown(); | |
519 | } |
|
527 | } | |
520 | } |
|
528 | } | |
521 | else if (cat == TM_PACKET_CAT_SCIENCE) |
|
529 | else if (cat == TM_PACKET_CAT_SCIENCE) | |
522 | { |
|
530 | { | |
523 | if (typ == TM_TYPE_LFR_SCIENCE) |
|
531 | if (typ == TM_TYPE_LFR_SCIENCE) | |
524 | { |
|
532 | { | |
525 | if (sub == TM_SUBTYPE_SCIENCE) |
|
533 | if (sub == TM_SUBTYPE_SCIENCE) | |
526 | { |
|
534 | { | |
527 | if (sid == SID_NORM_CWF_F3) |
|
535 | if (sid == SID_NORM_CWF_F3) | |
528 | { |
|
536 | { | |
529 | NORM_CWF_F3_nb = NORM_CWF_F3_nb + 1; |
|
537 | NORM_CWF_F3_nb = NORM_CWF_F3_nb + 1; | |
530 | label_NORM_CWF_F3_nb->setText(QString::number(NORM_CWF_F3_nb)); |
|
538 | label_NORM_CWF_F3_nb->setText(QString::number(NORM_CWF_F3_nb)); | |
531 | } |
|
539 | } | |
532 | else if (sid == SID_BURST_CWF_F2) |
|
540 | else if (sid == SID_BURST_CWF_F2) | |
533 | { |
|
541 | { | |
534 | BURST_CWF_F2_nb = BURST_CWF_F2_nb + 1; |
|
542 | BURST_CWF_F2_nb = BURST_CWF_F2_nb + 1; | |
535 | label_BURST_CWF_F2_nb->setText(QString::number(BURST_CWF_F2_nb)); |
|
543 | label_BURST_CWF_F2_nb->setText(QString::number(BURST_CWF_F2_nb)); | |
536 | } |
|
544 | } | |
537 | else if (sid == SID_NORM_SWF_F0) |
|
545 | else if (sid == SID_NORM_SWF_F0) | |
538 | { |
|
546 | { | |
539 | NORM_SWF_F0_nb = NORM_SWF_F0_nb + 1; |
|
547 | NORM_SWF_F0_nb = NORM_SWF_F0_nb + 1; | |
540 | label_NORM_SWF_F0_nb->setText(QString::number(NORM_SWF_F0_nb)); |
|
548 | label_NORM_SWF_F0_nb->setText(QString::number(NORM_SWF_F0_nb)); | |
541 | } |
|
549 | } | |
542 | else if (sid == SID_NORM_SWF_F1) |
|
550 | else if (sid == SID_NORM_SWF_F1) | |
543 | { |
|
551 | { | |
544 | NORM_SWF_F1_nb = NORM_SWF_F1_nb + 1; |
|
552 | NORM_SWF_F1_nb = NORM_SWF_F1_nb + 1; | |
545 | label_NORM_SWF_F1_nb->setText(QString::number(NORM_SWF_F1_nb)); |
|
553 | label_NORM_SWF_F1_nb->setText(QString::number(NORM_SWF_F1_nb)); | |
546 | } |
|
554 | } | |
547 | else if (sid == SID_NORM_SWF_F2) |
|
555 | else if (sid == SID_NORM_SWF_F2) | |
548 | { |
|
556 | { | |
549 | NORM_SWF_F2_nb = NORM_SWF_F2_nb + 1; |
|
557 | NORM_SWF_F2_nb = NORM_SWF_F2_nb + 1; | |
550 | label_NORM_SWF_F2_nb->setText(QString::number(NORM_SWF_F2_nb)); |
|
558 | label_NORM_SWF_F2_nb->setText(QString::number(NORM_SWF_F2_nb)); | |
551 | } |
|
559 | } | |
552 | else if (sid == SID_NORM_ASM_F0) |
|
560 | else if (sid == SID_NORM_ASM_F0) | |
553 | { |
|
561 | { | |
554 | NORM_ASM_F0_nb = NORM_ASM_F0_nb + 1; |
|
562 | NORM_ASM_F0_nb = NORM_ASM_F0_nb + 1; | |
555 | label_NORM_ASM_F0_nb->setText(QString::number(NORM_ASM_F0_nb)); |
|
563 | label_NORM_ASM_F0_nb->setText(QString::number(NORM_ASM_F0_nb)); | |
556 | } |
|
564 | } | |
557 | else if (sid == SID_SBM1_CWF_F1) |
|
565 | else if (sid == SID_SBM1_CWF_F1) | |
558 | { |
|
566 | { | |
559 | SBM1_CWF_F1_nb = SBM1_CWF_F1_nb + 1; |
|
567 | SBM1_CWF_F1_nb = SBM1_CWF_F1_nb + 1; | |
560 | label_SBM1_CWF_F1_nb->setText(QString::number(SBM1_CWF_F1_nb)); |
|
568 | label_SBM1_CWF_F1_nb->setText(QString::number(SBM1_CWF_F1_nb)); | |
561 | } |
|
569 | } | |
562 | else if (sid == SID_SBM2_CWF_F2) |
|
570 | else if (sid == SID_SBM2_CWF_F2) | |
563 | { |
|
571 | { | |
564 | SBM2_CWF_F2_nb = SBM2_CWF_F2_nb + 1; |
|
572 | SBM2_CWF_F2_nb = SBM2_CWF_F2_nb + 1; | |
565 | label_SBM2_CWF_F2_nb->setText(QString::number(SBM2_CWF_F2_nb)); |
|
573 | label_SBM2_CWF_F2_nb->setText(QString::number(SBM2_CWF_F2_nb)); | |
566 | } |
|
574 | } | |
567 | else |
|
575 | else | |
568 | { |
|
576 | { | |
569 | incrementUnknown(); |
|
577 | incrementUnknown(); | |
570 | } |
|
578 | } | |
571 | } |
|
579 | } | |
572 | } |
|
580 | } | |
573 | else |
|
581 | else | |
574 | { |
|
582 | { | |
575 | incrementUnknown(); |
|
583 | incrementUnknown(); | |
576 | } |
|
584 | } | |
577 | } |
|
585 | } | |
578 | else |
|
586 | else | |
579 | { |
|
587 | { | |
580 | incrementUnknown(); |
|
588 | incrementUnknown(); | |
581 | } |
|
589 | } | |
582 |
|
590 | |||
583 | label_PID_is->setText(QString::number(pid)); |
|
591 | label_PID_is->setText(QString::number(pid)); | |
584 | label_CAT_is->setText(QString::number(cat)); |
|
592 | label_CAT_is->setText(QString::number(cat)); | |
585 | label_TYP_is->setText(QString::number(typ)); |
|
593 | label_TYP_is->setText(QString::number(typ)); | |
586 | label_SUB_is->setText(QString::number(sub)); |
|
594 | label_SUB_is->setText(QString::number(sub)); | |
587 | label_SID_is->setText(QString::number(sid)); |
|
595 | label_SID_is->setText(QString::number(sid)); | |
588 | label_SIZ_is->setText(QString::number(length)); |
|
596 | label_SIZ_is->setText(QString::number(length)); | |
589 | label_coarse_time_val->setText(QString::number(coarse_t, 16)); |
|
597 | label_coarse_time_val->setText(QString::number(coarse_t, 16)); | |
590 | label_fine_time_val->setText(QString::number(fine_t, 16)); |
|
598 | label_fine_time_val->setText(QString::number(fine_t, 16)); | |
591 | } |
|
599 | } | |
592 |
|
600 | |||
593 | void TMStatistics::incrementUnknown() |
|
601 | void TMStatistics::incrementUnknown() | |
594 | { |
|
602 | { | |
595 | UNKNOWN_nb = UNKNOWN_nb + 1; |
|
603 | UNKNOWN_nb = UNKNOWN_nb + 1; | |
596 | label_UNKNOWN_nb->setText(QString::number(UNKNOWN_nb)); |
|
604 | label_UNKNOWN_nb->setText(QString::number(UNKNOWN_nb)); | |
597 | } |
|
605 | } | |
598 |
|
606 | |||
599 | unsigned char TMStatistics::getPID(TMPacketToRead *packet) |
|
607 | unsigned char TMStatistics::getPID(TMPacketToRead *packet) | |
600 | { |
|
608 | { | |
601 | unsigned char pid = 0; |
|
609 | unsigned char pid = 0; | |
602 |
|
610 | |||
603 | pid = ((packet->Value[4] & 0x07) << 4) + ((packet->Value[5] & 0xf0) >> 4); |
|
611 | pid = ((packet->Value[4] & 0x07) << 4) + ((packet->Value[5] & 0xf0) >> 4); | |
604 |
|
612 | |||
605 | return pid; |
|
613 | return pid; | |
606 | } |
|
614 | } | |
607 |
|
615 | |||
608 | unsigned char TMStatistics::getCAT(TMPacketToRead *packet) |
|
616 | unsigned char TMStatistics::getCAT(TMPacketToRead *packet) | |
609 | { |
|
617 | { | |
610 | unsigned char cat = 0; |
|
618 | unsigned char cat = 0; | |
611 |
|
619 | |||
612 | cat = packet->Value[5] & 0x0f; |
|
620 | cat = packet->Value[5] & 0x0f; | |
613 |
|
621 | |||
614 | return cat; |
|
622 | return cat; | |
615 | } |
|
623 | } | |
616 |
|
624 | |||
617 | unsigned char TMStatistics::getSegmentationGroupingFlag(TMPacketToRead *packet) |
|
625 | unsigned char TMStatistics::getSegmentationGroupingFlag(TMPacketToRead *packet) | |
618 | { |
|
626 | { | |
619 | unsigned char segmentationGroupingFlag; |
|
627 | unsigned char segmentationGroupingFlag; | |
620 |
|
628 | |||
621 | segmentationGroupingFlag = (unsigned char) (packet->Value[6] >> 6); |
|
629 | segmentationGroupingFlag = (unsigned char) (packet->Value[6] >> 6); | |
622 |
|
630 | |||
623 | return segmentationGroupingFlag; |
|
631 | return segmentationGroupingFlag; | |
624 | } |
|
632 | } | |
625 |
|
633 | |||
626 | unsigned char TMStatistics::getTYPE(TMPacketToRead *packet) |
|
634 | unsigned char TMStatistics::getTYPE(TMPacketToRead *packet) | |
627 | { |
|
635 | { | |
628 | unsigned char typ = 0; |
|
636 | unsigned char typ = 0; | |
629 |
|
637 | |||
630 | typ = packet->Value[11]; // TYPE |
|
638 | typ = packet->Value[11]; // TYPE | |
631 |
|
639 | |||
632 | return typ; |
|
640 | return typ; | |
633 | } |
|
641 | } | |
634 |
|
642 | |||
635 | unsigned char TMStatistics::getSUBTYPE(TMPacketToRead *packet) |
|
643 | unsigned char TMStatistics::getSUBTYPE(TMPacketToRead *packet) | |
636 | { |
|
644 | { | |
637 | unsigned char sub = 0; |
|
645 | unsigned char sub = 0; | |
638 |
|
646 | |||
639 | sub = packet->Value[12]; // SUBTYPE |
|
647 | sub = packet->Value[12]; // SUBTYPE | |
640 |
|
648 | |||
641 | return sub; |
|
649 | return sub; | |
642 | } |
|
650 | } | |
643 |
|
651 | |||
644 | unsigned int TMStatistics::getLENGTH(TMPacketToRead *packet) |
|
652 | unsigned int TMStatistics::getLENGTH(TMPacketToRead *packet) | |
645 | { |
|
653 | { | |
646 | unsigned int length = 0; |
|
654 | unsigned int length = 0; | |
647 |
|
655 | |||
648 | length = packet->Value[8] * 256 + packet->Value[9]; |
|
656 | length = packet->Value[8] * 256 + packet->Value[9]; | |
649 |
|
657 | |||
650 | return length; |
|
658 | return length; | |
651 | } |
|
659 | } | |
652 |
|
660 | |||
653 | unsigned int TMStatistics::getCoarseTime(TMPacketToRead *packet) |
|
661 | unsigned int TMStatistics::getCoarseTime(TMPacketToRead *packet) | |
654 | { |
|
662 | { | |
655 | unsigned int coarse = 0; |
|
663 | unsigned int coarse = 0; | |
656 |
|
664 | |||
657 | coarse = packet->Value[14] * pow(2, 24) + packet->Value[15] * pow(2, 16) |
|
665 | coarse = packet->Value[14] * pow(2, 24) + packet->Value[15] * pow(2, 16) | |
658 | + packet->Value[16] * pow(2, 8) + packet->Value[17]; |
|
666 | + packet->Value[16] * pow(2, 8) + packet->Value[17]; | |
659 |
|
667 | |||
660 | return coarse; |
|
668 | return coarse; | |
661 | } |
|
669 | } | |
662 |
|
670 | |||
663 | unsigned int TMStatistics::getFineTime(TMPacketToRead *packet) |
|
671 | unsigned int TMStatistics::getFineTime(TMPacketToRead *packet) | |
664 | { |
|
672 | { | |
665 | unsigned int fine = 0; |
|
673 | unsigned int fine = 0; | |
666 |
|
674 | |||
667 | fine = packet->Value[18] * pow(2, 8) + packet->Value[19]; |
|
675 | fine = packet->Value[18] * pow(2, 8) + packet->Value[19]; | |
668 |
|
676 | |||
669 | return fine; |
|
677 | return fine; | |
670 | } |
|
678 | } | |
671 |
|
679 | |||
672 | unsigned int TMStatistics::getSID(TMPacketToRead *packet, |
|
680 | unsigned int TMStatistics::getSID(TMPacketToRead *packet, | |
673 | unsigned char pid, unsigned char cat, |
|
681 | unsigned char pid, unsigned char cat, | |
674 | unsigned char typ, unsigned char sub) |
|
682 | unsigned char typ, unsigned char sub) | |
675 | { |
|
683 | { | |
676 | unsigned int sid = 0; |
|
684 | unsigned int sid = 0; | |
677 | QByteArray packetAsAnArray; |
|
|||
678 | QString packetName; |
|
685 | QString packetName; | |
679 | QTime currentTime; |
|
686 | QTime currentTime; | |
680 | QDate currentDate; |
|
687 | QDate currentDate; | |
|
688 | unsigned int i; | |||
681 |
|
689 | |||
682 | if ((pid == TM_PACKET_PID_DEFAULT) & (cat == TM_PACKET_CAT_TC_EXE) |
|
690 | if ((pid == TM_PACKET_PID_DEFAULT) & (cat == TM_PACKET_CAT_TC_EXE) | |
683 | & (typ == TM_TYPE_TC_EXE) & (sub == TM_SUBTYPE_EXE_NOK)) |
|
691 | & (typ == TM_TYPE_TC_EXE) & (sub == TM_SUBTYPE_EXE_NOK)) | |
684 | sid = packet->Value[20] * 256 + packet->Value[21]; |
|
692 | sid = packet->Value[20] * 256 + packet->Value[21]; | |
685 | else if ((pid == TM_PACKET_PID_DEFAULT) & (cat == TM_PACKET_CAT_HK) |
|
693 | else if ((pid == TM_PACKET_PID_DEFAULT) & (cat == TM_PACKET_CAT_HK) | |
686 | & (typ == TM_TYPE_HK) & (sub == TM_SUBTYPE_HK)) |
|
694 | & (typ == TM_TYPE_HK) & (sub == TM_SUBTYPE_HK)) | |
687 | sid = SID_HK; |
|
695 | sid = SID_HK; | |
688 | else if ((pid == TM_PACKET_PID_DEFAULT) & (cat == TM_PACKET_CAT_PARAMETER_DUMP) |
|
696 | else if ((pid == TM_PACKET_PID_DEFAULT) & (cat == TM_PACKET_CAT_PARAMETER_DUMP) | |
689 | & (typ == TM_TYPE_PARAMETER_DUMP) & (sub == TM_SUBTYPE_PARAMETER_DUMP)) |
|
697 | & (typ == TM_TYPE_PARAMETER_DUMP) & (sub == TM_SUBTYPE_PARAMETER_DUMP)) | |
690 | sid = SID_PARAMETER_DUMP; |
|
698 | sid = SID_PARAMETER_DUMP; | |
691 | else if ((pid == TM_PACKET_PID_DEFAULT) & (cat == TM_PACKET_CAT_SCIENCE) |
|
699 | else if ((pid == TM_PACKET_PID_DEFAULT) & (cat == TM_PACKET_CAT_SCIENCE) | |
692 | & (typ == TM_TYPE_LFR_SCIENCE) & (sub == TM_SUBTYPE_LFR_SCIENCE)) |
|
700 | & (typ == TM_TYPE_LFR_SCIENCE) & (sub == TM_SUBTYPE_LFR_SCIENCE)) | |
693 | sid = packet->Value[20]; |
|
701 | sid = packet->Value[20]; | |
694 | else if ((pid == TM_PACKET_PID_BURST_SBM1_SBM2) & (cat == TM_PACKET_CAT_SCIENCE) |
|
702 | else if ((pid == TM_PACKET_PID_BURST_SBM1_SBM2) & (cat == TM_PACKET_CAT_SCIENCE) | |
695 | & (typ == TM_TYPE_LFR_SCIENCE) & (sub == TM_SUBTYPE_LFR_SCIENCE)) |
|
703 | & (typ == TM_TYPE_LFR_SCIENCE) & (sub == TM_SUBTYPE_LFR_SCIENCE)) | |
696 | sid = packet->Value[20]; |
|
704 | sid = packet->Value[20]; | |
697 |
|
705 | |||
698 | if (logFileEn == true) |
|
706 | if (logFileEn == true) | |
699 | { |
|
707 | { | |
700 | // packetAsAnArray = QByteArray::fromRawData((char *) &packet->Value[4], (packet->size-4)); |
|
|||
701 | logFile->write((char *) &packet->Value[4], (packet->size-4)); |
|
708 | logFile->write((char *) &packet->Value[4], (packet->size-4)); | |
702 | // *(this->logFileStrm) |
|
|||
703 | // << packetAsAnArray; |
|
|||
704 | } |
|
709 | } | |
705 |
|
710 | |||
|
711 | currentTime = QTime::currentTime(); | |||
|
712 | currentDate = QDate::currentDate(); | |||
|
713 | ||||
706 | if (packetLogFileEn == true) |
|
714 | if (packetLogFileEn == true) | |
707 | { |
|
715 | { | |
708 | currentTime = QTime::currentTime(); |
|
|||
709 | currentDate = QDate::currentDate(); |
|
|||
710 | packetName = getPacketName( typ, sub, sid); |
|
716 | packetName = getPacketName( typ, sub, sid); | |
711 |
|
717 | |||
712 | *(this->packetLogFileStrm) |
|
718 | *(this->packetLogFileStrm) | |
713 | << QString::number(currentDate.year()) + " " |
|
719 | << QString::number(currentDate.year()) + " " | |
714 | << QString::number(currentDate.month()) + " " |
|
720 | << QString::number(currentDate.month()) + " " | |
715 | << QString::number(currentDate.day()) + " " |
|
721 | << QString::number(currentDate.day()) + " " | |
716 | << QTime::currentTime().toString() + ":" |
|
722 | << QTime::currentTime().toString() + ":" | |
717 | << QString::number(currentTime.msec()) + " " |
|
723 | << QString::number(currentTime.msec()) + " " | |
718 | << packetName |
|
724 | << packetName | |
719 | << " time = 0x " + QString::number( |
|
725 | << " time = 0x " + QString::number( | |
720 | (packet->Value[14] << 24) + (packet->Value[15] << 16) + (packet->Value[16] << 8) + packet->Value[17], |
|
726 | (packet->Value[14] << 24) + (packet->Value[15] << 16) + (packet->Value[16] << 8) + packet->Value[17], | |
721 | 16).right(8) |
|
727 | 16).right(8) | |
722 | << " " + QString::number( (packet->Value[18] << 8) + packet->Value[19], 16) |
|
728 | << " " + QString::number( (packet->Value[18] << 8) + packet->Value[19], 16) | |
723 | << endl; |
|
729 | << endl; | |
724 | } |
|
730 | } | |
725 |
|
731 | |||
|
732 | if (csvPacketRecordFileEn == true) | |||
|
733 | { | |||
|
734 | *(this->packetLogFileStrm) | |||
|
735 | << QString::number(currentDate.year()) + " " | |||
|
736 | << QString::number(currentDate.month()) + " " | |||
|
737 | << QString::number(currentDate.day()) + " " | |||
|
738 | << QTime::currentTime().toString() + ":" | |||
|
739 | << QString::number(currentTime.msec()); | |||
|
740 | for (i=0; i< packet->size; i++) | |||
|
741 | { | |||
|
742 | *(this->packetLogFileStrm) | |||
|
743 | << ", " + QString::number( packet->Value[i] ); | |||
|
744 | } | |||
|
745 | *(this->packetLogFileStrm) | |||
|
746 | << endl; | |||
|
747 | } | |||
|
748 | ||||
726 | return sid; |
|
749 | return sid; | |
727 | } |
|
750 | } | |
728 |
|
751 | |||
729 | void TMStatistics::buildFileName() |
|
752 | void TMStatistics::buildFileName() | |
730 | { |
|
753 | { | |
731 | QTime time; |
|
754 | QTime time; | |
732 | QDate date; |
|
755 | QDate date; | |
733 | QString dateTime; |
|
756 | QString dateTime; | |
734 | QString prefix; |
|
757 | QString prefix; | |
735 |
|
758 | |||
736 | date = QDate::currentDate(); |
|
759 | date = QDate::currentDate(); | |
737 | time = QTime::currentTime(); |
|
760 | time = QTime::currentTime(); | |
738 |
|
761 | |||
739 | dateTime = QString::number( date.year() ) + "_" |
|
762 | dateTime = QString::number( date.year() ) + "_" | |
740 | + QString::number( date.month() ) + "_" |
|
763 | + QString::number( date.month() ) + "_" | |
741 | + QString::number( date.day() ) + "-" |
|
764 | + QString::number( date.day() ) + "-" | |
742 | + QString::number( time.hour() ) + "_" |
|
765 | + QString::number( time.hour() ) + "_" | |
743 | + QString::number( time.minute() ) + "_" |
|
766 | + QString::number( time.minute() ) + "_" | |
744 | + QString::number( time.second() ); |
|
767 | + QString::number( time.second() ); | |
745 |
|
768 | |||
746 | prefix = defaultStorageDirectory + "/" + dateTime + "_" ; |
|
769 | prefix = defaultStorageDirectory + "/" + dateTime + "_" ; | |
747 |
|
770 | |||
748 | if(this->logFile->isOpen()) this->logFile->close(); |
|
771 | if(this->logFile->isOpen()) this->logFile->close(); | |
749 | this->logFile->setFileName( prefix + "packet_record.data"); |
|
772 | this->logFile->setFileName( prefix + "packet_record.data"); | |
750 |
if(this->logFile->open(QIODevice::WriteOnly)) |
|
773 | if(this->logFile->open(QIODevice::WriteOnly)) | |
|
774 | this->logFileStrm = new QTextStream(this->logFile); | |||
751 | } |
|
775 | } | |
752 |
|
776 | |||
753 | void TMStatistics::buildPacketLogFileName() |
|
777 | void TMStatistics::buildPacketLogFileName() | |
754 | { |
|
778 | { | |
755 | QTime time; |
|
779 | QTime time; | |
756 | QDate date; |
|
780 | QDate date; | |
757 | QString dateTime; |
|
781 | QString dateTime; | |
758 | QString prefix; |
|
782 | QString prefix; | |
759 |
|
783 | |||
760 | date = QDate::currentDate(); |
|
784 | date = QDate::currentDate(); | |
761 | time = QTime::currentTime(); |
|
785 | time = QTime::currentTime(); | |
762 |
|
786 | |||
763 | dateTime = QString::number( date.year() ) + "_" |
|
787 | dateTime = QString::number( date.year() ) + "_" | |
764 | + QString::number( date.month() ) + "_" |
|
788 | + QString::number( date.month() ) + "_" | |
765 | + QString::number( date.day() ) + "-" |
|
789 | + QString::number( date.day() ) + "-" | |
766 | + QString::number( time.hour() ) + "_" |
|
790 | + QString::number( time.hour() ) + "_" | |
767 | + QString::number( time.minute() ) + "_" |
|
791 | + QString::number( time.minute() ) + "_" | |
768 | + QString::number( time.second() ); |
|
792 | + QString::number( time.second() ); | |
769 |
|
793 | |||
770 | prefix = defaultStorageDirectory + "/" + dateTime + "_" ; |
|
794 | prefix = defaultStorageDirectory + "/" + dateTime + "_" ; | |
771 |
|
795 | |||
772 | if(this->packetLogFile->isOpen()) this->packetLogFile->close(); |
|
796 | if(this->packetLogFile->isOpen()) this->packetLogFile->close(); | |
773 | this->packetLogFile->setFileName( prefix + "packet_log.data"); |
|
797 | this->packetLogFile->setFileName( prefix + "packet_log.data"); | |
774 |
if(this->packetLogFile->open(QIODevice::WriteOnly)) |
|
798 | if(this->packetLogFile->open(QIODevice::WriteOnly)) | |
|
799 | this->packetLogFileStrm = new QTextStream(this->packetLogFile); | |||
|
800 | } | |||
|
801 | ||||
|
802 | void TMStatistics::buildCSVPacketRecordFileName() | |||
|
803 | { | |||
|
804 | QTime time; | |||
|
805 | QDate date; | |||
|
806 | QString dateTime; | |||
|
807 | QString prefix; | |||
|
808 | ||||
|
809 | date = QDate::currentDate(); | |||
|
810 | time = QTime::currentTime(); | |||
|
811 | ||||
|
812 | dateTime = QString::number( date.year() ) + "_" | |||
|
813 | + QString::number( date.month() ) + "_" | |||
|
814 | + QString::number( date.day() ) + "-" | |||
|
815 | + QString::number( time.hour() ) + "_" | |||
|
816 | + QString::number( time.minute() ) + "_" | |||
|
817 | + QString::number( time.second() ); | |||
|
818 | ||||
|
819 | prefix = defaultStorageDirectory + "/" + dateTime + "_" ; | |||
|
820 | ||||
|
821 | if(this->csvPacketRecordFile->isOpen()) this->csvPacketRecordFile->close(); | |||
|
822 | this->csvPacketRecordFile->setFileName( prefix + "packet_record.csv"); | |||
|
823 | if(this->csvPacketRecordFile->open(QIODevice::WriteOnly)) | |||
|
824 | this->csvPacketRecordFileStrm = new QTextStream(this->csvPacketRecordFile); | |||
775 | } |
|
825 | } | |
776 |
|
826 | |||
777 | void TMStatistics::storePackets( int state ) |
|
827 | void TMStatistics::storePackets( int state ) | |
778 | { |
|
828 | { | |
779 | if (state == Qt::Checked) |
|
829 | if (state == Qt::Checked) | |
780 | { |
|
830 | { | |
781 | buildFileName(); |
|
831 | buildFileName(); | |
782 | logFileEn = true; |
|
832 | logFileEn = true; | |
783 | } |
|
833 | } | |
784 | else |
|
834 | else | |
785 | { |
|
835 | { | |
786 | if(this->logFile->isOpen()) this->logFile->close(); |
|
836 | if(this->logFile->isOpen()) this->logFile->close(); | |
787 | logFileEn = false; |
|
837 | logFileEn = false; | |
788 | } |
|
838 | } | |
789 | } |
|
839 | } | |
790 |
|
840 | |||
|
841 | void TMStatistics::storeCSVPackets( int state ) | |||
|
842 | { | |||
|
843 | if (state == Qt::Checked) | |||
|
844 | { | |||
|
845 | buildCSVPacketRecordFileName(); | |||
|
846 | csvPacketRecordFileEn = true; | |||
|
847 | } | |||
|
848 | else | |||
|
849 | { | |||
|
850 | if(this->csvPacketRecordFile->isOpen()) this->csvPacketRecordFile->close(); | |||
|
851 | csvPacketRecordFileEn = false; | |||
|
852 | } | |||
|
853 | } | |||
|
854 | ||||
791 | void TMStatistics::logPackets( int state ) |
|
855 | void TMStatistics::logPackets( int state ) | |
792 | { |
|
856 | { | |
793 | if (state == Qt::Checked) |
|
857 | if (state == Qt::Checked) | |
794 | { |
|
858 | { | |
795 | buildPacketLogFileName(); |
|
859 | buildPacketLogFileName(); | |
796 | packetLogFileEn = true; |
|
860 | packetLogFileEn = true; | |
797 | } |
|
861 | } | |
798 | else |
|
862 | else | |
799 | { |
|
863 | { | |
800 | if(this->packetLogFile->isOpen()) this->packetLogFile->close(); |
|
864 | if(this->packetLogFile->isOpen()) this->packetLogFile->close(); | |
801 | packetLogFileEn = false; |
|
865 | packetLogFileEn = false; | |
802 | } |
|
866 | } | |
803 | } |
|
867 | } | |
804 |
|
868 | |||
805 | void TMStatistics::chooseDir() |
|
869 | void TMStatistics::chooseDir() | |
806 | { |
|
870 | { | |
807 | QString tmpDefaultStorageDirectory; |
|
871 | QString tmpDefaultStorageDirectory; | |
808 | tmpDefaultStorageDirectory = QFileDialog::getExistingDirectory(this, |
|
872 | tmpDefaultStorageDirectory = QFileDialog::getExistingDirectory(this, | |
809 | "choose the directory", |
|
873 | "choose the directory", | |
810 | QDir::homePath(), |
|
874 | QDir::homePath(), | |
811 | QFileDialog::ShowDirsOnly); |
|
875 | QFileDialog::ShowDirsOnly); | |
812 |
|
876 | |||
813 | if( !tmpDefaultStorageDirectory.isEmpty() ) |
|
877 | if( !tmpDefaultStorageDirectory.isEmpty() ) | |
814 | { |
|
878 | { | |
815 | defaultStorageDirectory = tmpDefaultStorageDirectory; |
|
879 | defaultStorageDirectory = tmpDefaultStorageDirectory; | |
816 | } |
|
880 | } | |
817 |
|
881 | |||
818 | label_currentDir->setText(defaultStorageDirectory); |
|
882 | label_currentDir->setText(defaultStorageDirectory); | |
819 | } |
|
883 | } | |
820 |
|
884 | |||
821 | void TMStatistics::closeEvent(QCloseEvent *event) |
|
885 | void TMStatistics::closeEvent(QCloseEvent *event) | |
822 | { |
|
886 | { | |
823 | if(this->logFile->isOpen()) |
|
887 | if(this->logFile->isOpen()) | |
824 | { |
|
888 | { | |
825 | this->logFileStrm->flush(); |
|
889 | this->logFileStrm->flush(); | |
826 | this->logFile->waitForBytesWritten(3000); |
|
890 | this->logFile->waitForBytesWritten(3000); | |
827 | this->logFile->close(); |
|
891 | this->logFile->close(); | |
828 | } |
|
892 | } | |
829 | writeSettings(); |
|
893 | writeSettings(); | |
830 | event->accept(); |
|
894 | event->accept(); | |
831 | } |
|
895 | } | |
832 |
|
896 | |||
833 | QString TMStatistics::getPacketName(unsigned char type, unsigned char subtype, unsigned int sid) |
|
897 | QString TMStatistics::getPacketName(unsigned char type, unsigned char subtype, unsigned int sid) | |
834 | { |
|
898 | { | |
835 | QString packetName = "default"; |
|
899 | QString packetName = "default"; | |
836 | if (type == TM_TYPE_TC_EXE) |
|
900 | if (type == TM_TYPE_TC_EXE) | |
837 | { |
|
901 | { | |
838 | if (subtype== TM_SUBTYPE_EXE_OK) packetName = "TM_LFR_TC_EXE_SUCCESS"; |
|
902 | if (subtype== TM_SUBTYPE_EXE_OK) packetName = "TM_LFR_TC_EXE_SUCCESS"; | |
839 | if (subtype == TM_SUBTYPE_EXE_NOK) |
|
903 | if (subtype == TM_SUBTYPE_EXE_NOK) | |
840 | { |
|
904 | { | |
841 | if (sid == WRONG_APP_DATA) packetName = "TM_LFR_TC_EXE_INCONSISTENT"; |
|
905 | if (sid == WRONG_APP_DATA) packetName = "TM_LFR_TC_EXE_INCONSISTENT"; | |
842 | if (sid == TC_NOT_EXE) packetName = "TM_LFR_TC_EXE_NOT_EXECUTABLE"; |
|
906 | if (sid == TC_NOT_EXE) packetName = "TM_LFR_TC_EXE_NOT_EXECUTABLE"; | |
843 | if (sid == FUNCT_NOT_IMPL) packetName = "TM_LFR_TC_EXE_NOT_IMPLEMENTED"; |
|
907 | if (sid == FUNCT_NOT_IMPL) packetName = "TM_LFR_TC_EXE_NOT_IMPLEMENTED"; | |
844 | if (sid == FAIL_DETECTED) packetName = "TM_LFR_TC_EXE_ERROR"; |
|
908 | if (sid == FAIL_DETECTED) packetName = "TM_LFR_TC_EXE_ERROR"; | |
845 | if (sid == CORRUPTED) packetName = "TM_LFR_TC_EXE_CORRUPTED"; |
|
909 | if (sid == CORRUPTED) packetName = "TM_LFR_TC_EXE_CORRUPTED"; | |
846 | } |
|
910 | } | |
847 | } |
|
911 | } | |
848 | if (type == TM_TYPE_HK) |
|
912 | if (type == TM_TYPE_HK) | |
849 | { |
|
913 | { | |
850 | if (subtype == TM_SUBTYPE_HK) |
|
914 | if (subtype == TM_SUBTYPE_HK) | |
851 | { |
|
915 | { | |
852 | if (sid == SID_HK) packetName = "TM_LFR_HK"; |
|
916 | if (sid == SID_HK) packetName = "TM_LFR_HK"; | |
853 | if (sid == SID_PARAMETER_DUMP) packetName = "TM_LFR_PARAMETER_DUMP"; |
|
917 | if (sid == SID_PARAMETER_DUMP) packetName = "TM_LFR_PARAMETER_DUMP"; | |
854 | } |
|
918 | } | |
855 | } |
|
919 | } | |
856 | if (type == TM_TYPE_LFR_SCIENCE) |
|
920 | if (type == TM_TYPE_LFR_SCIENCE) | |
857 | { |
|
921 | { | |
858 | if (subtype == TM_SUBTYPE_SCIENCE) |
|
922 | if (subtype == TM_SUBTYPE_SCIENCE) | |
859 | { |
|
923 | { | |
860 | if (sid == SID_NORM_SWF_F0) packetName = "TM_LFR_SCIENCE_NORMAL_SWF_F0"; |
|
924 | if (sid == SID_NORM_SWF_F0) packetName = "TM_LFR_SCIENCE_NORMAL_SWF_F0"; | |
861 | if (sid == SID_NORM_SWF_F1) packetName = "TM_LFR_SCIENCE_NORMAL_SWF_F1"; |
|
925 | if (sid == SID_NORM_SWF_F1) packetName = "TM_LFR_SCIENCE_NORMAL_SWF_F1"; | |
862 | if (sid == SID_NORM_SWF_F2) packetName = "TM_LFR_SCIENCE_NORMAL_SWF_F2"; |
|
926 | if (sid == SID_NORM_SWF_F2) packetName = "TM_LFR_SCIENCE_NORMAL_SWF_F2"; | |
863 | if (sid == SID_NORM_CWF_F3) packetName = "TM_LFR_SCIENCE_NORMAL_CWF_F3"; |
|
927 | if (sid == SID_NORM_CWF_F3) packetName = "TM_LFR_SCIENCE_NORMAL_CWF_F3"; | |
864 | if (sid == SID_BURST_CWF_F2) packetName = "TM_LFR_SCIENCE_BURST_CWF_F2"; |
|
928 | if (sid == SID_BURST_CWF_F2) packetName = "TM_LFR_SCIENCE_BURST_CWF_F2"; | |
865 | if (sid == SID_SBM1_CWF_F1) packetName = "TM_LFR_SCIENCE_SBM1_CWF_F1"; |
|
929 | if (sid == SID_SBM1_CWF_F1) packetName = "TM_LFR_SCIENCE_SBM1_CWF_F1"; | |
866 | if (sid == SID_SBM2_CWF_F2) packetName = "TM_LFR_SCIENCE_SBM2_CWF_F2"; |
|
930 | if (sid == SID_SBM2_CWF_F2) packetName = "TM_LFR_SCIENCE_SBM2_CWF_F2"; | |
867 | if (sid == SID_NORM_ASM_F0) packetName = "TM_LFR_SCIENCE_NORMAL_ASM_F0"; |
|
931 | if (sid == SID_NORM_ASM_F0) packetName = "TM_LFR_SCIENCE_NORMAL_ASM_F0"; | |
868 | if (sid == SID_NORM_ASM_F1) packetName = "TM_LFR_SCIENCE_NORMAL_ASM_F1"; |
|
932 | if (sid == SID_NORM_ASM_F1) packetName = "TM_LFR_SCIENCE_NORMAL_ASM_F1"; | |
869 | if (sid == SID_NORM_ASM_F2) packetName = "TM_LFR_SCIENCE_NORMAL_ASM_F2"; |
|
933 | if (sid == SID_NORM_ASM_F2) packetName = "TM_LFR_SCIENCE_NORMAL_ASM_F2"; | |
870 | if (sid == SID_NORM_BP1_F0) packetName = "TM_LFR_SCIENCE_NORMAL_BP1_F0"; |
|
934 | if (sid == SID_NORM_BP1_F0) packetName = "TM_LFR_SCIENCE_NORMAL_BP1_F0"; | |
871 | if (sid == SID_NORM_BP1_F1) packetName = "TM_LFR_SCIENCE_NORMAL_BP1_F1"; |
|
935 | if (sid == SID_NORM_BP1_F1) packetName = "TM_LFR_SCIENCE_NORMAL_BP1_F1"; | |
872 | if (sid == SID_NORM_BP1_F2) packetName = "TM_LFR_SCIENCE_NORMAL_BP1_F2"; |
|
936 | if (sid == SID_NORM_BP1_F2) packetName = "TM_LFR_SCIENCE_NORMAL_BP1_F2"; | |
873 | if (sid == SID_NORM_BP2_F0) packetName = "TM_LFR_SCIENCE_NORMAL_BP2_F0"; |
|
937 | if (sid == SID_NORM_BP2_F0) packetName = "TM_LFR_SCIENCE_NORMAL_BP2_F0"; | |
874 | if (sid == SID_NORM_BP2_F1) packetName = "TM_LFR_SCIENCE_NORMAL_BP2_F1"; |
|
938 | if (sid == SID_NORM_BP2_F1) packetName = "TM_LFR_SCIENCE_NORMAL_BP2_F1"; | |
875 | if (sid == SID_NORM_BP2_F2) packetName = "TM_LFR_SCIENCE_NORMAL_BP2_F2"; |
|
939 | if (sid == SID_NORM_BP2_F2) packetName = "TM_LFR_SCIENCE_NORMAL_BP2_F2"; | |
876 | if (sid == SID_BURST_BP1_F0) packetName = "TM_LFR_SCIENCE_BURST_BP1_F0"; |
|
940 | if (sid == SID_BURST_BP1_F0) packetName = "TM_LFR_SCIENCE_BURST_BP1_F0"; | |
877 | if (sid == SID_BURST_BP2_F0) packetName = "TM_LFR_SCIENCE_BURST_BP2_F0"; |
|
941 | if (sid == SID_BURST_BP2_F0) packetName = "TM_LFR_SCIENCE_BURST_BP2_F0"; | |
878 | if (sid == SID_BURST_BP1_F1) packetName = "TM_LFR_SCIENCE_BURST_BP1_F1"; |
|
942 | if (sid == SID_BURST_BP1_F1) packetName = "TM_LFR_SCIENCE_BURST_BP1_F1"; | |
879 | if (sid == SID_BURST_BP2_F1) packetName = "TM_LFR_SCIENCE_BURST_BP2_F1"; |
|
943 | if (sid == SID_BURST_BP2_F1) packetName = "TM_LFR_SCIENCE_BURST_BP2_F1"; | |
880 | if (sid == SID_SBM1_BP1_F0) packetName = "TM_LFR_SCIENCE_SBM1_BP1_F0"; |
|
944 | if (sid == SID_SBM1_BP1_F0) packetName = "TM_LFR_SCIENCE_SBM1_BP1_F0"; | |
881 | if (sid == SID_SBM1_BP2_F0) packetName = "TM_LFR_SCIENCE_SBM1_BP2_F0"; |
|
945 | if (sid == SID_SBM1_BP2_F0) packetName = "TM_LFR_SCIENCE_SBM1_BP2_F0"; | |
882 | if (sid == SID_SBM2_BP1_F0) packetName = "TM_LFR_SCIENCE_SBM2_BP1_F0"; |
|
946 | if (sid == SID_SBM2_BP1_F0) packetName = "TM_LFR_SCIENCE_SBM2_BP1_F0"; | |
883 | if (sid == SID_SBM2_BP2_F0) packetName = "TM_LFR_SCIENCE_SBM2_BP2_F0"; |
|
947 | if (sid == SID_SBM2_BP2_F0) packetName = "TM_LFR_SCIENCE_SBM2_BP2_F0"; | |
884 | if (sid == SID_SBM2_BP1_F1) packetName = "TM_LFR_SCIENCE_SBM2_BP1_F1"; |
|
948 | if (sid == SID_SBM2_BP1_F1) packetName = "TM_LFR_SCIENCE_SBM2_BP1_F1"; | |
885 | if (sid == SID_SBM2_BP2_F1) packetName = "TM_LFR_SCIENCE_SBM2_BP2_F1"; |
|
949 | if (sid == SID_SBM2_BP2_F1) packetName = "TM_LFR_SCIENCE_SBM2_BP2_F1"; | |
886 | } |
|
950 | } | |
887 | } |
|
951 | } | |
888 |
|
952 | |||
889 | return packetName; |
|
953 | return packetName; | |
890 | } |
|
954 | } | |
891 |
|
955 | |||
892 | void TMStatistics::readSettings() |
|
956 | void TMStatistics::readSettings() | |
893 | { |
|
957 | { | |
894 | QSettings settings("lpp", "lfrsgse"); |
|
958 | QSettings settings("lpp", "lfrsgse"); | |
895 | defaultStorageDirectory = settings.value("defaultStorageDirectory", QDir::homePath()).toString(); |
|
959 | defaultStorageDirectory = settings.value("defaultStorageDirectory", QDir::homePath()).toString(); | |
896 | label_currentDir->setText(defaultStorageDirectory); |
|
960 | label_currentDir->setText(defaultStorageDirectory); | |
897 | } |
|
961 | } | |
898 |
|
962 | |||
899 | void TMStatistics::writeSettings() |
|
963 | void TMStatistics::writeSettings() | |
900 | { |
|
964 | { | |
901 | QSettings settings("lpp", "lfrsgse"); |
|
965 | QSettings settings("lpp", "lfrsgse"); | |
902 | settings.setValue("defaultStorageDirectory", defaultStorageDirectory); |
|
966 | settings.setValue("defaultStorageDirectory", defaultStorageDirectory); | |
903 | } |
|
967 | } |
@@ -1,250 +1,256 | |||||
1 | #ifndef TMSTATISTICS_H |
|
1 | #ifndef TMSTATISTICS_H | |
2 | #define TMSTATISTICS_H |
|
2 | #define TMSTATISTICS_H | |
3 |
|
3 | |||
4 | #include <QWidget> |
|
4 | #include <QWidget> | |
5 | #include <QLabel> |
|
5 | #include <QLabel> | |
6 | #include <QPushButton> |
|
6 | #include <QPushButton> | |
7 | #include <QGridLayout> |
|
7 | #include <QGridLayout> | |
8 | #include <QVBoxLayout> |
|
8 | #include <QVBoxLayout> | |
9 | #include <QGroupBox> |
|
9 | #include <QGroupBox> | |
10 | #include <QFile> |
|
10 | #include <QFile> | |
11 | #include <QTextStream> |
|
11 | #include <QTextStream> | |
12 | #include <tmpackettoread.h> |
|
12 | #include <tmpackettoread.h> | |
13 | #include <ccsds_types.h> |
|
13 | #include <ccsds_types.h> | |
14 | #include <QMap> |
|
14 | #include <QMap> | |
15 | #include <QCheckBox> |
|
15 | #include <QCheckBox> | |
16 |
|
16 | |||
17 | #define STATISTICS_FONT_SIZE 9 |
|
17 | #define STATISTICS_FONT_SIZE 9 | |
18 |
|
18 | |||
19 | class TMStatistics : public QWidget |
|
19 | class TMStatistics : public QWidget | |
20 | { |
|
20 | { | |
21 | Q_OBJECT |
|
21 | Q_OBJECT | |
22 | public: |
|
22 | public: | |
23 |
|
23 | |||
24 | explicit TMStatistics(QWidget *parent = 0); |
|
24 | explicit TMStatistics(QWidget *parent = 0); | |
25 | void initConstants(); |
|
25 | void initConstants(); | |
26 | void buildMonitor_BURST(); |
|
26 | void buildMonitor_BURST(); | |
27 | void buildMonitor_SBM1(); |
|
27 | void buildMonitor_SBM1(); | |
28 | void buildMonitor_SBM2(); |
|
28 | void buildMonitor_SBM2(); | |
29 | void buildMonitor_NORM(); |
|
29 | void buildMonitor_NORM(); | |
30 | void buildMonitor(); |
|
30 | void buildMonitor(); | |
31 | void incrementUnknown(); |
|
31 | void incrementUnknown(); | |
32 | // |
|
32 | // | |
33 | void preProcessPacket(TMPacketToRead *packet); |
|
33 | void preProcessPacket(TMPacketToRead *packet); | |
34 | unsigned char getPID(TMPacketToRead *packet); |
|
34 | unsigned char getPID(TMPacketToRead *packet); | |
35 | unsigned char getCAT(TMPacketToRead *packet); |
|
35 | unsigned char getCAT(TMPacketToRead *packet); | |
36 | unsigned char getSegmentationGroupingFlag(TMPacketToRead *Packet_TM_LFR_HK_str); |
|
36 | unsigned char getSegmentationGroupingFlag(TMPacketToRead *Packet_TM_LFR_HK_str); | |
37 | unsigned char getTYPE(TMPacketToRead *packet); |
|
37 | unsigned char getTYPE(TMPacketToRead *packet); | |
38 | unsigned char getSUBTYPE(TMPacketToRead *packet); |
|
38 | unsigned char getSUBTYPE(TMPacketToRead *packet); | |
39 | unsigned int getLENGTH(TMPacketToRead *packet); |
|
39 | unsigned int getLENGTH(TMPacketToRead *packet); | |
40 | unsigned int getCoarseTime(TMPacketToRead *packet); |
|
40 | unsigned int getCoarseTime(TMPacketToRead *packet); | |
41 | unsigned int getFineTime(TMPacketToRead *packet); |
|
41 | unsigned int getFineTime(TMPacketToRead *packet); | |
42 | unsigned int getSID(TMPacketToRead *packet, unsigned char pid, unsigned char cat, unsigned char typ, unsigned char sub); |
|
42 | unsigned int getSID(TMPacketToRead *packet, unsigned char pid, unsigned char cat, unsigned char typ, unsigned char sub); | |
43 | QString getPacketName(unsigned char type, unsigned char subtype, unsigned int sid); |
|
43 | QString getPacketName(unsigned char type, unsigned char subtype, unsigned int sid); | |
44 | void closeEvent(QCloseEvent *event); |
|
44 | void closeEvent(QCloseEvent *event); | |
45 |
|
45 | |||
46 | unsigned int UNKNOWN_nb; |
|
46 | unsigned int UNKNOWN_nb; | |
47 | unsigned int SUCC_nb; |
|
47 | unsigned int SUCC_nb; | |
48 | unsigned int INCO_nb; |
|
48 | unsigned int INCO_nb; | |
49 | unsigned int NOTE_nb; |
|
49 | unsigned int NOTE_nb; | |
50 | unsigned int NOTI_nb; |
|
50 | unsigned int NOTI_nb; | |
51 | unsigned int ERRO_nb; |
|
51 | unsigned int ERRO_nb; | |
52 | unsigned int CORR_nb; |
|
52 | unsigned int CORR_nb; | |
53 | unsigned int HK_nb; |
|
53 | unsigned int HK_nb; | |
54 | unsigned int DUMP_nb; |
|
54 | unsigned int DUMP_nb; | |
55 | unsigned int NORM_SWF_F0_nb; |
|
55 | unsigned int NORM_SWF_F0_nb; | |
56 | unsigned int NORM_SWF_F1_nb; |
|
56 | unsigned int NORM_SWF_F1_nb; | |
57 | unsigned int NORM_SWF_F2_nb; |
|
57 | unsigned int NORM_SWF_F2_nb; | |
58 | unsigned int NORM_CWF_F3_nb; |
|
58 | unsigned int NORM_CWF_F3_nb; | |
59 | unsigned int NORM_ASM_F0_nb; |
|
59 | unsigned int NORM_ASM_F0_nb; | |
60 | unsigned int NORM_ASM_F1_nb; |
|
60 | unsigned int NORM_ASM_F1_nb; | |
61 | unsigned int NORM_ASM_F2_nb; |
|
61 | unsigned int NORM_ASM_F2_nb; | |
62 | unsigned int NORM_BP1_F0_nb; |
|
62 | unsigned int NORM_BP1_F0_nb; | |
63 | unsigned int NORM_BP1_F1_nb; |
|
63 | unsigned int NORM_BP1_F1_nb; | |
64 | unsigned int NORM_BP1_F2_nb; |
|
64 | unsigned int NORM_BP1_F2_nb; | |
65 | unsigned int NORM_BP2_F0_nb; |
|
65 | unsigned int NORM_BP2_F0_nb; | |
66 | unsigned int NORM_BP2_F1_nb; |
|
66 | unsigned int NORM_BP2_F1_nb; | |
67 | unsigned int NORM_BP2_F2_nb; |
|
67 | unsigned int NORM_BP2_F2_nb; | |
68 | // |
|
68 | // | |
69 | unsigned int BURST_CWF_F2_nb; |
|
69 | unsigned int BURST_CWF_F2_nb; | |
70 | unsigned int BURST_BP1_F0_nb; |
|
70 | unsigned int BURST_BP1_F0_nb; | |
71 | unsigned int BURST_BP2_F0_nb; |
|
71 | unsigned int BURST_BP2_F0_nb; | |
72 | unsigned int BURST_BP1_F1_nb; |
|
72 | unsigned int BURST_BP1_F1_nb; | |
73 | unsigned int BURST_BP2_F1_nb; |
|
73 | unsigned int BURST_BP2_F1_nb; | |
74 | unsigned int SBM1_CWF_F1_nb; |
|
74 | unsigned int SBM1_CWF_F1_nb; | |
75 | unsigned int SBM1_BP1_F0_nb; |
|
75 | unsigned int SBM1_BP1_F0_nb; | |
76 | unsigned int SBM1_BP2_F0_nb; |
|
76 | unsigned int SBM1_BP2_F0_nb; | |
77 | unsigned int SBM2_CWF_F2_nb; |
|
77 | unsigned int SBM2_CWF_F2_nb; | |
78 | unsigned int SBM2_BP1_F0_nb; |
|
78 | unsigned int SBM2_BP1_F0_nb; | |
79 | unsigned int SBM2_BP2_F0_nb; |
|
79 | unsigned int SBM2_BP2_F0_nb; | |
80 | unsigned int SBM2_BP1_F1_nb; |
|
80 | unsigned int SBM2_BP1_F1_nb; | |
81 | unsigned int SBM2_BP2_F1_nb; |
|
81 | unsigned int SBM2_BP2_F1_nb; | |
82 |
|
82 | |||
83 | //******* |
|
83 | //******* | |
84 | // QLabel |
|
84 | // QLabel | |
85 | QLabel *label_UNKNOWN; |
|
85 | QLabel *label_UNKNOWN; | |
86 | QLabel *label_UNKNOWN_nb; |
|
86 | QLabel *label_UNKNOWN_nb; | |
87 | QLabel *label_currentDir; |
|
87 | QLabel *label_currentDir; | |
88 |
|
88 | |||
89 | //*************** |
|
89 | //*************** | |
90 | // TM_LFR_TC_EXE_ |
|
90 | // TM_LFR_TC_EXE_ | |
91 | QLabel *label_SUCC; |
|
91 | QLabel *label_SUCC; | |
92 | QLabel *label_INCO; |
|
92 | QLabel *label_INCO; | |
93 | QLabel *label_NOTE; |
|
93 | QLabel *label_NOTE; | |
94 | QLabel *label_NOTI; |
|
94 | QLabel *label_NOTI; | |
95 | QLabel *label_ERRO; |
|
95 | QLabel *label_ERRO; | |
96 | QLabel *label_CORR; |
|
96 | QLabel *label_CORR; | |
97 | QLabel *label_HK; |
|
97 | QLabel *label_HK; | |
98 | QLabel *label_DUMP; |
|
98 | QLabel *label_DUMP; | |
99 | // |
|
99 | // | |
100 | QLabel *label_SUCC_nb; |
|
100 | QLabel *label_SUCC_nb; | |
101 | QLabel *label_INCO_nb; |
|
101 | QLabel *label_INCO_nb; | |
102 | QLabel *label_NOTE_nb; |
|
102 | QLabel *label_NOTE_nb; | |
103 | QLabel *label_NOTI_nb; |
|
103 | QLabel *label_NOTI_nb; | |
104 | QLabel *label_ERRO_nb; |
|
104 | QLabel *label_ERRO_nb; | |
105 | QLabel *label_CORR_nb; |
|
105 | QLabel *label_CORR_nb; | |
106 | QLabel *label_HK_nb; |
|
106 | QLabel *label_HK_nb; | |
107 | QLabel *label_DUMP_nb; |
|
107 | QLabel *label_DUMP_nb; | |
108 |
|
108 | |||
109 | //*********************** |
|
109 | //*********************** | |
110 | // TM_LFR_SCIENCE_NORMAL_ |
|
110 | // TM_LFR_SCIENCE_NORMAL_ | |
111 | QLabel *label_NORM_SWF_F0; |
|
111 | QLabel *label_NORM_SWF_F0; | |
112 | QLabel *label_NORM_SWF_F1; |
|
112 | QLabel *label_NORM_SWF_F1; | |
113 | QLabel *label_NORM_SWF_F2; |
|
113 | QLabel *label_NORM_SWF_F2; | |
114 | QLabel *label_NORM_CWF_F3; |
|
114 | QLabel *label_NORM_CWF_F3; | |
115 | QLabel *label_NORM_ASM_F0; |
|
115 | QLabel *label_NORM_ASM_F0; | |
116 | QLabel *label_NORM_ASM_F1; |
|
116 | QLabel *label_NORM_ASM_F1; | |
117 | QLabel *label_NORM_ASM_F2; |
|
117 | QLabel *label_NORM_ASM_F2; | |
118 | QLabel *label_NORM_BP1_F0; |
|
118 | QLabel *label_NORM_BP1_F0; | |
119 | QLabel *label_NORM_BP1_F1; |
|
119 | QLabel *label_NORM_BP1_F1; | |
120 | QLabel *label_NORM_BP1_F2; |
|
120 | QLabel *label_NORM_BP1_F2; | |
121 | QLabel *label_NORM_BP2_F0; |
|
121 | QLabel *label_NORM_BP2_F0; | |
122 | QLabel *label_NORM_BP2_F1; |
|
122 | QLabel *label_NORM_BP2_F1; | |
123 | QLabel *label_NORM_BP2_F2; |
|
123 | QLabel *label_NORM_BP2_F2; | |
124 | // |
|
124 | // | |
125 | QLabel *label_NORM_SWF_F0_nb; |
|
125 | QLabel *label_NORM_SWF_F0_nb; | |
126 | QLabel *label_NORM_SWF_F1_nb; |
|
126 | QLabel *label_NORM_SWF_F1_nb; | |
127 | QLabel *label_NORM_SWF_F2_nb; |
|
127 | QLabel *label_NORM_SWF_F2_nb; | |
128 | QLabel *label_NORM_CWF_F3_nb; |
|
128 | QLabel *label_NORM_CWF_F3_nb; | |
129 | QLabel *label_NORM_ASM_F0_nb; |
|
129 | QLabel *label_NORM_ASM_F0_nb; | |
130 | QLabel *label_NORM_ASM_F1_nb; |
|
130 | QLabel *label_NORM_ASM_F1_nb; | |
131 | QLabel *label_NORM_ASM_F2_nb; |
|
131 | QLabel *label_NORM_ASM_F2_nb; | |
132 | QLabel *label_NORM_BP1_F0_nb; |
|
132 | QLabel *label_NORM_BP1_F0_nb; | |
133 | QLabel *label_NORM_BP1_F1_nb; |
|
133 | QLabel *label_NORM_BP1_F1_nb; | |
134 | QLabel *label_NORM_BP1_F2_nb; |
|
134 | QLabel *label_NORM_BP1_F2_nb; | |
135 | QLabel *label_NORM_BP2_F0_nb; |
|
135 | QLabel *label_NORM_BP2_F0_nb; | |
136 | QLabel *label_NORM_BP2_F1_nb; |
|
136 | QLabel *label_NORM_BP2_F1_nb; | |
137 | QLabel *label_NORM_BP2_F2_nb; |
|
137 | QLabel *label_NORM_BP2_F2_nb; | |
138 |
|
138 | |||
139 | //********************** |
|
139 | //********************** | |
140 | // TM_LFR_SCIENCE_BURST_ |
|
140 | // TM_LFR_SCIENCE_BURST_ | |
141 | QLabel *label_BURST_CWF_F2; |
|
141 | QLabel *label_BURST_CWF_F2; | |
142 | QLabel *label_BURST_BP1_F0; |
|
142 | QLabel *label_BURST_BP1_F0; | |
143 | QLabel *label_BURST_BP2_F0; |
|
143 | QLabel *label_BURST_BP2_F0; | |
144 | QLabel *label_BURST_BP1_F1; |
|
144 | QLabel *label_BURST_BP1_F1; | |
145 | QLabel *label_BURST_BP2_F1; |
|
145 | QLabel *label_BURST_BP2_F1; | |
146 | // |
|
146 | // | |
147 | QLabel *label_BURST_CWF_F2_nb; |
|
147 | QLabel *label_BURST_CWF_F2_nb; | |
148 | QLabel *label_BURST_BP1_F0_nb; |
|
148 | QLabel *label_BURST_BP1_F0_nb; | |
149 | QLabel *label_BURST_BP2_F0_nb; |
|
149 | QLabel *label_BURST_BP2_F0_nb; | |
150 | QLabel *label_BURST_BP1_F1_nb; |
|
150 | QLabel *label_BURST_BP1_F1_nb; | |
151 | QLabel *label_BURST_BP2_F1_nb; |
|
151 | QLabel *label_BURST_BP2_F1_nb; | |
152 |
|
152 | |||
153 | //********************* |
|
153 | //********************* | |
154 | // TM_LFR_SCIENCE_SBM1_ |
|
154 | // TM_LFR_SCIENCE_SBM1_ | |
155 | QLabel *label_SBM1_CWF_F1; |
|
155 | QLabel *label_SBM1_CWF_F1; | |
156 | QLabel *label_SBM1_BP1_F0; |
|
156 | QLabel *label_SBM1_BP1_F0; | |
157 | QLabel *label_SBM1_BP2_F0; |
|
157 | QLabel *label_SBM1_BP2_F0; | |
158 | // |
|
158 | // | |
159 | QLabel *label_SBM1_CWF_F1_nb; |
|
159 | QLabel *label_SBM1_CWF_F1_nb; | |
160 | QLabel *label_SBM1_BP1_F0_nb; |
|
160 | QLabel *label_SBM1_BP1_F0_nb; | |
161 | QLabel *label_SBM1_BP2_F0_nb; |
|
161 | QLabel *label_SBM1_BP2_F0_nb; | |
162 |
|
162 | |||
163 | //********************* |
|
163 | //********************* | |
164 | // TM_LFR_SCIENCE_SBM2_ |
|
164 | // TM_LFR_SCIENCE_SBM2_ | |
165 | QLabel *label_SBM2_CWF_F2; |
|
165 | QLabel *label_SBM2_CWF_F2; | |
166 | QLabel *label_SBM2_BP1_F0; |
|
166 | QLabel *label_SBM2_BP1_F0; | |
167 | QLabel *label_SBM2_BP2_F0; |
|
167 | QLabel *label_SBM2_BP2_F0; | |
168 | QLabel *label_SBM2_BP1_F1; |
|
168 | QLabel *label_SBM2_BP1_F1; | |
169 | QLabel *label_SBM2_BP2_F1; |
|
169 | QLabel *label_SBM2_BP2_F1; | |
170 | // |
|
170 | // | |
171 | QLabel *label_SBM2_CWF_F2_nb; |
|
171 | QLabel *label_SBM2_CWF_F2_nb; | |
172 | QLabel *label_SBM2_BP1_F0_nb; |
|
172 | QLabel *label_SBM2_BP1_F0_nb; | |
173 | QLabel *label_SBM2_BP2_F0_nb; |
|
173 | QLabel *label_SBM2_BP2_F0_nb; | |
174 | QLabel *label_SBM2_BP1_F1_nb; |
|
174 | QLabel *label_SBM2_BP1_F1_nb; | |
175 | QLabel *label_SBM2_BP2_F1_nb; |
|
175 | QLabel *label_SBM2_BP2_F1_nb; | |
176 |
|
176 | |||
177 | //******** |
|
177 | //******** | |
178 | // LAST TM |
|
178 | // LAST TM | |
179 | QLabel *label_PID; |
|
179 | QLabel *label_PID; | |
180 | QLabel *label_CAT; |
|
180 | QLabel *label_CAT; | |
181 | QLabel *label_TYP; |
|
181 | QLabel *label_TYP; | |
182 | QLabel *label_SUB; |
|
182 | QLabel *label_SUB; | |
183 | QLabel *label_SID; |
|
183 | QLabel *label_SID; | |
184 | QLabel *label_SIZ; |
|
184 | QLabel *label_SIZ; | |
185 | QLabel *label_coarse_time; |
|
185 | QLabel *label_coarse_time; | |
186 | QLabel *label_fine_time; |
|
186 | QLabel *label_fine_time; | |
187 | // |
|
187 | // | |
188 | QLabel *label_PID_is; |
|
188 | QLabel *label_PID_is; | |
189 | QLabel *label_CAT_is; |
|
189 | QLabel *label_CAT_is; | |
190 | QLabel *label_TYP_is; |
|
190 | QLabel *label_TYP_is; | |
191 | QLabel *label_SUB_is; |
|
191 | QLabel *label_SUB_is; | |
192 | QLabel *label_SID_is; |
|
192 | QLabel *label_SID_is; | |
193 | QLabel *label_SIZ_is; |
|
193 | QLabel *label_SIZ_is; | |
194 | QLabel *label_coarse_time_val; |
|
194 | QLabel *label_coarse_time_val; | |
195 | QLabel *label_fine_time_val; |
|
195 | QLabel *label_fine_time_val; | |
196 |
|
196 | |||
197 | // Layouts |
|
197 | // Layouts | |
198 | QGridLayout *mainLayout; |
|
198 | QGridLayout *mainLayout; | |
199 | QGridLayout *layout_stat; // TM stastictics |
|
199 | QGridLayout *layout_stat; // TM stastictics | |
200 | QGridLayout *layout_NORM; // TM_LFR_SCIENCE_NORMAL_ |
|
200 | QGridLayout *layout_NORM; // TM_LFR_SCIENCE_NORMAL_ | |
201 | QGridLayout *layout_BURST; // TM_LFR_SCIENCE_BURST_ |
|
201 | QGridLayout *layout_BURST; // TM_LFR_SCIENCE_BURST_ | |
202 | QGridLayout *layout_SBM1; // TM_LFR_SCIENCE_SBM1_ |
|
202 | QGridLayout *layout_SBM1; // TM_LFR_SCIENCE_SBM1_ | |
203 | QGridLayout *layout_SBM2; // TM_LFR_SCIENCE_SBM2_ |
|
203 | QGridLayout *layout_SBM2; // TM_LFR_SCIENCE_SBM2_ | |
204 | QGridLayout *layout_last; // last TM description |
|
204 | QGridLayout *layout_last; // last TM description | |
205 | QVBoxLayout *layout_record; |
|
205 | QVBoxLayout *layout_record; | |
206 |
|
206 | |||
207 | // QPushButton |
|
207 | // QPushButton | |
208 | QPushButton *button_reset_stat; |
|
208 | QPushButton *button_reset_stat; | |
209 | QPushButton *button_chooseDir; |
|
209 | QPushButton *button_chooseDir; | |
210 |
|
210 | |||
211 | //QCheckBox |
|
211 | //QCheckBox | |
212 |
QCheckBox *checkbox_ |
|
212 | QCheckBox *checkbox_packetRecording; | |
213 | QCheckBox *checkbox_packetLog; |
|
213 | QCheckBox *checkbox_packetLog; | |
|
214 | QCheckBox *checkbox_CSVPacketRecording; | |||
214 |
|
215 | |||
215 | QFile *logFile; |
|
216 | QFile *logFile; | |
216 | QFile *packetLogFile; |
|
217 | QFile *packetLogFile; | |
|
218 | QFile *csvPacketRecordFile; | |||
217 | QTextStream *logFileStrm; |
|
219 | QTextStream *logFileStrm; | |
218 | QTextStream *packetLogFileStrm; |
|
220 | QTextStream *packetLogFileStrm; | |
|
221 | QTextStream *csvPacketRecordFileStrm; | |||
219 | bool logFileEn; |
|
222 | bool logFileEn; | |
220 | bool packetLogFileEn; |
|
223 | bool packetLogFileEn; | |
|
224 | bool csvPacketRecordFileEn; | |||
221 | QString defaultStorageDirectory; |
|
225 | QString defaultStorageDirectory; | |
222 |
|
226 | |||
223 | // QGroupBox |
|
227 | // QGroupBox | |
224 | QGroupBox *groupbox_stat; |
|
228 | QGroupBox *groupbox_stat; | |
225 | QGroupBox *groupbox_NORM; |
|
229 | QGroupBox *groupbox_NORM; | |
226 | QGroupBox *groupbox_BURST; |
|
230 | QGroupBox *groupbox_BURST; | |
227 | QGroupBox *groupbox_SBM1; |
|
231 | QGroupBox *groupbox_SBM1; | |
228 | QGroupBox *groupbox_SBM2; |
|
232 | QGroupBox *groupbox_SBM2; | |
229 | QGroupBox *groupbox_last; |
|
233 | QGroupBox *groupbox_last; | |
230 | QGroupBox *groupbox_record; |
|
234 | QGroupBox *groupbox_record; | |
231 |
|
235 | |||
232 | signals: |
|
236 | signals: | |
233 |
|
237 | |||
234 | public slots: |
|
238 | public slots: | |
235 | void resetStatistics(); |
|
239 | void resetStatistics(); | |
236 | void updateStatistics(unsigned char pid, unsigned char cat, |
|
240 | void updateStatistics(unsigned char pid, unsigned char cat, | |
237 | unsigned char typ, unsigned char sub, |
|
241 | unsigned char typ, unsigned char sub, | |
238 | unsigned int sid, unsigned int length, |
|
242 | unsigned int sid, unsigned int length, | |
239 | unsigned int coarse_t, unsigned int fine_t); |
|
243 | unsigned int coarse_t, unsigned int fine_t); | |
240 | void storePackets(int state); |
|
244 | void storePackets(int state); | |
|
245 | void storeCSVPackets( int state ); | |||
241 | void logPackets(int state); |
|
246 | void logPackets(int state); | |
242 | void buildFileName(); |
|
247 | void buildFileName(); | |
243 | void buildPacketLogFileName(); |
|
248 | void buildPacketLogFileName(); | |
|
249 | void buildCSVPacketRecordFileName(); | |||
244 | void readSettings(); |
|
250 | void readSettings(); | |
245 | void writeSettings(); |
|
251 | void writeSettings(); | |
246 | void chooseDir(); |
|
252 | void chooseDir(); | |
247 |
|
253 | |||
248 | }; |
|
254 | }; | |
249 |
|
255 | |||
250 | #endif // TMSTATISTICS_H |
|
256 | #endif // TMSTATISTICS_H |
@@ -1,361 +1,367 | |||||
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. |
|
3 | # Generated by qmake (2.01a) (Qt 4.8.5) on: Tue Nov 12 11:17:03 2013 | |
4 | # Project: wfdisplay.pro |
|
4 | # Project: wfdisplay.pro | |
5 | # Template: lib |
|
5 | # Template: lib | |
6 |
# Command: /usr/bin/qmake-qt4 - |
|
6 | # Command: /usr/bin/qmake-qt4 -o Makefile wfdisplay.pro | |
7 | ############################################################################# |
|
7 | ############################################################################# | |
8 |
|
8 | |||
9 | ####### Compiler, tools and options |
|
9 | ####### Compiler, tools and options | |
10 |
|
10 | |||
11 | CC = gcc |
|
11 | CC = gcc | |
12 | CXX = g++ |
|
12 | CXX = g++ | |
13 | DEFINES = -DWFDISPLAY_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED |
|
13 | DEFINES = -DWFDISPLAY_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED | |
14 | CFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -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 -grecord-gcc-switches -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 -grecord-gcc-switches -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 -grecord-gcc-switches -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. -Ilppmonplot -IQCustomPlot -I. |
|
16 | INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -Ilppmonplot -IQCustomPlot -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 -lQtGui -lQtCore -lpthread |
|
19 | LIBS = $(SUBLIBS) -L/usr/lib64 -lQtGui -lQtCore -lpthread | |
20 | AR = ar cqs |
|
20 | AR = ar cqs | |
21 | RANLIB = |
|
21 | RANLIB = | |
22 | QMAKE = /usr/bin/qmake-qt4 |
|
22 | QMAKE = /usr/bin/qmake-qt4 | |
23 | TAR = tar -cf |
|
23 | TAR = tar -cf | |
24 | COMPRESS = gzip -9f |
|
24 | COMPRESS = gzip -9f | |
25 | COPY = cp -f |
|
25 | COPY = cp -f | |
26 | SED = sed |
|
26 | SED = sed | |
27 | COPY_FILE = $(COPY) |
|
27 | COPY_FILE = $(COPY) | |
28 | COPY_DIR = $(COPY) -r |
|
28 | COPY_DIR = $(COPY) -r | |
29 | STRIP = |
|
29 | STRIP = | |
30 | INSTALL_FILE = install -m 644 -p |
|
30 | INSTALL_FILE = install -m 644 -p | |
31 | INSTALL_DIR = $(COPY_DIR) |
|
31 | INSTALL_DIR = $(COPY_DIR) | |
32 | INSTALL_PROGRAM = install -m 755 -p |
|
32 | INSTALL_PROGRAM = install -m 755 -p | |
33 | DEL_FILE = rm -f |
|
33 | DEL_FILE = rm -f | |
34 | SYMLINK = ln -f -s |
|
34 | SYMLINK = ln -f -s | |
35 | DEL_DIR = rmdir |
|
35 | DEL_DIR = rmdir | |
36 | MOVE = mv -f |
|
36 | MOVE = mv -f | |
37 | CHK_DIR_EXISTS= test -d |
|
37 | CHK_DIR_EXISTS= test -d | |
38 | MKDIR = mkdir -p |
|
38 | MKDIR = mkdir -p | |
39 |
|
39 | |||
40 | ####### Output directory |
|
40 | ####### Output directory | |
41 |
|
41 | |||
42 | OBJECTS_DIR = ./ |
|
42 | OBJECTS_DIR = ./ | |
43 |
|
43 | |||
44 | ####### Files |
|
44 | ####### Files | |
45 |
|
45 | |||
46 | SOURCES = wfdisplay.cpp \ |
|
46 | SOURCES = wfdisplay.cpp \ | |
47 | wfplot.cpp \ |
|
47 | wfplot.cpp \ | |
48 | wfpage.cpp \ |
|
48 | wfpage.cpp \ | |
49 | lppmonplot/lppmonplot.cpp \ |
|
49 | lppmonplot/lppmonplot.cpp \ | |
50 | QCustomPlot/qcustomplot.cpp \ |
|
50 | QCustomPlot/qcustomplot.cpp \ | |
51 | pagespectra.cpp moc_wfdisplay.cpp \ |
|
51 | pagespectra.cpp moc_wfdisplay.cpp \ | |
52 | moc_wfplot.cpp \ |
|
52 | moc_wfplot.cpp \ | |
53 | moc_wfpage.cpp \ |
|
53 | moc_wfpage.cpp \ | |
54 | moc_lppmonplot.cpp \ |
|
54 | moc_lppmonplot.cpp \ | |
55 | moc_qcustomplot.cpp \ |
|
55 | moc_qcustomplot.cpp \ | |
56 | moc_pagespectra.cpp |
|
56 | moc_pagespectra.cpp | |
57 | OBJECTS = wfdisplay.o \ |
|
57 | OBJECTS = wfdisplay.o \ | |
58 | wfplot.o \ |
|
58 | wfplot.o \ | |
59 | wfpage.o \ |
|
59 | wfpage.o \ | |
60 | lppmonplot.o \ |
|
60 | lppmonplot.o \ | |
61 | qcustomplot.o \ |
|
61 | qcustomplot.o \ | |
62 | pagespectra.o \ |
|
62 | pagespectra.o \ | |
63 | moc_wfdisplay.o \ |
|
63 | moc_wfdisplay.o \ | |
64 | moc_wfplot.o \ |
|
64 | moc_wfplot.o \ | |
65 | moc_wfpage.o \ |
|
65 | moc_wfpage.o \ | |
66 | moc_lppmonplot.o \ |
|
66 | moc_lppmonplot.o \ | |
67 | moc_qcustomplot.o \ |
|
67 | moc_qcustomplot.o \ | |
68 | moc_pagespectra.o |
|
68 | moc_pagespectra.o | |
69 | DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \ |
|
69 | DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \ | |
70 | /usr/lib64/qt4/mkspecs/common/linux.conf \ |
|
70 | /usr/lib64/qt4/mkspecs/common/linux.conf \ | |
71 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ |
|
71 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ | |
72 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ |
|
72 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ | |
73 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ |
|
73 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ | |
74 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ |
|
74 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ | |
75 | /usr/lib64/qt4/mkspecs/qconfig.pri \ |
|
75 | /usr/lib64/qt4/mkspecs/qconfig.pri \ | |
76 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ |
|
76 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ | |
77 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ |
|
77 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ | |
78 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ |
|
78 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ | |
79 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ |
|
79 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ | |
80 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ |
|
80 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ | |
81 | /usr/lib64/qt4/mkspecs/features/release.prf \ |
|
81 | /usr/lib64/qt4/mkspecs/features/release.prf \ | |
82 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ |
|
82 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ | |
|
83 | /usr/lib64/qt4/mkspecs/features/shared.prf \ | |||
|
84 | /usr/lib64/qt4/mkspecs/features/dll.prf \ | |||
83 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
85 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ | |
84 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ |
|
86 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ | |
85 | /usr/lib64/qt4/mkspecs/features/qt.prf \ |
|
87 | /usr/lib64/qt4/mkspecs/features/qt.prf \ | |
86 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ |
|
88 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ | |
87 | /usr/lib64/qt4/mkspecs/features/moc.prf \ |
|
89 | /usr/lib64/qt4/mkspecs/features/moc.prf \ | |
88 | /usr/lib64/qt4/mkspecs/features/resources.prf \ |
|
90 | /usr/lib64/qt4/mkspecs/features/resources.prf \ | |
89 | /usr/lib64/qt4/mkspecs/features/uic.prf \ |
|
91 | /usr/lib64/qt4/mkspecs/features/uic.prf \ | |
90 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ |
|
92 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ | |
91 | /usr/lib64/qt4/mkspecs/features/lex.prf \ |
|
93 | /usr/lib64/qt4/mkspecs/features/lex.prf \ | |
92 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ |
|
94 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ | |
93 | wfdisplay.pro |
|
95 | wfdisplay.pro | |
94 | QMAKE_TARGET = wfdisplay |
|
96 | QMAKE_TARGET = wfdisplay | |
95 | DESTDIR = |
|
97 | DESTDIR = | |
96 | TARGET = libwfdisplay.so.1.0.0 |
|
98 | TARGET = libwfdisplay.so.1.0.0 | |
97 | TARGETA = libwfdisplay.a |
|
99 | TARGETA = libwfdisplay.a | |
98 | TARGETD = libwfdisplay.so.1.0.0 |
|
100 | TARGETD = libwfdisplay.so.1.0.0 | |
99 | TARGET0 = libwfdisplay.so |
|
101 | TARGET0 = libwfdisplay.so | |
100 | TARGET1 = libwfdisplay.so.1 |
|
102 | TARGET1 = libwfdisplay.so.1 | |
101 | TARGET2 = libwfdisplay.so.1.0 |
|
103 | TARGET2 = libwfdisplay.so.1.0 | |
102 |
|
104 | |||
103 | first: all |
|
105 | first: all | |
104 | ####### Implicit rules |
|
106 | ####### Implicit rules | |
105 |
|
107 | |||
106 | .SUFFIXES: .o .c .cpp .cc .cxx .C |
|
108 | .SUFFIXES: .o .c .cpp .cc .cxx .C | |
107 |
|
109 | |||
108 | .cpp.o: |
|
110 | .cpp.o: | |
109 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
111 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |
110 |
|
112 | |||
111 | .cc.o: |
|
113 | .cc.o: | |
112 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
114 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |
113 |
|
115 | |||
114 | .cxx.o: |
|
116 | .cxx.o: | |
115 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
117 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |
116 |
|
118 | |||
117 | .C.o: |
|
119 | .C.o: | |
118 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
120 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |
119 |
|
121 | |||
120 | .c.o: |
|
122 | .c.o: | |
121 | $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" |
|
123 | $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" | |
122 |
|
124 | |||
123 | ####### Build rules |
|
125 | ####### Build rules | |
124 |
|
126 | |||
125 | all: Makefile $(TARGET) |
|
127 | all: Makefile $(TARGET) | |
126 |
|
128 | |||
127 | $(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP) |
|
129 | $(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP) | |
128 | -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) |
|
130 | -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) | |
129 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP) |
|
131 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP) | |
130 | -ln -s $(TARGET) $(TARGET0) |
|
132 | -ln -s $(TARGET) $(TARGET0) | |
131 | -ln -s $(TARGET) $(TARGET1) |
|
133 | -ln -s $(TARGET) $(TARGET1) | |
132 | -ln -s $(TARGET) $(TARGET2) |
|
134 | -ln -s $(TARGET) $(TARGET2) | |
133 |
|
135 | |||
134 |
|
136 | |||
135 |
|
137 | |||
136 | staticlib: $(TARGETA) |
|
138 | staticlib: $(TARGETA) | |
137 |
|
139 | |||
138 | $(TARGETA): $(OBJECTS) $(OBJCOMP) |
|
140 | $(TARGETA): $(OBJECTS) $(OBJCOMP) | |
139 | -$(DEL_FILE) $(TARGETA) |
|
141 | -$(DEL_FILE) $(TARGETA) | |
140 | $(AR) $(TARGETA) $(OBJECTS) |
|
142 | $(AR) $(TARGETA) $(OBJECTS) | |
141 |
|
143 | |||
142 | Makefile: wfdisplay.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \ |
|
144 | Makefile: wfdisplay.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \ | |
143 | /usr/lib64/qt4/mkspecs/common/linux.conf \ |
|
145 | /usr/lib64/qt4/mkspecs/common/linux.conf \ | |
144 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ |
|
146 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ | |
145 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ |
|
147 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ | |
146 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ |
|
148 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ | |
147 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ |
|
149 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ | |
148 | /usr/lib64/qt4/mkspecs/qconfig.pri \ |
|
150 | /usr/lib64/qt4/mkspecs/qconfig.pri \ | |
149 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ |
|
151 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ | |
150 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ |
|
152 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ | |
151 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ |
|
153 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ | |
152 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ |
|
154 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ | |
153 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ |
|
155 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ | |
154 | /usr/lib64/qt4/mkspecs/features/release.prf \ |
|
156 | /usr/lib64/qt4/mkspecs/features/release.prf \ | |
155 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ |
|
157 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ | |
|
158 | /usr/lib64/qt4/mkspecs/features/shared.prf \ | |||
|
159 | /usr/lib64/qt4/mkspecs/features/dll.prf \ | |||
156 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
160 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ | |
157 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ |
|
161 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ | |
158 | /usr/lib64/qt4/mkspecs/features/qt.prf \ |
|
162 | /usr/lib64/qt4/mkspecs/features/qt.prf \ | |
159 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ |
|
163 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ | |
160 | /usr/lib64/qt4/mkspecs/features/moc.prf \ |
|
164 | /usr/lib64/qt4/mkspecs/features/moc.prf \ | |
161 | /usr/lib64/qt4/mkspecs/features/resources.prf \ |
|
165 | /usr/lib64/qt4/mkspecs/features/resources.prf \ | |
162 | /usr/lib64/qt4/mkspecs/features/uic.prf \ |
|
166 | /usr/lib64/qt4/mkspecs/features/uic.prf \ | |
163 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ |
|
167 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ | |
164 | /usr/lib64/qt4/mkspecs/features/lex.prf \ |
|
168 | /usr/lib64/qt4/mkspecs/features/lex.prf \ | |
165 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ |
|
169 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ | |
166 | /usr/lib64/libQtGui.prl \ |
|
170 | /usr/lib64/libQtGui.prl \ | |
167 | /usr/lib64/libQtCore.prl |
|
171 | /usr/lib64/libQtCore.prl | |
168 |
$(QMAKE) |
|
172 | $(QMAKE) -o Makefile wfdisplay.pro | |
169 | /usr/lib64/qt4/mkspecs/common/unix.conf: |
|
173 | /usr/lib64/qt4/mkspecs/common/unix.conf: | |
170 | /usr/lib64/qt4/mkspecs/common/linux.conf: |
|
174 | /usr/lib64/qt4/mkspecs/common/linux.conf: | |
171 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf: |
|
175 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf: | |
172 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf: |
|
176 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf: | |
173 | /usr/lib64/qt4/mkspecs/common/g++-base.conf: |
|
177 | /usr/lib64/qt4/mkspecs/common/g++-base.conf: | |
174 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf: |
|
178 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf: | |
175 | /usr/lib64/qt4/mkspecs/qconfig.pri: |
|
179 | /usr/lib64/qt4/mkspecs/qconfig.pri: | |
176 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri: |
|
180 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri: | |
177 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf: |
|
181 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf: | |
178 | /usr/lib64/qt4/mkspecs/features/qt_config.prf: |
|
182 | /usr/lib64/qt4/mkspecs/features/qt_config.prf: | |
179 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf: |
|
183 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf: | |
180 | /usr/lib64/qt4/mkspecs/features/default_pre.prf: |
|
184 | /usr/lib64/qt4/mkspecs/features/default_pre.prf: | |
181 | /usr/lib64/qt4/mkspecs/features/release.prf: |
|
185 | /usr/lib64/qt4/mkspecs/features/release.prf: | |
182 | /usr/lib64/qt4/mkspecs/features/default_post.prf: |
|
186 | /usr/lib64/qt4/mkspecs/features/default_post.prf: | |
|
187 | /usr/lib64/qt4/mkspecs/features/shared.prf: | |||
|
188 | /usr/lib64/qt4/mkspecs/features/dll.prf: | |||
183 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: |
|
189 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: | |
184 | /usr/lib64/qt4/mkspecs/features/warn_on.prf: |
|
190 | /usr/lib64/qt4/mkspecs/features/warn_on.prf: | |
185 | /usr/lib64/qt4/mkspecs/features/qt.prf: |
|
191 | /usr/lib64/qt4/mkspecs/features/qt.prf: | |
186 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf: |
|
192 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf: | |
187 | /usr/lib64/qt4/mkspecs/features/moc.prf: |
|
193 | /usr/lib64/qt4/mkspecs/features/moc.prf: | |
188 | /usr/lib64/qt4/mkspecs/features/resources.prf: |
|
194 | /usr/lib64/qt4/mkspecs/features/resources.prf: | |
189 | /usr/lib64/qt4/mkspecs/features/uic.prf: |
|
195 | /usr/lib64/qt4/mkspecs/features/uic.prf: | |
190 | /usr/lib64/qt4/mkspecs/features/yacc.prf: |
|
196 | /usr/lib64/qt4/mkspecs/features/yacc.prf: | |
191 | /usr/lib64/qt4/mkspecs/features/lex.prf: |
|
197 | /usr/lib64/qt4/mkspecs/features/lex.prf: | |
192 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf: |
|
198 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf: | |
193 | /usr/lib64/libQtGui.prl: |
|
199 | /usr/lib64/libQtGui.prl: | |
194 | /usr/lib64/libQtCore.prl: |
|
200 | /usr/lib64/libQtCore.prl: | |
195 | qmake: FORCE |
|
201 | qmake: FORCE | |
196 |
@$(QMAKE) |
|
202 | @$(QMAKE) -o Makefile wfdisplay.pro | |
197 |
|
203 | |||
198 | dist: |
|
204 | dist: | |
199 | @$(CHK_DIR_EXISTS) .tmp/wfdisplay1.0.0 || $(MKDIR) .tmp/wfdisplay1.0.0 |
|
205 | @$(CHK_DIR_EXISTS) .tmp/wfdisplay1.0.0 || $(MKDIR) .tmp/wfdisplay1.0.0 | |
200 | $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/wfdisplay1.0.0/ && $(COPY_FILE) --parents wfdisplay.h wfdisplay_global.h wfplot.h wfpage.h wfdisplay_params.h lppmonplot/lppmonplot.h QCustomPlot/qcustomplot.h pagespectra.h .tmp/wfdisplay1.0.0/ && $(COPY_FILE) --parents wfdisplay.cpp wfplot.cpp wfpage.cpp lppmonplot/lppmonplot.cpp QCustomPlot/qcustomplot.cpp pagespectra.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 |
|
206 | $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/wfdisplay1.0.0/ && $(COPY_FILE) --parents wfdisplay.h wfdisplay_global.h wfplot.h wfpage.h wfdisplay_params.h lppmonplot/lppmonplot.h QCustomPlot/qcustomplot.h pagespectra.h .tmp/wfdisplay1.0.0/ && $(COPY_FILE) --parents wfdisplay.cpp wfplot.cpp wfpage.cpp lppmonplot/lppmonplot.cpp QCustomPlot/qcustomplot.cpp pagespectra.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 | |
201 |
|
207 | |||
202 |
|
208 | |||
203 | clean:compiler_clean |
|
209 | clean:compiler_clean | |
204 | -$(DEL_FILE) $(OBJECTS) |
|
210 | -$(DEL_FILE) $(OBJECTS) | |
205 | -$(DEL_FILE) *~ core *.core |
|
211 | -$(DEL_FILE) *~ core *.core | |
206 |
|
212 | |||
207 |
|
213 | |||
208 | ####### Sub-libraries |
|
214 | ####### Sub-libraries | |
209 |
|
215 | |||
210 | distclean: clean |
|
216 | distclean: clean | |
211 | -$(DEL_FILE) $(TARGET) |
|
217 | -$(DEL_FILE) $(TARGET) | |
212 | -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA) |
|
218 | -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA) | |
213 | -$(DEL_FILE) Makefile |
|
219 | -$(DEL_FILE) Makefile | |
214 |
|
220 | |||
215 |
|
221 | |||
216 | check: first |
|
222 | check: first | |
217 |
|
223 | |||
218 | mocclean: compiler_moc_header_clean compiler_moc_source_clean |
|
224 | mocclean: compiler_moc_header_clean compiler_moc_source_clean | |
219 |
|
225 | |||
220 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all |
|
226 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all | |
221 |
|
227 | |||
222 | compiler_moc_header_make_all: moc_wfdisplay.cpp moc_wfplot.cpp moc_wfpage.cpp moc_lppmonplot.cpp moc_qcustomplot.cpp moc_pagespectra.cpp |
|
228 | compiler_moc_header_make_all: moc_wfdisplay.cpp moc_wfplot.cpp moc_wfpage.cpp moc_lppmonplot.cpp moc_qcustomplot.cpp moc_pagespectra.cpp | |
223 | compiler_moc_header_clean: |
|
229 | compiler_moc_header_clean: | |
224 | -$(DEL_FILE) moc_wfdisplay.cpp moc_wfplot.cpp moc_wfpage.cpp moc_lppmonplot.cpp moc_qcustomplot.cpp moc_pagespectra.cpp |
|
230 | -$(DEL_FILE) moc_wfdisplay.cpp moc_wfplot.cpp moc_wfpage.cpp moc_lppmonplot.cpp moc_qcustomplot.cpp moc_pagespectra.cpp | |
225 | moc_wfdisplay.cpp: wfdisplay_global.h \ |
|
231 | moc_wfdisplay.cpp: wfdisplay_global.h \ | |
226 | wfpage.h \ |
|
232 | wfpage.h \ | |
227 | wfplot.h \ |
|
233 | wfplot.h \ | |
228 | wfdisplay_params.h \ |
|
234 | wfdisplay_params.h \ | |
229 | wfdisplay.h |
|
235 | wfdisplay.h | |
230 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfdisplay.h -o moc_wfdisplay.cpp |
|
236 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfdisplay.h -o moc_wfdisplay.cpp | |
231 |
|
237 | |||
232 | moc_wfplot.cpp: wfplot.h |
|
238 | moc_wfplot.cpp: wfplot.h | |
233 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfplot.h -o moc_wfplot.cpp |
|
239 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfplot.h -o moc_wfplot.cpp | |
234 |
|
240 | |||
235 | moc_wfpage.cpp: wfdisplay_global.h \ |
|
241 | moc_wfpage.cpp: wfdisplay_global.h \ | |
236 | wfplot.h \ |
|
242 | wfplot.h \ | |
237 | wfdisplay_params.h \ |
|
243 | wfdisplay_params.h \ | |
238 | wfpage.h |
|
244 | wfpage.h | |
239 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfpage.h -o moc_wfpage.cpp |
|
245 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfpage.h -o moc_wfpage.cpp | |
240 |
|
246 | |||
241 | moc_lppmonplot.cpp: lppmonplot/lppmonplot.h |
|
247 | moc_lppmonplot.cpp: lppmonplot/lppmonplot.h | |
242 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lppmonplot/lppmonplot.h -o moc_lppmonplot.cpp |
|
248 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lppmonplot/lppmonplot.h -o moc_lppmonplot.cpp | |
243 |
|
249 | |||
244 | moc_qcustomplot.cpp: QCustomPlot/qcustomplot.h |
|
250 | moc_qcustomplot.cpp: QCustomPlot/qcustomplot.h | |
245 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) QCustomPlot/qcustomplot.h -o moc_qcustomplot.cpp |
|
251 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) QCustomPlot/qcustomplot.h -o moc_qcustomplot.cpp | |
246 |
|
252 | |||
247 | moc_pagespectra.cpp: wfdisplay_global.h \ |
|
253 | moc_pagespectra.cpp: wfdisplay_global.h \ | |
248 | wfplot.h \ |
|
254 | wfplot.h \ | |
249 | wfdisplay_params.h \ |
|
255 | wfdisplay_params.h \ | |
250 | pagespectra.h |
|
256 | pagespectra.h | |
251 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) pagespectra.h -o moc_pagespectra.cpp |
|
257 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) pagespectra.h -o moc_pagespectra.cpp | |
252 |
|
258 | |||
253 | compiler_rcc_make_all: |
|
259 | compiler_rcc_make_all: | |
254 | compiler_rcc_clean: |
|
260 | compiler_rcc_clean: | |
255 | compiler_image_collection_make_all: qmake_image_collection.cpp |
|
261 | compiler_image_collection_make_all: qmake_image_collection.cpp | |
256 | compiler_image_collection_clean: |
|
262 | compiler_image_collection_clean: | |
257 | -$(DEL_FILE) qmake_image_collection.cpp |
|
263 | -$(DEL_FILE) qmake_image_collection.cpp | |
258 | compiler_moc_source_make_all: |
|
264 | compiler_moc_source_make_all: | |
259 | compiler_moc_source_clean: |
|
265 | compiler_moc_source_clean: | |
260 | compiler_uic_make_all: |
|
266 | compiler_uic_make_all: | |
261 | compiler_uic_clean: |
|
267 | compiler_uic_clean: | |
262 | compiler_yacc_decl_make_all: |
|
268 | compiler_yacc_decl_make_all: | |
263 | compiler_yacc_decl_clean: |
|
269 | compiler_yacc_decl_clean: | |
264 | compiler_yacc_impl_make_all: |
|
270 | compiler_yacc_impl_make_all: | |
265 | compiler_yacc_impl_clean: |
|
271 | compiler_yacc_impl_clean: | |
266 | compiler_lex_make_all: |
|
272 | compiler_lex_make_all: | |
267 | compiler_lex_clean: |
|
273 | compiler_lex_clean: | |
268 | compiler_clean: compiler_moc_header_clean |
|
274 | compiler_clean: compiler_moc_header_clean | |
269 |
|
275 | |||
270 | ####### Compile |
|
276 | ####### Compile | |
271 |
|
277 | |||
272 | wfdisplay.o: wfdisplay.cpp wfdisplay.h \ |
|
278 | wfdisplay.o: wfdisplay.cpp wfdisplay.h \ | |
273 | wfdisplay_global.h \ |
|
279 | wfdisplay_global.h \ | |
274 | wfpage.h \ |
|
280 | wfpage.h \ | |
275 | wfplot.h \ |
|
281 | wfplot.h \ | |
276 | wfdisplay_params.h |
|
282 | wfdisplay_params.h | |
277 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfdisplay.o wfdisplay.cpp |
|
283 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfdisplay.o wfdisplay.cpp | |
278 |
|
284 | |||
279 | wfplot.o: wfplot.cpp wfplot.h \ |
|
285 | wfplot.o: wfplot.cpp wfplot.h \ | |
280 | wfdisplay_params.h |
|
286 | wfdisplay_params.h | |
281 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfplot.o wfplot.cpp |
|
287 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfplot.o wfplot.cpp | |
282 |
|
288 | |||
283 | wfpage.o: wfpage.cpp wfpage.h \ |
|
289 | wfpage.o: wfpage.cpp wfpage.h \ | |
284 | wfdisplay_global.h \ |
|
290 | wfdisplay_global.h \ | |
285 | wfplot.h \ |
|
291 | wfplot.h \ | |
286 | wfdisplay_params.h |
|
292 | wfdisplay_params.h | |
287 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpage.o wfpage.cpp |
|
293 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpage.o wfpage.cpp | |
288 |
|
294 | |||
289 | lppmonplot.o: lppmonplot/lppmonplot.cpp lppmonplot/lppmonplot.h |
|
295 | lppmonplot.o: lppmonplot/lppmonplot.cpp lppmonplot/lppmonplot.h | |
290 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lppmonplot.o lppmonplot/lppmonplot.cpp |
|
296 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lppmonplot.o lppmonplot/lppmonplot.cpp | |
291 |
|
297 | |||
292 | qcustomplot.o: QCustomPlot/qcustomplot.cpp QCustomPlot/qcustomplot.h |
|
298 | qcustomplot.o: QCustomPlot/qcustomplot.cpp QCustomPlot/qcustomplot.h | |
293 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qcustomplot.o QCustomPlot/qcustomplot.cpp |
|
299 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qcustomplot.o QCustomPlot/qcustomplot.cpp | |
294 |
|
300 | |||
295 | pagespectra.o: pagespectra.cpp pagespectra.h \ |
|
301 | pagespectra.o: pagespectra.cpp pagespectra.h \ | |
296 | wfdisplay_global.h \ |
|
302 | wfdisplay_global.h \ | |
297 | wfplot.h \ |
|
303 | wfplot.h \ | |
298 | wfdisplay_params.h |
|
304 | wfdisplay_params.h | |
299 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o pagespectra.o pagespectra.cpp |
|
305 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o pagespectra.o pagespectra.cpp | |
300 |
|
306 | |||
301 | moc_wfdisplay.o: moc_wfdisplay.cpp |
|
307 | moc_wfdisplay.o: moc_wfdisplay.cpp | |
302 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfdisplay.o moc_wfdisplay.cpp |
|
308 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfdisplay.o moc_wfdisplay.cpp | |
303 |
|
309 | |||
304 | moc_wfplot.o: moc_wfplot.cpp |
|
310 | moc_wfplot.o: moc_wfplot.cpp | |
305 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfplot.o moc_wfplot.cpp |
|
311 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfplot.o moc_wfplot.cpp | |
306 |
|
312 | |||
307 | moc_wfpage.o: moc_wfpage.cpp |
|
313 | moc_wfpage.o: moc_wfpage.cpp | |
308 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpage.o moc_wfpage.cpp |
|
314 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpage.o moc_wfpage.cpp | |
309 |
|
315 | |||
310 | moc_lppmonplot.o: moc_lppmonplot.cpp |
|
316 | moc_lppmonplot.o: moc_lppmonplot.cpp | |
311 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lppmonplot.o moc_lppmonplot.cpp |
|
317 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lppmonplot.o moc_lppmonplot.cpp | |
312 |
|
318 | |||
313 | moc_qcustomplot.o: moc_qcustomplot.cpp |
|
319 | moc_qcustomplot.o: moc_qcustomplot.cpp | |
314 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qcustomplot.o moc_qcustomplot.cpp |
|
320 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qcustomplot.o moc_qcustomplot.cpp | |
315 |
|
321 | |||
316 | moc_pagespectra.o: moc_pagespectra.cpp |
|
322 | moc_pagespectra.o: moc_pagespectra.cpp | |
317 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_pagespectra.o moc_pagespectra.cpp |
|
323 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_pagespectra.o moc_pagespectra.cpp | |
318 |
|
324 | |||
319 | ####### Install |
|
325 | ####### Install | |
320 |
|
326 | |||
321 | install_header: first FORCE |
|
327 | install_header: first FORCE | |
322 | @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ || $(MKDIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ |
|
328 | @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ || $(MKDIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ | |
323 | -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfdisplay.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ |
|
329 | -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfdisplay.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ | |
324 | -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfdisplay_global.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ |
|
330 | -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfdisplay_global.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ | |
325 | -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfpage.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ |
|
331 | -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfpage.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ | |
326 | -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfplot.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ |
|
332 | -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfplot.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ | |
327 | -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfdisplay_params.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ |
|
333 | -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/wfdisplay_params.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ | |
328 | -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/pagespectra.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ |
|
334 | -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay/pagespectra.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ | |
329 |
|
335 | |||
330 |
|
336 | |||
331 | uninstall_header: FORCE |
|
337 | uninstall_header: FORCE | |
332 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay.h |
|
338 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay.h | |
333 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay_global.h |
|
339 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay_global.h | |
334 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfpage.h |
|
340 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfpage.h | |
335 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfplot.h |
|
341 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfplot.h | |
336 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay_params.h |
|
342 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay_params.h | |
337 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/pagespectra.h |
|
343 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/pagespectra.h | |
338 | -$(DEL_DIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ |
|
344 | -$(DEL_DIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ | |
339 |
|
345 | |||
340 |
|
346 | |||
341 | install_target: first FORCE |
|
347 | install_target: first FORCE | |
342 | @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib64/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib64/ |
|
348 | @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib64/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib64/ | |
343 | -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET)" |
|
349 | -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET)" | |
344 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)" |
|
350 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)" | |
345 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)" |
|
351 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)" | |
346 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)" |
|
352 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)" | |
347 |
|
353 | |||
348 | uninstall_target: FORCE |
|
354 | uninstall_target: FORCE | |
349 | -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET)" |
|
355 | -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET)" | |
350 | -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)" |
|
356 | -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)" | |
351 | -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)" |
|
357 | -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)" | |
352 | -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)" |
|
358 | -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)" | |
353 | -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib64/ |
|
359 | -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib64/ | |
354 |
|
360 | |||
355 |
|
361 | |||
356 | install: install_header install_target FORCE |
|
362 | install: install_header install_target FORCE | |
357 |
|
363 | |||
358 | uninstall: uninstall_header uninstall_target FORCE |
|
364 | uninstall: uninstall_header uninstall_target FORCE | |
359 |
|
365 | |||
360 | FORCE: |
|
366 | FORCE: | |
361 |
|
367 |
@@ -1,197 +1,197 | |||||
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 QtCreator 2.8. |
|
3 | <!-- Written by QtCreator 2.8.1, 2013-11-12T11:16:00. --> | |
4 | <qtcreator> |
|
4 | <qtcreator> | |
5 | <data> |
|
5 | <data> | |
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
|
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> | |
7 | <value type="int">0</value> |
|
7 | <value type="int">0</value> | |
8 | </data> |
|
8 | </data> | |
9 | <data> |
|
9 | <data> | |
10 | <variable>ProjectExplorer.Project.EditorSettings</variable> |
|
10 | <variable>ProjectExplorer.Project.EditorSettings</variable> | |
11 | <valuemap type="QVariantMap"> |
|
11 | <valuemap type="QVariantMap"> | |
12 | <value type="bool" key="EditorConfiguration.AutoIndent">true</value> |
|
12 | <value type="bool" key="EditorConfiguration.AutoIndent">true</value> | |
13 | <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> |
|
13 | <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> | |
14 | <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value> |
|
14 | <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value> | |
15 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> |
|
15 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> | |
16 | <value type="QString" key="language">Cpp</value> |
|
16 | <value type="QString" key="language">Cpp</value> | |
17 | <valuemap type="QVariantMap" key="value"> |
|
17 | <valuemap type="QVariantMap" key="value"> | |
18 | <value type="QString" key="CurrentPreferences">CppGlobal</value> |
|
18 | <value type="QString" key="CurrentPreferences">CppGlobal</value> | |
19 | </valuemap> |
|
19 | </valuemap> | |
20 | </valuemap> |
|
20 | </valuemap> | |
21 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> |
|
21 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> | |
22 | <value type="QString" key="language">QmlJS</value> |
|
22 | <value type="QString" key="language">QmlJS</value> | |
23 | <valuemap type="QVariantMap" key="value"> |
|
23 | <valuemap type="QVariantMap" key="value"> | |
24 | <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> |
|
24 | <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> | |
25 | </valuemap> |
|
25 | </valuemap> | |
26 | </valuemap> |
|
26 | </valuemap> | |
27 | <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> |
|
27 | <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> | |
28 | <value type="QByteArray" key="EditorConfiguration.Codec">System</value> |
|
28 | <value type="QByteArray" key="EditorConfiguration.Codec">System</value> | |
29 | <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> |
|
29 | <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> | |
30 | <value type="int" key="EditorConfiguration.IndentSize">4</value> |
|
30 | <value type="int" key="EditorConfiguration.IndentSize">4</value> | |
31 | <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value> |
|
31 | <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value> | |
32 | <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> |
|
32 | <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> | |
33 | <value type="int" key="EditorConfiguration.PaddingMode">1</value> |
|
33 | <value type="int" key="EditorConfiguration.PaddingMode">1</value> | |
34 | <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> |
|
34 | <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> | |
35 | <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> |
|
35 | <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> | |
36 | <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> |
|
36 | <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> | |
37 | <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> |
|
37 | <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> | |
38 | <value type="int" key="EditorConfiguration.TabSize">8</value> |
|
38 | <value type="int" key="EditorConfiguration.TabSize">8</value> | |
39 | <value type="bool" key="EditorConfiguration.UseGlobal">true</value> |
|
39 | <value type="bool" key="EditorConfiguration.UseGlobal">true</value> | |
40 | <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> |
|
40 | <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> | |
41 | <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> |
|
41 | <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> | |
42 | <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> |
|
42 | <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> | |
43 | <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> |
|
43 | <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> | |
44 | <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> |
|
44 | <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> | |
45 | </valuemap> |
|
45 | </valuemap> | |
46 | </data> |
|
46 | </data> | |
47 | <data> |
|
47 | <data> | |
48 | <variable>ProjectExplorer.Project.PluginSettings</variable> |
|
48 | <variable>ProjectExplorer.Project.PluginSettings</variable> | |
49 | <valuemap type="QVariantMap"/> |
|
49 | <valuemap type="QVariantMap"/> | |
50 | </data> |
|
50 | </data> | |
51 | <data> |
|
51 | <data> | |
52 | <variable>ProjectExplorer.Project.Target.0</variable> |
|
52 | <variable>ProjectExplorer.Project.Target.0</variable> | |
53 | <valuemap type="QVariantMap"> |
|
53 | <valuemap type="QVariantMap"> | |
54 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop-Qt 4.8.2 in PATH (System)</value> |
|
54 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop-Qt 4.8.2 in PATH (System)</value> | |
55 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop-Qt 4.8.2 in PATH (System)</value> |
|
55 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop-Qt 4.8.2 in PATH (System)</value> | |
56 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{5289e843-9ef2-45ce-88c6-ad27d8e08def}</value> |
|
56 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{5289e843-9ef2-45ce-88c6-ad27d8e08def}</value> | |
57 | <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> |
|
57 | <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> | |
58 | <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> |
|
58 | <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> | |
59 | <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> |
|
59 | <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> | |
60 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> |
|
60 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> | |
61 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
61 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
62 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
62 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
63 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> |
|
63 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> |
|
64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> | |
65 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
65 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
66 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> |
|
66 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |
67 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> |
|
67 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |
68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value> |
|
68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value> | |
69 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> |
|
69 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |
70 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> |
|
70 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |
71 | </valuemap> |
|
71 | </valuemap> | |
72 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> |
|
72 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |
73 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> |
|
73 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
74 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
74 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
75 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
75 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
76 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
76 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
77 | <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> |
|
77 | <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> | |
78 | <value type="QString">-w</value> |
|
78 | <value type="QString">-w</value> | |
79 | <value type="QString">-r</value> |
|
79 | <value type="QString">-r</value> | |
80 | </valuelist> |
|
80 | </valuelist> | |
81 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> |
|
81 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |
82 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w </value> |
|
82 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w </value> | |
83 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
83 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
84 | </valuemap> |
|
84 | </valuemap> | |
85 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> |
|
85 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |
86 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> |
|
86 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |
87 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
87 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
88 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> |
|
88 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |
89 | </valuemap> |
|
89 | </valuemap> | |
90 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> |
|
90 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |
91 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
91 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
92 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> |
|
92 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
93 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
93 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</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">Qt4ProjectManager.MakeStep</value> |
|
95 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
96 | <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> |
|
96 | <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> | |
97 | <value type="QString">-w</value> |
|
97 | <value type="QString">-w</value> | |
98 | <value type="QString">-r</value> |
|
98 | <value type="QString">-r</value> | |
99 | </valuelist> |
|
99 | </valuelist> | |
100 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> |
|
100 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |
101 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w clean</value> |
|
101 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w clean</value> | |
102 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
102 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
103 | </valuemap> |
|
103 | </valuemap> | |
104 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> |
|
104 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |
105 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> |
|
105 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |
106 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
106 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
107 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> |
|
107 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |
108 | </valuemap> |
|
108 | </valuemap> | |
109 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
109 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |
110 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
110 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |
111 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
111 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |
112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value> |
|
112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value> | |
113 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
113 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |
115 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> |
|
115 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |
116 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay</value> |
|
116 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay</value> | |
117 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
117 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> | |
118 | </valuemap> |
|
118 | </valuemap> | |
119 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value> |
|
119 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value> | |
120 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> |
|
120 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> | |
121 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
121 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
122 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> |
|
122 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> | |
123 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> |
|
123 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> | |
124 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
124 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
125 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> |
|
125 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> | |
126 | </valuemap> |
|
126 | </valuemap> | |
127 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> |
|
127 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> | |
128 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value> |
|
128 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value> | |
129 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
129 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
130 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> |
|
130 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> | |
131 | </valuemap> |
|
131 | </valuemap> | |
132 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> |
|
132 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> | |
133 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/> |
|
133 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/> | |
134 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> |
|
134 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> | |
135 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
135 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> | |
136 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
136 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |
137 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
137 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |
138 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
138 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |
139 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
139 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |
140 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
140 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |
141 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
141 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |
142 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
142 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |
143 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
143 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |
144 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
144 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |
145 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
145 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |
146 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
146 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |
147 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
147 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |
148 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
148 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |
149 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
149 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |
150 | <value type="int">0</value> |
|
150 | <value type="int">0</value> | |
151 | <value type="int">1</value> |
|
151 | <value type="int">1</value> | |
152 | <value type="int">2</value> |
|
152 | <value type="int">2</value> | |
153 | <value type="int">3</value> |
|
153 | <value type="int">3</value> | |
154 | <value type="int">4</value> |
|
154 | <value type="int">4</value> | |
155 | <value type="int">5</value> |
|
155 | <value type="int">5</value> | |
156 | <value type="int">6</value> |
|
156 | <value type="int">6</value> | |
157 | <value type="int">7</value> |
|
157 | <value type="int">7</value> | |
158 | <value type="int">8</value> |
|
158 | <value type="int">8</value> | |
159 | <value type="int">9</value> |
|
159 | <value type="int">9</value> | |
160 | <value type="int">10</value> |
|
160 | <value type="int">10</value> | |
161 | <value type="int">11</value> |
|
161 | <value type="int">11</value> | |
162 | <value type="int">12</value> |
|
162 | <value type="int">12</value> | |
163 | <value type="int">13</value> |
|
163 | <value type="int">13</value> | |
164 | <value type="int">14</value> |
|
164 | <value type="int">14</value> | |
165 | </valuelist> |
|
165 | </valuelist> | |
166 | <value type="int" key="PE.EnvironmentAspect.Base">2</value> |
|
166 | <value type="int" key="PE.EnvironmentAspect.Base">2</value> | |
167 | <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> |
|
167 | <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> | |
168 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value> |
|
168 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value> | |
169 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value> |
|
169 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value> | |
170 | <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value> |
|
170 | <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value> | |
171 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value> |
|
171 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value> | |
172 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Custom Executable</value> |
|
172 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Custom Executable</value> | |
173 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
173 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
174 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value> |
|
174 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value> | |
175 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> |
|
175 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> | |
176 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> |
|
176 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> | |
177 | <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value> |
|
177 | <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value> | |
178 | <value type="bool" key="RunConfiguration.UseMultiProcess">false</value> |
|
178 | <value type="bool" key="RunConfiguration.UseMultiProcess">false</value> | |
179 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> |
|
179 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | |
180 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> |
|
180 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> | |
181 | </valuemap> |
|
181 | </valuemap> | |
182 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> |
|
182 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> | |
183 | </valuemap> |
|
183 | </valuemap> | |
184 | </data> |
|
184 | </data> | |
185 | <data> |
|
185 | <data> | |
186 | <variable>ProjectExplorer.Project.TargetCount</variable> |
|
186 | <variable>ProjectExplorer.Project.TargetCount</variable> | |
187 | <value type="int">1</value> |
|
187 | <value type="int">1</value> | |
188 | </data> |
|
188 | </data> | |
189 | <data> |
|
189 | <data> | |
190 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> |
|
190 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> | |
191 | <value type="QByteArray">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value> |
|
191 | <value type="QByteArray">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value> | |
192 | </data> |
|
192 | </data> | |
193 | <data> |
|
193 | <data> | |
194 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> |
|
194 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> | |
195 | <value type="int">14</value> |
|
195 | <value type="int">14</value> | |
196 | </data> |
|
196 | </data> | |
197 | </qtcreator> |
|
197 | </qtcreator> |
@@ -1,594 +1,602 | |||||
1 | #include "wfpage.h" |
|
1 | #include "wfpage.h" | |
2 | #include <stdio.h> |
|
2 | #include <stdio.h> | |
3 |
|
3 | |||
4 | WFPage::WFPage(QWidget *parent) : |
|
4 | WFPage::WFPage(QWidget *parent) : | |
5 | QMainWindow(parent) |
|
5 | QMainWindow(parent) | |
6 | { |
|
6 | { | |
7 |
|
7 | |||
8 | pageTitle = "default"; |
|
8 | pageTitle = "default"; | |
9 | wfPlot_v = new WFPlot(this, WFDISPLAY_XMAX, WFDISPLAY_YMAX); |
|
9 | wfPlot_v = new WFPlot(this, WFDISPLAY_XMAX, WFDISPLAY_YMAX); | |
10 | wfPlot_e1 = new WFPlot(this, WFDISPLAY_XMAX, WFDISPLAY_YMAX); |
|
10 | wfPlot_e1 = new WFPlot(this, WFDISPLAY_XMAX, WFDISPLAY_YMAX); | |
11 | wfPlot_e2 = new WFPlot(this, WFDISPLAY_XMAX, WFDISPLAY_YMAX); |
|
11 | wfPlot_e2 = new WFPlot(this, WFDISPLAY_XMAX, WFDISPLAY_YMAX); | |
12 | wfPlot_b1 = new WFPlot(this, WFDISPLAY_XMAX, WFDISPLAY_YMAX); |
|
12 | wfPlot_b1 = new WFPlot(this, WFDISPLAY_XMAX, WFDISPLAY_YMAX); | |
13 | wfPlot_b2 = new WFPlot(this, WFDISPLAY_XMAX, WFDISPLAY_YMAX); |
|
13 | wfPlot_b2 = new WFPlot(this, WFDISPLAY_XMAX, WFDISPLAY_YMAX); | |
14 | wfPlot_b3 = new WFPlot(this, WFDISPLAY_XMAX, WFDISPLAY_YMAX); |
|
14 | wfPlot_b3 = new WFPlot(this, WFDISPLAY_XMAX, WFDISPLAY_YMAX); | |
15 | // |
|
15 | // | |
16 | wfPlot_v->customPlot->setTitle("v"); |
|
16 | wfPlot_v->customPlot->setTitle("v"); | |
17 | wfPlot_e1->customPlot->setTitle("e1"); |
|
17 | wfPlot_e1->customPlot->setTitle("e1"); | |
18 | wfPlot_e2->customPlot->setTitle("e2"); |
|
18 | wfPlot_e2->customPlot->setTitle("e2"); | |
19 | wfPlot_b1->customPlot->setTitle("b1"); |
|
19 | wfPlot_b1->customPlot->setTitle("b1"); | |
20 | wfPlot_b2->customPlot->setTitle("b2"); |
|
20 | wfPlot_b2->customPlot->setTitle("b2"); | |
21 | wfPlot_b3->customPlot->setTitle("b3"); |
|
21 | wfPlot_b3->customPlot->setTitle("b3"); | |
22 | // |
|
22 | // | |
23 | /*mainLayout = new QGridLayout; |
|
23 | /*mainLayout = new QGridLayout; | |
24 | mainLayout->addWidget(wfPlot_v, 0, 0, 1, 1); |
|
24 | mainLayout->addWidget(wfPlot_v, 0, 0, 1, 1); | |
25 | mainLayout->addWidget(wfPlot_e1, 0, 1, 1, 1); |
|
25 | mainLayout->addWidget(wfPlot_e1, 0, 1, 1, 1); | |
26 | mainLayout->addWidget(wfPlot_e2, 0, 2, 1, 1); |
|
26 | mainLayout->addWidget(wfPlot_e2, 0, 2, 1, 1); | |
27 | mainLayout->addWidget(wfPlot_b1, 1, 0, 1, 1); |
|
27 | mainLayout->addWidget(wfPlot_b1, 1, 0, 1, 1); | |
28 | mainLayout->addWidget(wfPlot_b2, 1, 1, 1, 1); |
|
28 | mainLayout->addWidget(wfPlot_b2, 1, 1, 1, 1); | |
29 | mainLayout->addWidget(wfPlot_b3, 1, 2, 1, 1);*/ |
|
29 | mainLayout->addWidget(wfPlot_b3, 1, 2, 1, 1);*/ | |
30 | // |
|
30 | // | |
31 | dockV = NULL; |
|
31 | dockV = NULL; | |
32 | dockE1 = NULL; |
|
32 | dockE1 = NULL; | |
33 | dockE2 = NULL; |
|
33 | dockE2 = NULL; | |
34 | dockB1 = NULL; |
|
34 | dockB1 = NULL; | |
35 | dockB2 = NULL; |
|
35 | dockB2 = NULL; | |
36 | dockB3 = NULL; |
|
36 | dockB3 = NULL; | |
37 |
|
37 | |||
38 | titleWidgetV = new QWidget(); |
|
38 | titleWidgetV = new QWidget(); | |
39 | titleWidgetE1 = new QWidget(); |
|
39 | titleWidgetE1 = new QWidget(); | |
40 | titleWidgetE2 = new QWidget(); |
|
40 | titleWidgetE2 = new QWidget(); | |
41 | titleWidgetB1 = new QWidget(); |
|
41 | titleWidgetB1 = new QWidget(); | |
42 | titleWidgetB2 = new QWidget(); |
|
42 | titleWidgetB2 = new QWidget(); | |
43 | titleWidgetB3 = new QWidget(); |
|
43 | titleWidgetB3 = new QWidget(); | |
44 |
|
44 | |||
45 | logFileName = new QLabel(); |
|
45 | logFileName = new QLabel(); | |
46 | logFile = new QFile(); |
|
46 | logFile = new QFile(); | |
47 |
|
47 | |||
48 | logFileEn = false; |
|
48 | logFileEn = false; | |
49 | storageEnabled = false; |
|
49 | storageEnabled = false; | |
50 | allowDataStorage = false; |
|
50 | allowDataStorage = false; | |
51 |
|
51 | |||
52 | indexOffset = 0; |
|
52 | indexOffset = 0; | |
53 |
|
53 | |||
54 | createToolBar(); |
|
54 | createToolBar(); | |
55 | readSettings(); |
|
55 | readSettings(); | |
56 | } |
|
56 | } | |
57 |
|
57 | |||
58 | void WFPage::displayOnPlot(short *data, unsigned char num) |
|
58 | void WFPage::displayOnPlot(short *data, unsigned char num) | |
59 | { |
|
59 | { | |
60 | fillDataBuffer( data, num ); |
|
60 | fillDataBuffer( data, num ); | |
61 |
|
61 | |||
62 | switch(num){ |
|
62 | switch(num){ | |
63 | case 0: |
|
63 | case 0: | |
64 | wfPlot_v->displayOnPlot(data, DEFAULT_SIZE); |
|
64 | wfPlot_v->displayOnPlot(data, DEFAULT_SIZE); | |
65 | break; |
|
65 | break; | |
66 |
|
66 | |||
67 | case 1: |
|
67 | case 1: | |
68 | wfPlot_e1->displayOnPlot(data, DEFAULT_SIZE); |
|
68 | wfPlot_e1->displayOnPlot(data, DEFAULT_SIZE); | |
69 | break; |
|
69 | break; | |
70 |
|
70 | |||
71 | case 2: |
|
71 | case 2: | |
72 | wfPlot_e2->displayOnPlot(data, DEFAULT_SIZE); |
|
72 | wfPlot_e2->displayOnPlot(data, DEFAULT_SIZE); | |
73 | break; |
|
73 | break; | |
74 |
|
74 | |||
75 | case 3: |
|
75 | case 3: | |
76 | wfPlot_b1->displayOnPlot(data, DEFAULT_SIZE); |
|
76 | wfPlot_b1->displayOnPlot(data, DEFAULT_SIZE); | |
77 | break; |
|
77 | break; | |
78 |
|
78 | |||
79 | case 4: |
|
79 | case 4: | |
80 | wfPlot_b2->displayOnPlot(data, DEFAULT_SIZE); |
|
80 | wfPlot_b2->displayOnPlot(data, DEFAULT_SIZE); | |
81 | break; |
|
81 | break; | |
82 |
|
82 | |||
83 | case 5: |
|
83 | case 5: | |
84 | wfPlot_b3->displayOnPlot(data, DEFAULT_SIZE); |
|
84 | wfPlot_b3->displayOnPlot(data, DEFAULT_SIZE); | |
85 | break; |
|
85 | break; | |
86 | } |
|
86 | } | |
87 | } |
|
87 | } | |
88 |
|
88 | |||
89 | void WFPage::initDataBuffer() |
|
89 | void WFPage::initDataBuffer() | |
90 | { |
|
90 | { | |
91 | for (unsigned int i = 0; i < DEFAULT_SIZE; i++) |
|
91 | for (unsigned int i = 0; i < DEFAULT_SIZE; i++) | |
92 | { |
|
92 | { | |
93 | dataBuffer[i].clear(); |
|
93 | dataBuffer[i].clear(); | |
94 | } |
|
94 | } | |
95 | } |
|
95 | } | |
96 |
|
96 | |||
97 | void WFPage::fillDataBuffer(short *data, unsigned char num) |
|
97 | void WFPage::fillDataBuffer(short *data, unsigned char num) | |
98 | { |
|
98 | { | |
99 | if ( (storageEnabled == true) | (allowDataStorage==true) ) // store data in buffers |
|
99 | if ( (storageEnabled == true) | (allowDataStorage==true) ) // store data in buffers | |
100 | { |
|
100 | { | |
101 | switch(num) { |
|
101 | switch(num) { | |
102 |
|
102 | |||
103 | case 0 : |
|
103 | case 0 : | |
104 | initDataBuffer(); |
|
104 | initDataBuffer(); | |
105 | for (unsigned int i=0; i<DEFAULT_SIZE; i++) |
|
105 | for (unsigned int i=0; i<DEFAULT_SIZE; i++) | |
106 | { |
|
106 | { | |
107 | dataBuffer[i].append(QByteArray::number(data[i])); |
|
107 | dataBuffer[i].append(QByteArray::number(data[i])); | |
108 | dataBuffer[i].append(' '); |
|
108 | dataBuffer[i].append(' '); | |
109 | } |
|
109 | } | |
110 | allowDataStorage = true; |
|
110 | allowDataStorage = true; | |
111 | break; |
|
111 | break; | |
112 |
|
112 | |||
113 | case 1 : |
|
113 | case 1 : | |
114 | case 2 : |
|
114 | case 2 : | |
115 | case 3 : |
|
115 | case 3 : | |
116 | case 4 : |
|
116 | case 4 : | |
117 | if (allowDataStorage==true) { |
|
117 | if (allowDataStorage==true) { | |
118 | for (unsigned int i=0; i<DEFAULT_SIZE; i++) |
|
118 | for (unsigned int i=0; i<DEFAULT_SIZE; i++) | |
119 | { |
|
119 | { | |
120 | dataBuffer[i].append(QByteArray::number(data[i])); |
|
120 | dataBuffer[i].append(QByteArray::number(data[i])); | |
121 | dataBuffer[i].append(' '); |
|
121 | dataBuffer[i].append(' '); | |
122 | } |
|
122 | } | |
123 | } |
|
123 | } | |
124 | break; |
|
124 | break; | |
125 |
|
125 | |||
126 | case 5 : |
|
126 | case 5 : | |
127 | if (allowDataStorage==true) { |
|
127 | if (allowDataStorage==true) { | |
128 | for (unsigned int i=0; i<DEFAULT_SIZE; i++) |
|
128 | for (unsigned int i=0; i<DEFAULT_SIZE; i++) | |
129 | { |
|
129 | { | |
130 | dataBuffer[i].append(QByteArray::number(data[i])); |
|
130 | dataBuffer[i].append(QByteArray::number(data[i])); | |
131 | dataBuffer[i].append(' '); |
|
131 | dataBuffer[i].append(' '); | |
132 | } |
|
132 | } | |
133 | storeDataBuffer(); |
|
133 | storeDataBuffer(); | |
134 | allowDataStorage = false; |
|
134 | allowDataStorage = false; | |
135 | } |
|
135 | } | |
136 | break; |
|
136 | break; | |
137 |
|
137 | |||
138 | default: |
|
138 | default: | |
139 | break; |
|
139 | break; | |
140 |
|
140 | |||
141 | } |
|
141 | } | |
142 | } |
|
142 | } | |
143 | } |
|
143 | } | |
144 |
|
144 | |||
145 | void WFPage::storeDataBuffer() |
|
145 | void WFPage::storeDataBuffer() | |
146 | { |
|
146 | { | |
147 | for (int i = 0; i < DEFAULT_SIZE; i++ ) |
|
147 | for (int i = 0; i < DEFAULT_SIZE; i++ ) | |
148 | { |
|
148 | { | |
149 | *(this->logFileStrm) << (i + indexOffset) << " " << dataBuffer[i] << endl; |
|
149 | *(this->logFileStrm) << (i + indexOffset) << " " << dataBuffer[i] << endl; | |
150 | } |
|
150 | } | |
151 | indexOffset = indexOffset + DEFAULT_SIZE; |
|
151 | indexOffset = indexOffset + DEFAULT_SIZE; | |
152 | if (storageEnabled == false){ |
|
152 | if (storageEnabled == false){ | |
153 | this->logFileStrm->flush(); |
|
153 | this->logFileStrm->flush(); | |
154 | this->logFile->waitForBytesWritten(3000); |
|
154 | this->logFile->waitForBytesWritten(3000); | |
155 | this->logFile->close(); |
|
155 | this->logFile->close(); | |
156 | } |
|
156 | } | |
157 | } |
|
157 | } | |
158 |
|
158 | |||
159 | void WFPage::createToolBar() |
|
159 | void WFPage::createToolBar() | |
160 | { |
|
160 | { | |
161 | radio_v = new QRadioButton(tr("v")); |
|
161 | radio_v = new QRadioButton(tr("v")); | |
162 | radio_e1 = new QRadioButton(tr("e1")); |
|
162 | radio_e1 = new QRadioButton(tr("e1")); | |
163 | radio_e2 = new QRadioButton(tr("e2")); |
|
163 | radio_e2 = new QRadioButton(tr("e2")); | |
164 | radio_b1 = new QRadioButton(tr("b1")); |
|
164 | radio_b1 = new QRadioButton(tr("b1")); | |
165 | radio_b2 = new QRadioButton(tr("b2")); |
|
165 | radio_b2 = new QRadioButton(tr("b2")); | |
166 | radio_b3 = new QRadioButton(tr("b3")); |
|
166 | radio_b3 = new QRadioButton(tr("b3")); | |
167 | radio_tabify = new QRadioButton(tr("tabify")); |
|
167 | radio_tabify = new QRadioButton(tr("tabify")); | |
168 |
|
168 | |||
169 | radio_v->setAutoExclusive(false); |
|
169 | radio_v->setAutoExclusive(false); | |
170 | radio_e1->setAutoExclusive(false); |
|
170 | radio_e1->setAutoExclusive(false); | |
171 | radio_e2->setAutoExclusive(false); |
|
171 | radio_e2->setAutoExclusive(false); | |
172 | radio_b1->setAutoExclusive(false); |
|
172 | radio_b1->setAutoExclusive(false); | |
173 | radio_b2->setAutoExclusive(false); |
|
173 | radio_b2->setAutoExclusive(false); | |
174 | radio_b3->setAutoExclusive(false); |
|
174 | radio_b3->setAutoExclusive(false); | |
175 | radio_tabify->setAutoExclusive(false); |
|
175 | radio_tabify->setAutoExclusive(false); | |
176 |
|
176 | |||
177 | button_selectAll = new QPushButton(tr("select all")); |
|
177 | button_selectAll = new QPushButton(tr("select all")); | |
178 | button_storeWfrm = new QPushButton(tr("REC")); |
|
178 | button_storeWfrm = new QPushButton(tr("REC")); | |
179 | button_chooseDir = new QPushButton(tr("choose dir")); |
|
179 | button_chooseDir = new QPushButton(tr("choose dir")); | |
180 |
|
180 | |||
181 | myToolBar = new QToolBar("select"); |
|
181 | myToolBar = new QToolBar("select"); | |
182 |
|
182 | |||
183 | myToolBar->addWidget(radio_v); |
|
183 | myToolBar->addWidget(radio_v); | |
184 | myToolBar->addWidget(radio_e1); |
|
184 | myToolBar->addWidget(radio_e1); | |
185 | myToolBar->addWidget(radio_e2); |
|
185 | myToolBar->addWidget(radio_e2); | |
186 | myToolBar->addWidget(radio_b1); |
|
186 | myToolBar->addWidget(radio_b1); | |
187 | myToolBar->addWidget(radio_b2); |
|
187 | myToolBar->addWidget(radio_b2); | |
188 | myToolBar->addWidget(radio_b3); |
|
188 | myToolBar->addWidget(radio_b3); | |
189 | myToolBar->addSeparator(); |
|
189 | myToolBar->addSeparator(); | |
190 | myToolBar->addWidget(button_selectAll); |
|
190 | myToolBar->addWidget(button_selectAll); | |
191 | myToolBar->addWidget(radio_tabify); |
|
191 | myToolBar->addWidget(radio_tabify); | |
192 | myToolBar->addSeparator(); |
|
192 | myToolBar->addSeparator(); | |
193 | myToolBar->addWidget(button_storeWfrm); |
|
193 | myToolBar->addWidget(button_storeWfrm); | |
194 | myToolBar->addWidget(button_chooseDir); |
|
194 | myToolBar->addWidget(button_chooseDir); | |
195 |
|
195 | |||
196 | addToolBar(Qt::LeftToolBarArea, myToolBar); |
|
196 | addToolBar(Qt::LeftToolBarArea, myToolBar); | |
197 |
|
197 | |||
198 | radio_tabify->setChecked(true); |
|
198 | radio_tabify->setChecked(true); | |
199 |
|
199 | |||
200 | connect(this->radio_v, SIGNAL(clicked(bool)), this, SLOT(actionRadioV(bool))); |
|
200 | connect(this->radio_v, SIGNAL(clicked(bool)), this, SLOT(actionRadioV(bool))); | |
201 | connect(this->radio_e1, SIGNAL(clicked(bool)), this, SLOT(actionRadioE1(bool))); |
|
201 | connect(this->radio_e1, SIGNAL(clicked(bool)), this, SLOT(actionRadioE1(bool))); | |
202 | connect(this->radio_e2, SIGNAL(clicked(bool)), this, SLOT(actionRadioE2(bool))); |
|
202 | connect(this->radio_e2, SIGNAL(clicked(bool)), this, SLOT(actionRadioE2(bool))); | |
203 | connect(this->radio_b1, SIGNAL(clicked(bool)), this, SLOT(actionRadioB1(bool))); |
|
203 | connect(this->radio_b1, SIGNAL(clicked(bool)), this, SLOT(actionRadioB1(bool))); | |
204 | connect(this->radio_b2, SIGNAL(clicked(bool)), this, SLOT(actionRadioB2(bool))); |
|
204 | connect(this->radio_b2, SIGNAL(clicked(bool)), this, SLOT(actionRadioB2(bool))); | |
205 | connect(this->radio_b3, SIGNAL(clicked(bool)), this, SLOT(actionRadioB3(bool))); |
|
205 | connect(this->radio_b3, SIGNAL(clicked(bool)), this, SLOT(actionRadioB3(bool))); | |
206 | connect(this->button_selectAll, SIGNAL(clicked()), this, SLOT(selectAll())); |
|
206 | connect(this->button_selectAll, SIGNAL(clicked()), this, SLOT(selectAll())); | |
207 | connect(this->radio_tabify, SIGNAL(clicked(bool)), this, SLOT(organizeDocks())); |
|
207 | connect(this->radio_tabify, SIGNAL(clicked(bool)), this, SLOT(organizeDocks())); | |
208 | connect(this->button_storeWfrm, SIGNAL(clicked()), this, SLOT(storeWfrm())); |
|
208 | connect(this->button_storeWfrm, SIGNAL(clicked()), this, SLOT(storeWfrm())); | |
209 | connect(this->button_chooseDir, SIGNAL(clicked()), this, SLOT(chooseDir())); |
|
209 | connect(this->button_chooseDir, SIGNAL(clicked()), this, SLOT(chooseDir())); | |
210 | } |
|
210 | } | |
211 |
|
211 | |||
212 | void WFPage::actionRadioV(bool state) |
|
212 | void WFPage::actionRadioV(bool state) | |
213 | { |
|
213 | { | |
214 | if (state == true) |
|
214 | if (state == true) | |
215 | { |
|
215 | { | |
216 | if (dockV == NULL) |
|
216 | if (dockV == NULL) | |
217 | { |
|
217 | { | |
218 | dockV = new QDockWidget("V", this); |
|
218 | dockV = new QDockWidget("V", this); | |
219 | dockV->setWidget(wfPlot_v); |
|
219 | dockV->setWidget(wfPlot_v); | |
220 | dockV->setTitleBarWidget(titleWidgetV); |
|
220 | dockV->setTitleBarWidget(titleWidgetV); | |
221 | } |
|
221 | } | |
222 | } |
|
222 | } | |
223 | else |
|
223 | else | |
224 | { |
|
224 | { | |
225 | this->removeDockWidget(dockV); |
|
225 | this->removeDockWidget(dockV); | |
226 | } |
|
226 | } | |
227 | organizeDocks(); |
|
227 | organizeDocks(); | |
228 | } |
|
228 | } | |
229 |
|
229 | |||
230 | void WFPage::actionRadioE1(bool state) |
|
230 | void WFPage::actionRadioE1(bool state) | |
231 | { |
|
231 | { | |
232 | if (state == true) |
|
232 | if (state == true) | |
233 | { |
|
233 | { | |
234 | if (dockE1 == NULL) |
|
234 | if (dockE1 == NULL) | |
235 | { |
|
235 | { | |
236 | dockE1 = new QDockWidget("E1", this); |
|
236 | dockE1 = new QDockWidget("E1", this); | |
237 | dockE1->setWidget(wfPlot_e1); |
|
237 | dockE1->setWidget(wfPlot_e1); | |
238 | dockE1->setTitleBarWidget(titleWidgetE1); |
|
238 | dockE1->setTitleBarWidget(titleWidgetE1); | |
239 | } |
|
239 | } | |
240 | } |
|
240 | } | |
241 | else |
|
241 | else | |
242 | { |
|
242 | { | |
243 | this->removeDockWidget(dockE1); |
|
243 | this->removeDockWidget(dockE1); | |
244 | } |
|
244 | } | |
245 | organizeDocks(); |
|
245 | organizeDocks(); | |
246 | } |
|
246 | } | |
247 |
|
247 | |||
248 | void WFPage::actionRadioE2(bool state) |
|
248 | void WFPage::actionRadioE2(bool state) | |
249 | { |
|
249 | { | |
250 | if (state == true) |
|
250 | if (state == true) | |
251 | { |
|
251 | { | |
252 | if (dockE2 == NULL) |
|
252 | if (dockE2 == NULL) | |
253 | { |
|
253 | { | |
254 | dockE2 = new QDockWidget("E2", this); |
|
254 | dockE2 = new QDockWidget("E2", this); | |
255 | dockE2->setWidget(wfPlot_e2); |
|
255 | dockE2->setWidget(wfPlot_e2); | |
256 | dockE2->setTitleBarWidget(titleWidgetE2); |
|
256 | dockE2->setTitleBarWidget(titleWidgetE2); | |
257 | } |
|
257 | } | |
258 | } |
|
258 | } | |
259 | else |
|
259 | else | |
260 | { |
|
260 | { | |
261 | this->removeDockWidget(dockE2); |
|
261 | this->removeDockWidget(dockE2); | |
262 | } |
|
262 | } | |
263 | organizeDocks(); |
|
263 | organizeDocks(); | |
264 | } |
|
264 | } | |
265 |
|
265 | |||
266 | void WFPage::actionRadioB1(bool state) |
|
266 | void WFPage::actionRadioB1(bool state) | |
267 | { |
|
267 | { | |
268 | if (state == true) |
|
268 | if (state == true) | |
269 | { |
|
269 | { | |
270 | if (dockB1 == NULL) |
|
270 | if (dockB1 == NULL) | |
271 | { |
|
271 | { | |
272 | dockB1 = new QDockWidget("B1", this); |
|
272 | dockB1 = new QDockWidget("B1", this); | |
273 | dockB1->setWidget(wfPlot_b1); |
|
273 | dockB1->setWidget(wfPlot_b1); | |
274 | dockB1->setTitleBarWidget(titleWidgetB1); |
|
274 | dockB1->setTitleBarWidget(titleWidgetB1); | |
275 | } |
|
275 | } | |
276 | } |
|
276 | } | |
277 | else |
|
277 | else | |
278 | { |
|
278 | { | |
279 | this->removeDockWidget(dockB1); |
|
279 | this->removeDockWidget(dockB1); | |
280 | } |
|
280 | } | |
281 | organizeDocks(); |
|
281 | organizeDocks(); | |
282 | } |
|
282 | } | |
283 |
|
283 | |||
284 | void WFPage::actionRadioB2(bool state) |
|
284 | void WFPage::actionRadioB2(bool state) | |
285 | { |
|
285 | { | |
286 | if (state == true) |
|
286 | if (state == true) | |
287 | { |
|
287 | { | |
288 | if (dockB2 == NULL) |
|
288 | if (dockB2 == NULL) | |
289 | { |
|
289 | { | |
290 | dockB2 = new QDockWidget("B2", this); |
|
290 | dockB2 = new QDockWidget("B2", this); | |
291 | dockB2->setWidget(wfPlot_b2); |
|
291 | dockB2->setWidget(wfPlot_b2); | |
292 | dockB2->setTitleBarWidget(titleWidgetB2); |
|
292 | dockB2->setTitleBarWidget(titleWidgetB2); | |
293 | } |
|
293 | } | |
294 | } |
|
294 | } | |
295 | else |
|
295 | else | |
296 | { |
|
296 | { | |
297 | this->removeDockWidget(dockB2); |
|
297 | this->removeDockWidget(dockB2); | |
298 | } |
|
298 | } | |
299 | organizeDocks(); |
|
299 | organizeDocks(); | |
300 | } |
|
300 | } | |
301 |
|
301 | |||
302 | void WFPage::actionRadioB3(bool state) |
|
302 | void WFPage::actionRadioB3(bool state) | |
303 | { |
|
303 | { | |
304 | if (state == true) |
|
304 | if (state == true) | |
305 | { |
|
305 | { | |
306 | if (dockB3 == NULL) |
|
306 | if (dockB3 == NULL) | |
307 | { |
|
307 | { | |
308 | dockB3 = new QDockWidget("B3", this); |
|
308 | dockB3 = new QDockWidget("B3", this); | |
309 | dockB3->setWidget(wfPlot_b3); |
|
309 | dockB3->setWidget(wfPlot_b3); | |
310 | dockB3->setTitleBarWidget(titleWidgetB3); |
|
310 | dockB3->setTitleBarWidget(titleWidgetB3); | |
311 | } |
|
311 | } | |
312 | } |
|
312 | } | |
313 | else |
|
313 | else | |
314 | { |
|
314 | { | |
315 | this->removeDockWidget(dockB3); |
|
315 | this->removeDockWidget(dockB3); | |
316 | } |
|
316 | } | |
317 | organizeDocks(); |
|
317 | organizeDocks(); | |
318 | } |
|
318 | } | |
319 |
|
319 | |||
320 | void WFPage::buildDockList() |
|
320 | void WFPage::buildDockList() | |
321 | { |
|
321 | { | |
322 | dockList.clear(); |
|
322 | dockList.clear(); | |
323 |
|
323 | |||
324 | if (radio_v->isChecked()) |
|
324 | if (radio_v->isChecked()) | |
325 | { |
|
325 | { | |
326 | dockList.append(dockV); |
|
326 | dockList.append(dockV); | |
327 | removeDockWidget(dockV); |
|
327 | removeDockWidget(dockV); | |
328 | } |
|
328 | } | |
329 | if (radio_e1->isChecked()) |
|
329 | if (radio_e1->isChecked()) | |
330 | { |
|
330 | { | |
331 | dockList.append(dockE1); |
|
331 | dockList.append(dockE1); | |
332 | removeDockWidget(dockE1); |
|
332 | removeDockWidget(dockE1); | |
333 | } |
|
333 | } | |
334 | if (radio_e2->isChecked()) |
|
334 | if (radio_e2->isChecked()) | |
335 | { |
|
335 | { | |
336 | dockList.append(dockE2); |
|
336 | dockList.append(dockE2); | |
337 | removeDockWidget(dockE2); |
|
337 | removeDockWidget(dockE2); | |
338 | } |
|
338 | } | |
339 | if (radio_b1->isChecked()) |
|
339 | if (radio_b1->isChecked()) | |
340 | { |
|
340 | { | |
341 | dockList.append(dockB1); |
|
341 | dockList.append(dockB1); | |
342 | removeDockWidget(dockB1); |
|
342 | removeDockWidget(dockB1); | |
343 | } |
|
343 | } | |
344 | if (radio_b2->isChecked()) |
|
344 | if (radio_b2->isChecked()) | |
345 | { |
|
345 | { | |
346 | dockList.append(dockB2); |
|
346 | dockList.append(dockB2); | |
347 | removeDockWidget(dockB2); |
|
347 | removeDockWidget(dockB2); | |
348 | } |
|
348 | } | |
349 | if (radio_b3->isChecked()) |
|
349 | if (radio_b3->isChecked()) | |
350 | { |
|
350 | { | |
351 | dockList.append(dockB3); |
|
351 | dockList.append(dockB3); | |
352 | removeDockWidget(dockB3); |
|
352 | removeDockWidget(dockB3); | |
353 | } |
|
353 | } | |
354 | } |
|
354 | } | |
355 |
|
355 | |||
356 | void WFPage::organizeDocks() |
|
356 | void WFPage::organizeDocks() | |
357 | { |
|
357 | { | |
358 | if (radio_tabify->isChecked()) |
|
358 | if (radio_tabify->isChecked()) | |
359 | { |
|
359 | { | |
360 | tabify(); |
|
360 | tabify(); | |
361 | } |
|
361 | } | |
362 | else |
|
362 | else | |
363 | { |
|
363 | { | |
364 | unTabify(); |
|
364 | unTabify(); | |
365 | } |
|
365 | } | |
366 | wfPlot_v->resize(wfPlot_v->minimumSizeHint()); |
|
366 | wfPlot_v->resize(wfPlot_v->minimumSizeHint()); | |
367 | wfPlot_e1->resize(wfPlot_e1->minimumSizeHint()); |
|
367 | wfPlot_e1->resize(wfPlot_e1->minimumSizeHint()); | |
368 | wfPlot_e2->resize(wfPlot_e2->minimumSizeHint()); |
|
368 | wfPlot_e2->resize(wfPlot_e2->minimumSizeHint()); | |
369 | wfPlot_b1->resize(wfPlot_b1->minimumSizeHint()); |
|
369 | wfPlot_b1->resize(wfPlot_b1->minimumSizeHint()); | |
370 | wfPlot_b2->resize(wfPlot_b2->minimumSizeHint()); |
|
370 | wfPlot_b2->resize(wfPlot_b2->minimumSizeHint()); | |
371 | wfPlot_b3->resize(wfPlot_b3->minimumSizeHint()); |
|
371 | wfPlot_b3->resize(wfPlot_b3->minimumSizeHint()); | |
372 | this->resize(this->minimumSizeHint()); |
|
372 | this->resize(this->minimumSizeHint()); | |
373 | } |
|
373 | } | |
374 |
|
374 | |||
375 | void WFPage::unTabify() |
|
375 | void WFPage::unTabify() | |
376 | { |
|
376 | { | |
377 | buildDockList(); |
|
377 | buildDockList(); | |
378 |
|
378 | |||
379 | switch(dockList.size()) |
|
379 | switch(dockList.size()) | |
380 | { |
|
380 | { | |
381 | case 0: |
|
381 | case 0: | |
382 | break; |
|
382 | break; | |
383 | case 1: |
|
383 | case 1: | |
384 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(0)); |
|
384 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(0)); | |
385 | dockList.at(0)->show(); |
|
385 | dockList.at(0)->show(); | |
386 | break; |
|
386 | break; | |
387 | case 2: |
|
387 | case 2: | |
388 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(0)); |
|
388 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(0)); | |
389 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(1)); |
|
389 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(1)); | |
390 | dockList.at(0)->show(); |
|
390 | dockList.at(0)->show(); | |
391 | dockList.at(1)->show(); |
|
391 | dockList.at(1)->show(); | |
392 | break; |
|
392 | break; | |
393 | case 3: |
|
393 | case 3: | |
394 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(0)); |
|
394 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(0)); | |
395 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(1)); |
|
395 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(1)); | |
396 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2)); |
|
396 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2)); | |
397 | dockList.at(0)->show(); |
|
397 | dockList.at(0)->show(); | |
398 | dockList.at(1)->show(); |
|
398 | dockList.at(1)->show(); | |
399 | dockList.at(2)->show(); |
|
399 | dockList.at(2)->show(); | |
400 | break; |
|
400 | break; | |
401 | case 4: |
|
401 | case 4: | |
402 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(0)); |
|
402 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(0)); | |
403 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(1)); |
|
403 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(1)); | |
404 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2)); |
|
404 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2)); | |
405 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3)); |
|
405 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3)); | |
406 | dockList.at(0)->show(); |
|
406 | dockList.at(0)->show(); | |
407 | dockList.at(1)->show(); |
|
407 | dockList.at(1)->show(); | |
408 | dockList.at(2)->show(); |
|
408 | dockList.at(2)->show(); | |
409 | dockList.at(3)->show(); |
|
409 | dockList.at(3)->show(); | |
410 | break; |
|
410 | break; | |
411 | case 5: |
|
411 | case 5: | |
412 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(0)); |
|
412 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(0)); | |
413 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(1)); |
|
413 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(1)); | |
414 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(2)); |
|
414 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(2)); | |
415 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3)); |
|
415 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3)); | |
416 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4)); |
|
416 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4)); | |
417 | dockList.at(0)->show(); |
|
417 | dockList.at(0)->show(); | |
418 | dockList.at(1)->show(); |
|
418 | dockList.at(1)->show(); | |
419 | dockList.at(2)->show(); |
|
419 | dockList.at(2)->show(); | |
420 | dockList.at(3)->show(); |
|
420 | dockList.at(3)->show(); | |
421 | dockList.at(4)->show(); |
|
421 | dockList.at(4)->show(); | |
422 | break; |
|
422 | break; | |
423 | case 6: |
|
423 | case 6: | |
424 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(0)); |
|
424 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(0)); | |
425 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(1)); |
|
425 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(1)); | |
426 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(2)); |
|
426 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(2)); | |
427 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3)); |
|
427 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3)); | |
428 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4)); |
|
428 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4)); | |
429 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(5)); |
|
429 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(5)); | |
430 | dockList.at(0)->show(); |
|
430 | dockList.at(0)->show(); | |
431 | dockList.at(1)->show(); |
|
431 | dockList.at(1)->show(); | |
432 | dockList.at(2)->show(); |
|
432 | dockList.at(2)->show(); | |
433 | dockList.at(3)->show(); |
|
433 | dockList.at(3)->show(); | |
434 | dockList.at(4)->show(); |
|
434 | dockList.at(4)->show(); | |
435 | dockList.at(5)->show(); |
|
435 | dockList.at(5)->show(); | |
436 | break; |
|
436 | break; | |
437 | default: |
|
437 | default: | |
438 | break; |
|
438 | break; | |
439 | } |
|
439 | } | |
440 | } |
|
440 | } | |
441 |
|
441 | |||
442 | void WFPage::tabify() |
|
442 | void WFPage::tabify() | |
443 | { |
|
443 | { | |
444 | buildDockList(); |
|
444 | buildDockList(); | |
445 |
|
445 | |||
446 | switch(dockList.size()) |
|
446 | switch(dockList.size()) | |
447 | { |
|
447 | { | |
448 | case 0: |
|
448 | case 0: | |
449 | break; |
|
449 | break; | |
450 | case 1: |
|
450 | case 1: | |
451 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(0)); |
|
451 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(0)); | |
452 | dockList.at(0)->show(); |
|
452 | dockList.at(0)->show(); | |
453 | break; |
|
453 | break; | |
454 | case 2: |
|
454 | case 2: | |
455 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(0)); |
|
455 | addDockWidget(Qt::TopDockWidgetArea, dockList.at(0)); | |
456 | tabifyDockWidget(dockList.at(0), dockList.at(1)); |
|
456 | tabifyDockWidget(dockList.at(0), dockList.at(1)); | |
457 | dockList.at(0)->show(); |
|
457 | dockList.at(0)->show(); | |
458 | dockList.at(1)->show(); |
|
458 | dockList.at(1)->show(); | |
459 | break; |
|
459 | break; | |
460 | case 3: |
|
460 | case 3: | |
461 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0)); |
|
461 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0)); | |
462 | tabifyDockWidget(dockList.at(0), dockList.at(1)); |
|
462 | tabifyDockWidget(dockList.at(0), dockList.at(1)); | |
463 | tabifyDockWidget(dockList.at(1), dockList.at(2)); |
|
463 | tabifyDockWidget(dockList.at(1), dockList.at(2)); | |
464 | dockList.at(0)->show(); |
|
464 | dockList.at(0)->show(); | |
465 | dockList.at(1)->show(); |
|
465 | dockList.at(1)->show(); | |
466 | dockList.at(2)->show(); |
|
466 | dockList.at(2)->show(); | |
467 | break; |
|
467 | break; | |
468 | case 4: |
|
468 | case 4: | |
469 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0)); |
|
469 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0)); | |
470 | tabifyDockWidget(dockList.at(0), dockList.at(1)); |
|
470 | tabifyDockWidget(dockList.at(0), dockList.at(1)); | |
471 | tabifyDockWidget(dockList.at(1), dockList.at(2)); |
|
471 | tabifyDockWidget(dockList.at(1), dockList.at(2)); | |
472 | tabifyDockWidget(dockList.at(2), dockList.at(3)); |
|
472 | tabifyDockWidget(dockList.at(2), dockList.at(3)); | |
473 | dockList.at(0)->show(); |
|
473 | dockList.at(0)->show(); | |
474 | dockList.at(1)->show(); |
|
474 | dockList.at(1)->show(); | |
475 | dockList.at(2)->show(); |
|
475 | dockList.at(2)->show(); | |
476 | dockList.at(3)->show(); |
|
476 | dockList.at(3)->show(); | |
477 | break; |
|
477 | break; | |
478 | case 5: |
|
478 | case 5: | |
479 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0)); |
|
479 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0)); | |
480 | tabifyDockWidget(dockList.at(0), dockList.at(1)); |
|
480 | tabifyDockWidget(dockList.at(0), dockList.at(1)); | |
481 | tabifyDockWidget(dockList.at(1), dockList.at(2)); |
|
481 | tabifyDockWidget(dockList.at(1), dockList.at(2)); | |
482 | tabifyDockWidget(dockList.at(2), dockList.at(3)); |
|
482 | tabifyDockWidget(dockList.at(2), dockList.at(3)); | |
483 | tabifyDockWidget(dockList.at(3), dockList.at(4)); |
|
483 | tabifyDockWidget(dockList.at(3), dockList.at(4)); | |
484 | dockList.at(0)->show(); |
|
484 | dockList.at(0)->show(); | |
485 | dockList.at(1)->show(); |
|
485 | dockList.at(1)->show(); | |
486 | dockList.at(2)->show(); |
|
486 | dockList.at(2)->show(); | |
487 | dockList.at(3)->show(); |
|
487 | dockList.at(3)->show(); | |
488 | dockList.at(4)->show(); |
|
488 | dockList.at(4)->show(); | |
489 | break; |
|
489 | break; | |
490 | case 6: |
|
490 | case 6: | |
491 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0)); |
|
491 | addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0)); | |
492 | tabifyDockWidget(dockList.at(0), dockList.at(1)); |
|
492 | tabifyDockWidget(dockList.at(0), dockList.at(1)); | |
493 | tabifyDockWidget(dockList.at(1), dockList.at(2)); |
|
493 | tabifyDockWidget(dockList.at(1), dockList.at(2)); | |
494 | tabifyDockWidget(dockList.at(2), dockList.at(3)); |
|
494 | tabifyDockWidget(dockList.at(2), dockList.at(3)); | |
495 | tabifyDockWidget(dockList.at(3), dockList.at(4)); |
|
495 | tabifyDockWidget(dockList.at(3), dockList.at(4)); | |
496 | tabifyDockWidget(dockList.at(4), dockList.at(5)); |
|
496 | tabifyDockWidget(dockList.at(4), dockList.at(5)); | |
497 | dockList.at(0)->show(); |
|
497 | dockList.at(0)->show(); | |
498 | dockList.at(1)->show(); |
|
498 | dockList.at(1)->show(); | |
499 | dockList.at(2)->show(); |
|
499 | dockList.at(2)->show(); | |
500 | dockList.at(3)->show(); |
|
500 | dockList.at(3)->show(); | |
501 | dockList.at(4)->show(); |
|
501 | dockList.at(4)->show(); | |
502 | dockList.at(5)->show(); |
|
502 | dockList.at(5)->show(); | |
503 | break; |
|
503 | break; | |
504 | default: |
|
504 | default: | |
505 | break; |
|
505 | break; | |
506 | } |
|
506 | } | |
507 | } |
|
507 | } | |
508 |
|
508 | |||
509 | void WFPage::selectAll() |
|
509 | void WFPage::selectAll() | |
510 | { |
|
510 | { | |
511 | radio_v->click(); |
|
511 | radio_v->click(); | |
512 | radio_e1->click(); |
|
512 | radio_e1->click(); | |
513 | radio_e2->click(); |
|
513 | radio_e2->click(); | |
514 | radio_b1->click(); |
|
514 | radio_b1->click(); | |
515 | radio_b2->click(); |
|
515 | radio_b2->click(); | |
516 | radio_b3->click(); |
|
516 | radio_b3->click(); | |
517 | } |
|
517 | } | |
518 |
|
518 | |||
519 | void WFPage::storeWfrm() |
|
519 | void WFPage::storeWfrm() | |
520 | { |
|
520 | { | |
521 | if (logFileEn == false) |
|
521 | if (logFileEn == false) | |
522 | { |
|
522 | { | |
523 | buildFileName(); |
|
523 | buildFileName(); | |
524 | indexOffset = 0; |
|
524 | indexOffset = 0; | |
525 | button_storeWfrm->setText(tr("STOP")); |
|
525 | button_storeWfrm->setText(tr("STOP")); | |
526 | logFileEn = true; |
|
526 | logFileEn = true; | |
527 | } |
|
527 | } | |
528 | else |
|
528 | else | |
529 | { |
|
529 | { | |
530 | // disable storage |
|
530 | // disable storage | |
531 | storageEnabled = false; |
|
531 | storageEnabled = false; | |
532 | button_storeWfrm->setText(tr("REC")); |
|
532 | button_storeWfrm->setText(tr("REC")); | |
533 | logFileEn = false; |
|
533 | logFileEn = false; | |
534 | } |
|
534 | } | |
535 | } |
|
535 | } | |
536 |
|
536 | |||
537 | void WFPage::buildFileName() |
|
537 | void WFPage::buildFileName() | |
538 | { |
|
538 | { | |
539 | QString date; |
|
539 | QTime time; | |
540 |
Q |
|
540 | QDate date; | |
|
541 | QString dateTime; | |||
541 | QString prefix; |
|
542 | QString prefix; | |
542 |
|
543 | |||
543 |
date = QDate::currentDate() |
|
544 | date = QDate::currentDate(); | |
544 |
time = QTime::currentTime() |
|
545 | time = QTime::currentTime(); | |
545 |
|
546 | |||
546 | prefix = defaultStorageDirectory + "/" + date + "_" + time + "_" + pageTitle ; |
|
547 | dateTime = QString::number( date.year() ) + "_" | |
|
548 | + QString::number( date.month() ) + "_" | |||
|
549 | + QString::number( date.day() ) + "-" | |||
|
550 | + QString::number( time.hour() ) + "_" | |||
|
551 | + QString::number( time.minute() ) + "_" | |||
|
552 | + QString::number( time.second() ); | |||
|
553 | ||||
|
554 | prefix = defaultStorageDirectory + "/" + dateTime + "_" + pageTitle ; | |||
547 |
|
555 | |||
548 | if(this->logFile->isOpen()) this->logFile->close(); |
|
556 | if(this->logFile->isOpen()) this->logFile->close(); | |
549 | this->logFile->setFileName( prefix + ".data"); |
|
557 | this->logFile->setFileName( prefix + ".data"); | |
550 | if(this->logFile->open(QIODevice::WriteOnly)) this->logFileStrm = new QTextStream(this->logFile); |
|
558 | if(this->logFile->open(QIODevice::WriteOnly)) this->logFileStrm = new QTextStream(this->logFile); | |
551 |
|
559 | |||
552 | *(this->logFileStrm) << "time V E1 E2 B1 B2 B3 " << endl; |
|
560 | *(this->logFileStrm) << "time V E1 E2 B1 B2 B3 " << endl; | |
553 |
|
561 | |||
554 | storageEnabled = true; |
|
562 | storageEnabled = true; | |
555 |
|
563 | |||
556 | } |
|
564 | } | |
557 |
|
565 | |||
558 | void WFPage::logFileEnDisable(bool state) |
|
566 | void WFPage::logFileEnDisable(bool state) | |
559 | { |
|
567 | { | |
560 | if(state==true) |
|
568 | if(state==true) | |
561 | { |
|
569 | { | |
562 | this->logFileEn = true; |
|
570 | this->logFileEn = true; | |
563 | } |
|
571 | } | |
564 | else if(state==false) |
|
572 | else if(state==false) | |
565 | { |
|
573 | { | |
566 | this->logFileEn = false; |
|
574 | this->logFileEn = false; | |
567 | } |
|
575 | } | |
568 | } |
|
576 | } | |
569 |
|
577 | |||
570 | void WFPage::closeEvent(QCloseEvent *event) |
|
578 | void WFPage::closeEvent(QCloseEvent *event) | |
571 | { |
|
579 | { | |
572 | writeSettings(); |
|
580 | writeSettings(); | |
573 | event->accept(); |
|
581 | event->accept(); | |
574 | } |
|
582 | } | |
575 |
|
583 | |||
576 | void WFPage::readSettings() |
|
584 | void WFPage::readSettings() | |
577 | { |
|
585 | { | |
578 | QSettings settings("lpp", "lfrsgse"); |
|
586 | QSettings settings("lpp", "lfrsgse"); | |
579 | defaultStorageDirectory = settings.value("defaultStorageDirectory", QDir::homePath()).toString(); |
|
587 | defaultStorageDirectory = settings.value("defaultStorageDirectory", QDir::homePath()).toString(); | |
580 | } |
|
588 | } | |
581 |
|
589 | |||
582 | void WFPage::writeSettings() |
|
590 | void WFPage::writeSettings() | |
583 | { |
|
591 | { | |
584 | QSettings settings("lpp", "lfrsgse"); |
|
592 | QSettings settings("lpp", "lfrsgse"); | |
585 | settings.setValue("defaultStorageDirectory", defaultStorageDirectory); |
|
593 | settings.setValue("defaultStorageDirectory", defaultStorageDirectory); | |
586 | } |
|
594 | } | |
587 |
|
595 | |||
588 | void WFPage::chooseDir() |
|
596 | void WFPage::chooseDir() | |
589 | { |
|
597 | { | |
590 | defaultStorageDirectory = QFileDialog::getExistingDirectory(this, |
|
598 | defaultStorageDirectory = QFileDialog::getExistingDirectory(this, | |
591 | "choose the directory", |
|
599 | "choose the directory", | |
592 | QDir::homePath(), |
|
600 | QDir::homePath(), | |
593 | QFileDialog::ShowDirsOnly); |
|
601 | QFileDialog::ShowDirsOnly); | |
594 | } |
|
602 | } |
General Comments 0
You need to be logged in to leave comments.
Login now