Commit 795619dadcbf90743bc2b69b4033da8fe26f077a
1 parent
f373f4f7
git-svn-id: svn://imanolbarba.net/PAD@33 c2ee353e-ed0d-4329-bf56-03aec153487f
Showing
10 changed files
with
347 additions
and
1 deletions
JChatClient/bin/client
No preview for this file type
JChatServer/bin/pad/prac2/JChat$1.class
No preview for this file type
JChatServer/bin/pad/prac2/JChat.class
No preview for this file type
JChatServer/src/pad/prac2/JChat.java
@@ -6,7 +6,6 @@ public class JChat | @@ -6,7 +6,6 @@ public class JChat | ||
6 | { | 6 | { |
7 | public static void main(String[] args) | 7 | public static void main(String[] args) |
8 | { | 8 | { |
9 | - | ||
10 | String ip; | 9 | String ip; |
11 | int port, roomSize; | 10 | int port, roomSize; |
12 | Scanner in = new Scanner(System.in); | 11 | Scanner in = new Scanner(System.in); |
QChatClient/QChatClient.pro
0 → 100644
1 | +#------------------------------------------------- | ||
2 | +# | ||
3 | +# Project created by QtCreator 2013-12-10T14:22:05 | ||
4 | +# | ||
5 | +#------------------------------------------------- | ||
6 | + | ||
7 | +QT += core gui | ||
8 | + | ||
9 | +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | ||
10 | + | ||
11 | +TARGET = QChatClient | ||
12 | +TEMPLATE = app | ||
13 | + | ||
14 | + | ||
15 | +SOURCES += main.cpp\ | ||
16 | + chatwindow.cpp | ||
17 | + | ||
18 | +HEADERS += chatwindow.h | ||
19 | + | ||
20 | +FORMS += chatwindow.ui |
QChatClient/QChatClient.pro.user
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<!DOCTYPE QtCreatorProject> | ||
3 | +<!-- Written by QtCreator 2.7.1, 2013-12-10T14:22:09. --> | ||
4 | +<qtcreator> | ||
5 | + <data> | ||
6 | + <variable>ProjectExplorer.Project.ActiveTarget</variable> | ||
7 | + <value type="int">0</value> | ||
8 | + </data> | ||
9 | + <data> | ||
10 | + <variable>ProjectExplorer.Project.EditorSettings</variable> | ||
11 | + <valuemap type="QVariantMap"> | ||
12 | + <value type="bool" key="EditorConfiguration.AutoIndent">true</value> | ||
13 | + <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> | ||
14 | + <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value> | ||
15 | + <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> | ||
16 | + <value type="QByteArray" key="language">Cpp</value> | ||
17 | + <valuemap type="QVariantMap" key="value"> | ||
18 | + <value type="QString" key="CurrentPreferences">CppGlobal</value> | ||
19 | + </valuemap> | ||
20 | + </valuemap> | ||
21 | + <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> | ||
22 | + <value type="QByteArray" key="language">QmlJS</value> | ||
23 | + <valuemap type="QVariantMap" key="value"> | ||
24 | + <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> | ||
25 | + </valuemap> | ||
26 | + </valuemap> | ||
27 | + <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> | ||
28 | + <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value> | ||
29 | + <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> | ||
30 | + <value type="int" key="EditorConfiguration.IndentSize">4</value> | ||
31 | + <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value> | ||
32 | + <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> | ||
33 | + <value type="int" key="EditorConfiguration.PaddingMode">1</value> | ||
34 | + <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> | ||
35 | + <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> | ||
36 | + <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> | ||
37 | + <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> | ||
38 | + <value type="int" key="EditorConfiguration.TabSize">8</value> | ||
39 | + <value type="bool" key="EditorConfiguration.UseGlobal">true</value> | ||
40 | + <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> | ||
41 | + <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> | ||
42 | + <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> | ||
43 | + <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> | ||
44 | + <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> | ||
45 | + </valuemap> | ||
46 | + </data> | ||
47 | + <data> | ||
48 | + <variable>ProjectExplorer.Project.PluginSettings</variable> | ||
49 | + <valuemap type="QVariantMap"/> | ||
50 | + </data> | ||
51 | + <data> | ||
52 | + <variable>ProjectExplorer.Project.Target.0</variable> | ||
53 | + <valuemap type="QVariantMap"> | ||
54 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value> | ||
55 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value> | ||
56 | + <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">{430bae4e-c8d6-488c-936e-c89fd5587cd0}</value> | ||
57 | + <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> | ||
58 | + <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> | ||
59 | + <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> | ||
60 | + <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> | ||
61 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | ||
62 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | ||
63 | + <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | ||
64 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> | ||
65 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | ||
66 | + <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | ||
67 | + <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | ||
68 | + <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> | ||
69 | + <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | ||
70 | + <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | ||
71 | + </valuemap> | ||
72 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | ||
73 | + <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | ||
74 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | ||
75 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | ||
76 | + <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | ||
77 | + <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> | ||
78 | + <value type="QString">-w</value> | ||
79 | + <value type="QString">-r</value> | ||
80 | + </valuelist> | ||
81 | + <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | ||
82 | + <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | ||
83 | + <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | ||
84 | + </valuemap> | ||
85 | + <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | ||
86 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | ||
87 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | ||
88 | + <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | ||
89 | + </valuemap> | ||
90 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | ||
91 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | ||
92 | + <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | ||
93 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | ||
94 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | ||
95 | + <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | ||
96 | + <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> | ||
97 | + <value type="QString">-w</value> | ||
98 | + <value type="QString">-r</value> | ||
99 | + </valuelist> | ||
100 | + <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | ||
101 | + <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | ||
102 | + <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | ||
103 | + </valuemap> | ||
104 | + <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | ||
105 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | ||
106 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | ||
107 | + <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | ||
108 | + </valuemap> | ||
109 | + <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | ||
110 | + <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | ||
111 | + <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | ||
112 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value> | ||
113 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | ||
114 | + <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | ||
115 | + <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value> | ||
116 | + <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/imanol/devel/eclipse/PAD/build-QChatClient-Desktop-Debug</value> | ||
117 | + <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value> | ||
118 | + </valuemap> | ||
119 | + <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1"> | ||
120 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | ||
121 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | ||
122 | + <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | ||
123 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> | ||
124 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | ||
125 | + <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | ||
126 | + <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | ||
127 | + <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> | ||
128 | + <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | ||
129 | + <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | ||
130 | + </valuemap> | ||
131 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | ||
132 | + <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | ||
133 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | ||
134 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | ||
135 | + <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | ||
136 | + <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> | ||
137 | + <value type="QString">-w</value> | ||
138 | + <value type="QString">-r</value> | ||
139 | + </valuelist> | ||
140 | + <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | ||
141 | + <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | ||
142 | + <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | ||
143 | + </valuemap> | ||
144 | + <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | ||
145 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | ||
146 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | ||
147 | + <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | ||
148 | + </valuemap> | ||
149 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | ||
150 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | ||
151 | + <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | ||
152 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | ||
153 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | ||
154 | + <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | ||
155 | + <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> | ||
156 | + <value type="QString">-w</value> | ||
157 | + <value type="QString">-r</value> | ||
158 | + </valuelist> | ||
159 | + <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | ||
160 | + <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | ||
161 | + <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | ||
162 | + </valuemap> | ||
163 | + <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | ||
164 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | ||
165 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | ||
166 | + <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | ||
167 | + </valuemap> | ||
168 | + <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | ||
169 | + <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | ||
170 | + <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | ||
171 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value> | ||
172 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | ||
173 | + <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | ||
174 | + <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | ||
175 | + <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/imanol/devel/eclipse/PAD/build-QChatClient-Desktop-Release</value> | ||
176 | + <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value> | ||
177 | + </valuemap> | ||
178 | + <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value> | ||
179 | + <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> | ||
180 | + <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | ||
181 | + <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> | ||
182 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> | ||
183 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | ||
184 | + <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> | ||
185 | + </valuemap> | ||
186 | + <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> | ||
187 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy locally</value> | ||
188 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | ||
189 | + <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> | ||
190 | + </valuemap> | ||
191 | + <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> | ||
192 | + <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/> | ||
193 | + <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> | ||
194 | + <value type="bool" key="Analyzer.Project.UseGlobal">true</value> | ||
195 | + <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | ||
196 | + <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | ||
197 | + <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | ||
198 | + <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | ||
199 | + <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | ||
200 | + <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | ||
201 | + <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | ||
202 | + <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | ||
203 | + <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | ||
204 | + <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | ||
205 | + <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | ||
206 | + <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | ||
207 | + <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | ||
208 | + <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | ||
209 | + <value type="int">0</value> | ||
210 | + <value type="int">1</value> | ||
211 | + <value type="int">2</value> | ||
212 | + <value type="int">3</value> | ||
213 | + <value type="int">4</value> | ||
214 | + <value type="int">5</value> | ||
215 | + <value type="int">6</value> | ||
216 | + <value type="int">7</value> | ||
217 | + <value type="int">8</value> | ||
218 | + <value type="int">9</value> | ||
219 | + <value type="int">10</value> | ||
220 | + <value type="int">11</value> | ||
221 | + <value type="int">12</value> | ||
222 | + <value type="int">13</value> | ||
223 | + <value type="int">14</value> | ||
224 | + </valuelist> | ||
225 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">QChatClient</value> | ||
226 | + <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | ||
227 | + <value type="QByteArray" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/home/imanol/devel/eclipse/PAD/QChatClient/QChatClient.pro</value> | ||
228 | + <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value> | ||
229 | + <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> | ||
230 | + <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">QChatClient.pro</value> | ||
231 | + <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value> | ||
232 | + <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value> | ||
233 | + <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/> | ||
234 | + <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value> | ||
235 | + <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> | ||
236 | + <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> | ||
237 | + <value type="bool" key="RunConfiguration.UseMultiProcess">false</value> | ||
238 | + <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | ||
239 | + <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> | ||
240 | + </valuemap> | ||
241 | + <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> | ||
242 | + </valuemap> | ||
243 | + </data> | ||
244 | + <data> | ||
245 | + <variable>ProjectExplorer.Project.TargetCount</variable> | ||
246 | + <value type="int">1</value> | ||
247 | + </data> | ||
248 | + <data> | ||
249 | + <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> | ||
250 | + <value type="QString">{0fd5067a-d849-4d4e-9457-800baef2de83}</value> | ||
251 | + </data> | ||
252 | + <data> | ||
253 | + <variable>ProjectExplorer.Project.Updater.FileVersion</variable> | ||
254 | + <value type="int">12</value> | ||
255 | + </data> | ||
256 | +</qtcreator> |
QChatClient/chatwindow.cpp
0 → 100644
QChatClient/chatwindow.h
0 → 100644
1 | +#ifndef CHATWINDOW_H | ||
2 | +#define CHATWINDOW_H | ||
3 | + | ||
4 | +#include <QMainWindow> | ||
5 | + | ||
6 | +namespace Ui { | ||
7 | +class ChatWindow; | ||
8 | +} | ||
9 | + | ||
10 | +class ChatWindow : public QMainWindow | ||
11 | +{ | ||
12 | + Q_OBJECT | ||
13 | + | ||
14 | +public: | ||
15 | + explicit ChatWindow(QWidget *parent = 0); | ||
16 | + ~ChatWindow(); | ||
17 | + | ||
18 | +private: | ||
19 | + Ui::ChatWindow *ui; | ||
20 | +}; | ||
21 | + | ||
22 | +#endif // CHATWINDOW_H |
QChatClient/chatwindow.ui
0 → 100644
1 | +<ui version="4.0"> | ||
2 | + <class>ChatWindow</class> | ||
3 | + <widget class="QMainWindow" name="ChatWindow" > | ||
4 | + <property name="geometry" > | ||
5 | + <rect> | ||
6 | + <x>0</x> | ||
7 | + <y>0</y> | ||
8 | + <width>400</width> | ||
9 | + <height>300</height> | ||
10 | + </rect> | ||
11 | + </property> | ||
12 | + <property name="windowTitle" > | ||
13 | + <string>ChatWindow</string> | ||
14 | + </property> | ||
15 | + <widget class="QMenuBar" name="menuBar" /> | ||
16 | + <widget class="QToolBar" name="mainToolBar" /> | ||
17 | + <widget class="QWidget" name="centralWidget" /> | ||
18 | + <widget class="QStatusBar" name="statusBar" /> | ||
19 | + </widget> | ||
20 | + <layoutDefault spacing="6" margin="11" /> | ||
21 | + <pixmapfunction></pixmapfunction> | ||
22 | + <resources/> | ||
23 | + <connections/> | ||
24 | +</ui> |