@@ -1,342 +1,342 | |||||
1 | <?xml version="1.0" encoding="UTF-8"?> |
|
1 | <?xml version="1.0" encoding="UTF-8"?> | |
2 | <!DOCTYPE QtCreatorProject> |
|
2 | <!DOCTYPE QtCreatorProject> | |
3 |
<!-- Written by Qt Creator 2.4.1, 2013-06-1 |
|
3 | <!-- Written by Qt Creator 2.4.1, 2013-06-18T15:14:51. --> | |
4 | <qtcreator> |
|
4 | <qtcreator> | |
5 | <data> |
|
5 | <data> | |
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
|
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> | |
7 | <value type="int">0</value> |
|
7 | <value type="int">0</value> | |
8 | </data> |
|
8 | </data> | |
9 | <data> |
|
9 | <data> | |
10 | <variable>ProjectExplorer.Project.EditorSettings</variable> |
|
10 | <variable>ProjectExplorer.Project.EditorSettings</variable> | |
11 | <valuemap type="QVariantMap"> |
|
11 | <valuemap type="QVariantMap"> | |
12 | <value type="bool" key="EditorConfiguration.AutoIndent">true</value> |
|
12 | <value type="bool" key="EditorConfiguration.AutoIndent">true</value> | |
13 | <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> |
|
13 | <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> | |
14 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> |
|
14 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> | |
15 | <value type="QString" key="language">Cpp</value> |
|
15 | <value type="QString" key="language">Cpp</value> | |
16 | <valuemap type="QVariantMap" key="value"> |
|
16 | <valuemap type="QVariantMap" key="value"> | |
17 | <value type="QString" key="CurrentPreferences">CppGlobal</value> |
|
17 | <value type="QString" key="CurrentPreferences">CppGlobal</value> | |
18 | </valuemap> |
|
18 | </valuemap> | |
19 | </valuemap> |
|
19 | </valuemap> | |
20 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> |
|
20 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> | |
21 | <value type="QString" key="language">QmlJS</value> |
|
21 | <value type="QString" key="language">QmlJS</value> | |
22 | <valuemap type="QVariantMap" key="value"> |
|
22 | <valuemap type="QVariantMap" key="value"> | |
23 | <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> |
|
23 | <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> | |
24 | </valuemap> |
|
24 | </valuemap> | |
25 | </valuemap> |
|
25 | </valuemap> | |
26 | <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> |
|
26 | <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> | |
27 | <value type="QByteArray" key="EditorConfiguration.Codec">System</value> |
|
27 | <value type="QByteArray" key="EditorConfiguration.Codec">System</value> | |
28 | <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> |
|
28 | <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> | |
29 | <value type="int" key="EditorConfiguration.IndentSize">4</value> |
|
29 | <value type="int" key="EditorConfiguration.IndentSize">4</value> | |
30 | <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> |
|
30 | <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> | |
31 | <value type="int" key="EditorConfiguration.PaddingMode">1</value> |
|
31 | <value type="int" key="EditorConfiguration.PaddingMode">1</value> | |
32 | <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> |
|
32 | <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> | |
33 | <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> |
|
33 | <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> | |
34 | <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> |
|
34 | <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> | |
35 | <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> |
|
35 | <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> | |
36 | <value type="int" key="EditorConfiguration.TabSize">8</value> |
|
36 | <value type="int" key="EditorConfiguration.TabSize">8</value> | |
37 | <value type="bool" key="EditorConfiguration.UseGlobal">true</value> |
|
37 | <value type="bool" key="EditorConfiguration.UseGlobal">true</value> | |
38 | <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> |
|
38 | <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> | |
39 | <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> |
|
39 | <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> | |
40 | <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> |
|
40 | <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> | |
41 | <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> |
|
41 | <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> | |
42 | <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> |
|
42 | <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> | |
43 | </valuemap> |
|
43 | </valuemap> | |
44 | </data> |
|
44 | </data> | |
45 | <data> |
|
45 | <data> | |
46 | <variable>ProjectExplorer.Project.PluginSettings</variable> |
|
46 | <variable>ProjectExplorer.Project.PluginSettings</variable> | |
47 | <valuemap type="QVariantMap"/> |
|
47 | <valuemap type="QVariantMap"/> | |
48 | </data> |
|
48 | </data> | |
49 | <data> |
|
49 | <data> | |
50 | <variable>ProjectExplorer.Project.Target.0</variable> |
|
50 | <variable>ProjectExplorer.Project.Target.0</variable> | |
51 | <valuemap type="QVariantMap"> |
|
51 | <valuemap type="QVariantMap"> | |
52 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value> |
|
52 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value> | |
53 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value> |
|
53 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value> | |
54 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value> |
|
54 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value> | |
55 | <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> |
|
55 | <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> | |
56 | <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> |
|
56 | <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> | |
57 | <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> |
|
57 | <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> | |
58 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> |
|
58 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> | |
59 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> |
|
59 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> | |
60 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
60 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
61 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
61 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
62 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> |
|
62 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> | |
63 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
63 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> |
|
64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |
65 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> |
|
65 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |
66 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> |
|
66 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> | |
67 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> |
|
67 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |
68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> |
|
68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |
69 | </valuemap> |
|
69 | </valuemap> | |
70 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> |
|
70 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |
71 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
71 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
72 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
72 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
73 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
73 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
74 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> |
|
74 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |
75 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> |
|
75 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |
76 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
76 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
77 | </valuemap> |
|
77 | </valuemap> | |
78 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> |
|
78 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |
79 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> |
|
79 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |
80 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
80 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
81 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> |
|
81 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |
82 | </valuemap> |
|
82 | </valuemap> | |
83 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> |
|
83 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |
84 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
84 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
85 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
85 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
86 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
86 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
87 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
87 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
88 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> |
|
88 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |
89 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> |
|
89 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |
90 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
90 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
91 | </valuemap> |
|
91 | </valuemap> | |
92 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> |
|
92 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |
93 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> |
|
93 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |
94 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
94 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
95 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> |
|
95 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |
96 | </valuemap> |
|
96 | </valuemap> | |
97 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
97 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |
98 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
98 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |
99 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
99 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |
100 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value> |
|
100 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value> | |
101 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
101 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
102 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
102 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |
103 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> |
|
103 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |
104 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value> |
|
104 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value> | |
105 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> |
|
105 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> | |
106 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
106 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> | |
107 | </valuemap> |
|
107 | </valuemap> | |
108 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1"> |
|
108 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1"> | |
109 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> |
|
109 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> | |
110 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
110 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
111 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
111 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> |
|
112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> | |
113 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
113 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> |
|
114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |
115 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> |
|
115 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |
116 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> |
|
116 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> | |
117 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> |
|
117 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |
118 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> |
|
118 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |
119 | </valuemap> |
|
119 | </valuemap> | |
120 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> |
|
120 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |
121 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
121 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
122 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
122 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
123 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
123 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
124 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> |
|
124 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |
125 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> |
|
125 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |
126 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
126 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
127 | </valuemap> |
|
127 | </valuemap> | |
128 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> |
|
128 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |
129 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> |
|
129 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |
130 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
130 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
131 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> |
|
131 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |
132 | </valuemap> |
|
132 | </valuemap> | |
133 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> |
|
133 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |
134 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
134 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
135 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
135 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
136 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
136 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
137 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
137 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
138 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> |
|
138 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |
139 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> |
|
139 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |
140 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
140 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
141 | </valuemap> |
|
141 | </valuemap> | |
142 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> |
|
142 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |
143 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> |
|
143 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |
144 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
144 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
145 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> |
|
145 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |
146 | </valuemap> |
|
146 | </valuemap> | |
147 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
147 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |
148 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
148 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |
149 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
149 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |
150 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Debug</value> |
|
150 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Debug</value> | |
151 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
151 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
152 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
152 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |
153 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value> |
|
153 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value> | |
154 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value> |
|
154 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value> | |
155 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> |
|
155 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> | |
156 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
156 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> | |
157 | </valuemap> |
|
157 | </valuemap> | |
158 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value> |
|
158 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value> | |
159 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> |
|
159 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> | |
160 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
160 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
161 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> |
|
161 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> | |
162 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> |
|
162 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> | |
163 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
163 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
164 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> |
|
164 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> | |
165 | </valuemap> |
|
165 | </valuemap> | |
166 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> |
|
166 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> | |
167 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value> |
|
167 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value> | |
168 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
168 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
169 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> |
|
169 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> | |
170 | </valuemap> |
|
170 | </valuemap> | |
171 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> |
|
171 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> | |
172 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> |
|
172 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> | |
173 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
173 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> | |
174 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
174 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> | |
175 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
175 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |
176 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
176 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |
177 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
177 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |
178 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
178 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |
179 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
179 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |
180 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
180 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |
181 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
181 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |
182 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
182 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |
183 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
183 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |
184 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
184 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |
185 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
185 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |
186 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
186 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |
187 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
187 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |
188 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
188 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |
189 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
189 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |
190 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
190 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |
191 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
191 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |
192 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
192 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |
193 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
193 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |
194 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
194 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |
195 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
195 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |
196 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
196 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |
197 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
197 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |
198 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
198 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |
199 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
199 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |
200 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
200 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |
201 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
201 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |
202 | <value type="int">0</value> |
|
202 | <value type="int">0</value> | |
203 | <value type="int">1</value> |
|
203 | <value type="int">1</value> | |
204 | <value type="int">2</value> |
|
204 | <value type="int">2</value> | |
205 | <value type="int">3</value> |
|
205 | <value type="int">3</value> | |
206 | <value type="int">4</value> |
|
206 | <value type="int">4</value> | |
207 | <value type="int">5</value> |
|
207 | <value type="int">5</value> | |
208 | <value type="int">6</value> |
|
208 | <value type="int">6</value> | |
209 | <value type="int">7</value> |
|
209 | <value type="int">7</value> | |
210 | <value type="int">8</value> |
|
210 | <value type="int">8</value> | |
211 | <value type="int">9</value> |
|
211 | <value type="int">9</value> | |
212 | <value type="int">10</value> |
|
212 | <value type="int">10</value> | |
213 | <value type="int">11</value> |
|
213 | <value type="int">11</value> | |
214 | <value type="int">12</value> |
|
214 | <value type="int">12</value> | |
215 | <value type="int">13</value> |
|
215 | <value type="int">13</value> | |
216 | <value type="int">14</value> |
|
216 | <value type="int">14</value> | |
217 | </valuelist> |
|
217 | </valuelist> | |
218 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
218 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |
219 | <value type="int">0</value> |
|
219 | <value type="int">0</value> | |
220 | <value type="int">1</value> |
|
220 | <value type="int">1</value> | |
221 | <value type="int">2</value> |
|
221 | <value type="int">2</value> | |
222 | <value type="int">3</value> |
|
222 | <value type="int">3</value> | |
223 | <value type="int">4</value> |
|
223 | <value type="int">4</value> | |
224 | <value type="int">5</value> |
|
224 | <value type="int">5</value> | |
225 | <value type="int">6</value> |
|
225 | <value type="int">6</value> | |
226 | <value type="int">7</value> |
|
226 | <value type="int">7</value> | |
227 | <value type="int">8</value> |
|
227 | <value type="int">8</value> | |
228 | <value type="int">9</value> |
|
228 | <value type="int">9</value> | |
229 | <value type="int">10</value> |
|
229 | <value type="int">10</value> | |
230 | <value type="int">11</value> |
|
230 | <value type="int">11</value> | |
231 | <value type="int">12</value> |
|
231 | <value type="int">12</value> | |
232 | <value type="int">13</value> |
|
232 | <value type="int">13</value> | |
233 | <value type="int">14</value> |
|
233 | <value type="int">14</value> | |
234 | </valuelist> |
|
234 | </valuelist> | |
235 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value> |
|
235 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value> | |
236 | <value type="int" key="ProjectExplorer.CustomExecutableRunConfiguration.BaseEnvironmentBase">2</value> |
|
236 | <value type="int" key="ProjectExplorer.CustomExecutableRunConfiguration.BaseEnvironmentBase">2</value> | |
237 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable">lppmon</value> |
|
237 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable">lppmon</value> | |
238 | <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value> |
|
238 | <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value> | |
239 | <valuelist type="QVariantList" key="ProjectExplorer.CustomExecutableRunConfiguration.UserEnvironmentChanges"/> |
|
239 | <valuelist type="QVariantList" key="ProjectExplorer.CustomExecutableRunConfiguration.UserEnvironmentChanges"/> | |
240 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value> |
|
240 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value> | |
241 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Run lppmon</value> |
|
241 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Run lppmon</value> | |
242 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
242 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
243 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value> |
|
243 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value> | |
244 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> |
|
244 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> | |
245 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> |
|
245 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> | |
246 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> |
|
246 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | |
247 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> |
|
247 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> | |
248 | </valuemap> |
|
248 | </valuemap> | |
249 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.1"> |
|
249 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.1"> | |
250 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
250 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> | |
251 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
251 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> | |
252 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
252 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |
253 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
253 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |
254 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
254 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |
255 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
255 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |
256 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
256 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |
257 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
257 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |
258 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
258 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |
259 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
259 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |
260 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
260 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |
261 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
261 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |
262 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
262 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |
263 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
263 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |
264 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
264 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |
265 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
265 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |
266 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
266 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |
267 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
267 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |
268 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
268 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |
269 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
269 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |
270 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
270 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |
271 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
271 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |
272 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
272 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |
273 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
273 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |
274 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
274 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |
275 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
275 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |
276 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
276 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |
277 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
277 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |
278 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
278 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |
279 | <value type="int">0</value> |
|
279 | <value type="int">0</value> | |
280 | <value type="int">1</value> |
|
280 | <value type="int">1</value> | |
281 | <value type="int">2</value> |
|
281 | <value type="int">2</value> | |
282 | <value type="int">3</value> |
|
282 | <value type="int">3</value> | |
283 | <value type="int">4</value> |
|
283 | <value type="int">4</value> | |
284 | <value type="int">5</value> |
|
284 | <value type="int">5</value> | |
285 | <value type="int">6</value> |
|
285 | <value type="int">6</value> | |
286 | <value type="int">7</value> |
|
286 | <value type="int">7</value> | |
287 | <value type="int">8</value> |
|
287 | <value type="int">8</value> | |
288 | <value type="int">9</value> |
|
288 | <value type="int">9</value> | |
289 | <value type="int">10</value> |
|
289 | <value type="int">10</value> | |
290 | <value type="int">11</value> |
|
290 | <value type="int">11</value> | |
291 | <value type="int">12</value> |
|
291 | <value type="int">12</value> | |
292 | <value type="int">13</value> |
|
292 | <value type="int">13</value> | |
293 | <value type="int">14</value> |
|
293 | <value type="int">14</value> | |
294 | </valuelist> |
|
294 | </valuelist> | |
295 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
295 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |
296 | <value type="int">0</value> |
|
296 | <value type="int">0</value> | |
297 | <value type="int">1</value> |
|
297 | <value type="int">1</value> | |
298 | <value type="int">2</value> |
|
298 | <value type="int">2</value> | |
299 | <value type="int">3</value> |
|
299 | <value type="int">3</value> | |
300 | <value type="int">4</value> |
|
300 | <value type="int">4</value> | |
301 | <value type="int">5</value> |
|
301 | <value type="int">5</value> | |
302 | <value type="int">6</value> |
|
302 | <value type="int">6</value> | |
303 | <value type="int">7</value> |
|
303 | <value type="int">7</value> | |
304 | <value type="int">8</value> |
|
304 | <value type="int">8</value> | |
305 | <value type="int">9</value> |
|
305 | <value type="int">9</value> | |
306 | <value type="int">10</value> |
|
306 | <value type="int">10</value> | |
307 | <value type="int">11</value> |
|
307 | <value type="int">11</value> | |
308 | <value type="int">12</value> |
|
308 | <value type="int">12</value> | |
309 | <value type="int">13</value> |
|
309 | <value type="int">13</value> | |
310 | <value type="int">14</value> |
|
310 | <value type="int">14</value> | |
311 | </valuelist> |
|
311 | </valuelist> | |
312 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">spwtimegenerator</value> |
|
312 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">spwtimegenerator</value> | |
313 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
313 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
314 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value> |
|
314 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value> | |
315 | <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value> |
|
315 | <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value> | |
316 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> |
|
316 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> | |
317 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">spwtimegenerator/spwtimegenerator/spwtimegenerator.pro</value> |
|
317 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">spwtimegenerator/spwtimegenerator/spwtimegenerator.pro</value> | |
318 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value> |
|
318 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value> | |
319 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value> |
|
319 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value> | |
320 | <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/> |
|
320 | <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/> | |
321 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value> |
|
321 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value> | |
322 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> |
|
322 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> | |
323 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> |
|
323 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> | |
324 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> |
|
324 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | |
325 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> |
|
325 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> | |
326 | </valuemap> |
|
326 | </valuemap> | |
327 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">2</value> |
|
327 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">2</value> | |
328 | </valuemap> |
|
328 | </valuemap> | |
329 | </data> |
|
329 | </data> | |
330 | <data> |
|
330 | <data> | |
331 | <variable>ProjectExplorer.Project.TargetCount</variable> |
|
331 | <variable>ProjectExplorer.Project.TargetCount</variable> | |
332 | <value type="int">1</value> |
|
332 | <value type="int">1</value> | |
333 | </data> |
|
333 | </data> | |
334 | <data> |
|
334 | <data> | |
335 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> |
|
335 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> | |
336 | <value type="QString">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value> |
|
336 | <value type="QString">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value> | |
337 | </data> |
|
337 | </data> | |
338 | <data> |
|
338 | <data> | |
339 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> |
|
339 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> | |
340 | <value type="int">10</value> |
|
340 | <value type="int">10</value> | |
341 | </data> |
|
341 | </data> | |
342 | </qtcreator> |
|
342 | </qtcreator> |
@@ -1,360 +1,378 | |||||
1 | ############################################################################# |
|
1 | ############################################################################# | |
2 | # Makefile for building: gselesia |
|
2 | # Makefile for building: gselesia | |
3 |
# Generated by qmake (2.01a) (Qt 4.8.4) on: |
|
3 | # Generated by qmake (2.01a) (Qt 4.8.4) on: Tue Jun 18 10:19:47 2013 | |
4 | # Project: gselesia.pro |
|
4 | # Project: gselesia.pro | |
5 | # Template: app |
|
5 | # Template: app | |
6 | # Command: /usr/bin/qmake-qt4 -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile gselesia.pro |
|
6 | # Command: /usr/bin/qmake-qt4 -spec /usr/lib64/qt4/mkspecs/linux-g++ -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 -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 -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 -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 -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. |
|
16 | INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -I../common_PLE -I../rmapplugin -I../../DEV_PLE/header -I/usr/include/lppmon/common -I/usr/include/lppmon/wfdisplay -I. | |
17 | LINK = g++ |
|
17 | LINK = g++ | |
18 | LFLAGS = -Wl,-O1 -Wl,-z,relro |
|
18 | LFLAGS = -Wl,-O1 -Wl,-z,relro | |
19 | LIBS = $(SUBLIBS) -L/usr/lib64 -llppmoncommon -lwfdisplay -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread |
|
19 | LIBS = $(SUBLIBS) -L/usr/lib64 -llppmoncommon -lwfdisplay -lqwt5-qt4 -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread | |
20 | AR = ar cqs |
|
20 | AR = ar cqs | |
21 | RANLIB = |
|
21 | RANLIB = | |
22 | QMAKE = /usr/bin/qmake-qt4 |
|
22 | QMAKE = /usr/bin/qmake-qt4 | |
23 | TAR = tar -cf |
|
23 | TAR = tar -cf | |
24 | COMPRESS = gzip -9f |
|
24 | COMPRESS = gzip -9f | |
25 | COPY = cp -f |
|
25 | COPY = cp -f | |
26 | SED = sed |
|
26 | SED = sed | |
27 | COPY_FILE = $(COPY) |
|
27 | COPY_FILE = $(COPY) | |
28 | COPY_DIR = $(COPY) -r |
|
28 | COPY_DIR = $(COPY) -r | |
29 | STRIP = |
|
29 | STRIP = | |
30 | INSTALL_FILE = install -m 644 -p |
|
30 | INSTALL_FILE = install -m 644 -p | |
31 | INSTALL_DIR = $(COPY_DIR) |
|
31 | INSTALL_DIR = $(COPY_DIR) | |
32 | INSTALL_PROGRAM = install -m 755 -p |
|
32 | INSTALL_PROGRAM = install -m 755 -p | |
33 | DEL_FILE = rm -f |
|
33 | DEL_FILE = rm -f | |
34 | SYMLINK = ln -f -s |
|
34 | SYMLINK = ln -f -s | |
35 | DEL_DIR = rmdir |
|
35 | DEL_DIR = rmdir | |
36 | MOVE = mv -f |
|
36 | MOVE = mv -f | |
37 | CHK_DIR_EXISTS= test -d |
|
37 | CHK_DIR_EXISTS= test -d | |
38 | MKDIR = mkdir -p |
|
38 | MKDIR = mkdir -p | |
39 |
|
39 | |||
40 | ####### Output directory |
|
40 | ####### Output directory | |
41 |
|
41 | |||
42 | OBJECTS_DIR = ./ |
|
42 | OBJECTS_DIR = ./ | |
43 |
|
43 | |||
44 | ####### Files |
|
44 | ####### Files | |
45 |
|
45 | |||
46 | SOURCES = main.cpp \ |
|
46 | SOURCES = main.cpp \ | |
47 | mainwindow.cpp \ |
|
47 | mainwindow.cpp \ | |
48 | mainwindowui.cpp \ |
|
48 | mainwindowui.cpp \ | |
49 | ../common_PLE/qipdialogbox.cpp \ |
|
49 | ../common_PLE/qipdialogbox.cpp \ | |
50 | lfrxmlhandler.cpp \ |
|
50 | lfrxmlhandler.cpp \ | |
51 | lfrxmlwriter.cpp \ |
|
51 | lfrxmlwriter.cpp \ | |
52 | ../rmapplugin/tmstatistics.cpp \ |
|
52 | ../rmapplugin/tmstatistics.cpp \ | |
53 | ../rmapplugin/tmpackettoread.cpp \ |
|
53 | ../rmapplugin/tmpackettoread.cpp \ | |
54 | ../rmapplugin/wfpacket.cpp \ |
|
54 | ../rmapplugin/wfpacket.cpp \ | |
55 | ../common_PLE/hkdisplay.cpp \ |
|
55 | ../common_PLE/hkdisplay.cpp \ | |
56 |
lfrxmlparser.cpp |
|
56 | lfrxmlparser.cpp \ | |
|
57 | lfrspectrogram.cpp moc_mainwindow.cpp \ | |||
57 | moc_mainwindowui.cpp \ |
|
58 | moc_mainwindowui.cpp \ | |
58 | moc_qipdialogbox.cpp \ |
|
59 | moc_qipdialogbox.cpp \ | |
59 | moc_lfrxmlhandler.cpp \ |
|
60 | moc_lfrxmlhandler.cpp \ | |
60 | moc_lfrxmlwriter.cpp \ |
|
61 | moc_lfrxmlwriter.cpp \ | |
61 | moc_tmstatistics.cpp \ |
|
62 | moc_tmstatistics.cpp \ | |
62 | moc_tmpackettoread.cpp \ |
|
63 | moc_tmpackettoread.cpp \ | |
63 | moc_wfpacket.cpp \ |
|
64 | moc_wfpacket.cpp \ | |
64 | moc_hkdisplay.cpp \ |
|
65 | moc_hkdisplay.cpp \ | |
65 | moc_lfrxmlparser.cpp |
|
66 | moc_lfrxmlparser.cpp \ | |
|
67 | moc_lfrspectrogram.cpp | |||
66 | OBJECTS = main.o \ |
|
68 | OBJECTS = main.o \ | |
67 | mainwindow.o \ |
|
69 | mainwindow.o \ | |
68 | mainwindowui.o \ |
|
70 | mainwindowui.o \ | |
69 | qipdialogbox.o \ |
|
71 | qipdialogbox.o \ | |
70 | lfrxmlhandler.o \ |
|
72 | lfrxmlhandler.o \ | |
71 | lfrxmlwriter.o \ |
|
73 | lfrxmlwriter.o \ | |
72 | tmstatistics.o \ |
|
74 | tmstatistics.o \ | |
73 | tmpackettoread.o \ |
|
75 | tmpackettoread.o \ | |
74 | wfpacket.o \ |
|
76 | wfpacket.o \ | |
75 | hkdisplay.o \ |
|
77 | hkdisplay.o \ | |
76 | lfrxmlparser.o \ |
|
78 | lfrxmlparser.o \ | |
|
79 | lfrspectrogram.o \ | |||
77 | moc_mainwindow.o \ |
|
80 | moc_mainwindow.o \ | |
78 | moc_mainwindowui.o \ |
|
81 | moc_mainwindowui.o \ | |
79 | moc_qipdialogbox.o \ |
|
82 | moc_qipdialogbox.o \ | |
80 | moc_lfrxmlhandler.o \ |
|
83 | moc_lfrxmlhandler.o \ | |
81 | moc_lfrxmlwriter.o \ |
|
84 | moc_lfrxmlwriter.o \ | |
82 | moc_tmstatistics.o \ |
|
85 | moc_tmstatistics.o \ | |
83 | moc_tmpackettoread.o \ |
|
86 | moc_tmpackettoread.o \ | |
84 | moc_wfpacket.o \ |
|
87 | moc_wfpacket.o \ | |
85 | moc_hkdisplay.o \ |
|
88 | moc_hkdisplay.o \ | |
86 | moc_lfrxmlparser.o |
|
89 | moc_lfrxmlparser.o \ | |
|
90 | moc_lfrspectrogram.o | |||
87 | DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \ |
|
91 | DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \ | |
88 | /usr/lib64/qt4/mkspecs/common/linux.conf \ |
|
92 | /usr/lib64/qt4/mkspecs/common/linux.conf \ | |
89 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ |
|
93 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ | |
90 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ |
|
94 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ | |
91 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ |
|
95 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ | |
92 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ |
|
96 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ | |
93 | /usr/lib64/qt4/mkspecs/qconfig.pri \ |
|
97 | /usr/lib64/qt4/mkspecs/qconfig.pri \ | |
94 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ |
|
98 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ | |
95 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ |
|
99 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ | |
96 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ |
|
100 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ | |
97 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ |
|
101 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ | |
98 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ |
|
102 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ | |
99 | /usr/lib64/qt4/mkspecs/features/release.prf \ |
|
103 | /usr/lib64/qt4/mkspecs/features/release.prf \ | |
100 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ |
|
104 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ | |
101 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
105 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ | |
102 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ |
|
106 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ | |
103 | /usr/lib64/qt4/mkspecs/features/qt.prf \ |
|
107 | /usr/lib64/qt4/mkspecs/features/qt.prf \ | |
104 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ |
|
108 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ | |
105 | /usr/lib64/qt4/mkspecs/features/moc.prf \ |
|
109 | /usr/lib64/qt4/mkspecs/features/moc.prf \ | |
106 | /usr/lib64/qt4/mkspecs/features/resources.prf \ |
|
110 | /usr/lib64/qt4/mkspecs/features/resources.prf \ | |
107 | /usr/lib64/qt4/mkspecs/features/uic.prf \ |
|
111 | /usr/lib64/qt4/mkspecs/features/uic.prf \ | |
108 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ |
|
112 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ | |
109 | /usr/lib64/qt4/mkspecs/features/lex.prf \ |
|
113 | /usr/lib64/qt4/mkspecs/features/lex.prf \ | |
110 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ |
|
114 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ | |
111 | gselesia.pro |
|
115 | gselesia.pro | |
112 | QMAKE_TARGET = gselesia |
|
116 | QMAKE_TARGET = gselesia | |
113 | DESTDIR = |
|
117 | DESTDIR = | |
114 | TARGET = gselesia |
|
118 | TARGET = gselesia | |
115 |
|
119 | |||
116 | first: all |
|
120 | first: all | |
117 | ####### Implicit rules |
|
121 | ####### Implicit rules | |
118 |
|
122 | |||
119 | .SUFFIXES: .o .c .cpp .cc .cxx .C |
|
123 | .SUFFIXES: .o .c .cpp .cc .cxx .C | |
120 |
|
124 | |||
121 | .cpp.o: |
|
125 | .cpp.o: | |
122 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
126 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |
123 |
|
127 | |||
124 | .cc.o: |
|
128 | .cc.o: | |
125 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
129 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |
126 |
|
130 | |||
127 | .cxx.o: |
|
131 | .cxx.o: | |
128 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
132 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |
129 |
|
133 | |||
130 | .C.o: |
|
134 | .C.o: | |
131 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
135 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |
132 |
|
136 | |||
133 | .c.o: |
|
137 | .c.o: | |
134 | $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" |
|
138 | $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" | |
135 |
|
139 | |||
136 | ####### Build rules |
|
140 | ####### Build rules | |
137 |
|
141 | |||
138 | all: Makefile $(TARGET) |
|
142 | all: Makefile $(TARGET) | |
139 |
|
143 | |||
140 | $(TARGET): $(OBJECTS) |
|
144 | $(TARGET): $(OBJECTS) | |
141 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) |
|
145 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) | |
142 |
|
146 | |||
143 | Makefile: gselesia.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \ |
|
147 | Makefile: gselesia.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \ | |
144 | /usr/lib64/qt4/mkspecs/common/linux.conf \ |
|
148 | /usr/lib64/qt4/mkspecs/common/linux.conf \ | |
145 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ |
|
149 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ | |
146 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ |
|
150 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ | |
147 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ |
|
151 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ | |
148 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ |
|
152 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ | |
149 | /usr/lib64/qt4/mkspecs/qconfig.pri \ |
|
153 | /usr/lib64/qt4/mkspecs/qconfig.pri \ | |
150 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ |
|
154 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ | |
151 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ |
|
155 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ | |
152 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ |
|
156 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ | |
153 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ |
|
157 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ | |
154 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ |
|
158 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ | |
155 | /usr/lib64/qt4/mkspecs/features/release.prf \ |
|
159 | /usr/lib64/qt4/mkspecs/features/release.prf \ | |
156 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ |
|
160 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ | |
157 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
161 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ | |
158 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ |
|
162 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ | |
159 | /usr/lib64/qt4/mkspecs/features/qt.prf \ |
|
163 | /usr/lib64/qt4/mkspecs/features/qt.prf \ | |
160 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ |
|
164 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ | |
161 | /usr/lib64/qt4/mkspecs/features/moc.prf \ |
|
165 | /usr/lib64/qt4/mkspecs/features/moc.prf \ | |
162 | /usr/lib64/qt4/mkspecs/features/resources.prf \ |
|
166 | /usr/lib64/qt4/mkspecs/features/resources.prf \ | |
163 | /usr/lib64/qt4/mkspecs/features/uic.prf \ |
|
167 | /usr/lib64/qt4/mkspecs/features/uic.prf \ | |
164 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ |
|
168 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ | |
165 | /usr/lib64/qt4/mkspecs/features/lex.prf \ |
|
169 | /usr/lib64/qt4/mkspecs/features/lex.prf \ | |
166 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ |
|
170 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ | |
167 | /usr/lib64/libQtXml.prl \ |
|
171 | /usr/lib64/libQtXml.prl \ | |
168 | /usr/lib64/libQtCore.prl \ |
|
172 | /usr/lib64/libQtCore.prl \ | |
169 | /usr/lib64/libQtGui.prl \ |
|
173 | /usr/lib64/libQtGui.prl \ | |
170 | /usr/lib64/libQtNetwork.prl |
|
174 | /usr/lib64/libQtNetwork.prl | |
171 | $(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile gselesia.pro |
|
175 | $(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile gselesia.pro | |
172 | /usr/lib64/qt4/mkspecs/common/unix.conf: |
|
176 | /usr/lib64/qt4/mkspecs/common/unix.conf: | |
173 | /usr/lib64/qt4/mkspecs/common/linux.conf: |
|
177 | /usr/lib64/qt4/mkspecs/common/linux.conf: | |
174 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf: |
|
178 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf: | |
175 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf: |
|
179 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf: | |
176 | /usr/lib64/qt4/mkspecs/common/g++-base.conf: |
|
180 | /usr/lib64/qt4/mkspecs/common/g++-base.conf: | |
177 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf: |
|
181 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf: | |
178 | /usr/lib64/qt4/mkspecs/qconfig.pri: |
|
182 | /usr/lib64/qt4/mkspecs/qconfig.pri: | |
179 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri: |
|
183 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri: | |
180 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf: |
|
184 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf: | |
181 | /usr/lib64/qt4/mkspecs/features/qt_config.prf: |
|
185 | /usr/lib64/qt4/mkspecs/features/qt_config.prf: | |
182 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf: |
|
186 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf: | |
183 | /usr/lib64/qt4/mkspecs/features/default_pre.prf: |
|
187 | /usr/lib64/qt4/mkspecs/features/default_pre.prf: | |
184 | /usr/lib64/qt4/mkspecs/features/release.prf: |
|
188 | /usr/lib64/qt4/mkspecs/features/release.prf: | |
185 | /usr/lib64/qt4/mkspecs/features/default_post.prf: |
|
189 | /usr/lib64/qt4/mkspecs/features/default_post.prf: | |
186 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: |
|
190 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: | |
187 | /usr/lib64/qt4/mkspecs/features/warn_on.prf: |
|
191 | /usr/lib64/qt4/mkspecs/features/warn_on.prf: | |
188 | /usr/lib64/qt4/mkspecs/features/qt.prf: |
|
192 | /usr/lib64/qt4/mkspecs/features/qt.prf: | |
189 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf: |
|
193 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf: | |
190 | /usr/lib64/qt4/mkspecs/features/moc.prf: |
|
194 | /usr/lib64/qt4/mkspecs/features/moc.prf: | |
191 | /usr/lib64/qt4/mkspecs/features/resources.prf: |
|
195 | /usr/lib64/qt4/mkspecs/features/resources.prf: | |
192 | /usr/lib64/qt4/mkspecs/features/uic.prf: |
|
196 | /usr/lib64/qt4/mkspecs/features/uic.prf: | |
193 | /usr/lib64/qt4/mkspecs/features/yacc.prf: |
|
197 | /usr/lib64/qt4/mkspecs/features/yacc.prf: | |
194 | /usr/lib64/qt4/mkspecs/features/lex.prf: |
|
198 | /usr/lib64/qt4/mkspecs/features/lex.prf: | |
195 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf: |
|
199 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf: | |
196 | /usr/lib64/libQtXml.prl: |
|
200 | /usr/lib64/libQtXml.prl: | |
197 | /usr/lib64/libQtCore.prl: |
|
201 | /usr/lib64/libQtCore.prl: | |
198 | /usr/lib64/libQtGui.prl: |
|
202 | /usr/lib64/libQtGui.prl: | |
199 | /usr/lib64/libQtNetwork.prl: |
|
203 | /usr/lib64/libQtNetwork.prl: | |
200 | qmake: FORCE |
|
204 | qmake: FORCE | |
201 | @$(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile gselesia.pro |
|
205 | @$(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile gselesia.pro | |
202 |
|
206 | |||
203 | dist: |
|
207 | dist: | |
204 | @$(CHK_DIR_EXISTS) .tmp/gselesia1.0.0 || $(MKDIR) .tmp/gselesia1.0.0 |
|
208 | @$(CHK_DIR_EXISTS) .tmp/gselesia1.0.0 || $(MKDIR) .tmp/gselesia1.0.0 | |
205 | $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/gselesia1.0.0/ && $(COPY_FILE) --parents mainwindow.h mainwindowui.h ../common_PLE/qipdialogbox.h lfrxmlhandler.h lfrxmlwriter.h ../rmapplugin/tmstatistics.h ../rmapplugin/tmpackettoread.h ../rmapplugin/wfpacket.h ../common_PLE/hkdisplay.h ../rmapplugin/params.h ../../DEV_PLE/header/ccsds_types.h lfrxmlparser.h .tmp/gselesia1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp mainwindowui.cpp ../common_PLE/qipdialogbox.cpp lfrxmlhandler.cpp lfrxmlwriter.cpp ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmpackettoread.cpp ../rmapplugin/wfpacket.cpp ../common_PLE/hkdisplay.cpp lfrxmlparser.cpp .tmp/gselesia1.0.0/ && (cd `dirname .tmp/gselesia1.0.0` && $(TAR) gselesia1.0.0.tar gselesia1.0.0 && $(COMPRESS) gselesia1.0.0.tar) && $(MOVE) `dirname .tmp/gselesia1.0.0`/gselesia1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/gselesia1.0.0 |
|
209 | $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/gselesia1.0.0/ && $(COPY_FILE) --parents mainwindow.h mainwindowui.h ../common_PLE/qipdialogbox.h lfrxmlhandler.h lfrxmlwriter.h ../rmapplugin/tmstatistics.h ../rmapplugin/tmpackettoread.h ../rmapplugin/wfpacket.h ../common_PLE/hkdisplay.h ../rmapplugin/params.h ../../DEV_PLE/header/ccsds_types.h lfrxmlparser.h lfrspectrogram.h .tmp/gselesia1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp mainwindowui.cpp ../common_PLE/qipdialogbox.cpp lfrxmlhandler.cpp lfrxmlwriter.cpp ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmpackettoread.cpp ../rmapplugin/wfpacket.cpp ../common_PLE/hkdisplay.cpp lfrxmlparser.cpp lfrspectrogram.cpp .tmp/gselesia1.0.0/ && (cd `dirname .tmp/gselesia1.0.0` && $(TAR) gselesia1.0.0.tar gselesia1.0.0 && $(COMPRESS) gselesia1.0.0.tar) && $(MOVE) `dirname .tmp/gselesia1.0.0`/gselesia1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/gselesia1.0.0 | |
206 |
|
210 | |||
207 |
|
211 | |||
208 | clean:compiler_clean |
|
212 | clean:compiler_clean | |
209 | -$(DEL_FILE) $(OBJECTS) |
|
213 | -$(DEL_FILE) $(OBJECTS) | |
210 | -$(DEL_FILE) *~ core *.core |
|
214 | -$(DEL_FILE) *~ core *.core | |
211 |
|
215 | |||
212 |
|
216 | |||
213 | ####### Sub-libraries |
|
217 | ####### Sub-libraries | |
214 |
|
218 | |||
215 | distclean: clean |
|
219 | distclean: clean | |
216 | -$(DEL_FILE) $(TARGET) |
|
220 | -$(DEL_FILE) $(TARGET) | |
217 | -$(DEL_FILE) Makefile |
|
221 | -$(DEL_FILE) Makefile | |
218 |
|
222 | |||
219 |
|
223 | |||
220 | check: first |
|
224 | check: first | |
221 |
|
225 | |||
222 | mocclean: compiler_moc_header_clean compiler_moc_source_clean |
|
226 | mocclean: compiler_moc_header_clean compiler_moc_source_clean | |
223 |
|
227 | |||
224 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all |
|
228 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all | |
225 |
|
229 | |||
226 | compiler_moc_header_make_all: moc_mainwindow.cpp moc_mainwindowui.cpp moc_qipdialogbox.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp |
|
230 | compiler_moc_header_make_all: moc_mainwindow.cpp moc_mainwindowui.cpp moc_qipdialogbox.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp moc_lfrspectrogram.cpp | |
227 | compiler_moc_header_clean: |
|
231 | compiler_moc_header_clean: | |
228 | -$(DEL_FILE) moc_mainwindow.cpp moc_mainwindowui.cpp moc_qipdialogbox.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp |
|
232 | -$(DEL_FILE) moc_mainwindow.cpp moc_mainwindowui.cpp moc_qipdialogbox.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp moc_lfrspectrogram.cpp | |
229 | moc_mainwindow.cpp: lfrxmlhandler.h \ |
|
233 | moc_mainwindow.cpp: lfrxmlhandler.h \ | |
230 | lfrxmlwriter.h \ |
|
234 | lfrxmlwriter.h \ | |
231 | mainwindowui.h \ |
|
235 | mainwindowui.h \ | |
|
236 | lfrspectrogram.h \ | |||
232 | lfrxmlparser.h \ |
|
237 | lfrxmlparser.h \ | |
233 | mainwindow.h |
|
238 | mainwindow.h | |
234 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp |
|
239 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp | |
235 |
|
240 | |||
236 |
moc_mainwindowui.cpp: |
|
241 | moc_mainwindowui.cpp: lfrspectrogram.h \ | |
|
242 | mainwindowui.h | |||
237 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindowui.h -o moc_mainwindowui.cpp |
|
243 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindowui.h -o moc_mainwindowui.cpp | |
238 |
|
244 | |||
239 | moc_qipdialogbox.cpp: ../common_PLE/qipdialogbox.h |
|
245 | moc_qipdialogbox.cpp: ../common_PLE/qipdialogbox.h | |
240 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/qipdialogbox.h -o moc_qipdialogbox.cpp |
|
246 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/qipdialogbox.h -o moc_qipdialogbox.cpp | |
241 |
|
247 | |||
242 | moc_lfrxmlhandler.cpp: lfrxmlhandler.h |
|
248 | moc_lfrxmlhandler.cpp: lfrxmlhandler.h | |
243 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlhandler.h -o moc_lfrxmlhandler.cpp |
|
249 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlhandler.h -o moc_lfrxmlhandler.cpp | |
244 |
|
250 | |||
245 | moc_lfrxmlwriter.cpp: lfrxmlwriter.h |
|
251 | moc_lfrxmlwriter.cpp: lfrxmlwriter.h | |
246 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlwriter.h -o moc_lfrxmlwriter.cpp |
|
252 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlwriter.h -o moc_lfrxmlwriter.cpp | |
247 |
|
253 | |||
248 | moc_tmstatistics.cpp: ../rmapplugin/tmstatistics.h |
|
254 | moc_tmstatistics.cpp: ../rmapplugin/tmstatistics.h | |
249 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmstatistics.h -o moc_tmstatistics.cpp |
|
255 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmstatistics.h -o moc_tmstatistics.cpp | |
250 |
|
256 | |||
251 | moc_tmpackettoread.cpp: ../rmapplugin/tmpackettoread.h |
|
257 | moc_tmpackettoread.cpp: ../rmapplugin/tmpackettoread.h | |
252 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmpackettoread.h -o moc_tmpackettoread.cpp |
|
258 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmpackettoread.h -o moc_tmpackettoread.cpp | |
253 |
|
259 | |||
254 | moc_wfpacket.cpp: ../rmapplugin/wfpacket.h |
|
260 | moc_wfpacket.cpp: ../rmapplugin/wfpacket.h | |
255 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/wfpacket.h -o moc_wfpacket.cpp |
|
261 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/wfpacket.h -o moc_wfpacket.cpp | |
256 |
|
262 | |||
257 | moc_hkdisplay.cpp: ../common_PLE/hkdisplay.h |
|
263 | moc_hkdisplay.cpp: ../common_PLE/hkdisplay.h | |
258 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/hkdisplay.h -o moc_hkdisplay.cpp |
|
264 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/hkdisplay.h -o moc_hkdisplay.cpp | |
259 |
|
265 | |||
260 | moc_lfrxmlparser.cpp: lfrxmlparser.h |
|
266 | moc_lfrxmlparser.cpp: lfrxmlparser.h | |
261 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlparser.h -o moc_lfrxmlparser.cpp |
|
267 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlparser.h -o moc_lfrxmlparser.cpp | |
262 |
|
268 | |||
|
269 | moc_lfrspectrogram.cpp: lfrspectrogram.h | |||
|
270 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrspectrogram.h -o moc_lfrspectrogram.cpp | |||
|
271 | ||||
263 | compiler_rcc_make_all: |
|
272 | compiler_rcc_make_all: | |
264 | compiler_rcc_clean: |
|
273 | compiler_rcc_clean: | |
265 | compiler_image_collection_make_all: qmake_image_collection.cpp |
|
274 | compiler_image_collection_make_all: qmake_image_collection.cpp | |
266 | compiler_image_collection_clean: |
|
275 | compiler_image_collection_clean: | |
267 | -$(DEL_FILE) qmake_image_collection.cpp |
|
276 | -$(DEL_FILE) qmake_image_collection.cpp | |
268 | compiler_moc_source_make_all: |
|
277 | compiler_moc_source_make_all: | |
269 | compiler_moc_source_clean: |
|
278 | compiler_moc_source_clean: | |
270 | compiler_uic_make_all: |
|
279 | compiler_uic_make_all: | |
271 | compiler_uic_clean: |
|
280 | compiler_uic_clean: | |
272 | compiler_yacc_decl_make_all: |
|
281 | compiler_yacc_decl_make_all: | |
273 | compiler_yacc_decl_clean: |
|
282 | compiler_yacc_decl_clean: | |
274 | compiler_yacc_impl_make_all: |
|
283 | compiler_yacc_impl_make_all: | |
275 | compiler_yacc_impl_clean: |
|
284 | compiler_yacc_impl_clean: | |
276 | compiler_lex_make_all: |
|
285 | compiler_lex_make_all: | |
277 | compiler_lex_clean: |
|
286 | compiler_lex_clean: | |
278 | compiler_clean: compiler_moc_header_clean |
|
287 | compiler_clean: compiler_moc_header_clean | |
279 |
|
288 | |||
280 | ####### Compile |
|
289 | ####### Compile | |
281 |
|
290 | |||
282 | main.o: main.cpp mainwindow.h \ |
|
291 | main.o: main.cpp mainwindow.h \ | |
283 | lfrxmlhandler.h \ |
|
292 | lfrxmlhandler.h \ | |
284 | lfrxmlwriter.h \ |
|
293 | lfrxmlwriter.h \ | |
285 | mainwindowui.h \ |
|
294 | mainwindowui.h \ | |
|
295 | lfrspectrogram.h \ | |||
286 | lfrxmlparser.h |
|
296 | lfrxmlparser.h | |
287 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp |
|
297 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp | |
288 |
|
298 | |||
289 | mainwindow.o: mainwindow.cpp mainwindow.h \ |
|
299 | mainwindow.o: mainwindow.cpp mainwindow.h \ | |
290 | lfrxmlhandler.h \ |
|
300 | lfrxmlhandler.h \ | |
291 | lfrxmlwriter.h \ |
|
301 | lfrxmlwriter.h \ | |
292 | mainwindowui.h \ |
|
302 | mainwindowui.h \ | |
|
303 | lfrspectrogram.h \ | |||
293 | lfrxmlparser.h |
|
304 | lfrxmlparser.h | |
294 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp |
|
305 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp | |
295 |
|
306 | |||
296 | mainwindowui.o: mainwindowui.cpp mainwindowui.h |
|
307 | mainwindowui.o: mainwindowui.cpp mainwindowui.h \ | |
|
308 | lfrspectrogram.h | |||
297 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindowui.o mainwindowui.cpp |
|
309 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindowui.o mainwindowui.cpp | |
298 |
|
310 | |||
299 | qipdialogbox.o: ../common_PLE/qipdialogbox.cpp ../common_PLE/qipdialogbox.h |
|
311 | qipdialogbox.o: ../common_PLE/qipdialogbox.cpp ../common_PLE/qipdialogbox.h | |
300 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qipdialogbox.o ../common_PLE/qipdialogbox.cpp |
|
312 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qipdialogbox.o ../common_PLE/qipdialogbox.cpp | |
301 |
|
313 | |||
302 | lfrxmlhandler.o: lfrxmlhandler.cpp lfrxmlhandler.h |
|
314 | lfrxmlhandler.o: lfrxmlhandler.cpp lfrxmlhandler.h | |
303 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlhandler.o lfrxmlhandler.cpp |
|
315 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlhandler.o lfrxmlhandler.cpp | |
304 |
|
316 | |||
305 | lfrxmlwriter.o: lfrxmlwriter.cpp lfrxmlwriter.h |
|
317 | lfrxmlwriter.o: lfrxmlwriter.cpp lfrxmlwriter.h | |
306 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlwriter.o lfrxmlwriter.cpp |
|
318 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlwriter.o lfrxmlwriter.cpp | |
307 |
|
319 | |||
308 | tmstatistics.o: ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmstatistics.h |
|
320 | tmstatistics.o: ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmstatistics.h | |
309 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmstatistics.o ../rmapplugin/tmstatistics.cpp |
|
321 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmstatistics.o ../rmapplugin/tmstatistics.cpp | |
310 |
|
322 | |||
311 | tmpackettoread.o: ../rmapplugin/tmpackettoread.cpp ../rmapplugin/tmpackettoread.h |
|
323 | tmpackettoread.o: ../rmapplugin/tmpackettoread.cpp ../rmapplugin/tmpackettoread.h | |
312 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmpackettoread.o ../rmapplugin/tmpackettoread.cpp |
|
324 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmpackettoread.o ../rmapplugin/tmpackettoread.cpp | |
313 |
|
325 | |||
314 | wfpacket.o: ../rmapplugin/wfpacket.cpp ../rmapplugin/wfpacket.h |
|
326 | wfpacket.o: ../rmapplugin/wfpacket.cpp ../rmapplugin/wfpacket.h | |
315 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpacket.o ../rmapplugin/wfpacket.cpp |
|
327 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpacket.o ../rmapplugin/wfpacket.cpp | |
316 |
|
328 | |||
317 | hkdisplay.o: ../common_PLE/hkdisplay.cpp ../common_PLE/hkdisplay.h |
|
329 | hkdisplay.o: ../common_PLE/hkdisplay.cpp ../common_PLE/hkdisplay.h | |
318 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o hkdisplay.o ../common_PLE/hkdisplay.cpp |
|
330 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o hkdisplay.o ../common_PLE/hkdisplay.cpp | |
319 |
|
331 | |||
320 | lfrxmlparser.o: lfrxmlparser.cpp lfrxmlparser.h |
|
332 | lfrxmlparser.o: lfrxmlparser.cpp lfrxmlparser.h | |
321 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlparser.o lfrxmlparser.cpp |
|
333 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlparser.o lfrxmlparser.cpp | |
322 |
|
334 | |||
|
335 | lfrspectrogram.o: lfrspectrogram.cpp lfrspectrogram.h | |||
|
336 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrspectrogram.o lfrspectrogram.cpp | |||
|
337 | ||||
323 | moc_mainwindow.o: moc_mainwindow.cpp |
|
338 | moc_mainwindow.o: moc_mainwindow.cpp | |
324 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp |
|
339 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp | |
325 |
|
340 | |||
326 | moc_mainwindowui.o: moc_mainwindowui.cpp |
|
341 | moc_mainwindowui.o: moc_mainwindowui.cpp | |
327 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindowui.o moc_mainwindowui.cpp |
|
342 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindowui.o moc_mainwindowui.cpp | |
328 |
|
343 | |||
329 | moc_qipdialogbox.o: moc_qipdialogbox.cpp |
|
344 | moc_qipdialogbox.o: moc_qipdialogbox.cpp | |
330 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qipdialogbox.o moc_qipdialogbox.cpp |
|
345 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qipdialogbox.o moc_qipdialogbox.cpp | |
331 |
|
346 | |||
332 | moc_lfrxmlhandler.o: moc_lfrxmlhandler.cpp |
|
347 | moc_lfrxmlhandler.o: moc_lfrxmlhandler.cpp | |
333 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlhandler.o moc_lfrxmlhandler.cpp |
|
348 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlhandler.o moc_lfrxmlhandler.cpp | |
334 |
|
349 | |||
335 | moc_lfrxmlwriter.o: moc_lfrxmlwriter.cpp |
|
350 | moc_lfrxmlwriter.o: moc_lfrxmlwriter.cpp | |
336 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlwriter.o moc_lfrxmlwriter.cpp |
|
351 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlwriter.o moc_lfrxmlwriter.cpp | |
337 |
|
352 | |||
338 | moc_tmstatistics.o: moc_tmstatistics.cpp |
|
353 | moc_tmstatistics.o: moc_tmstatistics.cpp | |
339 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmstatistics.o moc_tmstatistics.cpp |
|
354 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmstatistics.o moc_tmstatistics.cpp | |
340 |
|
355 | |||
341 | moc_tmpackettoread.o: moc_tmpackettoread.cpp |
|
356 | moc_tmpackettoread.o: moc_tmpackettoread.cpp | |
342 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmpackettoread.o moc_tmpackettoread.cpp |
|
357 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmpackettoread.o moc_tmpackettoread.cpp | |
343 |
|
358 | |||
344 | moc_wfpacket.o: moc_wfpacket.cpp |
|
359 | moc_wfpacket.o: moc_wfpacket.cpp | |
345 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpacket.o moc_wfpacket.cpp |
|
360 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpacket.o moc_wfpacket.cpp | |
346 |
|
361 | |||
347 | moc_hkdisplay.o: moc_hkdisplay.cpp |
|
362 | moc_hkdisplay.o: moc_hkdisplay.cpp | |
348 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_hkdisplay.o moc_hkdisplay.cpp |
|
363 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_hkdisplay.o moc_hkdisplay.cpp | |
349 |
|
364 | |||
350 | moc_lfrxmlparser.o: moc_lfrxmlparser.cpp |
|
365 | moc_lfrxmlparser.o: moc_lfrxmlparser.cpp | |
351 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlparser.o moc_lfrxmlparser.cpp |
|
366 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlparser.o moc_lfrxmlparser.cpp | |
352 |
|
367 | |||
|
368 | moc_lfrspectrogram.o: moc_lfrspectrogram.cpp | |||
|
369 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrspectrogram.o moc_lfrspectrogram.cpp | |||
|
370 | ||||
353 | ####### Install |
|
371 | ####### Install | |
354 |
|
372 | |||
355 | install: FORCE |
|
373 | install: FORCE | |
356 |
|
374 | |||
357 | uninstall: FORCE |
|
375 | uninstall: FORCE | |
358 |
|
376 | |||
359 | FORCE: |
|
377 | FORCE: | |
360 |
|
378 |
1 | NO CONTENT: modified file, binary diff hidden |
|
NO CONTENT: modified file, binary diff hidden |
@@ -1,50 +1,52 | |||||
1 | #------------------------------------------------- |
|
1 | #------------------------------------------------- | |
2 | # |
|
2 | # | |
3 | # Project created by QtCreator 2013-05-03T14:05:02 |
|
3 | # Project created by QtCreator 2013-05-03T14:05:02 | |
4 | # |
|
4 | # | |
5 | #------------------------------------------------- |
|
5 | #------------------------------------------------- | |
6 |
|
6 | |||
7 | QT += core gui |
|
7 | QT += core gui | |
8 | QT += network |
|
8 | QT += network | |
9 | QT += xml |
|
9 | QT += xml | |
10 |
|
10 | |||
11 | TARGET = gselesia |
|
11 | TARGET = gselesia | |
12 | TEMPLATE = app |
|
12 | TEMPLATE = app | |
13 |
|
13 | |||
14 | INCLUDEPATH += \ |
|
14 | INCLUDEPATH += \ | |
15 | $${PWD} \ |
|
15 | $${PWD} \ | |
16 | ../common_PLE \ |
|
16 | ../common_PLE \ | |
17 | ../rmapplugin \ |
|
17 | ../rmapplugin \ | |
18 | ../../DEV_PLE/header \ |
|
18 | ../../DEV_PLE/header \ | |
19 | $$[QT_INSTALL_HEADERS]/lppmon/common \ |
|
19 | $$[QT_INSTALL_HEADERS]/lppmon/common \ | |
20 | $$[QT_INSTALL_HEADERS]/lppmon/wfdisplay |
|
20 | $$[QT_INSTALL_HEADERS]/lppmon/wfdisplay | |
21 |
|
21 | |||
22 | LIBS += -llppmoncommon -lwfdisplay |
|
22 | LIBS += -llppmoncommon -lwfdisplay -lqwt5-qt4 | |
23 |
|
23 | |||
24 | SOURCES += main.cpp\ |
|
24 | SOURCES += main.cpp\ | |
25 | mainwindow.cpp \ |
|
25 | mainwindow.cpp \ | |
26 | mainwindowui.cpp \ |
|
26 | mainwindowui.cpp \ | |
27 | ../common_PLE/qipdialogbox.cpp \ |
|
27 | ../common_PLE/qipdialogbox.cpp \ | |
28 | lfrxmlhandler.cpp \ |
|
28 | lfrxmlhandler.cpp \ | |
29 | lfrxmlwriter.cpp \ |
|
29 | lfrxmlwriter.cpp \ | |
30 | ../rmapplugin/tmstatistics.cpp \ |
|
30 | ../rmapplugin/tmstatistics.cpp \ | |
31 | ../rmapplugin/tmpackettoread.cpp \ |
|
31 | ../rmapplugin/tmpackettoread.cpp \ | |
32 | ../rmapplugin/wfpacket.cpp \ |
|
32 | ../rmapplugin/wfpacket.cpp \ | |
33 | ../common_PLE/hkdisplay.cpp \ |
|
33 | ../common_PLE/hkdisplay.cpp \ | |
34 | lfrxmlparser.cpp |
|
34 | lfrxmlparser.cpp \ | |
|
35 | lfrspectrogram.cpp | |||
35 |
|
36 | |||
36 | HEADERS += mainwindow.h \ |
|
37 | HEADERS += mainwindow.h \ | |
37 | mainwindowui.h \ |
|
38 | mainwindowui.h \ | |
38 | ../common_PLE/qipdialogbox.h \ |
|
39 | ../common_PLE/qipdialogbox.h \ | |
39 | lfrxmlhandler.h \ |
|
40 | lfrxmlhandler.h \ | |
40 | lfrxmlwriter.h \ |
|
41 | lfrxmlwriter.h \ | |
41 | ../rmapplugin/tmstatistics.h \ |
|
42 | ../rmapplugin/tmstatistics.h \ | |
42 | ../rmapplugin/tmpackettoread.h \ |
|
43 | ../rmapplugin/tmpackettoread.h \ | |
43 | ../rmapplugin/wfpacket.h \ |
|
44 | ../rmapplugin/wfpacket.h \ | |
44 | ../common_PLE/hkdisplay.h \ |
|
45 | ../common_PLE/hkdisplay.h \ | |
45 | ../rmapplugin/params.h \ |
|
46 | ../rmapplugin/params.h \ | |
46 | ../../DEV_PLE/header/ccsds_types.h \ |
|
47 | ../../DEV_PLE/header/ccsds_types.h \ | |
47 | lfrxmlparser.h |
|
48 | lfrxmlparser.h \ | |
|
49 | lfrspectrogram.h | |||
48 |
|
50 | |||
49 |
|
51 | |||
50 |
|
52 |
@@ -1,265 +1,265 | |||||
1 | <?xml version="1.0" encoding="UTF-8"?> |
|
1 | <?xml version="1.0" encoding="UTF-8"?> | |
2 | <!DOCTYPE QtCreatorProject> |
|
2 | <!DOCTYPE QtCreatorProject> | |
3 |
<!-- Written by Qt Creator 2.4.1, 2013-06-1 |
|
3 | <!-- Written by Qt Creator 2.4.1, 2013-06-18T10:58:40. --> | |
4 | <qtcreator> |
|
4 | <qtcreator> | |
5 | <data> |
|
5 | <data> | |
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
|
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> | |
7 | <value type="int">0</value> |
|
7 | <value type="int">0</value> | |
8 | </data> |
|
8 | </data> | |
9 | <data> |
|
9 | <data> | |
10 | <variable>ProjectExplorer.Project.EditorSettings</variable> |
|
10 | <variable>ProjectExplorer.Project.EditorSettings</variable> | |
11 | <valuemap type="QVariantMap"> |
|
11 | <valuemap type="QVariantMap"> | |
12 | <value type="bool" key="EditorConfiguration.AutoIndent">true</value> |
|
12 | <value type="bool" key="EditorConfiguration.AutoIndent">true</value> | |
13 | <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> |
|
13 | <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> | |
14 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> |
|
14 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> | |
15 | <value type="QString" key="language">Cpp</value> |
|
15 | <value type="QString" key="language">Cpp</value> | |
16 | <valuemap type="QVariantMap" key="value"> |
|
16 | <valuemap type="QVariantMap" key="value"> | |
17 | <value type="QString" key="CurrentPreferences">CppGlobal</value> |
|
17 | <value type="QString" key="CurrentPreferences">CppGlobal</value> | |
18 | </valuemap> |
|
18 | </valuemap> | |
19 | </valuemap> |
|
19 | </valuemap> | |
20 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> |
|
20 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> | |
21 | <value type="QString" key="language">QmlJS</value> |
|
21 | <value type="QString" key="language">QmlJS</value> | |
22 | <valuemap type="QVariantMap" key="value"> |
|
22 | <valuemap type="QVariantMap" key="value"> | |
23 | <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> |
|
23 | <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> | |
24 | </valuemap> |
|
24 | </valuemap> | |
25 | </valuemap> |
|
25 | </valuemap> | |
26 | <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> |
|
26 | <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> | |
27 | <value type="QByteArray" key="EditorConfiguration.Codec">System</value> |
|
27 | <value type="QByteArray" key="EditorConfiguration.Codec">System</value> | |
28 | <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> |
|
28 | <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> | |
29 | <value type="int" key="EditorConfiguration.IndentSize">4</value> |
|
29 | <value type="int" key="EditorConfiguration.IndentSize">4</value> | |
30 | <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> |
|
30 | <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> | |
31 | <value type="int" key="EditorConfiguration.PaddingMode">1</value> |
|
31 | <value type="int" key="EditorConfiguration.PaddingMode">1</value> | |
32 | <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> |
|
32 | <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> | |
33 | <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> |
|
33 | <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> | |
34 | <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> |
|
34 | <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> | |
35 | <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> |
|
35 | <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> | |
36 | <value type="int" key="EditorConfiguration.TabSize">8</value> |
|
36 | <value type="int" key="EditorConfiguration.TabSize">8</value> | |
37 | <value type="bool" key="EditorConfiguration.UseGlobal">true</value> |
|
37 | <value type="bool" key="EditorConfiguration.UseGlobal">true</value> | |
38 | <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> |
|
38 | <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> | |
39 | <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> |
|
39 | <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> | |
40 | <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> |
|
40 | <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> | |
41 | <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> |
|
41 | <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> | |
42 | <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> |
|
42 | <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> | |
43 | </valuemap> |
|
43 | </valuemap> | |
44 | </data> |
|
44 | </data> | |
45 | <data> |
|
45 | <data> | |
46 | <variable>ProjectExplorer.Project.PluginSettings</variable> |
|
46 | <variable>ProjectExplorer.Project.PluginSettings</variable> | |
47 | <valuemap type="QVariantMap"/> |
|
47 | <valuemap type="QVariantMap"/> | |
48 | </data> |
|
48 | </data> | |
49 | <data> |
|
49 | <data> | |
50 | <variable>ProjectExplorer.Project.Target.0</variable> |
|
50 | <variable>ProjectExplorer.Project.Target.0</variable> | |
51 | <valuemap type="QVariantMap"> |
|
51 | <valuemap type="QVariantMap"> | |
52 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value> |
|
52 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value> | |
53 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value> |
|
53 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value> | |
54 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value> |
|
54 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value> | |
55 | <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> |
|
55 | <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> | |
56 | <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> |
|
56 | <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> | |
57 | <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> |
|
57 | <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> | |
58 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> |
|
58 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> | |
59 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> |
|
59 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> | |
60 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
60 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
61 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
61 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
62 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> |
|
62 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> | |
63 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
63 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> |
|
64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |
65 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> |
|
65 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |
66 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> |
|
66 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> | |
67 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> |
|
67 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |
68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> |
|
68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |
69 | </valuemap> |
|
69 | </valuemap> | |
70 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> |
|
70 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |
71 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
71 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
72 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
72 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
73 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
73 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
74 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> |
|
74 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |
75 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> |
|
75 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |
76 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
76 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
77 | </valuemap> |
|
77 | </valuemap> | |
78 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> |
|
78 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |
79 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> |
|
79 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |
80 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
80 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
81 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> |
|
81 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |
82 | </valuemap> |
|
82 | </valuemap> | |
83 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> |
|
83 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |
84 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
84 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
85 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
85 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
86 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
86 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
87 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
87 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
88 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> |
|
88 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |
89 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> |
|
89 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |
90 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
90 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
91 | </valuemap> |
|
91 | </valuemap> | |
92 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> |
|
92 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |
93 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> |
|
93 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |
94 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
94 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
95 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> |
|
95 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |
96 | </valuemap> |
|
96 | </valuemap> | |
97 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
97 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |
98 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
98 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |
99 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
99 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |
100 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value> |
|
100 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value> | |
101 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
101 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
102 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
102 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |
103 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> |
|
103 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |
104 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/GSE_LESIA/gselesia</value> |
|
104 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/GSE_LESIA/gselesia</value> | |
105 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> |
|
105 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> | |
106 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
106 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> | |
107 | </valuemap> |
|
107 | </valuemap> | |
108 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1"> |
|
108 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1"> | |
109 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> |
|
109 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> | |
110 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
110 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
111 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
111 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> |
|
112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> | |
113 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
113 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> |
|
114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |
115 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> |
|
115 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |
116 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> |
|
116 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> | |
117 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> |
|
117 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |
118 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> |
|
118 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |
119 | </valuemap> |
|
119 | </valuemap> | |
120 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> |
|
120 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |
121 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
121 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
122 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
122 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
123 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
123 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
124 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> |
|
124 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |
125 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> |
|
125 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |
126 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
126 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
127 | </valuemap> |
|
127 | </valuemap> | |
128 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> |
|
128 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |
129 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> |
|
129 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |
130 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
130 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
131 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> |
|
131 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |
132 | </valuemap> |
|
132 | </valuemap> | |
133 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> |
|
133 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |
134 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
134 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
135 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
135 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
136 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
136 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
137 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
137 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
138 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> |
|
138 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |
139 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> |
|
139 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |
140 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
140 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
141 | </valuemap> |
|
141 | </valuemap> | |
142 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> |
|
142 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |
143 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> |
|
143 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |
144 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
144 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
145 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> |
|
145 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |
146 | </valuemap> |
|
146 | </valuemap> | |
147 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
147 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |
148 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
148 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |
149 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
149 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |
150 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Debug</value> |
|
150 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Debug</value> | |
151 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
151 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
152 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
152 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |
153 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value> |
|
153 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value> | |
154 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/GSE_LESIA/gselesia</value> |
|
154 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/GSE_LESIA/gselesia</value> | |
155 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> |
|
155 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> | |
156 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
156 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> | |
157 | </valuemap> |
|
157 | </valuemap> | |
158 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value> |
|
158 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value> | |
159 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> |
|
159 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> | |
160 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
160 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
161 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> |
|
161 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> | |
162 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> |
|
162 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> | |
163 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
163 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
164 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> |
|
164 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> | |
165 | </valuemap> |
|
165 | </valuemap> | |
166 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> |
|
166 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> | |
167 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value> |
|
167 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value> | |
168 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
168 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
169 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> |
|
169 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> | |
170 | </valuemap> |
|
170 | </valuemap> | |
171 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> |
|
171 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> | |
172 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> |
|
172 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> | |
173 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
173 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> | |
174 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
174 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> | |
175 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
175 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |
176 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
176 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |
177 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
177 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |
178 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
178 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |
179 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
179 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |
180 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
180 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |
181 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
181 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |
182 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
182 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |
183 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
183 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |
184 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
184 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |
185 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
185 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |
186 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
186 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |
187 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
187 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |
188 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
188 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |
189 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
189 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |
190 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
190 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |
191 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
191 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |
192 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
192 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |
193 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
193 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |
194 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
194 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |
195 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
195 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |
196 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
196 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |
197 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
197 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |
198 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
198 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |
199 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
199 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |
200 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
200 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |
201 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
201 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |
202 | <value type="int">0</value> |
|
202 | <value type="int">0</value> | |
203 | <value type="int">1</value> |
|
203 | <value type="int">1</value> | |
204 | <value type="int">2</value> |
|
204 | <value type="int">2</value> | |
205 | <value type="int">3</value> |
|
205 | <value type="int">3</value> | |
206 | <value type="int">4</value> |
|
206 | <value type="int">4</value> | |
207 | <value type="int">5</value> |
|
207 | <value type="int">5</value> | |
208 | <value type="int">6</value> |
|
208 | <value type="int">6</value> | |
209 | <value type="int">7</value> |
|
209 | <value type="int">7</value> | |
210 | <value type="int">8</value> |
|
210 | <value type="int">8</value> | |
211 | <value type="int">9</value> |
|
211 | <value type="int">9</value> | |
212 | <value type="int">10</value> |
|
212 | <value type="int">10</value> | |
213 | <value type="int">11</value> |
|
213 | <value type="int">11</value> | |
214 | <value type="int">12</value> |
|
214 | <value type="int">12</value> | |
215 | <value type="int">13</value> |
|
215 | <value type="int">13</value> | |
216 | <value type="int">14</value> |
|
216 | <value type="int">14</value> | |
217 | </valuelist> |
|
217 | </valuelist> | |
218 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
218 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |
219 | <value type="int">0</value> |
|
219 | <value type="int">0</value> | |
220 | <value type="int">1</value> |
|
220 | <value type="int">1</value> | |
221 | <value type="int">2</value> |
|
221 | <value type="int">2</value> | |
222 | <value type="int">3</value> |
|
222 | <value type="int">3</value> | |
223 | <value type="int">4</value> |
|
223 | <value type="int">4</value> | |
224 | <value type="int">5</value> |
|
224 | <value type="int">5</value> | |
225 | <value type="int">6</value> |
|
225 | <value type="int">6</value> | |
226 | <value type="int">7</value> |
|
226 | <value type="int">7</value> | |
227 | <value type="int">8</value> |
|
227 | <value type="int">8</value> | |
228 | <value type="int">9</value> |
|
228 | <value type="int">9</value> | |
229 | <value type="int">10</value> |
|
229 | <value type="int">10</value> | |
230 | <value type="int">11</value> |
|
230 | <value type="int">11</value> | |
231 | <value type="int">12</value> |
|
231 | <value type="int">12</value> | |
232 | <value type="int">13</value> |
|
232 | <value type="int">13</value> | |
233 | <value type="int">14</value> |
|
233 | <value type="int">14</value> | |
234 | </valuelist> |
|
234 | </valuelist> | |
235 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">gselesia</value> |
|
235 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">gselesia</value> | |
236 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
236 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
237 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value> |
|
237 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value> | |
238 | <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value> |
|
238 | <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value> | |
239 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> |
|
239 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> | |
240 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">gselesia.pro</value> |
|
240 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">gselesia.pro</value> | |
241 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value> |
|
241 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value> | |
242 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value> |
|
242 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value> | |
243 | <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/> |
|
243 | <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/> | |
244 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value> |
|
244 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value> | |
245 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> |
|
245 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> | |
246 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> |
|
246 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> | |
247 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> |
|
247 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | |
248 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> |
|
248 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> | |
249 | </valuemap> |
|
249 | </valuemap> | |
250 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> |
|
250 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> | |
251 | </valuemap> |
|
251 | </valuemap> | |
252 | </data> |
|
252 | </data> | |
253 | <data> |
|
253 | <data> | |
254 | <variable>ProjectExplorer.Project.TargetCount</variable> |
|
254 | <variable>ProjectExplorer.Project.TargetCount</variable> | |
255 | <value type="int">1</value> |
|
255 | <value type="int">1</value> | |
256 | </data> |
|
256 | </data> | |
257 | <data> |
|
257 | <data> | |
258 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> |
|
258 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> | |
259 | <value type="QString">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value> |
|
259 | <value type="QString">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value> | |
260 | </data> |
|
260 | </data> | |
261 | <data> |
|
261 | <data> | |
262 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> |
|
262 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> | |
263 | <value type="int">10</value> |
|
263 | <value type="int">10</value> | |
264 | </data> |
|
264 | </data> | |
265 | </qtcreator> |
|
265 | </qtcreator> |
@@ -1,78 +1,79 | |||||
1 | #ifndef MAINWINDOW_H |
|
1 | #ifndef MAINWINDOW_H | |
2 | #define MAINWINDOW_H |
|
2 | #define MAINWINDOW_H | |
3 |
|
3 | |||
4 | #include <QtGui/QMainWindow> |
|
4 | #include <QtGui/QMainWindow> | |
5 | #include <QTcpServer> |
|
5 | #include <QTcpServer> | |
6 | #include <QTcpSocket> |
|
6 | #include <QTcpSocket> | |
7 | #include <QXmlSimpleReader> |
|
7 | #include <QXmlSimpleReader> | |
|
8 | ||||
8 | #include <lfrxmlhandler.h> |
|
9 | #include <lfrxmlhandler.h> | |
9 | #include <lfrxmlwriter.h> |
|
10 | #include <lfrxmlwriter.h> | |
10 | #include <mainwindowui.h> |
|
11 | #include <mainwindowui.h> | |
11 | #include "tmpackettoread.h" |
|
12 | #include "tmpackettoread.h" | |
12 | #include "wfpacket.h" |
|
13 | #include "wfpacket.h" | |
13 | #include "lfrxmlparser.h" |
|
14 | #include "lfrxmlparser.h" | |
14 |
|
15 | |||
15 | class MainWindow : public QWidget |
|
16 | class MainWindow : public QWidget | |
16 | { |
|
17 | { | |
17 | Q_OBJECT |
|
18 | Q_OBJECT | |
18 |
|
19 | |||
19 | public: |
|
20 | public: | |
20 | MainWindow(QWidget *parent = 0); |
|
21 | MainWindow(QWidget *parent = 0); | |
21 | ~MainWindow(); |
|
22 | ~MainWindow(); | |
22 |
|
23 | |||
23 | void displayNetworkInterfaces(); |
|
24 | void displayNetworkInterfaces(); | |
24 | void processIncomingData(const QString &ch); |
|
25 | void processIncomingData(const QString &ch); | |
25 | void initSocketStatesList(); |
|
26 | void initSocketStatesList(); | |
26 | void preProcessPacket(TMPacketToRead *packet); |
|
27 | void preProcessPacket(TMPacketToRead *packet); | |
27 | void buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page); |
|
28 | void buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page); | |
28 |
|
29 | |||
29 | private: |
|
30 | private: | |
30 | QByteArray dataArray; |
|
31 | QByteArray dataArray; | |
31 |
|
32 | |||
32 | QList<TMPacketToRead*> generalCCSDSPacketStore; |
|
33 | QList<TMPacketToRead*> generalCCSDSPacketStore; | |
33 |
|
34 | |||
34 | QTcpServer *analyserSGSEServerTC; |
|
35 | QTcpServer *analyserSGSEServerTC; | |
35 | QTcpServer *analyserSGSEServerTM; |
|
36 | QTcpServer *analyserSGSEServerTM; | |
36 | QTcpSocket *socketTC; |
|
37 | QTcpSocket *socketTC; | |
37 | QTcpSocket *socketTM; |
|
38 | QTcpSocket *socketTM; | |
38 | QTcpSocket *socketEchoServer; |
|
39 | QTcpSocket *socketEchoServer; | |
39 |
|
40 | |||
40 | unsigned int totalOfBytes; |
|
41 | unsigned int totalOfBytes; | |
41 | unsigned int totalOfPackets; |
|
42 | unsigned int totalOfPackets; | |
42 |
|
43 | |||
43 | QXmlSimpleReader xmlReader; |
|
44 | QXmlSimpleReader xmlReader; | |
44 | QXmlInputSource *sourceTC; |
|
45 | QXmlInputSource *sourceTC; | |
45 | LFRXmlHandler *xmlHandler; |
|
46 | LFRXmlHandler *xmlHandler; | |
46 | LFRXmlParser *lfrXmlParser; |
|
47 | LFRXmlParser *lfrXmlParser; | |
47 |
|
48 | |||
48 | QList<QString> socketStates; |
|
49 | QList<QString> socketStates; | |
49 |
|
50 | |||
50 | char *buffer; |
|
51 | char *buffer; | |
51 |
|
52 | |||
52 | MainWindowUI *UI; |
|
53 | MainWindowUI *UI; | |
53 |
|
54 | |||
54 | LFRXmlWriter *lfrXmlWriter; |
|
55 | LFRXmlWriter *lfrXmlWriter; | |
55 |
|
56 | |||
56 | WFPacket wfPacketNormal[4]; |
|
57 | WFPacket wfPacketNormal[4]; | |
57 |
|
58 | |||
58 | bool parsingContinue; |
|
59 | bool parsingContinue; | |
59 |
|
60 | |||
60 | signals: |
|
61 | signals: | |
61 | void socketTMHasChanged(QTcpSocket *socket); |
|
62 | void socketTMHasChanged(QTcpSocket *socket); | |
62 |
|
63 | |||
63 | public slots: |
|
64 | public slots: | |
64 | void displayOnConsole(QString message); |
|
65 | void displayOnConsole(QString message); | |
65 | void listenOnTCTMPorts(); |
|
66 | void listenOnTCTMPorts(); | |
66 | void testTCTMPorts(); |
|
67 | void testTCTMPorts(); | |
67 | void newConnectionOnTCServer(); |
|
68 | void newConnectionOnTCServer(); | |
68 | void newConnectionOnTMServer(); |
|
69 | void newConnectionOnTMServer(); | |
69 | void readDataOnTCPort(); |
|
70 | void readDataOnTCPort(); | |
70 | void readDataOnTMPort(); |
|
71 | void readDataOnTMPort(); | |
71 | void readDataOnSocketEchoServer(); |
|
72 | void readDataOnSocketEchoServer(); | |
72 | void openEchoServer(); |
|
73 | void openEchoServer(); | |
73 | void socket_TMEcho_ServerHasChanged(); |
|
74 | void socket_TMEcho_ServerHasChanged(); | |
74 | void processIncomingPacket(TMPacketToRead *packet); |
|
75 | void processIncomingPacket(TMPacketToRead *packet); | |
75 | void resetStatistics(); |
|
76 | void resetStatistics(); | |
76 | }; |
|
77 | }; | |
77 |
|
78 | |||
78 | #endif // MAINWINDOW_H |
|
79 | #endif // MAINWINDOW_H |
@@ -1,148 +1,151 | |||||
1 | #include "mainwindowui.h" |
|
1 | #include "mainwindowui.h" | |
2 |
|
2 | |||
3 | MainWindowUI::MainWindowUI(QWidget *parent) : |
|
3 | MainWindowUI::MainWindowUI(QWidget *parent) : | |
4 | QWidget(parent) |
|
4 | QWidget(parent) | |
5 | { |
|
5 | { | |
6 | label_serverTMEcho = new QLabel(tr("TM Echo Server address")); |
|
6 | label_serverTMEcho = new QLabel(tr("TM Echo Server address")); | |
7 | label_serverTMEchoPort = new QLabel(tr("TM Echo Server Port")); |
|
7 | label_serverTMEchoPort = new QLabel(tr("TM Echo Server Port")); | |
8 | label_TMServerPort = new QLabel(tr("TM Server Port:")); |
|
8 | label_TMServerPort = new QLabel(tr("TM Server Port:")); | |
9 | label_TCServerPort = new QLabel(tr("TC Server Port:")); |
|
9 | label_TCServerPort = new QLabel(tr("TC Server Port:")); | |
10 | label_currentTCTMServer = new QLabel(tr("Current IP address:")); |
|
10 | label_currentTCTMServer = new QLabel(tr("Current IP address:")); | |
11 | label_currentTCTMServerIP = new QLabel(tr("-")); |
|
11 | label_currentTCTMServerIP = new QLabel(tr("-")); | |
12 | label_totalOfBytes = new QLabel(tr("Received Bytes: -")); |
|
12 | label_totalOfBytes = new QLabel(tr("Received Bytes: -")); | |
13 | label_totalOfPackets = new QLabel(tr("Received Packets: -")); |
|
13 | label_totalOfPackets = new QLabel(tr("Received Packets: -")); | |
14 |
|
14 | |||
15 | console = new QTextEdit(); |
|
15 | console = new QTextEdit(); | |
16 |
|
16 | |||
17 | spwTabWidget = new QTabWidget; |
|
17 | spwTabWidget = new QTabWidget; | |
18 | spwTabWidgetPage0 = new QWidget; |
|
18 | spwTabWidgetPage0 = new QWidget; | |
19 | spwTabWidgetPage1 = new QWidget; |
|
19 | spwTabWidgetPage1 = new QWidget; | |
20 | spwTabWidgetPage2 = new QWidget; |
|
20 | spwTabWidgetPage2 = new QWidget; | |
21 | spwTabWidgetPage3 = new QWidget; |
|
21 | spwTabWidgetPage3 = new QWidget; | |
22 | spwTabWidgetPage4 = new QWidget; |
|
22 | spwTabWidgetPage4 = new QWidget; | |
23 | spwTabWidgetPage5 = new QWidget; |
|
23 | spwTabWidgetPage5 = new QWidget; | |
24 |
|
24 | |||
25 | tmStatistics = new TMStatistics; |
|
25 | tmStatistics = new TMStatistics; | |
26 |
|
26 | |||
27 | wfDisplay = new WFDisplay; |
|
27 | wfDisplay = new WFDisplay; | |
28 | hkDisplay = new HKDisplay; |
|
28 | hkDisplay = new HKDisplay; | |
|
29 | lfrSpectrogam = new LFRSpectrogram(); | |||
29 |
|
30 | |||
30 | spinbox_TMServerPort = new QSpinBox(); |
|
31 | spinbox_TMServerPort = new QSpinBox(); | |
31 | spinbox_TCServerPort = new QSpinBox(); |
|
32 | spinbox_TCServerPort = new QSpinBox(); | |
32 | spinbox_serverTMEchoPort = new QSpinBox(); |
|
33 | spinbox_serverTMEchoPort = new QSpinBox(); | |
33 | spinbox_TMServerPort->setRange(59000, 65535); |
|
34 | spinbox_TMServerPort->setRange(59000, 65535); | |
34 | spinbox_TCServerPort->setRange(59001, 65535); |
|
35 | spinbox_TCServerPort->setRange(59001, 65535); | |
35 | spinbox_serverTMEchoPort->setRange(59002, 65535); |
|
36 | spinbox_serverTMEchoPort->setRange(59002, 65535); | |
36 |
|
37 | |||
37 | button_openServerTCTM = new QPushButton(tr("Open TC / TM Ports")); |
|
38 | button_openServerTCTM = new QPushButton(tr("Open TC / TM Ports")); | |
38 | button_testServerTCTM = new QPushButton(tr("Test TC / TM Ports")); |
|
39 | button_testServerTCTM = new QPushButton(tr("Test TC / TM Ports")); | |
39 | button_openSocketEchoServer = new QPushButton(tr("Open Echo Server")); |
|
40 | button_openSocketEchoServer = new QPushButton(tr("Open Echo Server")); | |
40 | button_TCAcknowledgement = new QPushButton(tr("send TC Acknowledgement")); |
|
41 | button_TCAcknowledgement = new QPushButton(tr("send TC Acknowledgement")); | |
41 | button_TCRejection = new QPushButton(tr("send TC rejection")); |
|
42 | button_TCRejection = new QPushButton(tr("send TC rejection")); | |
42 | button_GSEHK = new QPushButton(tr("send GSE HK")); |
|
43 | button_GSEHK = new QPushButton(tr("send GSE HK")); | |
43 | button_clearConsole = new QPushButton(tr("Clear console")); |
|
44 | button_clearConsole = new QPushButton(tr("Clear console")); | |
44 | button_resetStatistics = new QPushButton(tr("Reset statistics")); |
|
45 | button_resetStatistics = new QPushButton(tr("Reset statistics")); | |
45 |
|
46 | |||
46 | serverTMEchoDialogBox = new QIPDialogBox(); |
|
47 | serverTMEchoDialogBox = new QIPDialogBox(); | |
47 | serverTMEchoDialogBox->setIP(127, 0, 0, 1); |
|
48 | serverTMEchoDialogBox->setIP(127, 0, 0, 1); | |
48 |
|
49 | |||
49 | groupbox_TMEcho = new QGroupBox(tr("TM Echo Server")); |
|
50 | groupbox_TMEcho = new QGroupBox(tr("TM Echo Server")); | |
50 | groupbox_ports = new QGroupBox(tr("Ports for the TM and TC Servers")); |
|
51 | groupbox_ports = new QGroupBox(tr("Ports for the TM and TC Servers")); | |
51 | groupbox_TMToForeignGSETester = new QGroupBox(tr("Send TM to the foreign GSE tester")); |
|
52 | groupbox_TMToForeignGSETester = new QGroupBox(tr("Send TM to the foreign GSE tester")); | |
52 |
|
53 | |||
53 | layout_TMEcho = new QVBoxLayout(); |
|
54 | layout_TMEcho = new QVBoxLayout(); | |
54 | layout_overallLayout = new QVBoxLayout(); |
|
55 | layout_overallLayout = new QVBoxLayout(); | |
55 | layout_ports = new QGridLayout(); |
|
56 | layout_ports = new QGridLayout(); | |
56 | layout_TMToForeignGSETester = new QVBoxLayout(); |
|
57 | layout_TMToForeignGSETester = new QVBoxLayout(); | |
57 | mainLayout = new QGridLayout(); |
|
58 | mainLayout = new QGridLayout(); | |
58 |
|
59 | |||
59 | layout_TMEcho->addWidget(label_serverTMEcho); |
|
60 | layout_TMEcho->addWidget(label_serverTMEcho); | |
60 | layout_TMEcho->addWidget(serverTMEchoDialogBox); |
|
61 | layout_TMEcho->addWidget(serverTMEchoDialogBox); | |
61 | layout_TMEcho->addWidget(label_serverTMEchoPort); |
|
62 | layout_TMEcho->addWidget(label_serverTMEchoPort); | |
62 | layout_TMEcho->addWidget(spinbox_serverTMEchoPort); |
|
63 | layout_TMEcho->addWidget(spinbox_serverTMEchoPort); | |
63 | layout_TMEcho->addWidget(button_openSocketEchoServer); |
|
64 | layout_TMEcho->addWidget(button_openSocketEchoServer); | |
64 | layout_TMEcho->addWidget(label_totalOfPackets); |
|
65 | layout_TMEcho->addWidget(label_totalOfPackets); | |
65 | layout_TMEcho->addWidget(label_totalOfBytes); |
|
66 | layout_TMEcho->addWidget(label_totalOfBytes); | |
66 | layout_TMEcho->addWidget(button_resetStatistics); |
|
67 | layout_TMEcho->addWidget(button_resetStatistics); | |
67 | groupbox_TMEcho->setLayout(layout_TMEcho); |
|
68 | groupbox_TMEcho->setLayout(layout_TMEcho); | |
68 |
|
69 | |||
69 | layout_ports->addWidget(label_TMServerPort, 0, 0, 1, 1); |
|
70 | layout_ports->addWidget(label_TMServerPort, 0, 0, 1, 1); | |
70 | layout_ports->addWidget(spinbox_TMServerPort, 0, 1, 1, 1); |
|
71 | layout_ports->addWidget(spinbox_TMServerPort, 0, 1, 1, 1); | |
71 | layout_ports->addWidget(label_TCServerPort, 1, 0, 1, 1); |
|
72 | layout_ports->addWidget(label_TCServerPort, 1, 0, 1, 1); | |
72 | layout_ports->addWidget(spinbox_TCServerPort, 1, 1, 1, 1); |
|
73 | layout_ports->addWidget(spinbox_TCServerPort, 1, 1, 1, 1); | |
73 | layout_ports->addWidget(button_openServerTCTM, 2, 0, 1, 2); |
|
74 | layout_ports->addWidget(button_openServerTCTM, 2, 0, 1, 2); | |
74 | layout_ports->addWidget(button_testServerTCTM, 3, 0, 1, 2); |
|
75 | layout_ports->addWidget(button_testServerTCTM, 3, 0, 1, 2); | |
75 | groupbox_ports->setLayout(layout_ports); |
|
76 | groupbox_ports->setLayout(layout_ports); | |
76 |
|
77 | |||
77 | layout_TMToForeignGSETester->addWidget(button_TCAcknowledgement); |
|
78 | layout_TMToForeignGSETester->addWidget(button_TCAcknowledgement); | |
78 | layout_TMToForeignGSETester->addWidget(button_TCRejection); |
|
79 | layout_TMToForeignGSETester->addWidget(button_TCRejection); | |
79 | layout_TMToForeignGSETester->addWidget(button_GSEHK); |
|
80 | layout_TMToForeignGSETester->addWidget(button_GSEHK); | |
80 | groupbox_TMToForeignGSETester->setLayout(layout_TMToForeignGSETester); |
|
81 | groupbox_TMToForeignGSETester->setLayout(layout_TMToForeignGSETester); | |
81 |
|
82 | |||
82 | mainLayout->addWidget(groupbox_TMEcho, 0, 0, 1, 1); |
|
83 | mainLayout->addWidget(groupbox_TMEcho, 0, 0, 1, 1); | |
83 | mainLayout->addWidget(groupbox_ports, 1, 0, 1, 1); |
|
84 | mainLayout->addWidget(groupbox_ports, 1, 0, 1, 1); | |
84 | mainLayout->addWidget(groupbox_TMToForeignGSETester, 2, 0, 1, 1); |
|
85 | mainLayout->addWidget(groupbox_TMToForeignGSETester, 2, 0, 1, 1); | |
85 | mainLayout->addWidget(console, 0, 1, 2, 2); |
|
86 | mainLayout->addWidget(console, 0, 1, 2, 2); | |
86 | mainLayout->addWidget(button_clearConsole, 3, 1, 1, 2); |
|
87 | mainLayout->addWidget(button_clearConsole, 3, 1, 1, 2); | |
87 |
|
88 | |||
88 | spwTabWidget->addTab(spwTabWidgetPage0, tr("Connection")); |
|
89 | spwTabWidget->addTab(spwTabWidgetPage0, tr("Connection")); | |
89 | spwTabWidget->addTab(spwTabWidgetPage1, tr("TM Statistics")); |
|
90 | spwTabWidget->addTab(spwTabWidgetPage1, tr("TM Statistics")); | |
90 | spwTabWidget->addTab(spwTabWidgetPage3, tr("HK")); |
|
91 | spwTabWidget->addTab(spwTabWidgetPage3, tr("HK")); | |
91 | spwTabWidget->addTab(spwTabWidgetPage2, tr("Waveforms")); |
|
92 | spwTabWidget->addTab(spwTabWidgetPage2, tr("Waveforms")); | |
|
93 | spwTabWidget->addTab(spwTabWidgetPage4, tr("Spectrograms")); | |||
92 |
|
94 | |||
93 | spwTabWidgetPage0->setLayout(mainLayout); |
|
95 | spwTabWidgetPage0->setLayout(mainLayout); | |
94 | spwTabWidgetPage1->setLayout(tmStatistics->layout()); |
|
96 | spwTabWidgetPage1->setLayout(tmStatistics->layout()); | |
95 | spwTabWidgetPage2->setLayout(wfDisplay->layout()); |
|
97 | spwTabWidgetPage2->setLayout(wfDisplay->layout()); | |
96 | spwTabWidgetPage3->setLayout(hkDisplay->layout()); |
|
98 | spwTabWidgetPage3->setLayout(hkDisplay->layout()); | |
|
99 | spwTabWidgetPage4->setLayout(lfrSpectrogam->layout()); | |||
97 |
|
100 | |||
98 | layout_overallLayout->addWidget(spwTabWidget); |
|
101 | layout_overallLayout->addWidget(spwTabWidget); | |
99 |
|
102 | |||
100 | this->setLayout(layout_overallLayout); |
|
103 | this->setLayout(layout_overallLayout); | |
101 |
|
104 | |||
102 | connect(this->button_clearConsole, SIGNAL(clicked()), this, SLOT(clearConsole())); |
|
105 | connect(this->button_clearConsole, SIGNAL(clicked()), this, SLOT(clearConsole())); | |
103 | } |
|
106 | } | |
104 |
|
107 | |||
105 | QString MainWindowUI::getTMEchoServerAddress() |
|
108 | QString MainWindowUI::getTMEchoServerAddress() | |
106 | { |
|
109 | { | |
107 | return(serverTMEchoDialogBox->getIP()); |
|
110 | return(serverTMEchoDialogBox->getIP()); | |
108 | } |
|
111 | } | |
109 |
|
112 | |||
110 | void MainWindowUI::setTCTMServerAddressIP(QString address) |
|
113 | void MainWindowUI::setTCTMServerAddressIP(QString address) | |
111 | { |
|
114 | { | |
112 | label_currentTCTMServerIP->setText(address); |
|
115 | label_currentTCTMServerIP->setText(address); | |
113 | } |
|
116 | } | |
114 |
|
117 | |||
115 | int MainWindowUI::getTMPort() |
|
118 | int MainWindowUI::getTMPort() | |
116 | { |
|
119 | { | |
117 | return spinbox_TMServerPort->value(); |
|
120 | return spinbox_TMServerPort->value(); | |
118 | } |
|
121 | } | |
119 |
|
122 | |||
120 | int MainWindowUI::getTCPort() |
|
123 | int MainWindowUI::getTCPort() | |
121 | { |
|
124 | { | |
122 | return spinbox_TCServerPort->value(); |
|
125 | return spinbox_TCServerPort->value(); | |
123 | } |
|
126 | } | |
124 |
|
127 | |||
125 | void MainWindowUI::displayOnConsole(QString message) |
|
128 | void MainWindowUI::displayOnConsole(QString message) | |
126 | { |
|
129 | { | |
127 | console->append(message); |
|
130 | console->append(message); | |
128 | } |
|
131 | } | |
129 |
|
132 | |||
130 | void MainWindowUI::clearConsole() |
|
133 | void MainWindowUI::clearConsole() | |
131 | { |
|
134 | { | |
132 | console->clear(); |
|
135 | console->clear(); | |
133 | } |
|
136 | } | |
134 |
|
137 | |||
135 | void MainWindowUI::totalOfBytesHasChanged(unsigned int nbBytes) |
|
138 | void MainWindowUI::totalOfBytesHasChanged(unsigned int nbBytes) | |
136 | { |
|
139 | { | |
137 | label_totalOfBytes->setText( |
|
140 | label_totalOfBytes->setText( | |
138 | "Received Bytes: " |
|
141 | "Received Bytes: " | |
139 | + QString::number(nbBytes)); |
|
142 | + QString::number(nbBytes)); | |
140 | } |
|
143 | } | |
141 |
|
144 | |||
142 | void MainWindowUI::totalOfPacketsHasChanged(unsigned int nbPackets) |
|
145 | void MainWindowUI::totalOfPacketsHasChanged(unsigned int nbPackets) | |
143 | { |
|
146 | { | |
144 | label_totalOfPackets->setText( |
|
147 | label_totalOfPackets->setText( | |
145 | "Received Packets: " |
|
148 | "Received Packets: " | |
146 | + QString::number(nbPackets)); |
|
149 | + QString::number(nbPackets)); | |
147 | } |
|
150 | } | |
148 |
|
151 |
@@ -1,91 +1,96 | |||||
1 | #ifndef MAINWINDOWUI_H |
|
1 | #ifndef MAINWINDOWUI_H | |
2 | #define MAINWINDOWUI_H |
|
2 | #define MAINWINDOWUI_H | |
3 |
|
3 | |||
4 | #include <QWidget> |
|
4 | #include <QWidget> | |
5 | #include <qipdialogbox.h> |
|
5 | #include <qipdialogbox.h> | |
6 | #include <QLabel> |
|
6 | #include <QLabel> | |
7 | #include <QPushButton> |
|
7 | #include <QPushButton> | |
8 | #include <QGridLayout> |
|
8 | #include <QGridLayout> | |
9 | #include <QVBoxLayout> |
|
9 | #include <QVBoxLayout> | |
10 | #include <QGroupBox> |
|
10 | #include <QGroupBox> | |
11 | #include <QSpinBox> |
|
11 | #include <QSpinBox> | |
12 | #include <QTextEdit> |
|
12 | #include <QTextEdit> | |
13 | #include <QTabWidget> |
|
13 | #include <QTabWidget> | |
|
14 | ||||
14 | #include "tmstatistics.h" |
|
15 | #include "tmstatistics.h" | |
15 | #include "wfdisplay.h" |
|
16 | #include "wfdisplay.h" | |
16 | #include "hkdisplay.h" |
|
17 | #include "hkdisplay.h" | |
|
18 | #include "lfrspectrogram.h" | |||
17 |
|
19 | |||
18 | class MainWindowUI : public QWidget |
|
20 | class MainWindowUI : public QWidget | |
19 | { |
|
21 | { | |
20 | Q_OBJECT |
|
22 | Q_OBJECT | |
21 | public: |
|
23 | public: | |
22 | explicit MainWindowUI(QWidget *parent = 0); |
|
24 | explicit MainWindowUI(QWidget *parent = 0); | |
23 |
|
25 | |||
24 | void setTCTMServerAddressIP(QString address); |
|
26 | void setTCTMServerAddressIP(QString address); | |
25 | QString getTMEchoServerAddress(); |
|
27 | QString getTMEchoServerAddress(); | |
26 | int getTMPort(); |
|
28 | int getTMPort(); | |
27 | int getTCPort(); |
|
29 | int getTCPort(); | |
28 | void displayOnConsole(QString message); |
|
30 | void displayOnConsole(QString message); | |
29 |
|
31 | |||
30 | QTabWidget *spwTabWidget; |
|
32 | QTabWidget *spwTabWidget; | |
31 | QWidget* spwTabWidgetPage0; |
|
33 | QWidget* spwTabWidgetPage0; | |
32 | QWidget* spwTabWidgetPage1; |
|
34 | QWidget* spwTabWidgetPage1; | |
33 | QWidget* spwTabWidgetPage2; |
|
35 | QWidget* spwTabWidgetPage2; | |
34 | QWidget* spwTabWidgetPage3; |
|
36 | QWidget* spwTabWidgetPage3; | |
35 | QWidget* spwTabWidgetPage4; |
|
37 | QWidget* spwTabWidgetPage4; | |
36 | QWidget* spwTabWidgetPage5; |
|
38 | QWidget* spwTabWidgetPage5; | |
37 |
|
39 | |||
38 | TMStatistics* tmStatistics; |
|
40 | TMStatistics* tmStatistics; | |
39 |
|
41 | |||
40 | WFDisplay* wfDisplay; |
|
42 | WFDisplay* wfDisplay; | |
41 | HKDisplay* hkDisplay; |
|
43 | HKDisplay* hkDisplay; | |
|
44 | LFRSpectrogram* lfrSpectrogam; | |||
|
45 | ||||
|
46 | QWidget* widget_spectrogram; | |||
42 |
|
47 | |||
43 | QPushButton *button_openServerTCTM; |
|
48 | QPushButton *button_openServerTCTM; | |
44 | QPushButton *button_testServerTCTM; |
|
49 | QPushButton *button_testServerTCTM; | |
45 | QPushButton *button_openSocketEchoServer; |
|
50 | QPushButton *button_openSocketEchoServer; | |
46 | QPushButton *button_TCAcknowledgement; |
|
51 | QPushButton *button_TCAcknowledgement; | |
47 | QPushButton *button_TCRejection; |
|
52 | QPushButton *button_TCRejection; | |
48 | QPushButton *button_GSEHK; |
|
53 | QPushButton *button_GSEHK; | |
49 | QPushButton *button_clearConsole; |
|
54 | QPushButton *button_clearConsole; | |
50 | QPushButton *button_resetStatistics; |
|
55 | QPushButton *button_resetStatistics; | |
51 |
|
56 | |||
52 | QIPDialogBox *serverTMEchoDialogBox; |
|
57 | QIPDialogBox *serverTMEchoDialogBox; | |
53 |
|
58 | |||
54 | QSpinBox *spinbox_serverTMEchoPort; |
|
59 | QSpinBox *spinbox_serverTMEchoPort; | |
55 |
|
60 | |||
56 | signals: |
|
61 | signals: | |
57 |
|
62 | |||
58 | public slots: |
|
63 | public slots: | |
59 | void clearConsole(); |
|
64 | void clearConsole(); | |
60 | void totalOfBytesHasChanged(unsigned int nbBytes); |
|
65 | void totalOfBytesHasChanged(unsigned int nbBytes); | |
61 | void totalOfPacketsHasChanged(unsigned int nbPackets); |
|
66 | void totalOfPacketsHasChanged(unsigned int nbPackets); | |
62 |
|
67 | |||
63 | private: |
|
68 | private: | |
64 | QLabel *label_serverTMEcho; |
|
69 | QLabel *label_serverTMEcho; | |
65 | QLabel *label_serverTMEchoPort; |
|
70 | QLabel *label_serverTMEchoPort; | |
66 | QLabel *label_TMServerPort; |
|
71 | QLabel *label_TMServerPort; | |
67 | QLabel *label_TCServerPort; |
|
72 | QLabel *label_TCServerPort; | |
68 | QLabel *label_currentTCTMServer; |
|
73 | QLabel *label_currentTCTMServer; | |
69 | QLabel *label_currentTCTMServerIP; |
|
74 | QLabel *label_currentTCTMServerIP; | |
70 | QLabel *label_totalOfBytes; |
|
75 | QLabel *label_totalOfBytes; | |
71 | QLabel *label_totalOfPackets; |
|
76 | QLabel *label_totalOfPackets; | |
72 |
|
77 | |||
73 | QTextEdit *console; |
|
78 | QTextEdit *console; | |
74 |
|
79 | |||
75 | QSpinBox *spinbox_TMServerPort; |
|
80 | QSpinBox *spinbox_TMServerPort; | |
76 | QSpinBox *spinbox_TCServerPort; |
|
81 | QSpinBox *spinbox_TCServerPort; | |
77 |
|
82 | |||
78 | QGroupBox *groupbox_TMEcho; |
|
83 | QGroupBox *groupbox_TMEcho; | |
79 | QGroupBox *groupbox_ports; |
|
84 | QGroupBox *groupbox_ports; | |
80 | QGroupBox *groupbox_TMToForeignGSETester; |
|
85 | QGroupBox *groupbox_TMToForeignGSETester; | |
81 |
|
86 | |||
82 | QVBoxLayout *layout_TMEcho; |
|
87 | QVBoxLayout *layout_TMEcho; | |
83 | QVBoxLayout *layout_TMToForeignGSETester; |
|
88 | QVBoxLayout *layout_TMToForeignGSETester; | |
84 | QVBoxLayout *layout_overallLayout; |
|
89 | QVBoxLayout *layout_overallLayout; | |
85 |
|
90 | |||
86 | QGridLayout *mainLayout; |
|
91 | QGridLayout *mainLayout; | |
87 | QGridLayout *layout_ports; |
|
92 | QGridLayout *layout_ports; | |
88 |
|
93 | |||
89 | }; |
|
94 | }; | |
90 |
|
95 | |||
91 | #endif // MAINWINDOWUI_H |
|
96 | #endif // MAINWINDOWUI_H |
@@ -1,404 +1,404 | |||||
1 | /*------------------------------------------------------------------------------ |
|
1 | /*------------------------------------------------------------------------------ | |
2 | -- This file is a part of the LPPMON Software |
|
2 | -- This file is a part of the LPPMON Software | |
3 | -- Copyright (C) 2012, Laboratory of Plasma Physics - CNRS |
|
3 | -- Copyright (C) 2012, Laboratory of Plasma Physics - CNRS | |
4 | -- |
|
4 | -- | |
5 | -- This program is free software; you can redistribute it and/or modify |
|
5 | -- This program is free software; you can redistribute it and/or modify | |
6 | -- it under the terms of the GNU General Public License as published by |
|
6 | -- it under the terms of the GNU General Public License as published by | |
7 | -- the Free Software Foundation; either version 3 of the License, or |
|
7 | -- the Free Software Foundation; either version 3 of the License, or | |
8 | -- (at your option) any later version. |
|
8 | -- (at your option) any later version. | |
9 | -- |
|
9 | -- | |
10 | -- This program is distributed in the hope that it will be useful, |
|
10 | -- This program is distributed in the hope that it will be useful, | |
11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -- GNU General Public License for more details. |
|
13 | -- GNU General Public License for more details. | |
14 | -- |
|
14 | -- | |
15 | -- You should have received a copy of the GNU General Public License |
|
15 | -- You should have received a copy of the GNU General Public License | |
16 | -- along with this program; if not, write to the Free Software |
|
16 | -- along with this program; if not, write to the Free Software | |
17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
18 | -------------------------------------------------------------------------------*/ |
|
18 | -------------------------------------------------------------------------------*/ | |
19 | /*-- Author : Paul LEROY |
|
19 | /*-- Author : Paul LEROY | |
20 | -- Mail : paul.leroy@lpp.polytechnique.fr |
|
20 | -- Mail : paul.leroy@lpp.polytechnique.fr | |
21 | ----------------------------------------------------------------------------*/ |
|
21 | ----------------------------------------------------------------------------*/ | |
22 | #include "rmapplugin.h" |
|
22 | #include "rmapplugin.h" | |
23 | #include <QHostAddress> |
|
23 | #include <QHostAddress> | |
24 | #include <QIODevice> |
|
24 | #include <QIODevice> | |
25 | #include <QApplication> |
|
25 | #include <QApplication> | |
26 | #include <rmappluginpythonwrapper.h> |
|
26 | #include <rmappluginpythonwrapper.h> | |
27 | #include <PythonQt.h> |
|
27 | #include <PythonQt.h> | |
28 | #include <QTimer> |
|
28 | #include <QTimer> | |
29 |
|
29 | |||
30 | rmapplugin::rmapplugin(QWidget *parent) |
|
30 | rmapplugin::rmapplugin(QWidget *parent) | |
31 | :lppmonplugin(parent,false) |
|
31 | :lppmonplugin(parent,false) | |
32 | { |
|
32 | { | |
33 | this->UI = new rmapPluginUI(); |
|
33 | this->UI = new rmapPluginUI(); | |
34 | this->setWindowTitle(tr("RMAP and SPW Communication")); |
|
34 | this->setWindowTitle(tr("RMAP and SPW Communication")); | |
35 | this->setWidget((QWidget*)this->UI); |
|
35 | this->setWidget((QWidget*)this->UI); | |
36 |
|
36 | |||
37 | timeCode = 0; |
|
37 | timeCode = 0; | |
38 | time_COARSE = 0; |
|
38 | time_COARSE = 0; | |
39 | time_FINE = 0; |
|
39 | time_FINE = 0; | |
40 | currentBridge = selectedBridgeIsUnknown; |
|
40 | currentBridge = selectedBridgeIsUnknown; | |
41 |
|
41 | |||
42 | //************** |
|
42 | //************** | |
43 | //Python wrapper |
|
43 | //Python wrapper | |
44 | this->pyObject = new rmappluginPythonWrapper(); |
|
44 | this->pyObject = new rmappluginPythonWrapper(); | |
45 | connect(this->pyObject,SIGNAL(ReadSig(uint*,uint,uint)),this,SLOT(Read(uint*,uint,uint))); |
|
45 | connect(this->pyObject,SIGNAL(ReadSig(uint*,uint,uint)),this,SLOT(Read(uint*,uint,uint))); | |
46 | connect(this->pyObject,SIGNAL(WriteSig(uint*,uint,uint)),this,SLOT(Write(uint*,uint,uint))); |
|
46 | connect(this->pyObject,SIGNAL(WriteSig(uint*,uint,uint)),this,SLOT(Write(uint*,uint,uint))); | |
47 | //** |
|
47 | //** | |
48 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL( WriteSPWSig(char*,uint,char,char) ), |
|
48 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL( WriteSPWSig(char*,uint,char,char) ), | |
49 | this, SLOT( WriteSPW(char*,uint,char,char)), Qt::DirectConnection ); |
|
49 | this, SLOT( WriteSPW(char*,uint,char,char)), Qt::DirectConnection ); | |
50 | //** |
|
50 | //** | |
51 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL( updateTargetAddress(unsigned char) ), |
|
51 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL( updateTargetAddress(unsigned char) ), | |
52 | this, SLOT( setValueTargetAddress(unsigned char)) ); |
|
52 | this, SLOT( setValueTargetAddress(unsigned char)) ); | |
53 | //** |
|
53 | //** | |
54 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL( updateSourceAddress(unsigned char) ), |
|
54 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL( updateSourceAddress(unsigned char) ), | |
55 | this, SLOT( setValueSourceAddress(unsigned char)) ); |
|
55 | this, SLOT( setValueSourceAddress(unsigned char)) ); | |
56 | //** |
|
56 | //** | |
57 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL(sendMessage(QString)), |
|
57 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL(sendMessage(QString)), | |
58 | this, SLOT(displayOnConsole(QString)) ); |
|
58 | this, SLOT(displayOnConsole(QString)) ); | |
59 | //** |
|
59 | //** | |
60 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL(fetchPacketSig()), |
|
60 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL(fetchPacketSig()), | |
61 | this, SLOT(fetchPacket()), Qt::DirectConnection ); |
|
61 | this, SLOT(fetchPacket()), Qt::DirectConnection ); | |
62 | //*** |
|
62 | //*** | |
63 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL(nbPacketHasChanged(int)), |
|
63 | connect( (rmappluginPythonWrapper*)this->pyObject, SIGNAL(nbPacketHasChanged(int)), | |
64 | this, SLOT(nbPacketHasChanged(int))); |
|
64 | this, SLOT(nbPacketHasChanged(int))); | |
65 | //************** |
|
65 | //************** | |
66 |
|
66 | |||
67 | //************** |
|
67 | //************** | |
68 | // get a smart pointer to the __main__ module of the Python interpreter |
|
68 | // get a smart pointer to the __main__ module of the Python interpreter | |
69 | PythonQtObjectPtr context = PythonQt::self()->getMainModule(); |
|
69 | PythonQtObjectPtr context = PythonQt::self()->getMainModule(); | |
70 | // add a QObject as variable of name "BUTTON_rmapOpenCommunication" to the namespace of the __main__ module |
|
70 | // add a QObject as variable of name "BUTTON_rmapOpenCommunication" to the namespace of the __main__ module | |
71 | context.addObject("BUTTON_rmapOpenCommunication", UI->rmapOpenCommunicationButton); |
|
71 | context.addObject("BUTTON_rmapOpenCommunication", UI->rmapOpenCommunicationButton); | |
72 | context.addObject("BUTTON_rmapCloseCommunication", UI->rmapCloseCommunicationButton); |
|
72 | context.addObject("BUTTON_rmapCloseCommunication", UI->rmapCloseCommunicationButton); | |
73 | context.addObject("BUTTON_selectStarDundee", UI->selectStarDundee_BUTTON); |
|
73 | context.addObject("BUTTON_selectStarDundee", UI->selectStarDundee_BUTTON); | |
74 | context.addObject("BUTTON_selectGRESB", UI->selectGRESB_BUTTON); |
|
74 | context.addObject("BUTTON_selectGRESB", UI->selectGRESB_BUTTON); | |
75 | context.addObject("GRESB_Bridge", UI->gresbBridge); |
|
75 | context.addObject("GRESB_Bridge", UI->gresbBridge); | |
76 | //************** |
|
76 | //************** | |
77 |
|
77 | |||
78 | connect(UI->rmapOpenCommunicationButton, SIGNAL(clicked()), this, SLOT(openBridge())); |
|
78 | connect(UI->rmapOpenCommunicationButton, SIGNAL(clicked()), this, SLOT(openBridge())); | |
79 | connect(UI->rmapCloseCommunicationButton, SIGNAL(clicked()), this, SLOT(closeBridge())); |
|
79 | connect(UI->rmapCloseCommunicationButton, SIGNAL(clicked()), this, SLOT(closeBridge())); | |
80 | connect(this, SIGNAL( |
|
80 | connect(this, SIGNAL( | |
81 | updateStatistics(unsigned char,unsigned char,unsigned char,unsigned char,uint,uint,uint,uint) |
|
81 | updateStatistics(unsigned char,unsigned char,unsigned char,unsigned char,uint,uint,uint,uint) | |
82 | ), |
|
82 | ), | |
83 | this->UI->tmStatistics, SLOT( |
|
83 | this->UI->tmStatistics, SLOT( | |
84 | updateStatistics(unsigned char,unsigned char,unsigned char,unsigned char,uint,uint,uint,uint) |
|
84 | updateStatistics(unsigned char,unsigned char,unsigned char,unsigned char,uint,uint,uint,uint) | |
85 | )); |
|
85 | )); | |
86 |
|
86 | |||
87 | //****** |
|
87 | //****** | |
88 | // GRESB |
|
88 | // GRESB | |
89 | connect(this->UI->gresbBridge, SIGNAL(sendMessage(QString)), this, SLOT(displayOnConsole(QString))); |
|
89 | connect(this->UI->gresbBridge, SIGNAL(sendMessage(QString)), this, SLOT(displayOnConsole(QString))); | |
90 | connect(this->UI->gresbBridge, SIGNAL(isOpen(bool)), this, SLOT(activatePlugin(bool))); |
|
90 | connect(this->UI->gresbBridge, SIGNAL(isOpen(bool)), this, SLOT(activatePlugin(bool))); | |
91 | connect(this->UI->gresbBridge, SIGNAL(RMAP_write_reply_setText(QString)), this, SLOT(RMAP_write_reply_setText(QString))); |
|
91 | connect(this->UI->gresbBridge, SIGNAL(RMAP_write_reply_setText(QString)), this, SLOT(RMAP_write_reply_setText(QString))); | |
92 | connect(this->UI->gresbBridge, SIGNAL(appendToLog(QString)), this, SLOT(appendToLog(QString))); |
|
92 | connect(this->UI->gresbBridge, SIGNAL(appendToLog(QString)), this, SLOT(appendToLog(QString))); | |
93 | connect(this, SIGNAL(ccsdsPacketIsProcessed()), this->UI->gresbBridge, SLOT(ccsdsPacketIsProcessed())); |
|
93 | connect(this, SIGNAL(ccsdsPacketIsProcessed()), this->UI->gresbBridge, SLOT(ccsdsPacketIsProcessed())); | |
94 | connect(this->UI->rmapTargetLogicalAddressSpinBox, SIGNAL(valueChanged(int)), |
|
94 | connect(this->UI->rmapTargetLogicalAddressSpinBox, SIGNAL(valueChanged(int)), | |
95 | this->UI->gresbBridge, SLOT(targetHasChanged(int))); |
|
95 | this->UI->gresbBridge, SLOT(targetHasChanged(int))); | |
96 | connect(this->UI->rmapSourceLogicalAddressSpinBox, SIGNAL(valueChanged(int)), |
|
96 | connect(this->UI->rmapSourceLogicalAddressSpinBox, SIGNAL(valueChanged(int)), | |
97 | this->UI->gresbBridge, SLOT(sourceHasChanged(int))); |
|
97 | this->UI->gresbBridge, SLOT(sourceHasChanged(int))); | |
98 | connect(this->UI->gresbBridge, SIGNAL(sendPacket(TMPacketToRead*)), |
|
98 | connect(this->UI->gresbBridge, SIGNAL(sendPacket(TMPacketToRead*)), | |
99 | this, SLOT(receivePacketFromBridge(TMPacketToRead*)), Qt::DirectConnection); |
|
99 | this, SLOT(receivePacketFromBridge(TMPacketToRead*)), Qt::DirectConnection); | |
100 |
|
100 | |||
101 | //************ |
|
101 | //************ | |
102 | // Star Dundee |
|
102 | // Star Dundee | |
103 | connect(this->UI->starDundee, SIGNAL(sendMessage(QString)), this, SLOT(displayOnConsole(QString))); |
|
103 | connect(this->UI->starDundee, SIGNAL(sendMessage(QString)), this, SLOT(displayOnConsole(QString))); | |
104 | connect(this->UI->starDundee, SIGNAL(isOpen(bool)), this, SLOT(activatePlugin(bool))); |
|
104 | connect(this->UI->starDundee, SIGNAL(isOpen(bool)), this, SLOT(activatePlugin(bool))); | |
105 | connect(this->UI->starDundee, SIGNAL(RMAP_write_reply_setText(QString)), this, SLOT(RMAP_write_reply_setText(QString))); |
|
105 | connect(this->UI->starDundee, SIGNAL(RMAP_write_reply_setText(QString)), this, SLOT(RMAP_write_reply_setText(QString))); | |
106 | connect(this->UI->starDundee, SIGNAL(appendToLog(QString)), this, SLOT(appendToLog(QString))); |
|
106 | connect(this->UI->starDundee, SIGNAL(appendToLog(QString)), this, SLOT(appendToLog(QString))); | |
107 | connect(this, SIGNAL(ccsdsPacketIsProcessed()), this->UI->starDundee, SLOT(ccsdsPacketIsProcessed())); |
|
107 | connect(this, SIGNAL(ccsdsPacketIsProcessed()), this->UI->starDundee, SLOT(ccsdsPacketIsProcessed())); | |
108 | connect(this->UI->rmapTargetLogicalAddressSpinBox, SIGNAL(valueChanged(int)), |
|
108 | connect(this->UI->rmapTargetLogicalAddressSpinBox, SIGNAL(valueChanged(int)), | |
109 | this->UI->starDundee, SLOT(targetHasChanged(int))); |
|
109 | this->UI->starDundee, SLOT(targetHasChanged(int))); | |
110 | connect(this->UI->rmapSourceLogicalAddressSpinBox, SIGNAL(valueChanged(int)), |
|
110 | connect(this->UI->rmapSourceLogicalAddressSpinBox, SIGNAL(valueChanged(int)), | |
111 | this->UI->starDundee, SLOT(sourceHasChanged(int))); |
|
111 | this->UI->starDundee, SLOT(sourceHasChanged(int))); | |
112 | connect(this->UI->starDundee, SIGNAL(sendPacket(TMPacketToRead*)), |
|
112 | connect(this->UI->starDundee, SIGNAL(sendPacket(TMPacketToRead*)), | |
113 | this, SLOT(receivePacketFromBridge(TMPacketToRead*)), Qt::DirectConnection); |
|
113 | this, SLOT(receivePacketFromBridge(TMPacketToRead*)), Qt::DirectConnection); | |
114 |
|
114 | |||
115 | connect(this->UI, SIGNAL(bridgeHasChanged(selectedBridge)), this, SLOT(bridgeHasChanged(selectedBridge))); |
|
115 | connect(this->UI, SIGNAL(bridgeHasChanged(selectedBridge)), this, SLOT(bridgeHasChanged(selectedBridge))); | |
116 |
|
116 | |||
117 | ((rmappluginPythonWrapper*)this->pyObject)->ccsdsPacketStore = &(this->generalCCSDSPacketStore); |
|
117 | ((rmappluginPythonWrapper*)this->pyObject)->ccsdsPacketStore = &(this->generalCCSDSPacketStore); | |
118 | } |
|
118 | } | |
119 |
|
119 | |||
120 | rmapplugin::~rmapplugin() |
|
120 | rmapplugin::~rmapplugin() | |
121 | { |
|
121 | { | |
122 | switch(currentBridge) |
|
122 | switch(currentBridge) | |
123 | { |
|
123 | { | |
124 | case selectedBridgeIsGRESB : |
|
124 | case selectedBridgeIsGRESB : | |
125 | if (RMAPSend_SOCKET->isOpen()) RMAPSend_SOCKET->disconnectFromHost(); |
|
125 | if (RMAPSend_SOCKET->isOpen()) RMAPSend_SOCKET->disconnectFromHost(); | |
126 | if (RMAPReceive_SOCKET->isOpen()) RMAPReceive_SOCKET->disconnectFromHost(); |
|
126 | if (RMAPReceive_SOCKET->isOpen()) RMAPReceive_SOCKET->disconnectFromHost(); | |
127 | if (GRESBStatusQuery_SOCKET->isOpen()) GRESBStatusQuery_SOCKET->disconnectFromHost(); |
|
127 | if (GRESBStatusQuery_SOCKET->isOpen()) GRESBStatusQuery_SOCKET->disconnectFromHost(); | |
128 | break; |
|
128 | break; | |
129 | case selectedBridgeIsStarDundee : |
|
129 | case selectedBridgeIsStarDundee : | |
130 | break; |
|
130 | break; | |
131 | default: |
|
131 | default: | |
132 | break; |
|
132 | break; | |
133 | } |
|
133 | } | |
134 | } |
|
134 | } | |
135 |
|
135 | |||
136 | unsigned int rmapplugin::Write(unsigned int *Value, unsigned int count, unsigned int address) |
|
136 | unsigned int rmapplugin::Write(unsigned int *Value, unsigned int count, unsigned int address) | |
137 | { |
|
137 | { | |
138 | unsigned int result; |
|
138 | unsigned int result; | |
139 | switch(currentBridge) |
|
139 | switch(currentBridge) | |
140 | { |
|
140 | { | |
141 | case selectedBridgeIsGRESB : |
|
141 | case selectedBridgeIsGRESB : | |
142 | result = UI->gresbBridge->Write(Value, count, address); |
|
142 | result = UI->gresbBridge->Write(Value, count, address); | |
143 | break; |
|
143 | break; | |
144 | case selectedBridgeIsStarDundee : |
|
144 | case selectedBridgeIsStarDundee : | |
145 | result = UI->starDundee->Write(Value, count, address); |
|
145 | result = UI->starDundee->Write(Value, count, address); | |
146 | break; |
|
146 | break; | |
147 | default: |
|
147 | default: | |
148 | result = 1; |
|
148 | result = 1; | |
149 | break; |
|
149 | break; | |
150 | } |
|
150 | } | |
151 | return result; |
|
151 | return result; | |
152 | } |
|
152 | } | |
153 |
|
153 | |||
154 | unsigned int rmapplugin::Read(unsigned int *Value, unsigned int count, unsigned int address) |
|
154 | unsigned int rmapplugin::Read(unsigned int *Value, unsigned int count, unsigned int address) | |
155 | { |
|
155 | { | |
156 | unsigned int result; |
|
156 | unsigned int result; | |
157 | switch(currentBridge) |
|
157 | switch(currentBridge) | |
158 | { |
|
158 | { | |
159 | case selectedBridgeIsGRESB : |
|
159 | case selectedBridgeIsGRESB : | |
160 | result = UI->gresbBridge->Read(Value, count, address); |
|
160 | result = UI->gresbBridge->Read(Value, count, address); | |
161 | break; |
|
161 | break; | |
162 | case selectedBridgeIsStarDundee : |
|
162 | case selectedBridgeIsStarDundee : | |
163 | result = UI->starDundee->Read(Value, count, address); |
|
163 | result = UI->starDundee->Read(Value, count, address); | |
164 | break; |
|
164 | break; | |
165 | default: |
|
165 | default: | |
166 | result = 1; |
|
166 | result = 1; | |
167 | break; |
|
167 | break; | |
168 | } |
|
168 | } | |
169 | return result; |
|
169 | return result; | |
170 | } |
|
170 | } | |
171 |
|
171 | |||
172 | //////// |
|
172 | //////// | |
173 | // SLOTS |
|
173 | // SLOTS | |
174 |
|
174 | |||
175 | unsigned int rmapplugin::WriteSPW(char *Value, unsigned int count, char targetLogicalAddress, char userApplication) // SLOT |
|
175 | unsigned int rmapplugin::WriteSPW(char *Value, unsigned int count, char targetLogicalAddress, char userApplication) // SLOT | |
176 | { |
|
176 | { | |
177 | unsigned int result; |
|
177 | unsigned int result; | |
178 | switch(currentBridge) |
|
178 | switch(currentBridge) | |
179 | { |
|
179 | { | |
180 | case selectedBridgeIsGRESB : |
|
180 | case selectedBridgeIsGRESB : | |
181 | result = UI->gresbBridge->WriteSPW(Value, count, targetLogicalAddress, userApplication); |
|
181 | result = UI->gresbBridge->WriteSPW(Value, count, targetLogicalAddress, userApplication); | |
182 | break; |
|
182 | break; | |
183 | case selectedBridgeIsStarDundee : |
|
183 | case selectedBridgeIsStarDundee : | |
184 | result = UI->starDundee->WriteSPW(Value, count, targetLogicalAddress, userApplication); |
|
184 | result = UI->starDundee->WriteSPW(Value, count, targetLogicalAddress, userApplication); | |
185 | break; |
|
185 | break; | |
186 | default: |
|
186 | default: | |
187 | result = 1; |
|
187 | result = 1; | |
188 | break; |
|
188 | break; | |
189 | } |
|
189 | } | |
190 | return result; |
|
190 | return result; | |
191 | } |
|
191 | } | |
192 |
|
192 | |||
193 | void rmapplugin::openBridge() |
|
193 | void rmapplugin::openBridge() | |
194 | { |
|
194 | { | |
195 | switch(currentBridge) |
|
195 | switch(currentBridge) | |
196 | { |
|
196 | { | |
197 | case selectedBridgeIsGRESB : |
|
197 | case selectedBridgeIsGRESB : | |
198 | this->UI->gresbBridge->Open(); |
|
198 | this->UI->gresbBridge->Open(); | |
199 | break; |
|
199 | break; | |
200 | case selectedBridgeIsStarDundee : |
|
200 | case selectedBridgeIsStarDundee : | |
201 | this->UI->starDundee->Open(); |
|
201 | this->UI->starDundee->Open(); | |
202 | break; |
|
202 | break; | |
203 | default: |
|
203 | default: | |
204 | break; |
|
204 | break; | |
205 | } |
|
205 | } | |
206 | } |
|
206 | } | |
207 |
|
207 | |||
208 | void rmapplugin::closeBridge() |
|
208 | void rmapplugin::closeBridge() | |
209 | { |
|
209 | { | |
210 | switch(currentBridge) |
|
210 | switch(currentBridge) | |
211 | { |
|
211 | { | |
212 | case selectedBridgeIsGRESB : |
|
212 | case selectedBridgeIsGRESB : | |
213 | this->UI->gresbBridge->Close(); |
|
213 | this->UI->gresbBridge->Close(); | |
214 | break; |
|
214 | break; | |
215 | case selectedBridgeIsStarDundee : |
|
215 | case selectedBridgeIsStarDundee : | |
216 | this->UI->starDundee->Close(); |
|
216 | this->UI->starDundee->Close(); | |
217 | break; |
|
217 | break; | |
218 | default: |
|
218 | default: | |
219 | break; |
|
219 | break; | |
220 | } |
|
220 | } | |
221 | } |
|
221 | } | |
222 |
|
222 | |||
223 | void rmapplugin::RMAP_write_reply_setText(QString text) |
|
223 | void rmapplugin::RMAP_write_reply_setText(QString text) | |
224 | { |
|
224 | { | |
225 | this->UI->RMAP_write_reply->setText(text); |
|
225 | this->UI->RMAP_write_reply->setText(text); | |
226 | } |
|
226 | } | |
227 |
|
227 | |||
228 | void rmapplugin::appendToLog(QString text) |
|
228 | void rmapplugin::appendToLog(QString text) | |
229 | { |
|
229 | { | |
230 | APPENDTOLOG(text); |
|
230 | APPENDTOLOG(text); | |
231 | } |
|
231 | } | |
232 |
|
232 | |||
233 | void rmapplugin::setValueTargetAddress(unsigned char newAddress) |
|
233 | void rmapplugin::setValueTargetAddress(unsigned char newAddress) | |
234 | { |
|
234 | { | |
235 | this->UI->rmapTargetLogicalAddressSpinBox->setValue(newAddress); |
|
235 | this->UI->rmapTargetLogicalAddressSpinBox->setValue(newAddress); | |
236 | } |
|
236 | } | |
237 |
|
237 | |||
238 | void rmapplugin::setValueSourceAddress(unsigned char newAddress) |
|
238 | void rmapplugin::setValueSourceAddress(unsigned char newAddress) | |
239 | { |
|
239 | { | |
240 | this->UI->rmapSourceLogicalAddressSpinBox->setValue(newAddress); |
|
240 | this->UI->rmapSourceLogicalAddressSpinBox->setValue(newAddress); | |
241 | } |
|
241 | } | |
242 |
|
242 | |||
243 | void rmapplugin::receivePacketFromBridge(TMPacketToRead *packet) |
|
243 | void rmapplugin::receivePacketFromBridge(TMPacketToRead *packet) | |
244 | { |
|
244 | { | |
245 | preProcessPacket(packet); |
|
245 | preProcessPacket(packet); | |
246 |
|
246 | |||
247 | // Send the packet to the TM echo bridge for processing |
|
247 | // Send the packet to the TM echo bridge for processing | |
248 | this->UI->tmEchoBridge->sendTMPacket_v2(packet); |
|
248 | this->UI->tmEchoBridge->sendTMPacket_v2(packet); | |
249 | //this->UI->tmEchoBridge->sendTMPacket_alternative(packet); |
|
249 | //this->UI->tmEchoBridge->sendTMPacket_alternative(packet); | |
250 |
|
250 | |||
251 | this->generalCCSDSPacketStore.append(packet); |
|
251 | this->generalCCSDSPacketStore.append(packet); | |
252 | this->UI->nbPacketInStore->setText("nb packets in store: " + QString::number(generalCCSDSPacketStore.size())); |
|
252 | this->UI->nbPacketInStore->setText("nb packets in store: " + QString::number(generalCCSDSPacketStore.size())); | |
253 | processPacketStore(); |
|
253 | processPacketStore(); | |
254 | } |
|
254 | } | |
255 |
|
255 | |||
256 | void rmapplugin::preProcessPacket(TMPacketToRead *packet) |
|
256 | void rmapplugin::preProcessPacket(TMPacketToRead *packet) | |
257 | { |
|
257 | { | |
258 | unsigned char pid = 0; |
|
258 | unsigned char pid = 0; | |
259 | unsigned char cat = 0; |
|
259 | unsigned char cat = 0; | |
260 | unsigned char typ = 0; |
|
260 | unsigned char typ = 0; | |
261 | unsigned char sub = 0; |
|
261 | unsigned char sub = 0; | |
262 | unsigned int sid = 0; |
|
262 | unsigned int sid = 0; | |
263 | unsigned int length = 0; |
|
263 | unsigned int length = 0; | |
264 | unsigned int coarse_t = 0; |
|
264 | unsigned int coarse_t = 0; | |
265 | unsigned int fine_t = 0; |
|
265 | unsigned int fine_t = 0; | |
266 |
|
266 | |||
267 | //********************************* |
|
267 | //********************************* | |
268 | // get the parameters of the packet |
|
268 | // get the parameters of the packet | |
269 | pid = ((packet->Value[4] & 0x07) << 4) + ((packet->Value[5] & 0xf0) >> 4); |
|
269 | pid = ((packet->Value[4] & 0x07) << 4) + ((packet->Value[5] & 0xf0) >> 4); | |
270 | cat = packet->Value[5] & 0x0f; |
|
270 | cat = packet->Value[5] & 0x0f; | |
271 | typ = packet->Value[11]; // TYPE |
|
271 | typ = packet->Value[11]; // TYPE | |
272 | sub = packet->Value[12]; // SUBTYPE |
|
272 | sub = packet->Value[12]; // SUBTYPE | |
273 | sid = 0; |
|
273 | sid = 0; | |
274 | length = packet->Value[8] * 256 + packet->Value[9]; |
|
274 | length = packet->Value[8] * 256 + packet->Value[9]; | |
275 | coarse_t = packet->Value[14] * pow(2, 24) + packet->Value[15] * pow(2, 16) |
|
275 | coarse_t = packet->Value[14] * pow(2, 24) + packet->Value[15] * pow(2, 16) | |
276 | + packet->Value[16] * pow(2, 8) + packet->Value[17]; |
|
276 | + packet->Value[16] * pow(2, 8) + packet->Value[17]; | |
277 | fine_t = packet->Value[18] * pow(2, 8) + packet->Value[19]; |
|
277 | fine_t = packet->Value[18] * pow(2, 8) + packet->Value[19]; | |
278 |
|
278 | |||
279 | if ((pid == 76) & (cat == 1) & (typ == 1) & (sub == 8)) |
|
279 | if ((pid == 76) & (cat == 1) & (typ == 1) & (sub == 8)) | |
280 | sid = packet->Value[20] * 256 + packet->Value[21]; |
|
280 | sid = packet->Value[20] * 256 + packet->Value[21]; | |
281 | else if ((pid == 76) & (cat == 12) & (typ == 21) & (sub == 3)) |
|
281 | else if ((pid == 76) & (cat == 12) & (typ == 21) & (sub == 3)) | |
282 | sid = packet->Value[20]; |
|
282 | sid = packet->Value[20]; | |
283 | else if ((pid == 76) & (cat == 4) & (typ == 3) & (sub == 25)) |
|
283 | else if ((pid == 76) & (cat == 4) & (typ == 3) & (sub == 25)) | |
284 | sid = 1; |
|
284 | sid = 1; | |
285 |
|
285 | |||
286 | emit updateStatistics(pid, cat, typ, sub, sid, length, coarse_t, fine_t); |
|
286 | emit updateStatistics(pid, cat, typ, sub, sid, length, coarse_t, fine_t); | |
287 |
|
287 | |||
288 |
|
288 | |||
289 | //**************************************** |
|
289 | //**************************************** | |
290 | // if the packet is a waveform, display it |
|
290 | // if the packet is a waveform, display it | |
291 | if ( (typ == 21) & (sub == 3) ) |
|
291 | /*if ( (typ == 21) & (sub == 3) ) | |
292 | { |
|
292 | { | |
293 | sid = packet->Value[20]; // SID |
|
293 | sid = packet->Value[20]; // SID | |
294 | switch (sid){ |
|
294 | switch (sid){ | |
295 | case SID_NORMAL_SWF_F0: |
|
295 | case SID_NORMAL_SWF_F0: | |
296 | buildWFAndDisplay(packet, &wfPacketNormal[0], 0); |
|
296 | buildWFAndDisplay(packet, &wfPacketNormal[0], 0); | |
297 | break; |
|
297 | break; | |
298 | case SID_NORMAL_SWF_F1: |
|
298 | case SID_NORMAL_SWF_F1: | |
299 | buildWFAndDisplay(packet, &wfPacketNormal[1], 1); |
|
299 | buildWFAndDisplay(packet, &wfPacketNormal[1], 1); | |
300 | break; |
|
300 | break; | |
301 | case SID_NORMAL_SWF_F2: |
|
301 | case SID_NORMAL_SWF_F2: | |
302 | buildWFAndDisplay(packet, &wfPacketNormal[2], 2); |
|
302 | buildWFAndDisplay(packet, &wfPacketNormal[2], 2); | |
303 | break; |
|
303 | break; | |
304 | case SID_NORMAL_CWF_F3: |
|
304 | case SID_NORMAL_CWF_F3: | |
305 | buildWFAndDisplay(packet, &wfPacketNormal[3], 3); |
|
305 | buildWFAndDisplay(packet, &wfPacketNormal[3], 3); | |
306 | break; |
|
306 | break; | |
307 | } |
|
307 | } | |
308 |
|
|
308 | }*/ | |
309 | } |
|
309 | } | |
310 |
|
310 | |||
311 | void rmapplugin::nbPacketHasChanged(int nb) |
|
311 | void rmapplugin::nbPacketHasChanged(int nb) | |
312 | { |
|
312 | { | |
313 | this->UI->nbPacketInStore->setText("nb packets in store: " + QString::number(nb)); |
|
313 | this->UI->nbPacketInStore->setText("nb packets in store: " + QString::number(nb)); | |
314 | } |
|
314 | } | |
315 |
|
315 | |||
316 | void rmapplugin::buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page) |
|
316 | void rmapplugin::buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page) | |
317 | { |
|
317 | { | |
318 | unsigned int i = 0; |
|
318 | unsigned int i = 0; | |
319 | unsigned int j = 0; |
|
319 | unsigned int j = 0; | |
320 | unsigned char *data; |
|
320 | unsigned char *data; | |
321 | unsigned char pkt_nr = 0; |
|
321 | unsigned char pkt_nr = 0; | |
322 | unsigned int blk_nr = 0; |
|
322 | unsigned int blk_nr = 0; | |
323 |
|
323 | |||
324 | pkt_nr = packet->Value[23]; // PKT_NR |
|
324 | pkt_nr = packet->Value[23]; // PKT_NR | |
325 | blk_nr = packet->Value[24] * 256 + packet->Value[25]; |
|
325 | blk_nr = packet->Value[24] * 256 + packet->Value[25]; | |
326 | data = &packet->Value[26]; // start of the first data block; |
|
326 | data = &packet->Value[26]; // start of the first data block; | |
327 | j = (pkt_nr-1) * 340; |
|
327 | j = (pkt_nr-1) * 340; | |
328 | for ( i=0; i<blk_nr; i++ ){ |
|
328 | for ( i=0; i<blk_nr; i++ ){ | |
329 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); |
|
329 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); | |
330 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); |
|
330 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); | |
331 | wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) ); |
|
331 | wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) ); | |
332 | wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) ); |
|
332 | wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) ); | |
333 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) ); |
|
333 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) ); | |
334 | wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); |
|
334 | wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); | |
335 | } |
|
335 | } | |
336 | if (pkt_nr == 7) |
|
336 | if (pkt_nr == 7) | |
337 | { |
|
337 | { | |
338 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0); |
|
338 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0); | |
339 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e1, num_page, 1); |
|
339 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e1, num_page, 1); | |
340 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e2, num_page, 2); |
|
340 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e2, num_page, 2); | |
341 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b1, num_page, 3); |
|
341 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b1, num_page, 3); | |
342 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b2, num_page, 4); |
|
342 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b2, num_page, 4); | |
343 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b3, num_page, 5); |
|
343 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b3, num_page, 5); | |
344 | } |
|
344 | } | |
345 | } |
|
345 | } | |
346 |
|
346 | |||
347 | ///////////////////// |
|
347 | ///////////////////// | |
348 | // INTERNAL FUNCTIONS |
|
348 | // INTERNAL FUNCTIONS | |
349 |
|
349 | |||
350 | void rmapplugin::processCCSDSPacket(unsigned char *ccsdsPacket, unsigned int size) // SLOT |
|
350 | void rmapplugin::processCCSDSPacket(unsigned char *ccsdsPacket, unsigned int size) // SLOT | |
351 | { |
|
351 | { | |
352 | QString message; |
|
352 | QString message; | |
353 | unsigned int fine_time_value = 0; |
|
353 | unsigned int fine_time_value = 0; | |
354 | fine_time_value = ((unsigned int) ccsdsPacket[7]<<24) |
|
354 | fine_time_value = ((unsigned int) ccsdsPacket[7]<<24) | |
355 | + ((unsigned int) ccsdsPacket[6]<<16) |
|
355 | + ((unsigned int) ccsdsPacket[6]<<16) | |
356 | + ((unsigned int) ccsdsPacket[5]<<8) |
|
356 | + ((unsigned int) ccsdsPacket[5]<<8) | |
357 | + ((unsigned int) ccsdsPacket[4]); |
|
357 | + ((unsigned int) ccsdsPacket[4]); | |
358 | message.append(QTime::currentTime().toString() +":" + QString::number(QTime::currentTime().msec()) + ": "); |
|
358 | message.append(QTime::currentTime().toString() +":" + QString::number(QTime::currentTime().msec()) + ": "); | |
359 | message.append("size " |
|
359 | message.append("size " | |
360 | + QString::number(size) |
|
360 | + QString::number(size) | |
361 | +" *** header " |
|
361 | +" *** header " | |
362 | + QString::number(ccsdsPacket[0], 16) |
|
362 | + QString::number(ccsdsPacket[0], 16) | |
363 | + " " |
|
363 | + " " | |
364 | + QString::number(ccsdsPacket[1], 16) |
|
364 | + QString::number(ccsdsPacket[1], 16) | |
365 | + " " |
|
365 | + " " | |
366 | + QString::number(ccsdsPacket[2], 16) |
|
366 | + QString::number(ccsdsPacket[2], 16) | |
367 | + " " |
|
367 | + " " | |
368 | + QString::number(ccsdsPacket[3], 16) |
|
368 | + QString::number(ccsdsPacket[3], 16) | |
369 | + " *** coarse time " |
|
369 | + " *** coarse time " | |
370 | + QString::number(fine_time_value)); |
|
370 | + QString::number(fine_time_value)); | |
371 | //+ QString::number(ccsdsPacket[4], 16) |
|
371 | //+ QString::number(ccsdsPacket[4], 16) | |
372 | //+" " |
|
372 | //+" " | |
373 | //+ QString::number(ccsdsPacket[5], 16) |
|
373 | //+ QString::number(ccsdsPacket[5], 16) | |
374 | //+" " |
|
374 | //+" " | |
375 | //+ QString::number(ccsdsPacket[6], 16) |
|
375 | //+ QString::number(ccsdsPacket[6], 16) | |
376 | //+" " |
|
376 | //+" " | |
377 | //+ QString::number(ccsdsPacket[7], 16)); |
|
377 | //+ QString::number(ccsdsPacket[7], 16)); | |
378 | displayOnConsole(message); |
|
378 | displayOnConsole(message); | |
379 | //((rmappluginPythonWrapper*)this->pyObject)->storeCCSDSPacket(ccsdsPacket, size); |
|
379 | //((rmappluginPythonWrapper*)this->pyObject)->storeCCSDSPacket(ccsdsPacket, size); | |
380 | emit ccsdsPacketIsProcessed(); |
|
380 | emit ccsdsPacketIsProcessed(); | |
381 | } |
|
381 | } | |
382 |
|
382 | |||
383 | void rmapplugin::processPacketStore() |
|
383 | void rmapplugin::processPacketStore() | |
384 | { |
|
384 | { | |
385 | ((rmappluginPythonWrapper*)this->pyObject)->processPacketStore(); |
|
385 | ((rmappluginPythonWrapper*)this->pyObject)->processPacketStore(); | |
386 | } |
|
386 | } | |
387 |
|
387 | |||
388 | int rmapplugin::fetchPacket() |
|
388 | int rmapplugin::fetchPacket() | |
389 | { |
|
389 | { | |
390 | int ret = 0; |
|
390 | int ret = 0; | |
391 |
|
391 | |||
392 | switch(currentBridge) |
|
392 | switch(currentBridge) | |
393 | { |
|
393 | { | |
394 | case selectedBridgeIsGRESB : |
|
394 | case selectedBridgeIsGRESB : | |
395 | break; |
|
395 | break; | |
396 | case selectedBridgeIsStarDundee : |
|
396 | case selectedBridgeIsStarDundee : | |
397 | ret = this->UI->starDundee->receiveSPWPacketLoop(); |
|
397 | ret = this->UI->starDundee->receiveSPWPacketLoop(); | |
398 | break; |
|
398 | break; | |
399 | default: |
|
399 | default: | |
400 | break; |
|
400 | break; | |
401 | } |
|
401 | } | |
402 |
|
402 | |||
403 | return ret; |
|
403 | return ret; | |
404 | } |
|
404 | } |
@@ -1,296 +1,296 | |||||
1 | /*------------------------------------------------------------------------------ |
|
1 | /*------------------------------------------------------------------------------ | |
2 | -- This file is a part of the LPPMON Software |
|
2 | -- This file is a part of the LPPMON Software | |
3 | -- Copyright (C) 2011, Laboratory of Plasmas Physic - CNRS |
|
3 | -- Copyright (C) 2011, Laboratory of Plasmas Physic - CNRS | |
4 | -- |
|
4 | -- | |
5 | -- This program is free software; you can redistribute it and/or modify |
|
5 | -- This program is free software; you can redistribute it and/or modify | |
6 | -- it under the terms of the GNU General Public License as published by |
|
6 | -- it under the terms of the GNU General Public License as published by | |
7 | -- the Free Software Foundation; either version 3 of the License, or |
|
7 | -- the Free Software Foundation; either version 3 of the License, or | |
8 | -- (at your option) any later version. |
|
8 | -- (at your option) any later version. | |
9 | -- |
|
9 | -- | |
10 | -- This program is distributed in the hope that it will be useful, |
|
10 | -- This program is distributed in the hope that it will be useful, | |
11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -- GNU General Public License for more details. |
|
13 | -- GNU General Public License for more details. | |
14 | -- |
|
14 | -- | |
15 | -- You should have received a copy of the GNU General Public License |
|
15 | -- You should have received a copy of the GNU General Public License | |
16 | -- along with this program; if not, write to the Free Software |
|
16 | -- along with this program; if not, write to the Free Software | |
17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
18 | -------------------------------------------------------------------------------*/ |
|
18 | -------------------------------------------------------------------------------*/ | |
19 | /*-- Author : Alexis Jeandet |
|
19 | /*-- Author : Alexis Jeandet | |
20 | -- Mail : alexis.jeandet@lpp.polytechnique.fr |
|
20 | -- Mail : alexis.jeandet@lpp.polytechnique.fr | |
21 | ----------------------------------------------------------------------------*/ |
|
21 | ----------------------------------------------------------------------------*/ | |
22 | #include "rmapplugin.h" |
|
22 | #include "rmapplugin.h" | |
23 |
|
23 | |||
24 | rmapPluginUI::rmapPluginUI(QWidget *parent) : |
|
24 | rmapPluginUI::rmapPluginUI(QWidget *parent) : | |
25 | QWidget(parent) |
|
25 | QWidget(parent) | |
26 | { |
|
26 | { | |
27 | spwTabWidget = new QTabWidget; |
|
27 | spwTabWidget = new QTabWidget; | |
28 | // |
|
28 | // | |
29 | QWidget* spwTabWidgetPage0 = new QWidget; |
|
29 | QWidget* spwTabWidgetPage0 = new QWidget; | |
30 | QWidget* spwTabWidgetPage2 = new QWidget; |
|
30 | QWidget* spwTabWidgetPage2 = new QWidget; | |
31 | QWidget* spwTabWidgetPage3 = new QWidget; |
|
31 | QWidget* spwTabWidgetPage3 = new QWidget; | |
32 | QWidget* spwTabWidgetPage4 = new QWidget; |
|
32 | QWidget* spwTabWidgetPage4 = new QWidget; | |
33 | QWidget* spwTabWidgetPage5 = new QWidget; |
|
33 | QWidget* spwTabWidgetPage5 = new QWidget; | |
34 | QWidget* spwTabWidgetPage6 = new QWidget; |
|
34 | QWidget* spwTabWidgetPage6 = new QWidget; | |
35 | // |
|
35 | // | |
36 | bridgeWidget = new QWidget; |
|
36 | bridgeWidget = new QWidget; | |
37 | mainLayout = new QVBoxLayout; |
|
37 | mainLayout = new QVBoxLayout; | |
38 | ccsdsLayout = new QVBoxLayout; |
|
38 | ccsdsLayout = new QVBoxLayout; | |
39 | consoleLayout = new QVBoxLayout; |
|
39 | consoleLayout = new QVBoxLayout; | |
40 | selectionLayout = new QVBoxLayout; |
|
40 | selectionLayout = new QVBoxLayout; | |
41 | connectionLayout = new QGridLayout; |
|
41 | connectionLayout = new QGridLayout; | |
42 | bridgeSelection_LAYOUT = new QGridLayout; |
|
42 | bridgeSelection_LAYOUT = new QGridLayout; | |
43 | generalParameters_LAYOUT = new QGridLayout; |
|
43 | generalParameters_LAYOUT = new QGridLayout; | |
44 |
|
44 | |||
45 | gresb_GROUPBOX = new QGroupBox(tr("GRESB bridge parameters")); |
|
45 | gresb_GROUPBOX = new QGroupBox(tr("GRESB bridge parameters")); | |
46 | stardundee_GROUPBOX = new QGroupBox(tr("Star Dundee brick parameters")); |
|
46 | stardundee_GROUPBOX = new QGroupBox(tr("Star Dundee brick parameters")); | |
47 | selection_GROUPBOX = new QGroupBox(tr("Bridge selection")); |
|
47 | selection_GROUPBOX = new QGroupBox(tr("Bridge selection")); | |
48 | generalParameters_GROUPBOX = new QGroupBox(tr("General parameters")); |
|
48 | generalParameters_GROUPBOX = new QGroupBox(tr("General parameters")); | |
49 |
|
49 | |||
50 | //*** QLABEL ***// |
|
50 | //*** QLABEL ***// | |
51 | gresbBridgeIPLabel = new QLabel(tr("Bridge IP: ")); |
|
51 | gresbBridgeIPLabel = new QLabel(tr("Bridge IP: ")); | |
52 | gresbVirtualLinkLabel = new QLabel(tr("Virtual Link: ")); |
|
52 | gresbVirtualLinkLabel = new QLabel(tr("Virtual Link: ")); | |
53 | spwLinkLabel = new QLabel(tr("SPW Link: ")); |
|
53 | spwLinkLabel = new QLabel(tr("SPW Link: ")); | |
54 | rmapSourceLogicalAddressLabel = new QLabel(tr("RMAP Source Logical Address: ")); |
|
54 | rmapSourceLogicalAddressLabel = new QLabel(tr("RMAP Source Logical Address: ")); | |
55 | rmapTargetLogicalAddressLabel = new QLabel(tr("RMAP Target Logical Address: ")); |
|
55 | rmapTargetLogicalAddressLabel = new QLabel(tr("RMAP Target Logical Address: ")); | |
56 | logFileName = new QLabel; |
|
56 | logFileName = new QLabel; | |
57 | gresbStatusQueryLabel = new QLabel(tr("Status query socket (port 3010): waiting for connection")); |
|
57 | gresbStatusQueryLabel = new QLabel(tr("Status query socket (port 3010): waiting for connection")); | |
58 | gresbStatusQueryDialogLabel = new QLabel(tr("sockets opened but SpaceWire link not running")); |
|
58 | gresbStatusQueryDialogLabel = new QLabel(tr("sockets opened but SpaceWire link not running")); | |
59 | nbPacketInStore = new QLabel(tr("nb packets in store: -")); |
|
59 | nbPacketInStore = new QLabel(tr("nb packets in store: -")); | |
60 |
|
60 | |||
61 | //*** QPUSHBUTTON ***// |
|
61 | //*** QPUSHBUTTON ***// | |
62 | rmapOpenCommunicationButton = new QPushButton(tr("Open selected bridge")); |
|
62 | rmapOpenCommunicationButton = new QPushButton(tr("Open selected bridge")); | |
63 | rmapCloseCommunicationButton = new QPushButton(tr("Close selected bridge")); |
|
63 | rmapCloseCommunicationButton = new QPushButton(tr("Close selected bridge")); | |
64 | rmapOpenCommunicationButton->setEnabled(false); |
|
64 | rmapOpenCommunicationButton->setEnabled(false); | |
65 | rmapCloseCommunicationButton->setEnabled(false); |
|
65 | rmapCloseCommunicationButton->setEnabled(false); | |
66 | logFileChooseButton = new QPushButton(tr("Choose file")); |
|
66 | logFileChooseButton = new QPushButton(tr("Choose file")); | |
67 | gresbStatusQueryRetryButton = new QPushButton(tr("Retry")); |
|
67 | gresbStatusQueryRetryButton = new QPushButton(tr("Retry")); | |
68 | gresbStatusQueryAbortButton = new QPushButton(tr("Abort")); |
|
68 | gresbStatusQueryAbortButton = new QPushButton(tr("Abort")); | |
69 | clearConsoleButton = new QPushButton(tr("Clear")); |
|
69 | clearConsoleButton = new QPushButton(tr("Clear")); | |
70 |
|
70 | |||
71 | selectGRESB_BUTTON = new QRadioButton(tr("GRESB")); |
|
71 | selectGRESB_BUTTON = new QRadioButton(tr("GRESB")); | |
72 | selectStarDundee_BUTTON = new QRadioButton(tr("Star Dundee")); |
|
72 | selectStarDundee_BUTTON = new QRadioButton(tr("Star Dundee")); | |
73 |
|
73 | |||
74 | //*** SPINBOX ***// |
|
74 | //*** SPINBOX ***// | |
75 | gresbVirtualLinkSpinBox = new QSpinBox; |
|
75 | gresbVirtualLinkSpinBox = new QSpinBox; | |
76 | rmapSourceLogicalAddressSpinBox = new QSpinBox; |
|
76 | rmapSourceLogicalAddressSpinBox = new QSpinBox; | |
77 | rmapTargetLogicalAddressSpinBox = new QSpinBox; |
|
77 | rmapTargetLogicalAddressSpinBox = new QSpinBox; | |
78 | spwLinkSpinBox = new QSpinBox;; |
|
78 | spwLinkSpinBox = new QSpinBox;; | |
79 | CCSDSTargetLogicalAddressSpinBox = new QSpinBox; |
|
79 | CCSDSTargetLogicalAddressSpinBox = new QSpinBox; | |
80 | gresbVirtualLinkSpinBox->setRange(0, 4); |
|
80 | gresbVirtualLinkSpinBox->setRange(0, 4); | |
81 | gresbVirtualLinkSpinBox->setValue(1); |
|
81 | gresbVirtualLinkSpinBox->setValue(1); | |
82 | rmapSourceLogicalAddressSpinBox->setRange(0, 255); |
|
82 | rmapSourceLogicalAddressSpinBox->setRange(0, 255); | |
83 | rmapTargetLogicalAddressSpinBox->setRange(0, 255); |
|
83 | rmapTargetLogicalAddressSpinBox->setRange(0, 255); | |
84 | spwLinkSpinBox->setRange(0, 2); |
|
84 | spwLinkSpinBox->setRange(0, 2); | |
85 | spwLinkSpinBox->setValue(0); |
|
85 | spwLinkSpinBox->setValue(0); | |
86 |
|
86 | |||
87 | //*** MISC **// |
|
87 | //*** MISC **// | |
88 | starDundee = new StarDundee; |
|
88 | starDundee = new StarDundee; | |
89 | gresbBridge = new gresb; |
|
89 | gresbBridge = new gresb; | |
90 | tmEchoBridge = new TMEchoBridge(); |
|
90 | tmEchoBridge = new TMEchoBridge(); | |
91 | console = new QTextEdit; |
|
91 | console = new QTextEdit; | |
92 | gresbStatusQueryDialog = new QDialog; |
|
92 | gresbStatusQueryDialog = new QDialog; | |
93 | logEnableCheckBox = new QCheckBox(tr("Enable Logs")); |
|
93 | logEnableCheckBox = new QCheckBox(tr("Enable Logs")); | |
94 | RMAP_write_verify = new QCheckBox(tr("data checked before write\nlimited to 4 bytes\nNOT IMPLEMENTED")); |
|
94 | RMAP_write_verify = new QCheckBox(tr("data checked before write\nlimited to 4 bytes\nNOT IMPLEMENTED")); | |
95 | RMAP_write_reply = new QCheckBox(tr("reply to the write command required\nlast reply status: unavailable")); |
|
95 | RMAP_write_reply = new QCheckBox(tr("reply to the write command required\nlast reply status: unavailable")); | |
96 | logFile = new QFile(); |
|
96 | logFile = new QFile(); | |
97 | wfDisplay = new WFDisplay(); |
|
97 | wfDisplay = new WFDisplay(); | |
98 | tmStatistics = new TMStatistics(); |
|
98 | tmStatistics = new TMStatistics(); | |
99 |
|
99 | |||
100 | logFileEn = false; |
|
100 | logFileEn = false; | |
101 |
|
101 | |||
102 | connectionLayout->setRowStretch(7, 1); |
|
102 | connectionLayout->setRowStretch(7, 1); | |
103 | connectionLayout->setColumnStretch(2, 1); |
|
103 | connectionLayout->setColumnStretch(2, 1); | |
104 |
|
104 | |||
105 | bridgeSelection_LAYOUT->addWidget(selectGRESB_BUTTON, 0, 0, 1, 1); |
|
105 | bridgeSelection_LAYOUT->addWidget(selectGRESB_BUTTON, 0, 0, 1, 1); | |
106 | bridgeSelection_LAYOUT->addWidget(selectStarDundee_BUTTON, 0, 1, 1, 1); |
|
106 | bridgeSelection_LAYOUT->addWidget(selectStarDundee_BUTTON, 0, 1, 1, 1); | |
107 |
|
107 | |||
108 | bridgeSelection_LAYOUT->setRowStretch(1, 1); |
|
108 | bridgeSelection_LAYOUT->setRowStretch(1, 1); | |
109 | bridgeSelection_LAYOUT->setColumnStretch(2, 1); |
|
109 | bridgeSelection_LAYOUT->setColumnStretch(2, 1); | |
110 |
|
110 | |||
111 | generalParameters_LAYOUT->addWidget(logEnableCheckBox, 0, 0, 1, 1); |
|
111 | generalParameters_LAYOUT->addWidget(logEnableCheckBox, 0, 0, 1, 1); | |
112 | generalParameters_LAYOUT->addWidget(logFileChooseButton, 0, 1, 1, 1); |
|
112 | generalParameters_LAYOUT->addWidget(logFileChooseButton, 0, 1, 1, 1); | |
113 | generalParameters_LAYOUT->addWidget(rmapSourceLogicalAddressLabel, 1, 0, 0); |
|
113 | generalParameters_LAYOUT->addWidget(rmapSourceLogicalAddressLabel, 1, 0, 0); | |
114 | generalParameters_LAYOUT->addWidget(rmapSourceLogicalAddressSpinBox, 1, 1, 0); |
|
114 | generalParameters_LAYOUT->addWidget(rmapSourceLogicalAddressSpinBox, 1, 1, 0); | |
115 | generalParameters_LAYOUT->addWidget(rmapTargetLogicalAddressLabel, 2, 0, 0); |
|
115 | generalParameters_LAYOUT->addWidget(rmapTargetLogicalAddressLabel, 2, 0, 0); | |
116 | generalParameters_LAYOUT->addWidget(rmapTargetLogicalAddressSpinBox, 2, 1, 0); |
|
116 | generalParameters_LAYOUT->addWidget(rmapTargetLogicalAddressSpinBox, 2, 1, 0); | |
117 | generalParameters_LAYOUT->addWidget(rmapOpenCommunicationButton, 3, 0, 1, 1); |
|
117 | generalParameters_LAYOUT->addWidget(rmapOpenCommunicationButton, 3, 0, 1, 1); | |
118 | generalParameters_LAYOUT->addWidget(rmapCloseCommunicationButton, 3, 1, 1, 1); |
|
118 | generalParameters_LAYOUT->addWidget(rmapCloseCommunicationButton, 3, 1, 1, 1); | |
119 | generalParameters_LAYOUT->addWidget(RMAP_write_verify, 4, 0, 1, 2); |
|
119 | generalParameters_LAYOUT->addWidget(RMAP_write_verify, 4, 0, 1, 2); | |
120 | generalParameters_LAYOUT->addWidget(RMAP_write_reply, 5, 0, 1, 2); |
|
120 | generalParameters_LAYOUT->addWidget(RMAP_write_reply, 5, 0, 1, 2); | |
121 |
|
121 | |||
122 | generalParameters_LAYOUT->setRowStretch(6, 1); |
|
122 | generalParameters_LAYOUT->setRowStretch(6, 1); | |
123 | generalParameters_LAYOUT->setColumnStretch(2, 1); |
|
123 | generalParameters_LAYOUT->setColumnStretch(2, 1); | |
124 |
|
124 | |||
125 | gresb_GROUPBOX->setLayout(gresbBridge->layout()); |
|
125 | gresb_GROUPBOX->setLayout(gresbBridge->layout()); | |
126 | gresb_GROUPBOX->setVisible(false); |
|
126 | gresb_GROUPBOX->setVisible(false); | |
127 | stardundee_GROUPBOX->setLayout(starDundee->layout()); |
|
127 | stardundee_GROUPBOX->setLayout(starDundee->layout()); | |
128 | stardundee_GROUPBOX->setVisible(false); |
|
128 | stardundee_GROUPBOX->setVisible(false); | |
129 | selection_GROUPBOX->setLayout(bridgeSelection_LAYOUT); |
|
129 | selection_GROUPBOX->setLayout(bridgeSelection_LAYOUT); | |
130 | generalParameters_GROUPBOX->setLayout(generalParameters_LAYOUT); |
|
130 | generalParameters_GROUPBOX->setLayout(generalParameters_LAYOUT); | |
131 | selectionLayout->addWidget(selection_GROUPBOX); |
|
131 | selectionLayout->addWidget(selection_GROUPBOX); | |
132 | selectionLayout->addWidget(generalParameters_GROUPBOX); |
|
132 | selectionLayout->addWidget(generalParameters_GROUPBOX); | |
133 | selectionLayout->addWidget(gresb_GROUPBOX); |
|
133 | selectionLayout->addWidget(gresb_GROUPBOX); | |
134 | selectionLayout->addWidget(stardundee_GROUPBOX); |
|
134 | selectionLayout->addWidget(stardundee_GROUPBOX); | |
135 |
|
135 | |||
136 | //******** |
|
136 | //******** | |
137 | // CONSOLE |
|
137 | // CONSOLE | |
138 | consoleLayout->addWidget(console); |
|
138 | consoleLayout->addWidget(console); | |
139 | consoleLayout->addWidget(clearConsoleButton); |
|
139 | consoleLayout->addWidget(clearConsoleButton); | |
140 | consoleLayout->addWidget(nbPacketInStore); |
|
140 | consoleLayout->addWidget(nbPacketInStore); | |
141 |
|
141 | |||
142 | connect(this->logFileChooseButton, SIGNAL(clicked()), this, SLOT(chooseLogFile())); |
|
142 | connect(this->logFileChooseButton, SIGNAL(clicked()), this, SLOT(chooseLogFile())); | |
143 | connect(this, SIGNAL(setLogFileName(QString)), this->logFileName, SLOT(setText(QString))); |
|
143 | connect(this, SIGNAL(setLogFileName(QString)), this->logFileName, SLOT(setText(QString))); | |
144 | connect(this->logEnableCheckBox, SIGNAL(stateChanged(int)), this, SLOT(logFileEnDisable(int))); |
|
144 | connect(this->logEnableCheckBox, SIGNAL(stateChanged(int)), this, SLOT(logFileEnDisable(int))); | |
145 |
|
145 | |||
146 | spwTabWidget->addTab(spwTabWidgetPage0, tr("connection")); |
|
146 | spwTabWidget->addTab(spwTabWidgetPage0, tr("connection")); | |
147 | spwTabWidget->addTab(spwTabWidgetPage2, tr("status")); |
|
147 | spwTabWidget->addTab(spwTabWidgetPage2, tr("status")); | |
148 | spwTabWidget->addTab(spwTabWidgetPage3, tr("console")); |
|
148 | spwTabWidget->addTab(spwTabWidgetPage3, tr("console")); | |
149 | spwTabWidget->addTab(spwTabWidgetPage4, tr("TM statistics")); |
|
149 | spwTabWidget->addTab(spwTabWidgetPage4, tr("TM statistics")); | |
150 | spwTabWidget->addTab(spwTabWidgetPage5, tr("waveforms")); |
|
150 | //spwTabWidget->addTab(spwTabWidgetPage5, tr("waveforms")); | |
151 | spwTabWidget->addTab(spwTabWidgetPage6, tr("TM Echo Bridge")); |
|
151 | spwTabWidget->addTab(spwTabWidgetPage6, tr("TM Echo Bridge")); | |
152 |
|
152 | |||
153 | spwTabWidgetPage0->setLayout(selectionLayout); |
|
153 | spwTabWidgetPage0->setLayout(selectionLayout); | |
154 | spwTabWidgetPage2->setLayout(this->gresbBridge->spwLinkStatusEnquiry->mainLayout); |
|
154 | spwTabWidgetPage2->setLayout(this->gresbBridge->spwLinkStatusEnquiry->mainLayout); | |
155 | spwTabWidgetPage3->setLayout(consoleLayout); |
|
155 | spwTabWidgetPage3->setLayout(consoleLayout); | |
156 | spwTabWidgetPage4->setLayout(tmStatistics->layout()); |
|
156 | spwTabWidgetPage4->setLayout(tmStatistics->layout()); | |
157 | spwTabWidgetPage5->setLayout(wfDisplay->layout()); |
|
157 | spwTabWidgetPage5->setLayout(wfDisplay->layout()); | |
158 | spwTabWidgetPage6->setLayout(tmEchoBridge->layout()); |
|
158 | spwTabWidgetPage6->setLayout(tmEchoBridge->layout()); | |
159 |
|
159 | |||
160 | mainLayout->addWidget(spwTabWidget); |
|
160 | mainLayout->addWidget(spwTabWidget); | |
161 | setLayout(mainLayout); |
|
161 | setLayout(mainLayout); | |
162 |
|
162 | |||
163 | connect(this->clearConsoleButton, SIGNAL(clicked()), this->console, SLOT(clear())); |
|
163 | connect(this->clearConsoleButton, SIGNAL(clicked()), this->console, SLOT(clear())); | |
164 |
|
164 | |||
165 | // briges |
|
165 | // briges | |
166 | connect(this->selectGRESB_BUTTON, SIGNAL(clicked()), this, SLOT(selectionBetweenGresbAndStarDundee())); |
|
166 | connect(this->selectGRESB_BUTTON, SIGNAL(clicked()), this, SLOT(selectionBetweenGresbAndStarDundee())); | |
167 | connect(this->selectStarDundee_BUTTON, SIGNAL(clicked()), this, SLOT(selectionBetweenGresbAndStarDundee())); |
|
167 | connect(this->selectStarDundee_BUTTON, SIGNAL(clicked()), this, SLOT(selectionBetweenGresbAndStarDundee())); | |
168 | connect(this->starDundee, SIGNAL(isOpen(bool)), this, SLOT(isOpen(bool))); |
|
168 | connect(this->starDundee, SIGNAL(isOpen(bool)), this, SLOT(isOpen(bool))); | |
169 | connect(this->gresbBridge, SIGNAL(isOpen(bool)), this, SLOT(isOpen(bool))); |
|
169 | connect(this->gresbBridge, SIGNAL(isOpen(bool)), this, SLOT(isOpen(bool))); | |
170 |
|
170 | |||
171 | connect(this->rmapSourceLogicalAddressSpinBox, SIGNAL(valueChanged(int)), this->gresbBridge, SLOT(sourceHasChanged(int))); |
|
171 | connect(this->rmapSourceLogicalAddressSpinBox, SIGNAL(valueChanged(int)), this->gresbBridge, SLOT(sourceHasChanged(int))); | |
172 | connect(this->rmapTargetLogicalAddressSpinBox, SIGNAL(valueChanged(int)), this->gresbBridge, SLOT(targetHasChanged(int))); |
|
172 | connect(this->rmapTargetLogicalAddressSpinBox, SIGNAL(valueChanged(int)), this->gresbBridge, SLOT(targetHasChanged(int))); | |
173 | connect(this->rmapSourceLogicalAddressSpinBox, SIGNAL(valueChanged(int)), this->starDundee, SLOT(sourceHasChanged(int))); |
|
173 | connect(this->rmapSourceLogicalAddressSpinBox, SIGNAL(valueChanged(int)), this->starDundee, SLOT(sourceHasChanged(int))); | |
174 | connect(this->rmapTargetLogicalAddressSpinBox, SIGNAL(valueChanged(int)), this->starDundee, SLOT(targetHasChanged(int))); |
|
174 | connect(this->rmapTargetLogicalAddressSpinBox, SIGNAL(valueChanged(int)), this->starDundee, SLOT(targetHasChanged(int))); | |
175 |
|
175 | |||
176 | // command code |
|
176 | // command code | |
177 | connect(this->RMAP_write_reply, SIGNAL(clicked()), this, SLOT(getCommandCode())); |
|
177 | connect(this->RMAP_write_reply, SIGNAL(clicked()), this, SLOT(getCommandCode())); | |
178 | connect(this->RMAP_write_verify, SIGNAL(clicked()), this, SLOT(getCommandCode())); |
|
178 | connect(this->RMAP_write_verify, SIGNAL(clicked()), this, SLOT(getCommandCode())); | |
179 | connect(this, SIGNAL(commandCodeHasChanged(RMAP_command_codes)), |
|
179 | connect(this, SIGNAL(commandCodeHasChanged(RMAP_command_codes)), | |
180 | this->starDundee, SLOT(commandCodeHasChanged(RMAP_command_codes))); |
|
180 | this->starDundee, SLOT(commandCodeHasChanged(RMAP_command_codes))); | |
181 | connect(this, SIGNAL(commandCodeHasChanged(RMAP_command_codes)), |
|
181 | connect(this, SIGNAL(commandCodeHasChanged(RMAP_command_codes)), | |
182 | this->gresbBridge, SLOT(commandCodeHasChanged(RMAP_command_codes))); |
|
182 | this->gresbBridge, SLOT(commandCodeHasChanged(RMAP_command_codes))); | |
183 |
|
183 | |||
184 | getCommandCode(); // init the command code value |
|
184 | getCommandCode(); // init the command code value | |
185 | rmapSourceLogicalAddressSpinBox->setValue(DEFAULT_SOURCE); |
|
185 | rmapSourceLogicalAddressSpinBox->setValue(DEFAULT_SOURCE); | |
186 | rmapTargetLogicalAddressSpinBox->setValue(DEFAULT_TARGET); |
|
186 | rmapTargetLogicalAddressSpinBox->setValue(DEFAULT_TARGET); | |
187 | } |
|
187 | } | |
188 |
|
188 | |||
189 | rmapPluginUI::~rmapPluginUI() |
|
189 | rmapPluginUI::~rmapPluginUI() | |
190 | { |
|
190 | { | |
191 | //delete ui; |
|
191 | //delete ui; | |
192 | } |
|
192 | } | |
193 |
|
193 | |||
194 | void rmapPluginUI::chooseLogFile() |
|
194 | void rmapPluginUI::chooseLogFile() | |
195 | { |
|
195 | { | |
196 | if(this->logFile->isOpen()) |
|
196 | if(this->logFile->isOpen()) | |
197 | this->logFile->close(); |
|
197 | this->logFile->close(); | |
198 | this->logFile->setFileName(QFileDialog::getSaveFileName(this,tr("Open Log file"), |
|
198 | this->logFile->setFileName(QFileDialog::getSaveFileName(this,tr("Open Log file"), | |
199 | QDir::homePath() |
|
199 | QDir::homePath() | |
200 | + "/" |
|
200 | + "/" | |
201 | + QDate::currentDate().toString() |
|
201 | + QDate::currentDate().toString() | |
202 | + "_" |
|
202 | + "_" | |
203 | + QTime::currentTime().toString() |
|
203 | + QTime::currentTime().toString() | |
204 | + "_rmapPluginUI.log", |
|
204 | + "_rmapPluginUI.log", | |
205 | tr("Log Files (*.txt *.log)"))); |
|
205 | tr("Log Files (*.txt *.log)"))); | |
206 | if(this->logFile->open(QIODevice::WriteOnly)) |
|
206 | if(this->logFile->open(QIODevice::WriteOnly)) | |
207 | { |
|
207 | { | |
208 | this->logFileStrm = new QTextStream(this->logFile); |
|
208 | this->logFileStrm = new QTextStream(this->logFile); | |
209 | emit this->setLogFileName(this->logFile->fileName()); |
|
209 | emit this->setLogFileName(this->logFile->fileName()); | |
210 | } |
|
210 | } | |
211 | } |
|
211 | } | |
212 |
|
212 | |||
213 | void rmapPluginUI::logFileEnDisable(int state) |
|
213 | void rmapPluginUI::logFileEnDisable(int state) | |
214 | { |
|
214 | { | |
215 | if(state==Qt::Checked) |
|
215 | if(state==Qt::Checked) | |
216 | { |
|
216 | { | |
217 | this->logFileEn = true; |
|
217 | this->logFileEn = true; | |
218 | } |
|
218 | } | |
219 | else if(state==Qt::Unchecked) |
|
219 | else if(state==Qt::Unchecked) | |
220 | { |
|
220 | { | |
221 | this->logFileEn = false; |
|
221 | this->logFileEn = false; | |
222 | } |
|
222 | } | |
223 | } |
|
223 | } | |
224 |
|
224 | |||
225 | bool rmapPluginUI::islogfileenable() |
|
225 | bool rmapPluginUI::islogfileenable() | |
226 | { |
|
226 | { | |
227 | return this->logFileEn; |
|
227 | return this->logFileEn; | |
228 | } |
|
228 | } | |
229 |
|
229 | |||
230 | void rmapPluginUI::appendToLogFile(const QString & text) |
|
230 | void rmapPluginUI::appendToLogFile(const QString & text) | |
231 | { |
|
231 | { | |
232 | if(this->logFileEn && this->logFile->isOpen()) |
|
232 | if(this->logFileEn && this->logFile->isOpen()) | |
233 | { |
|
233 | { | |
234 | *(this->logFileStrm) << text << endl; |
|
234 | *(this->logFileStrm) << text << endl; | |
235 | } |
|
235 | } | |
236 | } |
|
236 | } | |
237 |
|
237 | |||
238 | void rmapPluginUI::closeEvent(QCloseEvent *event) |
|
238 | void rmapPluginUI::closeEvent(QCloseEvent *event) | |
239 | { |
|
239 | { | |
240 | if(this->logFile->isOpen()) |
|
240 | if(this->logFile->isOpen()) | |
241 | { |
|
241 | { | |
242 | this->logFileStrm->flush(); |
|
242 | this->logFileStrm->flush(); | |
243 | this->logFile->waitForBytesWritten(3000); |
|
243 | this->logFile->waitForBytesWritten(3000); | |
244 | this->logFile->close(); |
|
244 | this->logFile->close(); | |
245 | } |
|
245 | } | |
246 | event->accept(); |
|
246 | event->accept(); | |
247 | } |
|
247 | } | |
248 |
|
248 | |||
249 | RMAP_command_codes rmapPluginUI::getCommandCode() |
|
249 | RMAP_command_codes rmapPluginUI::getCommandCode() | |
250 | { |
|
250 | { | |
251 | RMAP_command_codes commandCode = invalid0; |
|
251 | RMAP_command_codes commandCode = invalid0; | |
252 | if (RMAP_write_verify->isChecked() and RMAP_write_reply->isChecked()) commandCode = writeSingle_ver_rep; |
|
252 | if (RMAP_write_verify->isChecked() and RMAP_write_reply->isChecked()) commandCode = writeSingle_ver_rep; | |
253 | if (RMAP_write_verify->isChecked() and !RMAP_write_reply->isChecked()) commandCode = writeSingle_ver_noRep; |
|
253 | if (RMAP_write_verify->isChecked() and !RMAP_write_reply->isChecked()) commandCode = writeSingle_ver_noRep; | |
254 | if (!RMAP_write_verify->isChecked() and RMAP_write_reply->isChecked()) commandCode = writeSingle_noVer_Rep; |
|
254 | if (!RMAP_write_verify->isChecked() and RMAP_write_reply->isChecked()) commandCode = writeSingle_noVer_Rep; | |
255 | if (!RMAP_write_verify->isChecked() and !RMAP_write_reply->isChecked()) commandCode = writeSingle_noVer_noRep; |
|
255 | if (!RMAP_write_verify->isChecked() and !RMAP_write_reply->isChecked()) commandCode = writeSingle_noVer_noRep; | |
256 | emit commandCodeHasChanged(commandCode); |
|
256 | emit commandCodeHasChanged(commandCode); | |
257 | return commandCode; |
|
257 | return commandCode; | |
258 | } |
|
258 | } | |
259 |
|
259 | |||
260 | // SLOT |
|
260 | // SLOT | |
261 |
|
261 | |||
262 | void rmapPluginUI::selectionBetweenGresbAndStarDundee() //SLOT |
|
262 | void rmapPluginUI::selectionBetweenGresbAndStarDundee() //SLOT | |
263 | { |
|
263 | { | |
264 | if (selectGRESB_BUTTON->isChecked()) |
|
264 | if (selectGRESB_BUTTON->isChecked()) | |
265 | { |
|
265 | { | |
266 | gresb_GROUPBOX->setVisible(true); |
|
266 | gresb_GROUPBOX->setVisible(true); | |
267 | stardundee_GROUPBOX->setVisible(false); |
|
267 | stardundee_GROUPBOX->setVisible(false); | |
268 | rmapOpenCommunicationButton->setEnabled(true); |
|
268 | rmapOpenCommunicationButton->setEnabled(true); | |
269 | emit bridgeHasChanged(selectedBridgeIsGRESB); |
|
269 | emit bridgeHasChanged(selectedBridgeIsGRESB); | |
270 | } |
|
270 | } | |
271 | if (selectStarDundee_BUTTON->isChecked()) |
|
271 | if (selectStarDundee_BUTTON->isChecked()) | |
272 | { |
|
272 | { | |
273 | stardundee_GROUPBOX->setVisible(true); |
|
273 | stardundee_GROUPBOX->setVisible(true); | |
274 | gresb_GROUPBOX->setVisible(false); |
|
274 | gresb_GROUPBOX->setVisible(false); | |
275 | rmapOpenCommunicationButton->setEnabled(true); |
|
275 | rmapOpenCommunicationButton->setEnabled(true); | |
276 | emit bridgeHasChanged(selectedBridgeIsStarDundee); |
|
276 | emit bridgeHasChanged(selectedBridgeIsStarDundee); | |
277 | } |
|
277 | } | |
278 | } |
|
278 | } | |
279 |
|
279 | |||
280 | void rmapPluginUI::isOpen(bool flag) |
|
280 | void rmapPluginUI::isOpen(bool flag) | |
281 | { |
|
281 | { | |
282 | if (flag == true) |
|
282 | if (flag == true) | |
283 | { |
|
283 | { | |
284 | selection_GROUPBOX->setEnabled(false); |
|
284 | selection_GROUPBOX->setEnabled(false); | |
285 | this->rmapOpenCommunicationButton->setEnabled(false); |
|
285 | this->rmapOpenCommunicationButton->setEnabled(false); | |
286 | this->rmapCloseCommunicationButton->setEnabled(true); |
|
286 | this->rmapCloseCommunicationButton->setEnabled(true); | |
287 | } |
|
287 | } | |
288 | if (flag == false) |
|
288 | if (flag == false) | |
289 | { |
|
289 | { | |
290 | selection_GROUPBOX->setEnabled(true); |
|
290 | selection_GROUPBOX->setEnabled(true); | |
291 | this->rmapOpenCommunicationButton->setEnabled(true); |
|
291 | this->rmapOpenCommunicationButton->setEnabled(true); | |
292 | this->rmapCloseCommunicationButton->setEnabled(false); |
|
292 | this->rmapCloseCommunicationButton->setEnabled(false); | |
293 | } |
|
293 | } | |
294 | } |
|
294 | } | |
295 |
|
295 | |||
296 |
|
296 |
General Comments 0
You need to be logged in to leave comments.
Login now