6 files changed, 476 insertions, 466 deletions
diff --git a/noncore/settings/networksettings2/networksettings2/resources.cpp b/noncore/settings/networksettings2/networksettings2/resources.cpp index 2dd91f8..4d46778 100644 --- a/noncore/settings/networksettings2/networksettings2/resources.cpp +++ b/noncore/settings/networksettings2/networksettings2/resources.cpp | |||
@@ -59,54 +59,54 @@ TheNSResources::TheNSResources( void ) : NodeTypeNameMap(), | |||
59 | 59 | ||
60 | for( ; *NeedsRun; NeedsRun ++ ) { | 60 | for( ; *NeedsRun; NeedsRun ++ ) { |
61 | const char ** PRun; | 61 | const char ** PRun; |
62 | PRun = Provides; | 62 | PRun = Provides; |
63 | for( ; *PRun; PRun ++ ) { | 63 | for( ; *PRun; PRun ++ ) { |
64 | if( strcmp( *PRun, *NeedsRun ) == 0 ) { | 64 | if( strcmp( *PRun, *NeedsRun ) == 0 ) { |
65 | // inner provides what outer needs | 65 | // inner provides what outer needs |
66 | NNL.resize( NNL.size() + 1 ); | 66 | NNL.resize( NNL.size() + 1 ); |
67 | NNL[NNL.size()-1] = InnerIt.current(); | 67 | NNL[NNL.size()-1] = InnerIt.current(); |
68 | Done = 1; // break from 2 loops | 68 | Done = 1; // break from 2 loops |
69 | break; | 69 | break; |
70 | } | 70 | } |
71 | } | 71 | } |
72 | } | 72 | } |
73 | } | 73 | } |
74 | OuterIt.current()->setAlternatives( NNLP ); | 74 | OuterIt.current()->setAlternatives( NNLP ); |
75 | } | 75 | } |
76 | } | 76 | } |
77 | 77 | ||
78 | // define built in Node types to Description map | 78 | // define built in Node types to Description map |
79 | addNodeType( "device", tr( "Network Device" ), | 79 | addNodeType( "device", tr( "Network Device" ), |
80 | tr( "<p>Devices that can handle IP packets</p>" ) ); | 80 | tr( "<p>Devices that can handle IP packets</p>" ) ); |
81 | addNodeType( "line", tr( "Character device" ), | 81 | addNodeType( "line", tr( "Character device" ), |
82 | tr( "<p>Devices that can handle single bytes</p>" ) ); | 82 | tr( "<p>Devices that can handle single bytes</p>" ) ); |
83 | addNodeType( "NetworkSetup", tr( "IP NetworkSetup" ), | 83 | addNodeType( "connection", tr( "IP Connection" ), |
84 | tr( "<p>Nodes that provide working IP NetworkSetups</p>" ) ); | 84 | tr( "<p>Nodes that provide working IP connection</p>" ) ); |
85 | addNodeType( "fullsetup", tr( "NetworkSetup Profile" ), | 85 | addNodeType( "fullsetup", tr( "Connection Profile" ), |
86 | tr( "<p>Fully configured NetworkSetup profile</p>" ) ); | 86 | tr( "<p>Fully configured network profile</p>" ) ); |
87 | addNodeType( "GPRS", tr( "NetworkSetup to GPRS device" ), | 87 | addNodeType( "GPRS", tr( "Connection to GPRS device" ), |
88 | tr( "<p>NetworkSetup to a GPRS capable device</p>" ) ); | 88 | tr( "<p>Connection to a GPRS capable device</p>" ) ); |
89 | 89 | ||
90 | // get access to the system | 90 | // get access to the system |
91 | TheSystem = new System(); | 91 | TheSystem = new System(); |
92 | 92 | ||
93 | } | 93 | } |
94 | 94 | ||
95 | TheNSResources::~TheNSResources( void ) { | 95 | TheNSResources::~TheNSResources( void ) { |
96 | 96 | ||
97 | if( Plugins ) { | 97 | if( Plugins ) { |
98 | delete Plugins; | 98 | delete Plugins; |
99 | delete PluginManager; | 99 | delete PluginManager; |
100 | } | 100 | } |
101 | delete TheSystem; | 101 | delete TheSystem; |
102 | 102 | ||
103 | } | 103 | } |
104 | 104 | ||
105 | void TheNSResources::addNodeType( const QString & ID, | 105 | void TheNSResources::addNodeType( const QString & ID, |
106 | const QString & Name, | 106 | const QString & Name, |
107 | const QString & Descr ) { | 107 | const QString & Descr ) { |
108 | if( NodeTypeNameMap[ID].isEmpty() ) { | 108 | if( NodeTypeNameMap[ID].isEmpty() ) { |
109 | NodeTypeNameMap.insert( ID, Name ); | 109 | NodeTypeNameMap.insert( ID, Name ); |
110 | NodeTypeDescriptionMap.insert( ID, Descr ); | 110 | NodeTypeDescriptionMap.insert( ID, Descr ); |
111 | } | 111 | } |
112 | } | 112 | } |
diff --git a/noncore/settings/networksettings2/networksettings2/system.cpp b/noncore/settings/networksettings2/networksettings2/system.cpp index 33cc5bd..82f5c43 100644 --- a/noncore/settings/networksettings2/networksettings2/system.cpp +++ b/noncore/settings/networksettings2/networksettings2/system.cpp | |||
@@ -197,78 +197,90 @@ void System::refreshStatistics( InterfaceInfo & I ) { | |||
197 | QString line; | 197 | QString line; |
198 | QTextStream procTs(ProcDevNet); | 198 | QTextStream procTs(ProcDevNet); |
199 | QStringList SL; | 199 | QStringList SL; |
200 | int loc = -1; | 200 | int loc = -1; |
201 | int version; | 201 | int version; |
202 | 202 | ||
203 | procTs.readLine(); | 203 | procTs.readLine(); |
204 | line = procTs.readLine(); | 204 | line = procTs.readLine(); |
205 | // get version | 205 | // get version |
206 | if( line.find("compressed") ) | 206 | if( line.find("compressed") ) |
207 | version = 3; | 207 | version = 3; |
208 | else if( line.find( "bytes" ) ) | 208 | else if( line.find( "bytes" ) ) |
209 | version = 2; | 209 | version = 2; |
210 | else | 210 | else |
211 | version = 1; | 211 | version = 1; |
212 | while((line = procTs.readLine().simplifyWhiteSpace()) != QString::null) { | 212 | while((line = procTs.readLine().simplifyWhiteSpace()) != QString::null) { |
213 | if( (loc = line.find(":") ) == -1) { | 213 | if( (loc = line.find(":") ) == -1) { |
214 | continue; | 214 | continue; |
215 | } | 215 | } |
216 | 216 | ||
217 | if( I.Name != line.left(loc) ) | 217 | if( I.Name != line.left(loc) ) |
218 | continue; | 218 | continue; |
219 | 219 | ||
220 | // tokenize | 220 | // tokenize |
221 | SL = QStringList::split( ' ', line, FALSE ); | 221 | SL = QStringList::split( ' ', line.mid(loc+1), FALSE ); |
222 | 222 | ||
223 | // update data | 223 | // update data |
224 | switch( version ) { | 224 | switch( version ) { |
225 | case 1 : | 225 | case 1 : |
226 | I.RcvBytes = SL[1]; | 226 | I.RcvBytes = ""; |
227 | I.RcvErrors = SL[3]; | 227 | I.RcvPackets = SL[0]; |
228 | I.RcvDropped = SL[4]; | 228 | I.RcvErrors = SL[1]; |
229 | I.RcvDropped = SL[2]; | ||
230 | |||
231 | I.SndBytes = ""; | ||
232 | I.SndPackets = SL[5]; | ||
233 | I.SndErrors = SL[6]; | ||
234 | I.SndDropped = SL[7]; | ||
235 | |||
236 | I.Collisions = SL[9]; | ||
237 | break; | ||
238 | case 2 : | ||
239 | I.RcvBytes = SL[0]; | ||
240 | I.RcvPackets = SL[1]; | ||
241 | I.RcvErrors = SL[2]; | ||
242 | I.RcvDropped = SL[3]; | ||
243 | |||
229 | I.SndBytes = SL[6]; | 244 | I.SndBytes = SL[6]; |
245 | I.SndPackets = SL[7]; | ||
230 | I.SndErrors = SL[8]; | 246 | I.SndErrors = SL[8]; |
231 | I.SndDropped = SL[9]; | 247 | I.SndDropped = SL[9]; |
248 | |||
232 | I.Collisions = SL[11]; | 249 | I.Collisions = SL[11]; |
233 | break; | 250 | break; |
234 | case 2 : | ||
235 | I.RcvBytes = SL[1]; | ||
236 | I.RcvErrors = SL[3]; | ||
237 | I.RcvDropped = SL[4]; | ||
238 | I.SndBytes = SL[7]; | ||
239 | I.SndErrors = SL[9]; | ||
240 | I.SndDropped = SL[10]; | ||
241 | I.Collisions = SL[12]; | ||
242 | break; | ||
243 | case 3 : | 251 | case 3 : |
244 | I.RcvBytes = SL[1]; | 252 | I.RcvBytes = SL[0]; |
245 | I.RcvErrors = SL[3]; | 253 | I.RcvPackets = SL[1]; |
246 | I.RcvDropped = SL[4]; | 254 | I.RcvErrors = SL[2]; |
247 | I.SndBytes = SL[9]; | 255 | I.RcvDropped = SL[3]; |
248 | I.SndErrors = SL[11]; | 256 | |
249 | I.SndDropped = SL[12]; | 257 | I.SndBytes = SL[8]; |
250 | I.Collisions = SL[14]; | 258 | I.SndPackets = SL[9]; |
259 | I.SndErrors = SL[10]; | ||
260 | I.SndDropped = SL[11]; | ||
261 | |||
262 | I.Collisions = SL[13]; | ||
251 | break; | 263 | break; |
252 | } | 264 | } |
253 | break; | 265 | break; |
254 | } | 266 | } |
255 | } | 267 | } |
256 | 268 | ||
257 | // | 269 | // |
258 | // THIS UPDATES THE LIST -> INTERFACES ARE NOT DELETED BUT | 270 | // THIS UPDATES THE LIST -> INTERFACES ARE NOT DELETED BUT |
259 | // FLAGGED AS ! 'IsUp' IF NO LONGER PRESENT | 271 | // FLAGGED AS ! 'IsUp' IF NO LONGER PRESENT |
260 | // | 272 | // |
261 | 273 | ||
262 | void System::probeInterfaces( void ) { | 274 | void System::probeInterfaces( void ) { |
263 | 275 | ||
264 | // probe interfaces | 276 | // probe interfaces |
265 | int sockfd; | 277 | int sockfd; |
266 | // get list of all interfaces | 278 | // get list of all interfaces |
267 | struct ifreq ifrs; | 279 | struct ifreq ifrs; |
268 | InterfaceInfo * IFI; | 280 | InterfaceInfo * IFI; |
269 | 281 | ||
270 | // flag all as 'down' | 282 | // flag all as 'down' |
271 | for( QDictIterator<InterfaceInfo> it( ProbedInterfaces ); | 283 | for( QDictIterator<InterfaceInfo> it( ProbedInterfaces ); |
272 | it.current(); | 284 | it.current(); |
273 | ++it ) { | 285 | ++it ) { |
274 | it.current()->IsUp = 0; | 286 | it.current()->IsUp = 0; |
diff --git a/noncore/settings/networksettings2/networksettings2/system.h b/noncore/settings/networksettings2/networksettings2/system.h index 794b868..52613d8 100644 --- a/noncore/settings/networksettings2/networksettings2/system.h +++ b/noncore/settings/networksettings2/networksettings2/system.h | |||
@@ -64,52 +64,55 @@ public : | |||
64 | BCastAddress(), | 64 | BCastAddress(), |
65 | Netmask(), | 65 | Netmask(), |
66 | DstAddress() { | 66 | DstAddress() { |
67 | } | 67 | } |
68 | 68 | ||
69 | NetworkSetup * assignedToNetworkSetup() | 69 | NetworkSetup * assignedToNetworkSetup() |
70 | { return Collection; } | 70 | { return Collection; } |
71 | 71 | ||
72 | void assignToNetworkSetup( NetworkSetup * NNI ) | 72 | void assignToNetworkSetup( NetworkSetup * NNI ) |
73 | { Collection = NNI; } | 73 | { Collection = NNI; } |
74 | 74 | ||
75 | NetworkSetup * Collection; // networkSetup taking care of me | 75 | NetworkSetup * Collection; // networkSetup taking care of me |
76 | QString Name; // name of interface | 76 | QString Name; // name of interface |
77 | int CardType; // type of card | 77 | int CardType; // type of card |
78 | QString MACAddress; // MAC address | 78 | QString MACAddress; // MAC address |
79 | QString Address; // IP Address | 79 | QString Address; // IP Address |
80 | QString BCastAddress; // Broadcast Address | 80 | QString BCastAddress; // Broadcast Address |
81 | QString Netmask; // Netmask | 81 | QString Netmask; // Netmask |
82 | QString DstAddress; // Peer address (if P-t-P) | 82 | QString DstAddress; // Peer address (if P-t-P) |
83 | bool IsUp; // interface is UP | 83 | bool IsUp; // interface is UP |
84 | bool HasMulticast; // Supports Multicast | 84 | bool HasMulticast; // Supports Multicast |
85 | bool IsPointToPoint; // IsPointToPoint card | 85 | bool IsPointToPoint; // IsPointToPoint card |
86 | 86 | ||
87 | QString RcvBytes; | 87 | QString RcvBytes; |
88 | QString SndBytes; | ||
89 | QString RcvErrors; | 88 | QString RcvErrors; |
90 | QString SndErrors; | 89 | QString RcvPackets; |
91 | QString RcvDropped; | 90 | QString RcvDropped; |
91 | |||
92 | QString SndBytes; | ||
93 | QString SndErrors; | ||
94 | QString SndPackets; | ||
92 | QString SndDropped; | 95 | QString SndDropped; |
93 | QString Collisions; | 96 | QString Collisions; |
94 | }; | 97 | }; |
95 | 98 | ||
96 | class System : public QObject { | 99 | class System : public QObject { |
97 | 100 | ||
98 | Q_OBJECT | 101 | Q_OBJECT |
99 | 102 | ||
100 | public : | 103 | public : |
101 | 104 | ||
102 | System( void ); | 105 | System( void ); |
103 | ~System( void ); | 106 | ~System( void ); |
104 | 107 | ||
105 | QDict<InterfaceInfo> & interfaces( void ); | 108 | QDict<InterfaceInfo> & interfaces( void ); |
106 | InterfaceInfo * interface( const QString& N ) | 109 | InterfaceInfo * interface( const QString& N ) |
107 | { return interfaces()[N]; } | 110 | { return interfaces()[N]; } |
108 | 111 | ||
109 | // exec command as root | 112 | // exec command as root |
110 | int runAsRoot( QStringList & S, MyProcess * Prc = 0 ); | 113 | int runAsRoot( QStringList & S, MyProcess * Prc = 0 ); |
111 | 114 | ||
112 | // exec command as user | 115 | // exec command as user |
113 | int execAsUser( QStringList & Cmd, bool Synchronous = 0 ); | 116 | int execAsUser( QStringList & Cmd, bool Synchronous = 0 ); |
114 | 117 | ||
115 | // refresh stats for this interface | 118 | // refresh stats for this interface |
diff --git a/noncore/settings/networksettings2/profile/profileGUI.ui b/noncore/settings/networksettings2/profile/profileGUI.ui index 5bf9a9c..8b421e8 100644 --- a/noncore/settings/networksettings2/profile/profileGUI.ui +++ b/noncore/settings/networksettings2/profile/profileGUI.ui | |||
@@ -1,59 +1,59 @@ | |||
1 | <!DOCTYPE UI><UI> | 1 | <!DOCTYPE UI><UI> |
2 | <class>ProfileGUI</class> | 2 | <class>ProfileGUI</class> |
3 | <widget> | 3 | <widget> |
4 | <class>QWidget</class> | 4 | <class>QWidget</class> |
5 | <property stdset="1"> | 5 | <property stdset="1"> |
6 | <name>name</name> | 6 | <name>name</name> |
7 | <cstring>Profile_FRM</cstring> | 7 | <cstring>Profile_FRM</cstring> |
8 | </property> | 8 | </property> |
9 | <property stdset="1"> | 9 | <property stdset="1"> |
10 | <name>geometry</name> | 10 | <name>geometry</name> |
11 | <rect> | 11 | <rect> |
12 | <x>0</x> | 12 | <x>0</x> |
13 | <y>0</y> | 13 | <y>0</y> |
14 | <width>276</width> | 14 | <width>551</width> |
15 | <height>231</height> | 15 | <height>547</height> |
16 | </rect> | 16 | </rect> |
17 | </property> | 17 | </property> |
18 | <property stdset="1"> | 18 | <property stdset="1"> |
19 | <name>caption</name> | 19 | <name>caption</name> |
20 | <string>Profile</string> | 20 | <string>Profile</string> |
21 | </property> | 21 | </property> |
22 | <property> | 22 | <property> |
23 | <name>layoutMargin</name> | 23 | <name>layoutMargin</name> |
24 | </property> | 24 | </property> |
25 | <property> | 25 | <property> |
26 | <name>layoutSpacing</name> | 26 | <name>layoutSpacing</name> |
27 | </property> | 27 | </property> |
28 | <vbox> | 28 | <vbox> |
29 | <property stdset="1"> | 29 | <property stdset="1"> |
30 | <name>margin</name> | 30 | <name>margin</name> |
31 | <number>0</number> | 31 | <number>1</number> |
32 | </property> | 32 | </property> |
33 | <property stdset="1"> | 33 | <property stdset="1"> |
34 | <name>spacing</name> | 34 | <name>spacing</name> |
35 | <number>0</number> | 35 | <number>3</number> |
36 | </property> | 36 | </property> |
37 | <widget> | 37 | <widget> |
38 | <class>QTabWidget</class> | 38 | <class>QTabWidget</class> |
39 | <property stdset="1"> | 39 | <property stdset="1"> |
40 | <name>name</name> | 40 | <name>name</name> |
41 | <cstring>TabWidget6</cstring> | 41 | <cstring>TabWidget6</cstring> |
42 | </property> | 42 | </property> |
43 | <property> | 43 | <property> |
44 | <name>layoutMargin</name> | 44 | <name>layoutMargin</name> |
45 | </property> | 45 | </property> |
46 | <property> | 46 | <property> |
47 | <name>layoutSpacing</name> | 47 | <name>layoutSpacing</name> |
48 | </property> | 48 | </property> |
49 | <widget> | 49 | <widget> |
50 | <class>QWidget</class> | 50 | <class>QWidget</class> |
51 | <property stdset="1"> | 51 | <property stdset="1"> |
52 | <name>name</name> | 52 | <name>name</name> |
53 | <cstring>tab</cstring> | 53 | <cstring>tab</cstring> |
54 | </property> | 54 | </property> |
55 | <attribute> | 55 | <attribute> |
56 | <name>title</name> | 56 | <name>title</name> |
57 | <string>Setup</string> | 57 | <string>Setup</string> |
58 | </attribute> | 58 | </attribute> |
59 | <vbox> | 59 | <vbox> |
@@ -927,859 +927,828 @@ | |||
927 | </property> | 927 | </property> |
928 | </spacer> | 928 | </spacer> |
929 | </vbox> | 929 | </vbox> |
930 | </widget> | 930 | </widget> |
931 | <widget> | 931 | <widget> |
932 | <class>QWidget</class> | 932 | <class>QWidget</class> |
933 | <property stdset="1"> | 933 | <property stdset="1"> |
934 | <name>name</name> | 934 | <name>name</name> |
935 | <cstring>tab</cstring> | 935 | <cstring>tab</cstring> |
936 | </property> | 936 | </property> |
937 | <attribute> | 937 | <attribute> |
938 | <name>title</name> | 938 | <name>title</name> |
939 | <string>Traffic</string> | 939 | <string>Traffic</string> |
940 | </attribute> | 940 | </attribute> |
941 | <vbox> | 941 | <vbox> |
942 | <property stdset="1"> | 942 | <property stdset="1"> |
943 | <name>margin</name> | 943 | <name>margin</name> |
944 | <number>0</number> | 944 | <number>0</number> |
945 | </property> | 945 | </property> |
946 | <property stdset="1"> | 946 | <property stdset="1"> |
947 | <name>spacing</name> | 947 | <name>spacing</name> |
948 | <number>0</number> | 948 | <number>0</number> |
949 | </property> | 949 | </property> |
950 | <widget> | 950 | <widget> |
951 | <class>QLayoutWidget</class> | 951 | <class>QGroupBox</class> |
952 | <property stdset="1"> | 952 | <property stdset="1"> |
953 | <name>name</name> | 953 | <name>name</name> |
954 | <cstring>Layout5</cstring> | 954 | <cstring>Receiving_GB</cstring> |
955 | </property> | 955 | </property> |
956 | <hbox> | ||
957 | <property stdset="1"> | ||
958 | <name>margin</name> | ||
959 | <number>0</number> | ||
960 | </property> | ||
961 | <property stdset="1"> | ||
962 | <name>spacing</name> | ||
963 | <number>6</number> | ||
964 | </property> | ||
965 | <widget> | ||
966 | <class>QLabel</class> | ||
967 | <property stdset="1"> | ||
968 | <name>name</name> | ||
969 | <cstring>TextLabel1_2</cstring> | ||
970 | </property> | ||
971 | <property stdset="1"> | ||
972 | <name>sizePolicy</name> | ||
973 | <sizepolicy> | ||
974 | <hsizetype>0</hsizetype> | ||
975 | <vsizetype>1</vsizetype> | ||
976 | </sizepolicy> | ||
977 | </property> | ||
978 | <property stdset="1"> | ||
979 | <name>text</name> | ||
980 | <string>Receiving</string> | ||
981 | </property> | ||
982 | </widget> | ||
983 | <spacer> | ||
984 | <property> | ||
985 | <name>name</name> | ||
986 | <cstring>Spacer17_2</cstring> | ||
987 | </property> | ||
988 | <property stdset="1"> | ||
989 | <name>orientation</name> | ||
990 | <enum>Horizontal</enum> | ||
991 | </property> | ||
992 | <property stdset="1"> | ||
993 | <name>sizeType</name> | ||
994 | <enum>Expanding</enum> | ||
995 | </property> | ||
996 | <property> | ||
997 | <name>sizeHint</name> | ||
998 | <size> | ||
999 | <width>20</width> | ||
1000 | <height>20</height> | ||
1001 | </size> | ||
1002 | </property> | ||
1003 | </spacer> | ||
1004 | </hbox> | ||
1005 | </widget> | ||
1006 | <widget> | ||
1007 | <class>QLayoutWidget</class> | ||
1008 | <property stdset="1"> | 956 | <property stdset="1"> |
1009 | <name>name</name> | 957 | <name>enabled</name> |
1010 | <cstring>Layout43</cstring> | 958 | <bool>false</bool> |
959 | </property> | ||
960 | <property stdset="1"> | ||
961 | <name>title</name> | ||
962 | <string>Receiving</string> | ||
1011 | </property> | 963 | </property> |
1012 | <property> | 964 | <property> |
1013 | <name>layoutMargin</name> | 965 | <name>layoutMargin</name> |
1014 | </property> | 966 | </property> |
1015 | <property> | 967 | <property> |
1016 | <name>layoutSpacing</name> | 968 | <name>layoutSpacing</name> |
1017 | </property> | 969 | </property> |
1018 | <hbox> | 970 | <vbox> |
1019 | <property stdset="1"> | 971 | <property stdset="1"> |
1020 | <name>margin</name> | 972 | <name>margin</name> |
1021 | <number>2</number> | 973 | <number>4</number> |
1022 | </property> | 974 | </property> |
1023 | <property stdset="1"> | 975 | <property stdset="1"> |
1024 | <name>spacing</name> | 976 | <name>spacing</name> |
1025 | <number>0</number> | 977 | <number>2</number> |
1026 | </property> | 978 | </property> |
1027 | <widget> | 979 | <widget> |
1028 | <class>QFrame</class> | 980 | <class>QLayoutWidget</class> |
1029 | <property stdset="1"> | 981 | <property stdset="1"> |
1030 | <name>name</name> | 982 | <name>name</name> |
1031 | <cstring>Frame114</cstring> | 983 | <cstring>Layout11</cstring> |
1032 | </property> | ||
1033 | <property stdset="1"> | ||
1034 | <name>sizePolicy</name> | ||
1035 | <sizepolicy> | ||
1036 | <hsizetype>0</hsizetype> | ||
1037 | <vsizetype>5</vsizetype> | ||
1038 | </sizepolicy> | ||
1039 | </property> | ||
1040 | <property stdset="1"> | ||
1041 | <name>minimumSize</name> | ||
1042 | <size> | ||
1043 | <width>5</width> | ||
1044 | <height>0</height> | ||
1045 | </size> | ||
1046 | </property> | ||
1047 | <property stdset="1"> | ||
1048 | <name>maximumSize</name> | ||
1049 | <size> | ||
1050 | <width>5</width> | ||
1051 | <height>32767</height> | ||
1052 | </size> | ||
1053 | </property> | ||
1054 | <property stdset="1"> | ||
1055 | <name>frameShape</name> | ||
1056 | <enum>NoFrame</enum> | ||
1057 | </property> | ||
1058 | <property stdset="1"> | ||
1059 | <name>frameShadow</name> | ||
1060 | <enum>Raised</enum> | ||
1061 | </property> | ||
1062 | </widget> | ||
1063 | <widget> | ||
1064 | <class>QFrame</class> | ||
1065 | <property stdset="1"> | ||
1066 | <name>name</name> | ||
1067 | <cstring>Rcv_GB</cstring> | ||
1068 | </property> | ||
1069 | <property stdset="1"> | ||
1070 | <name>enabled</name> | ||
1071 | <bool>false</bool> | ||
1072 | </property> | ||
1073 | <property stdset="1"> | ||
1074 | <name>sizePolicy</name> | ||
1075 | <sizepolicy> | ||
1076 | <hsizetype>7</hsizetype> | ||
1077 | <vsizetype>5</vsizetype> | ||
1078 | </sizepolicy> | ||
1079 | </property> | ||
1080 | <property stdset="1"> | ||
1081 | <name>frameShape</name> | ||
1082 | <enum>NoFrame</enum> | ||
1083 | </property> | ||
1084 | <property stdset="1"> | ||
1085 | <name>frameShadow</name> | ||
1086 | <enum>Raised</enum> | ||
1087 | </property> | ||
1088 | <property> | ||
1089 | <name>layoutMargin</name> | ||
1090 | </property> | 984 | </property> |
1091 | <property> | 985 | <property> |
1092 | <name>layoutSpacing</name> | 986 | <name>layoutSpacing</name> |
1093 | </property> | 987 | </property> |
1094 | <grid> | 988 | <hbox> |
1095 | <property stdset="1"> | 989 | <property stdset="1"> |
1096 | <name>margin</name> | 990 | <name>margin</name> |
1097 | <number>0</number> | 991 | <number>0</number> |
1098 | </property> | 992 | </property> |
1099 | <property stdset="1"> | 993 | <property stdset="1"> |
1100 | <name>spacing</name> | 994 | <name>spacing</name> |
1101 | <number>1</number> | 995 | <number>2</number> |
1102 | </property> | 996 | </property> |
1103 | <widget row="1" column="0" > | 997 | <widget> |
1104 | <class>QLabel</class> | 998 | <class>QLabel</class> |
1105 | <property stdset="1"> | 999 | <property stdset="1"> |
1106 | <name>name</name> | 1000 | <name>name</name> |
1107 | <cstring>TextLabel1_5_9</cstring> | 1001 | <cstring>xxxxxxxxxxxxx</cstring> |
1108 | </property> | 1002 | </property> |
1109 | <property stdset="1"> | 1003 | <property stdset="1"> |
1110 | <name>text</name> | 1004 | <name>text</name> |
1111 | <string>Errors</string> | 1005 | <string>Pkt</string> |
1112 | </property> | 1006 | </property> |
1113 | </widget> | 1007 | </widget> |
1114 | <widget row="0" column="1" rowspan="1" colspan="3" > | 1008 | <widget> |
1009 | <class>QLabel</class> | ||
1010 | <property stdset="1"> | ||
1011 | <name>name</name> | ||
1012 | <cstring>RcvPackets_LBL</cstring> | ||
1013 | </property> | ||
1014 | <property stdset="1"> | ||
1015 | <name>sizePolicy</name> | ||
1016 | <sizepolicy> | ||
1017 | <hsizetype>7</hsizetype> | ||
1018 | <vsizetype>1</vsizetype> | ||
1019 | </sizepolicy> | ||
1020 | </property> | ||
1021 | <property stdset="1"> | ||
1022 | <name>frameShape</name> | ||
1023 | <enum>Panel</enum> | ||
1024 | </property> | ||
1025 | <property stdset="1"> | ||
1026 | <name>frameShadow</name> | ||
1027 | <enum>Sunken</enum> | ||
1028 | </property> | ||
1029 | <property stdset="1"> | ||
1030 | <name>indent</name> | ||
1031 | <number>0</number> | ||
1032 | </property> | ||
1033 | </widget> | ||
1034 | <widget> | ||
1035 | <class>QLabel</class> | ||
1036 | <property stdset="1"> | ||
1037 | <name>name</name> | ||
1038 | <cstring>TextLabel1_5_3_4</cstring> | ||
1039 | </property> | ||
1040 | <property stdset="1"> | ||
1041 | <name>text</name> | ||
1042 | <string>Bytes</string> | ||
1043 | </property> | ||
1044 | </widget> | ||
1045 | <widget> | ||
1115 | <class>QLabel</class> | 1046 | <class>QLabel</class> |
1116 | <property stdset="1"> | 1047 | <property stdset="1"> |
1117 | <name>name</name> | 1048 | <name>name</name> |
1118 | <cstring>RcvBytes_LBL</cstring> | 1049 | <cstring>RcvBytes_LBL</cstring> |
1119 | </property> | 1050 | </property> |
1120 | <property stdset="1"> | 1051 | <property stdset="1"> |
1121 | <name>sizePolicy</name> | 1052 | <name>sizePolicy</name> |
1122 | <sizepolicy> | 1053 | <sizepolicy> |
1123 | <hsizetype>7</hsizetype> | 1054 | <hsizetype>7</hsizetype> |
1124 | <vsizetype>1</vsizetype> | 1055 | <vsizetype>1</vsizetype> |
1125 | </sizepolicy> | 1056 | </sizepolicy> |
1126 | </property> | 1057 | </property> |
1127 | <property stdset="1"> | 1058 | <property stdset="1"> |
1128 | <name>frameShape</name> | 1059 | <name>frameShape</name> |
1129 | <enum>Panel</enum> | 1060 | <enum>Panel</enum> |
1130 | </property> | 1061 | </property> |
1131 | <property stdset="1"> | 1062 | <property stdset="1"> |
1132 | <name>frameShadow</name> | 1063 | <name>frameShadow</name> |
1133 | <enum>Sunken</enum> | 1064 | <enum>Sunken</enum> |
1134 | </property> | 1065 | </property> |
1135 | <property stdset="1"> | 1066 | <property stdset="1"> |
1136 | <name>indent</name> | 1067 | <name>indent</name> |
1137 | <number>0</number> | 1068 | <number>0</number> |
1138 | </property> | 1069 | </property> |
1139 | </widget> | 1070 | </widget> |
1140 | <widget row="1" column="3" > | 1071 | <widget> |
1141 | <class>QLabel</class> | 1072 | <class>QLabel</class> |
1142 | <property stdset="1"> | 1073 | <property stdset="1"> |
1143 | <name>name</name> | 1074 | <name>name</name> |
1144 | <cstring>RcvDropped_LBL</cstring> | 1075 | <cstring>TextLabel1_5_3_4_2</cstring> |
1076 | </property> | ||
1077 | <property stdset="1"> | ||
1078 | <name>text</name> | ||
1079 | <string>ODO</string> | ||
1080 | </property> | ||
1081 | </widget> | ||
1082 | <widget> | ||
1083 | <class>QLabel</class> | ||
1084 | <property stdset="1"> | ||
1085 | <name>name</name> | ||
1086 | <cstring>RcvODO_LBL</cstring> | ||
1145 | </property> | 1087 | </property> |
1146 | <property stdset="1"> | 1088 | <property stdset="1"> |
1147 | <name>sizePolicy</name> | 1089 | <name>sizePolicy</name> |
1148 | <sizepolicy> | 1090 | <sizepolicy> |
1149 | <hsizetype>7</hsizetype> | 1091 | <hsizetype>7</hsizetype> |
1150 | <vsizetype>1</vsizetype> | 1092 | <vsizetype>1</vsizetype> |
1151 | </sizepolicy> | 1093 | </sizepolicy> |
1152 | </property> | 1094 | </property> |
1153 | <property stdset="1"> | 1095 | <property stdset="1"> |
1154 | <name>frameShape</name> | 1096 | <name>frameShape</name> |
1155 | <enum>Panel</enum> | 1097 | <enum>Panel</enum> |
1156 | </property> | 1098 | </property> |
1157 | <property stdset="1"> | 1099 | <property stdset="1"> |
1158 | <name>frameShadow</name> | 1100 | <name>frameShadow</name> |
1159 | <enum>Sunken</enum> | 1101 | <enum>Sunken</enum> |
1160 | </property> | 1102 | </property> |
1161 | <property stdset="1"> | 1103 | <property stdset="1"> |
1162 | <name>indent</name> | 1104 | <name>indent</name> |
1163 | <number>0</number> | 1105 | <number>0</number> |
1164 | </property> | 1106 | </property> |
1165 | </widget> | 1107 | </widget> |
1166 | <widget row="1" column="1" > | 1108 | </hbox> |
1109 | </widget> | ||
1110 | <widget> | ||
1111 | <class>QLayoutWidget</class> | ||
1112 | <property stdset="1"> | ||
1113 | <name>name</name> | ||
1114 | <cstring>Layout12</cstring> | ||
1115 | </property> | ||
1116 | <property> | ||
1117 | <name>layoutSpacing</name> | ||
1118 | </property> | ||
1119 | <hbox> | ||
1120 | <property stdset="1"> | ||
1121 | <name>margin</name> | ||
1122 | <number>0</number> | ||
1123 | </property> | ||
1124 | <property stdset="1"> | ||
1125 | <name>spacing</name> | ||
1126 | <number>2</number> | ||
1127 | </property> | ||
1128 | <widget> | ||
1129 | <class>QLabel</class> | ||
1130 | <property stdset="1"> | ||
1131 | <name>name</name> | ||
1132 | <cstring>TextLabel1_5_9</cstring> | ||
1133 | </property> | ||
1134 | <property stdset="1"> | ||
1135 | <name>text</name> | ||
1136 | <string>Errors</string> | ||
1137 | </property> | ||
1138 | </widget> | ||
1139 | <widget> | ||
1167 | <class>QLabel</class> | 1140 | <class>QLabel</class> |
1168 | <property stdset="1"> | 1141 | <property stdset="1"> |
1169 | <name>name</name> | 1142 | <name>name</name> |
1170 | <cstring>RcvErrors_LBL</cstring> | 1143 | <cstring>RcvErrors_LBL</cstring> |
1171 | </property> | 1144 | </property> |
1172 | <property stdset="1"> | 1145 | <property stdset="1"> |
1173 | <name>sizePolicy</name> | 1146 | <name>sizePolicy</name> |
1174 | <sizepolicy> | 1147 | <sizepolicy> |
1175 | <hsizetype>7</hsizetype> | 1148 | <hsizetype>7</hsizetype> |
1176 | <vsizetype>1</vsizetype> | 1149 | <vsizetype>1</vsizetype> |
1177 | </sizepolicy> | 1150 | </sizepolicy> |
1178 | </property> | 1151 | </property> |
1179 | <property stdset="1"> | 1152 | <property stdset="1"> |
1180 | <name>frameShape</name> | 1153 | <name>frameShape</name> |
1181 | <enum>Panel</enum> | 1154 | <enum>Panel</enum> |
1182 | </property> | 1155 | </property> |
1183 | <property stdset="1"> | 1156 | <property stdset="1"> |
1184 | <name>frameShadow</name> | 1157 | <name>frameShadow</name> |
1185 | <enum>Sunken</enum> | 1158 | <enum>Sunken</enum> |
1186 | </property> | 1159 | </property> |
1187 | <property stdset="1"> | 1160 | <property stdset="1"> |
1188 | <name>indent</name> | 1161 | <name>indent</name> |
1189 | <number>0</number> | 1162 | <number>0</number> |
1190 | </property> | 1163 | </property> |
1191 | </widget> | 1164 | </widget> |
1192 | <widget row="1" column="2" > | 1165 | <widget> |
1193 | <class>QLabel</class> | 1166 | <class>QLabel</class> |
1194 | <property stdset="1"> | 1167 | <property stdset="1"> |
1195 | <name>name</name> | 1168 | <name>name</name> |
1196 | <cstring>TextLabel1_5_4</cstring> | 1169 | <cstring>TextLabel1_5_4</cstring> |
1197 | </property> | 1170 | </property> |
1198 | <property stdset="1"> | 1171 | <property stdset="1"> |
1199 | <name>text</name> | 1172 | <name>text</name> |
1200 | <string>Dropped</string> | 1173 | <string>Dropped</string> |
1201 | </property> | 1174 | </property> |
1202 | </widget> | 1175 | </widget> |
1203 | <widget row="0" column="0" > | 1176 | <widget> |
1204 | <class>QLabel</class> | 1177 | <class>QLabel</class> |
1205 | <property stdset="1"> | 1178 | <property stdset="1"> |
1206 | <name>name</name> | 1179 | <name>name</name> |
1207 | <cstring>TextLabel1_5_3</cstring> | 1180 | <cstring>RcvDropped_LBL</cstring> |
1208 | </property> | 1181 | </property> |
1209 | <property stdset="1"> | 1182 | <property stdset="1"> |
1210 | <name>text</name> | 1183 | <name>sizePolicy</name> |
1211 | <string>Bytes</string> | 1184 | <sizepolicy> |
1185 | <hsizetype>7</hsizetype> | ||
1186 | <vsizetype>1</vsizetype> | ||
1187 | </sizepolicy> | ||
1188 | </property> | ||
1189 | <property stdset="1"> | ||
1190 | <name>frameShape</name> | ||
1191 | <enum>Panel</enum> | ||
1192 | </property> | ||
1193 | <property stdset="1"> | ||
1194 | <name>frameShadow</name> | ||
1195 | <enum>Sunken</enum> | ||
1196 | </property> | ||
1197 | <property stdset="1"> | ||
1198 | <name>indent</name> | ||
1199 | <number>0</number> | ||
1212 | </property> | 1200 | </property> |
1213 | </widget> | 1201 | </widget> |
1214 | </grid> | 1202 | </hbox> |
1215 | </widget> | 1203 | </widget> |
1216 | </hbox> | 1204 | </vbox> |
1217 | </widget> | 1205 | </widget> |
1218 | <widget> | 1206 | <widget> |
1219 | <class>QLayoutWidget</class> | 1207 | <class>QFrame</class> |
1220 | <property stdset="1"> | 1208 | <property stdset="1"> |
1221 | <name>name</name> | 1209 | <name>name</name> |
1222 | <cstring>Layout6</cstring> | 1210 | <cstring>Frame114</cstring> |
1211 | </property> | ||
1212 | <property stdset="1"> | ||
1213 | <name>sizePolicy</name> | ||
1214 | <sizepolicy> | ||
1215 | <hsizetype>0</hsizetype> | ||
1216 | <vsizetype>5</vsizetype> | ||
1217 | </sizepolicy> | ||
1218 | </property> | ||
1219 | <property stdset="1"> | ||
1220 | <name>minimumSize</name> | ||
1221 | <size> | ||
1222 | <width>5</width> | ||
1223 | <height>0</height> | ||
1224 | </size> | ||
1225 | </property> | ||
1226 | <property stdset="1"> | ||
1227 | <name>maximumSize</name> | ||
1228 | <size> | ||
1229 | <width>5</width> | ||
1230 | <height>32767</height> | ||
1231 | </size> | ||
1232 | </property> | ||
1233 | <property stdset="1"> | ||
1234 | <name>frameShape</name> | ||
1235 | <enum>NoFrame</enum> | ||
1236 | </property> | ||
1237 | <property stdset="1"> | ||
1238 | <name>frameShadow</name> | ||
1239 | <enum>Raised</enum> | ||
1223 | </property> | 1240 | </property> |
1224 | <hbox> | ||
1225 | <property stdset="1"> | ||
1226 | <name>margin</name> | ||
1227 | <number>0</number> | ||
1228 | </property> | ||
1229 | <property stdset="1"> | ||
1230 | <name>spacing</name> | ||
1231 | <number>6</number> | ||
1232 | </property> | ||
1233 | <widget> | ||
1234 | <class>QLabel</class> | ||
1235 | <property stdset="1"> | ||
1236 | <name>name</name> | ||
1237 | <cstring>TextLabel1</cstring> | ||
1238 | </property> | ||
1239 | <property stdset="1"> | ||
1240 | <name>sizePolicy</name> | ||
1241 | <sizepolicy> | ||
1242 | <hsizetype>0</hsizetype> | ||
1243 | <vsizetype>1</vsizetype> | ||
1244 | </sizepolicy> | ||
1245 | </property> | ||
1246 | <property stdset="1"> | ||
1247 | <name>text</name> | ||
1248 | <string>Transmitting</string> | ||
1249 | </property> | ||
1250 | </widget> | ||
1251 | <spacer> | ||
1252 | <property> | ||
1253 | <name>name</name> | ||
1254 | <cstring>Spacer18_2</cstring> | ||
1255 | </property> | ||
1256 | <property stdset="1"> | ||
1257 | <name>orientation</name> | ||
1258 | <enum>Horizontal</enum> | ||
1259 | </property> | ||
1260 | <property stdset="1"> | ||
1261 | <name>sizeType</name> | ||
1262 | <enum>Expanding</enum> | ||
1263 | </property> | ||
1264 | <property> | ||
1265 | <name>sizeHint</name> | ||
1266 | <size> | ||
1267 | <width>20</width> | ||
1268 | <height>20</height> | ||
1269 | </size> | ||
1270 | </property> | ||
1271 | </spacer> | ||
1272 | </hbox> | ||
1273 | </widget> | 1241 | </widget> |
1274 | <widget> | 1242 | <widget> |
1275 | <class>QLayoutWidget</class> | 1243 | <class>QFrame</class> |
1276 | <property stdset="1"> | 1244 | <property stdset="1"> |
1277 | <name>name</name> | 1245 | <name>name</name> |
1278 | <cstring>Layout44</cstring> | 1246 | <cstring>Frame115</cstring> |
1247 | </property> | ||
1248 | <property stdset="1"> | ||
1249 | <name>sizePolicy</name> | ||
1250 | <sizepolicy> | ||
1251 | <hsizetype>0</hsizetype> | ||
1252 | <vsizetype>5</vsizetype> | ||
1253 | </sizepolicy> | ||
1254 | </property> | ||
1255 | <property stdset="1"> | ||
1256 | <name>minimumSize</name> | ||
1257 | <size> | ||
1258 | <width>5</width> | ||
1259 | <height>0</height> | ||
1260 | </size> | ||
1261 | </property> | ||
1262 | <property stdset="1"> | ||
1263 | <name>maximumSize</name> | ||
1264 | <size> | ||
1265 | <width>5</width> | ||
1266 | <height>32767</height> | ||
1267 | </size> | ||
1268 | </property> | ||
1269 | <property stdset="1"> | ||
1270 | <name>frameShape</name> | ||
1271 | <enum>NoFrame</enum> | ||
1272 | </property> | ||
1273 | <property stdset="1"> | ||
1274 | <name>frameShadow</name> | ||
1275 | <enum>Plain</enum> | ||
1276 | </property> | ||
1277 | </widget> | ||
1278 | <widget> | ||
1279 | <class>QGroupBox</class> | ||
1280 | <property stdset="1"> | ||
1281 | <name>name</name> | ||
1282 | <cstring>Sending_GB</cstring> | ||
1283 | </property> | ||
1284 | <property stdset="1"> | ||
1285 | <name>enabled</name> | ||
1286 | <bool>false</bool> | ||
1287 | </property> | ||
1288 | <property stdset="1"> | ||
1289 | <name>title</name> | ||
1290 | <string>Sending</string> | ||
1279 | </property> | 1291 | </property> |
1280 | <property> | 1292 | <property> |
1281 | <name>layoutMargin</name> | 1293 | <name>layoutMargin</name> |
1282 | </property> | 1294 | </property> |
1283 | <property> | 1295 | <property> |
1284 | <name>layoutSpacing</name> | 1296 | <name>layoutSpacing</name> |
1285 | </property> | 1297 | </property> |
1286 | <hbox> | 1298 | <vbox> |
1287 | <property stdset="1"> | 1299 | <property stdset="1"> |
1288 | <name>margin</name> | 1300 | <name>margin</name> |
1289 | <number>2</number> | 1301 | <number>4</number> |
1290 | </property> | 1302 | </property> |
1291 | <property stdset="1"> | 1303 | <property stdset="1"> |
1292 | <name>spacing</name> | 1304 | <name>spacing</name> |
1293 | <number>0</number> | 1305 | <number>2</number> |
1294 | </property> | 1306 | </property> |
1295 | <widget> | 1307 | <widget> |
1296 | <class>QFrame</class> | 1308 | <class>QLayoutWidget</class> |
1297 | <property stdset="1"> | 1309 | <property stdset="1"> |
1298 | <name>name</name> | 1310 | <name>name</name> |
1299 | <cstring>Frame115</cstring> | 1311 | <cstring>Layout13</cstring> |
1300 | </property> | ||
1301 | <property stdset="1"> | ||
1302 | <name>sizePolicy</name> | ||
1303 | <sizepolicy> | ||
1304 | <hsizetype>0</hsizetype> | ||
1305 | <vsizetype>5</vsizetype> | ||
1306 | </sizepolicy> | ||
1307 | </property> | ||
1308 | <property stdset="1"> | ||
1309 | <name>minimumSize</name> | ||
1310 | <size> | ||
1311 | <width>5</width> | ||
1312 | <height>0</height> | ||
1313 | </size> | ||
1314 | </property> | ||
1315 | <property stdset="1"> | ||
1316 | <name>maximumSize</name> | ||
1317 | <size> | ||
1318 | <width>5</width> | ||
1319 | <height>32767</height> | ||
1320 | </size> | ||
1321 | </property> | ||
1322 | <property stdset="1"> | ||
1323 | <name>frameShape</name> | ||
1324 | <enum>NoFrame</enum> | ||
1325 | </property> | ||
1326 | <property stdset="1"> | ||
1327 | <name>frameShadow</name> | ||
1328 | <enum>Plain</enum> | ||
1329 | </property> | ||
1330 | </widget> | ||
1331 | <widget> | ||
1332 | <class>QFrame</class> | ||
1333 | <property stdset="1"> | ||
1334 | <name>name</name> | ||
1335 | <cstring>Snd_GB</cstring> | ||
1336 | </property> | ||
1337 | <property stdset="1"> | ||
1338 | <name>enabled</name> | ||
1339 | <bool>false</bool> | ||
1340 | </property> | ||
1341 | <property stdset="1"> | ||
1342 | <name>sizePolicy</name> | ||
1343 | <sizepolicy> | ||
1344 | <hsizetype>7</hsizetype> | ||
1345 | <vsizetype>5</vsizetype> | ||
1346 | </sizepolicy> | ||
1347 | </property> | ||
1348 | <property stdset="1"> | ||
1349 | <name>frameShape</name> | ||
1350 | <enum>NoFrame</enum> | ||
1351 | </property> | ||
1352 | <property stdset="1"> | ||
1353 | <name>frameShadow</name> | ||
1354 | <enum>Raised</enum> | ||
1355 | </property> | ||
1356 | <property> | ||
1357 | <name>layoutMargin</name> | ||
1358 | </property> | 1312 | </property> |
1359 | <property> | 1313 | <property> |
1360 | <name>layoutSpacing</name> | 1314 | <name>layoutSpacing</name> |
1361 | </property> | 1315 | </property> |
1362 | <grid> | 1316 | <hbox> |
1363 | <property stdset="1"> | 1317 | <property stdset="1"> |
1364 | <name>margin</name> | 1318 | <name>margin</name> |
1365 | <number>0</number> | 1319 | <number>0</number> |
1366 | </property> | 1320 | </property> |
1367 | <property stdset="1"> | 1321 | <property stdset="1"> |
1368 | <name>spacing</name> | 1322 | <name>spacing</name> |
1369 | <number>1</number> | 1323 | <number>2</number> |
1370 | </property> | 1324 | </property> |
1371 | <widget row="1" column="0" > | 1325 | <widget> |
1372 | <class>QLabel</class> | 1326 | <class>QLabel</class> |
1373 | <property stdset="1"> | 1327 | <property stdset="1"> |
1374 | <name>name</name> | 1328 | <name>name</name> |
1375 | <cstring>TextLabel1_5_9_2</cstring> | 1329 | <cstring>dfsfadf</cstring> |
1376 | </property> | 1330 | </property> |
1377 | <property stdset="1"> | 1331 | <property stdset="1"> |
1378 | <name>text</name> | 1332 | <name>text</name> |
1379 | <string>Errors</string> | 1333 | <string>Pkt</string> |
1380 | </property> | 1334 | </property> |
1381 | </widget> | 1335 | </widget> |
1382 | <widget row="1" column="2" > | 1336 | <widget> |
1383 | <class>QLabel</class> | 1337 | <class>QLabel</class> |
1384 | <property stdset="1"> | 1338 | <property stdset="1"> |
1385 | <name>name</name> | 1339 | <name>name</name> |
1386 | <cstring>TextLabel1_5_4_2</cstring> | 1340 | <cstring>SndPackets_LBL</cstring> |
1387 | </property> | 1341 | </property> |
1388 | <property stdset="1"> | 1342 | <property stdset="1"> |
1389 | <name>text</name> | 1343 | <name>sizePolicy</name> |
1390 | <string>Dropped</string> | 1344 | <sizepolicy> |
1345 | <hsizetype>7</hsizetype> | ||
1346 | <vsizetype>1</vsizetype> | ||
1347 | </sizepolicy> | ||
1348 | </property> | ||
1349 | <property stdset="1"> | ||
1350 | <name>frameShape</name> | ||
1351 | <enum>Panel</enum> | ||
1352 | </property> | ||
1353 | <property stdset="1"> | ||
1354 | <name>frameShadow</name> | ||
1355 | <enum>Sunken</enum> | ||
1356 | </property> | ||
1357 | <property stdset="1"> | ||
1358 | <name>indent</name> | ||
1359 | <number>0</number> | ||
1391 | </property> | 1360 | </property> |
1392 | </widget> | 1361 | </widget> |
1393 | <widget row="0" column="0" > | 1362 | <widget> |
1394 | <class>QLabel</class> | 1363 | <class>QLabel</class> |
1395 | <property stdset="1"> | 1364 | <property stdset="1"> |
1396 | <name>name</name> | 1365 | <name>name</name> |
1397 | <cstring>TextLabel1_5_3_2</cstring> | 1366 | <cstring>TextLabel1_5_3_4_4</cstring> |
1398 | </property> | 1367 | </property> |
1399 | <property stdset="1"> | 1368 | <property stdset="1"> |
1400 | <name>text</name> | 1369 | <name>text</name> |
1401 | <string>Bytes</string> | 1370 | <string>Bytes</string> |
1402 | </property> | 1371 | </property> |
1403 | </widget> | 1372 | </widget> |
1404 | <widget row="1" column="3" > | 1373 | <widget> |
1405 | <class>QLabel</class> | 1374 | <class>QLabel</class> |
1406 | <property stdset="1"> | 1375 | <property stdset="1"> |
1407 | <name>name</name> | 1376 | <name>name</name> |
1408 | <cstring>SndDropped_LBL</cstring> | 1377 | <cstring>SndBytes_LBL</cstring> |
1378 | </property> | ||
1379 | <property stdset="1"> | ||
1380 | <name>sizePolicy</name> | ||
1381 | <sizepolicy> | ||
1382 | <hsizetype>7</hsizetype> | ||
1383 | <vsizetype>1</vsizetype> | ||
1384 | </sizepolicy> | ||
1385 | </property> | ||
1386 | <property stdset="1"> | ||
1387 | <name>frameShape</name> | ||
1388 | <enum>Panel</enum> | ||
1389 | </property> | ||
1390 | <property stdset="1"> | ||
1391 | <name>frameShadow</name> | ||
1392 | <enum>Sunken</enum> | ||
1393 | </property> | ||
1394 | <property stdset="1"> | ||
1395 | <name>indent</name> | ||
1396 | <number>0</number> | ||
1397 | </property> | ||
1398 | </widget> | ||
1399 | <widget> | ||
1400 | <class>QLabel</class> | ||
1401 | <property stdset="1"> | ||
1402 | <name>name</name> | ||
1403 | <cstring>TextLabel1_5_3_4_2_3</cstring> | ||
1404 | </property> | ||
1405 | <property stdset="1"> | ||
1406 | <name>text</name> | ||
1407 | <string>ODO</string> | ||
1408 | </property> | ||
1409 | </widget> | ||
1410 | <widget> | ||
1411 | <class>QLabel</class> | ||
1412 | <property stdset="1"> | ||
1413 | <name>name</name> | ||
1414 | <cstring>SndODO_LBL</cstring> | ||
1409 | </property> | 1415 | </property> |
1410 | <property stdset="1"> | 1416 | <property stdset="1"> |
1411 | <name>sizePolicy</name> | 1417 | <name>sizePolicy</name> |
1412 | <sizepolicy> | 1418 | <sizepolicy> |
1413 | <hsizetype>7</hsizetype> | 1419 | <hsizetype>7</hsizetype> |
1414 | <vsizetype>1</vsizetype> | 1420 | <vsizetype>1</vsizetype> |
1415 | </sizepolicy> | 1421 | </sizepolicy> |
1416 | </property> | 1422 | </property> |
1417 | <property stdset="1"> | 1423 | <property stdset="1"> |
1418 | <name>frameShape</name> | 1424 | <name>frameShape</name> |
1419 | <enum>Panel</enum> | 1425 | <enum>Panel</enum> |
1420 | </property> | 1426 | </property> |
1421 | <property stdset="1"> | 1427 | <property stdset="1"> |
1422 | <name>frameShadow</name> | 1428 | <name>frameShadow</name> |
1423 | <enum>Sunken</enum> | 1429 | <enum>Sunken</enum> |
1424 | </property> | 1430 | </property> |
1425 | <property stdset="1"> | 1431 | <property stdset="1"> |
1426 | <name>indent</name> | 1432 | <name>indent</name> |
1427 | <number>0</number> | 1433 | <number>0</number> |
1428 | </property> | 1434 | </property> |
1429 | </widget> | 1435 | </widget> |
1430 | <widget row="1" column="1" > | 1436 | </hbox> |
1437 | </widget> | ||
1438 | <widget> | ||
1439 | <class>QLayoutWidget</class> | ||
1440 | <property stdset="1"> | ||
1441 | <name>name</name> | ||
1442 | <cstring>Layout14</cstring> | ||
1443 | </property> | ||
1444 | <property> | ||
1445 | <name>layoutSpacing</name> | ||
1446 | </property> | ||
1447 | <hbox> | ||
1448 | <property stdset="1"> | ||
1449 | <name>margin</name> | ||
1450 | <number>0</number> | ||
1451 | </property> | ||
1452 | <property stdset="1"> | ||
1453 | <name>spacing</name> | ||
1454 | <number>2</number> | ||
1455 | </property> | ||
1456 | <widget> | ||
1457 | <class>QLabel</class> | ||
1458 | <property stdset="1"> | ||
1459 | <name>name</name> | ||
1460 | <cstring>TextLabel1_5_9_3</cstring> | ||
1461 | </property> | ||
1462 | <property stdset="1"> | ||
1463 | <name>text</name> | ||
1464 | <string>Errors</string> | ||
1465 | </property> | ||
1466 | </widget> | ||
1467 | <widget> | ||
1431 | <class>QLabel</class> | 1468 | <class>QLabel</class> |
1432 | <property stdset="1"> | 1469 | <property stdset="1"> |
1433 | <name>name</name> | 1470 | <name>name</name> |
1434 | <cstring>SndErrors_LBL</cstring> | 1471 | <cstring>SndErrors_LBL</cstring> |
1435 | </property> | 1472 | </property> |
1436 | <property stdset="1"> | 1473 | <property stdset="1"> |
1437 | <name>sizePolicy</name> | 1474 | <name>sizePolicy</name> |
1438 | <sizepolicy> | 1475 | <sizepolicy> |
1439 | <hsizetype>7</hsizetype> | 1476 | <hsizetype>7</hsizetype> |
1440 | <vsizetype>1</vsizetype> | 1477 | <vsizetype>1</vsizetype> |
1441 | </sizepolicy> | 1478 | </sizepolicy> |
1442 | </property> | 1479 | </property> |
1443 | <property stdset="1"> | 1480 | <property stdset="1"> |
1444 | <name>frameShape</name> | 1481 | <name>frameShape</name> |
1445 | <enum>Panel</enum> | 1482 | <enum>Panel</enum> |
1446 | </property> | 1483 | </property> |
1447 | <property stdset="1"> | 1484 | <property stdset="1"> |
1448 | <name>frameShadow</name> | 1485 | <name>frameShadow</name> |
1449 | <enum>Sunken</enum> | 1486 | <enum>Sunken</enum> |
1450 | </property> | 1487 | </property> |
1451 | <property stdset="1"> | 1488 | <property stdset="1"> |
1452 | <name>indent</name> | 1489 | <name>indent</name> |
1453 | <number>0</number> | 1490 | <number>0</number> |
1454 | </property> | 1491 | </property> |
1455 | </widget> | 1492 | </widget> |
1456 | <widget row="0" column="1" rowspan="1" colspan="3" > | 1493 | <widget> |
1457 | <class>QLabel</class> | 1494 | <class>QLabel</class> |
1458 | <property stdset="1"> | 1495 | <property stdset="1"> |
1459 | <name>name</name> | 1496 | <name>name</name> |
1460 | <cstring>SndBytes_LBL</cstring> | 1497 | <cstring>TextLabel1_5_4_3</cstring> |
1498 | </property> | ||
1499 | <property stdset="1"> | ||
1500 | <name>text</name> | ||
1501 | <string>Dropped</string> | ||
1502 | </property> | ||
1503 | </widget> | ||
1504 | <widget> | ||
1505 | <class>QLabel</class> | ||
1506 | <property stdset="1"> | ||
1507 | <name>name</name> | ||
1508 | <cstring>SndDropped_LBL</cstring> | ||
1461 | </property> | 1509 | </property> |
1462 | <property stdset="1"> | 1510 | <property stdset="1"> |
1463 | <name>sizePolicy</name> | 1511 | <name>sizePolicy</name> |
1464 | <sizepolicy> | 1512 | <sizepolicy> |
1465 | <hsizetype>7</hsizetype> | 1513 | <hsizetype>7</hsizetype> |
1466 | <vsizetype>1</vsizetype> | 1514 | <vsizetype>1</vsizetype> |
1467 | </sizepolicy> | 1515 | </sizepolicy> |
1468 | </property> | 1516 | </property> |
1469 | <property stdset="1"> | 1517 | <property stdset="1"> |
1470 | <name>frameShape</name> | 1518 | <name>frameShape</name> |
1471 | <enum>Panel</enum> | 1519 | <enum>Panel</enum> |
1472 | </property> | 1520 | </property> |
1473 | <property stdset="1"> | 1521 | <property stdset="1"> |
1474 | <name>frameShadow</name> | 1522 | <name>frameShadow</name> |
1475 | <enum>Sunken</enum> | 1523 | <enum>Sunken</enum> |
1476 | </property> | 1524 | </property> |
1477 | <property stdset="1"> | 1525 | <property stdset="1"> |
1478 | <name>indent</name> | 1526 | <name>indent</name> |
1479 | <number>0</number> | 1527 | <number>0</number> |
1480 | </property> | 1528 | </property> |
1481 | </widget> | 1529 | </widget> |
1482 | </grid> | 1530 | </hbox> |
1483 | </widget> | 1531 | </widget> |
1484 | </hbox> | 1532 | </vbox> |
1485 | </widget> | 1533 | </widget> |
1486 | <widget> | 1534 | <widget> |
1487 | <class>QLayoutWidget</class> | 1535 | <class>QGroupBox</class> |
1488 | <property stdset="1"> | 1536 | <property stdset="1"> |
1489 | <name>name</name> | 1537 | <name>name</name> |
1490 | <cstring>Layout7</cstring> | 1538 | <cstring>Misc_GB</cstring> |
1539 | </property> | ||
1540 | <property stdset="1"> | ||
1541 | <name>enabled</name> | ||
1542 | <bool>false</bool> | ||
1543 | </property> | ||
1544 | <property stdset="1"> | ||
1545 | <name>title</name> | ||
1546 | <string>Miscellaneous</string> | ||
1547 | </property> | ||
1548 | <property> | ||
1549 | <name>layoutMargin</name> | ||
1550 | </property> | ||
1551 | <property> | ||
1552 | <name>layoutSpacing</name> | ||
1491 | </property> | 1553 | </property> |
1492 | <hbox> | 1554 | <hbox> |
1493 | <property stdset="1"> | 1555 | <property stdset="1"> |
1494 | <name>margin</name> | 1556 | <name>margin</name> |
1495 | <number>0</number> | 1557 | <number>4</number> |
1496 | </property> | 1558 | </property> |
1497 | <property stdset="1"> | 1559 | <property stdset="1"> |
1498 | <name>spacing</name> | 1560 | <name>spacing</name> |
1499 | <number>6</number> | 1561 | <number>2</number> |
1500 | </property> | 1562 | </property> |
1501 | <widget> | 1563 | <widget> |
1502 | <class>QLabel</class> | 1564 | <class>QLabel</class> |
1503 | <property stdset="1"> | 1565 | <property stdset="1"> |
1504 | <name>name</name> | 1566 | <name>name</name> |
1505 | <cstring>TextLabel1_3</cstring> | 1567 | <cstring>TextLabel1_5_3_3</cstring> |
1568 | </property> | ||
1569 | <property stdset="1"> | ||
1570 | <name>text</name> | ||
1571 | <string>Collisions</string> | ||
1572 | </property> | ||
1573 | </widget> | ||
1574 | <widget> | ||
1575 | <class>QLabel</class> | ||
1576 | <property stdset="1"> | ||
1577 | <name>name</name> | ||
1578 | <cstring>Collisions_LBL</cstring> | ||
1506 | </property> | 1579 | </property> |
1507 | <property stdset="1"> | 1580 | <property stdset="1"> |
1508 | <name>sizePolicy</name> | 1581 | <name>sizePolicy</name> |
1509 | <sizepolicy> | 1582 | <sizepolicy> |
1510 | <hsizetype>0</hsizetype> | 1583 | <hsizetype>7</hsizetype> |
1511 | <vsizetype>1</vsizetype> | 1584 | <vsizetype>1</vsizetype> |
1512 | </sizepolicy> | 1585 | </sizepolicy> |
1513 | </property> | 1586 | </property> |
1514 | <property stdset="1"> | 1587 | <property stdset="1"> |
1515 | <name>text</name> | 1588 | <name>frameShape</name> |
1516 | <string>Others</string> | 1589 | <enum>Panel</enum> |
1590 | </property> | ||
1591 | <property stdset="1"> | ||
1592 | <name>frameShadow</name> | ||
1593 | <enum>Sunken</enum> | ||
1594 | </property> | ||
1595 | <property stdset="1"> | ||
1596 | <name>indent</name> | ||
1597 | <number>0</number> | ||
1517 | </property> | 1598 | </property> |
1518 | </widget> | 1599 | </widget> |
1519 | <spacer> | 1600 | <spacer> |
1520 | <property> | 1601 | <property> |
1521 | <name>name</name> | 1602 | <name>name</name> |
1522 | <cstring>Spacer19</cstring> | 1603 | <cstring>Spacer10</cstring> |
1523 | </property> | 1604 | </property> |
1524 | <property stdset="1"> | 1605 | <property stdset="1"> |
1525 | <name>orientation</name> | 1606 | <name>orientation</name> |
1526 | <enum>Horizontal</enum> | 1607 | <enum>Horizontal</enum> |
1527 | </property> | 1608 | </property> |
1528 | <property stdset="1"> | 1609 | <property stdset="1"> |
1529 | <name>sizeType</name> | 1610 | <name>sizeType</name> |
1530 | <enum>Expanding</enum> | 1611 | <enum>Expanding</enum> |
1531 | </property> | 1612 | </property> |
1532 | <property> | 1613 | <property> |
1533 | <name>sizeHint</name> | 1614 | <name>sizeHint</name> |
1534 | <size> | 1615 | <size> |
1535 | <width>20</width> | 1616 | <width>20</width> |
1536 | <height>20</height> | 1617 | <height>20</height> |
1537 | </size> | 1618 | </size> |
1538 | </property> | 1619 | </property> |
1539 | </spacer> | 1620 | </spacer> |
1540 | </hbox> | 1621 | <spacer> |
1541 | </widget> | 1622 | <property> |
1542 | <widget> | ||
1543 | <class>QLayoutWidget</class> | ||
1544 | <property stdset="1"> | ||
1545 | <name>name</name> | ||
1546 | <cstring>Layout45</cstring> | ||
1547 | </property> | ||
1548 | <property> | ||
1549 | <name>layoutMargin</name> | ||
1550 | </property> | ||
1551 | <property> | ||
1552 | <name>layoutSpacing</name> | ||
1553 | </property> | ||
1554 | <hbox> | ||
1555 | <property stdset="1"> | ||
1556 | <name>margin</name> | ||
1557 | <number>2</number> | ||
1558 | </property> | ||
1559 | <property stdset="1"> | ||
1560 | <name>spacing</name> | ||
1561 | <number>0</number> | ||
1562 | </property> | ||
1563 | <widget> | ||
1564 | <class>QFrame</class> | ||
1565 | <property stdset="1"> | ||
1566 | <name>name</name> | 1623 | <name>name</name> |
1567 | <cstring>Frame116</cstring> | 1624 | <cstring>Spacer13</cstring> |
1568 | </property> | 1625 | </property> |
1569 | <property stdset="1"> | 1626 | <property stdset="1"> |
1570 | <name>sizePolicy</name> | 1627 | <name>orientation</name> |
1571 | <sizepolicy> | 1628 | <enum>Horizontal</enum> |
1572 | <hsizetype>0</hsizetype> | ||
1573 | <vsizetype>5</vsizetype> | ||
1574 | </sizepolicy> | ||
1575 | </property> | 1629 | </property> |
1576 | <property stdset="1"> | 1630 | <property stdset="1"> |
1577 | <name>minimumSize</name> | 1631 | <name>sizeType</name> |
1578 | <size> | 1632 | <enum>Expanding</enum> |
1579 | <width>5</width> | ||
1580 | <height>0</height> | ||
1581 | </size> | ||
1582 | </property> | 1633 | </property> |
1583 | <property stdset="1"> | 1634 | <property> |
1584 | <name>maximumSize</name> | 1635 | <name>sizeHint</name> |
1585 | <size> | 1636 | <size> |
1586 | <width>5</width> | 1637 | <width>20</width> |
1587 | <height>32767</height> | 1638 | <height>20</height> |
1588 | </size> | 1639 | </size> |
1589 | </property> | 1640 | </property> |
1590 | <property stdset="1"> | 1641 | </spacer> |
1591 | <name>frameShape</name> | ||
1592 | <enum>NoFrame</enum> | ||
1593 | </property> | ||
1594 | <property stdset="1"> | ||
1595 | <name>frameShadow</name> | ||
1596 | <enum>Raised</enum> | ||
1597 | </property> | ||
1598 | </widget> | ||
1599 | <widget> | ||
1600 | <class>QFrame</class> | ||
1601 | <property stdset="1"> | ||
1602 | <name>name</name> | ||
1603 | <cstring>Collisions_FRM</cstring> | ||
1604 | </property> | ||
1605 | <property stdset="1"> | ||
1606 | <name>enabled</name> | ||
1607 | <bool>false</bool> | ||
1608 | </property> | ||
1609 | <property stdset="1"> | ||
1610 | <name>sizePolicy</name> | ||
1611 | <sizepolicy> | ||
1612 | <hsizetype>7</hsizetype> | ||
1613 | <vsizetype>5</vsizetype> | ||
1614 | </sizepolicy> | ||
1615 | </property> | ||
1616 | <property stdset="1"> | ||
1617 | <name>frameShape</name> | ||
1618 | <enum>NoFrame</enum> | ||
1619 | </property> | ||
1620 | <property stdset="1"> | ||
1621 | <name>frameShadow</name> | ||
1622 | <enum>Raised</enum> | ||
1623 | </property> | ||
1624 | <property> | ||
1625 | <name>layoutMargin</name> | ||
1626 | </property> | ||
1627 | <property> | ||
1628 | <name>layoutSpacing</name> | ||
1629 | </property> | ||
1630 | <hbox> | ||
1631 | <property stdset="1"> | ||
1632 | <name>margin</name> | ||
1633 | <number>0</number> | ||
1634 | </property> | ||
1635 | <property stdset="1"> | ||
1636 | <name>spacing</name> | ||
1637 | <number>2</number> | ||
1638 | </property> | ||
1639 | <widget> | ||
1640 | <class>QLabel</class> | ||
1641 | <property stdset="1"> | ||
1642 | <name>name</name> | ||
1643 | <cstring>TextLabel1_5_3_3</cstring> | ||
1644 | </property> | ||
1645 | <property stdset="1"> | ||
1646 | <name>text</name> | ||
1647 | <string>Collisions</string> | ||
1648 | </property> | ||
1649 | </widget> | ||
1650 | <widget> | ||
1651 | <class>QLabel</class> | ||
1652 | <property stdset="1"> | ||
1653 | <name>name</name> | ||
1654 | <cstring>Collisions_LBL</cstring> | ||
1655 | </property> | ||
1656 | <property stdset="1"> | ||
1657 | <name>sizePolicy</name> | ||
1658 | <sizepolicy> | ||
1659 | <hsizetype>7</hsizetype> | ||
1660 | <vsizetype>1</vsizetype> | ||
1661 | </sizepolicy> | ||
1662 | </property> | ||
1663 | <property stdset="1"> | ||
1664 | <name>frameShape</name> | ||
1665 | <enum>Panel</enum> | ||
1666 | </property> | ||
1667 | <property stdset="1"> | ||
1668 | <name>frameShadow</name> | ||
1669 | <enum>Sunken</enum> | ||
1670 | </property> | ||
1671 | <property stdset="1"> | ||
1672 | <name>indent</name> | ||
1673 | <number>0</number> | ||
1674 | </property> | ||
1675 | </widget> | ||
1676 | <spacer> | ||
1677 | <property> | ||
1678 | <name>name</name> | ||
1679 | <cstring>Spacer18</cstring> | ||
1680 | </property> | ||
1681 | <property stdset="1"> | ||
1682 | <name>orientation</name> | ||
1683 | <enum>Horizontal</enum> | ||
1684 | </property> | ||
1685 | <property stdset="1"> | ||
1686 | <name>sizeType</name> | ||
1687 | <enum>Expanding</enum> | ||
1688 | </property> | ||
1689 | <property> | ||
1690 | <name>sizeHint</name> | ||
1691 | <size> | ||
1692 | <width>20</width> | ||
1693 | <height>20</height> | ||
1694 | </size> | ||
1695 | </property> | ||
1696 | </spacer> | ||
1697 | </hbox> | ||
1698 | </widget> | ||
1699 | </hbox> | 1642 | </hbox> |
1700 | </widget> | 1643 | </widget> |
1701 | <spacer> | 1644 | <spacer> |
1702 | <property> | 1645 | <property> |
1703 | <name>name</name> | 1646 | <name>name</name> |
1704 | <cstring>Spacer17</cstring> | 1647 | <cstring>Spacer17</cstring> |
1705 | </property> | 1648 | </property> |
1706 | <property stdset="1"> | 1649 | <property stdset="1"> |
1707 | <name>orientation</name> | 1650 | <name>orientation</name> |
1708 | <enum>Vertical</enum> | 1651 | <enum>Vertical</enum> |
1709 | </property> | 1652 | </property> |
1710 | <property stdset="1"> | 1653 | <property stdset="1"> |
1711 | <name>sizeType</name> | 1654 | <name>sizeType</name> |
1712 | <enum>Expanding</enum> | 1655 | <enum>Expanding</enum> |
1713 | </property> | 1656 | </property> |
1714 | <property> | 1657 | <property> |
1715 | <name>sizeHint</name> | 1658 | <name>sizeHint</name> |
1716 | <size> | 1659 | <size> |
1717 | <width>20</width> | 1660 | <width>20</width> |
1718 | <height>20</height> | 1661 | <height>20</height> |
1719 | </size> | 1662 | </size> |
1720 | </property> | 1663 | </property> |
1721 | </spacer> | 1664 | </spacer> |
1722 | <widget> | 1665 | <widget> |
1723 | <class>QLayoutWidget</class> | 1666 | <class>QLayoutWidget</class> |
1724 | <property stdset="1"> | 1667 | <property stdset="1"> |
1725 | <name>name</name> | 1668 | <name>name</name> |
1726 | <cstring>Layout17</cstring> | 1669 | <cstring>Layout10</cstring> |
1727 | </property> | 1670 | </property> |
1728 | <hbox> | 1671 | <hbox> |
1729 | <property stdset="1"> | 1672 | <property stdset="1"> |
1730 | <name>margin</name> | 1673 | <name>margin</name> |
1731 | <number>0</number> | 1674 | <number>0</number> |
1732 | </property> | 1675 | </property> |
1733 | <property stdset="1"> | 1676 | <property stdset="1"> |
1734 | <name>spacing</name> | 1677 | <name>spacing</name> |
1735 | <number>6</number> | 1678 | <number>6</number> |
1736 | </property> | 1679 | </property> |
1737 | <widget> | 1680 | <widget> |
1738 | <class>QCheckBox</class> | 1681 | <class>QCheckBox</class> |
1739 | <property stdset="1"> | 1682 | <property stdset="1"> |
1740 | <name>name</name> | 1683 | <name>name</name> |
1741 | <cstring>Refresh_CB</cstring> | 1684 | <cstring>Refresh_CB</cstring> |
1742 | </property> | 1685 | </property> |
1743 | <property stdset="1"> | 1686 | <property stdset="1"> |
1687 | <name>enabled</name> | ||
1688 | <bool>false</bool> | ||
1689 | </property> | ||
1690 | <property stdset="1"> | ||
1744 | <name>text</name> | 1691 | <name>text</name> |
1745 | <string>Live feed </string> | 1692 | <string>Live feed </string> |
1746 | </property> | 1693 | </property> |
1747 | </widget> | 1694 | </widget> |
1748 | <spacer> | 1695 | <spacer> |
1749 | <property> | 1696 | <property> |
1750 | <name>name</name> | 1697 | <name>name</name> |
1751 | <cstring>Spacer57</cstring> | 1698 | <cstring>Spacer57</cstring> |
1752 | </property> | 1699 | </property> |
1753 | <property stdset="1"> | 1700 | <property stdset="1"> |
1754 | <name>orientation</name> | 1701 | <name>orientation</name> |
1755 | <enum>Horizontal</enum> | 1702 | <enum>Horizontal</enum> |
1756 | </property> | 1703 | </property> |
1757 | <property stdset="1"> | 1704 | <property stdset="1"> |
1758 | <name>sizeType</name> | 1705 | <name>sizeType</name> |
1759 | <enum>Expanding</enum> | 1706 | <enum>Expanding</enum> |
1760 | </property> | 1707 | </property> |
1761 | <property> | 1708 | <property> |
1762 | <name>sizeHint</name> | 1709 | <name>sizeHint</name> |
1763 | <size> | 1710 | <size> |
1764 | <width>20</width> | 1711 | <width>20</width> |
1765 | <height>20</height> | 1712 | <height>20</height> |
1766 | </size> | 1713 | </size> |
1767 | </property> | 1714 | </property> |
1768 | </spacer> | 1715 | </spacer> |
1716 | <widget> | ||
1717 | <class>QPushButton</class> | ||
1718 | <property stdset="1"> | ||
1719 | <name>name</name> | ||
1720 | <cstring>ResetODO_But</cstring> | ||
1721 | </property> | ||
1722 | <property stdset="1"> | ||
1723 | <name>enabled</name> | ||
1724 | <bool>false</bool> | ||
1725 | </property> | ||
1726 | <property stdset="1"> | ||
1727 | <name>text</name> | ||
1728 | <string>Reset ODO</string> | ||
1729 | </property> | ||
1730 | </widget> | ||
1769 | </hbox> | 1731 | </hbox> |
1770 | </widget> | 1732 | </widget> |
1771 | </vbox> | 1733 | </vbox> |
1772 | </widget> | 1734 | </widget> |
1773 | </widget> | 1735 | </widget> |
1774 | </vbox> | 1736 | </vbox> |
1775 | </widget> | 1737 | </widget> |
1776 | <connections> | 1738 | <connections> |
1777 | <connection> | 1739 | <connection> |
1778 | <sender>Refresh_CB</sender> | 1740 | <sender>Refresh_CB</sender> |
1779 | <signal>toggled(bool)</signal> | 1741 | <signal>toggled(bool)</signal> |
1780 | <receiver>Profile_FRM</receiver> | 1742 | <receiver>Profile_FRM</receiver> |
1781 | <slot>SLOT_AutoRefresh(bool)</slot> | 1743 | <slot>SLOT_AutoRefresh(bool)</slot> |
1782 | </connection> | 1744 | </connection> |
1745 | <connection> | ||
1746 | <sender>ResetODO_But</sender> | ||
1747 | <signal>clicked()</signal> | ||
1748 | <receiver>Profile_FRM</receiver> | ||
1749 | <slot>SLOT_ResetODO()</slot> | ||
1750 | </connection> | ||
1783 | <slot access="public">SLOT_AutoRefresh(bool)</slot> | 1751 | <slot access="public">SLOT_AutoRefresh(bool)</slot> |
1752 | <slot access="public">SLOT_ResetODO()</slot> | ||
1784 | </connections> | 1753 | </connections> |
1785 | </UI> | 1754 | </UI> |
diff --git a/noncore/settings/networksettings2/profile/profileedit.cpp b/noncore/settings/networksettings2/profile/profileedit.cpp index ad943fe..1713f0c 100644 --- a/noncore/settings/networksettings2/profile/profileedit.cpp +++ b/noncore/settings/networksettings2/profile/profileedit.cpp | |||
@@ -1,56 +1,62 @@ | |||
1 | #include <qlabel.h> | 1 | #include <qlabel.h> |
2 | #include <qgroupbox.h> | ||
3 | #include <qpushbutton.h> | ||
2 | #include <qframe.h> | 4 | #include <qframe.h> |
3 | #include <qcheckbox.h> | 5 | #include <qcheckbox.h> |
4 | #include <qmultilineedit.h> | 6 | #include <qmultilineedit.h> |
5 | #include <qcheckbox.h> | 7 | #include <qcheckbox.h> |
6 | 8 | ||
7 | #include <GUIUtils.h> | 9 | #include <GUIUtils.h> |
8 | #include <netnode.h> | 10 | #include <netnode.h> |
9 | #include <resources.h> | 11 | #include <resources.h> |
10 | 12 | ||
11 | #include "profileedit.h" | 13 | #include "profileedit.h" |
12 | 14 | ||
13 | ProfileEdit::ProfileEdit( QWidget * Parent, ANetNodeInstance * TNNI ) : | 15 | ProfileEdit::ProfileEdit( QWidget * Parent, ANetNodeInstance * TNNI ) : |
14 | ProfileGUI( Parent ), RefreshTimer(this) { | 16 | ProfileGUI( Parent ), RefreshTimer(this) { |
15 | InterfaceInfo * II; | 17 | InterfaceInfo * II; |
16 | 18 | ||
17 | II = TNNI->networkSetup()->assignedInterface(); | 19 | II = TNNI->networkSetup()->assignedInterface(); |
18 | Log(( "Interface %p %p %p: %d\n", II, | 20 | Log(( "Interface %p %p %p: %d\n", II, |
19 | TNNI, TNNI->networkSetup(), (II) ? II->IsUp : 0 )); | 21 | TNNI, TNNI->networkSetup(), (II) ? II->IsUp : 0 )); |
20 | 22 | ||
21 | NNI = TNNI; | 23 | NNI = TNNI; |
22 | Dev = NNI->runtime()->device(); | 24 | Dev = NNI->runtime()->device(); |
23 | if( ( II = NNI->networkSetup()->assignedInterface() ) ) { | 25 | if( ( II = NNI->networkSetup()->assignedInterface() ) ) { |
24 | 26 | ||
25 | Refresh_CB->setEnabled( TRUE ); | 27 | Refresh_CB->setEnabled( TRUE ); |
26 | Snd_GB->setEnabled( TRUE ); | 28 | ResetODO_But->setEnabled( TRUE ); |
27 | Rcv_GB->setEnabled( TRUE ); | 29 | Sending_GB->setEnabled( TRUE ); |
28 | Collisions_FRM->setEnabled( TRUE ); | 30 | Receiving_GB->setEnabled( TRUE ); |
31 | Misc_GB->setEnabled( TRUE ); | ||
29 | 32 | ||
30 | // show current content | 33 | // show current content |
31 | SLOT_Refresh(); | 34 | SLOT_Refresh(); |
32 | 35 | ||
36 | // initialize ODO | ||
37 | SLOT_ResetODO(); | ||
38 | |||
33 | // fill in static data | 39 | // fill in static data |
34 | InterfaceName_LBL->setText( II->Name ); | 40 | InterfaceName_LBL->setText( II->Name ); |
35 | IPAddress_LBL->setText( II->Address ); | 41 | IPAddress_LBL->setText( II->Address ); |
36 | SubnetMask_LBL->setText( II->Netmask ); | 42 | SubnetMask_LBL->setText( II->Netmask ); |
37 | Broadcast_LBL->setText( II->BCastAddress ); | 43 | Broadcast_LBL->setText( II->BCastAddress ); |
38 | MACAddress_LBL->setText( II->MACAddress ); | 44 | MACAddress_LBL->setText( II->MACAddress ); |
39 | if( II->IsPointToPoint ) { | 45 | if( II->IsPointToPoint ) { |
40 | PointToPoint_LBL->setText( II->DstAddress ); | 46 | PointToPoint_LBL->setText( II->DstAddress ); |
41 | } | 47 | } |
42 | QString S; | 48 | QString S; |
43 | InterfaceName_LBL->setText( II->Name ); | 49 | InterfaceName_LBL->setText( II->Name ); |
44 | if( II->HasMulticast ) { | 50 | if( II->HasMulticast ) { |
45 | S += "Multicast"; | 51 | S += "Multicast"; |
46 | } | 52 | } |
47 | if( ! S.isEmpty() ) { | 53 | if( ! S.isEmpty() ) { |
48 | S.prepend( " : " ); | 54 | S.prepend( " : " ); |
49 | } | 55 | } |
50 | InterfaceOptions_LBL->setText( S ); | 56 | InterfaceOptions_LBL->setText( S ); |
51 | 57 | ||
52 | connect( &RefreshTimer, SIGNAL( timeout() ), | 58 | connect( &RefreshTimer, SIGNAL( timeout() ), |
53 | this, SLOT( SLOT_Refresh() ) ); | 59 | this, SLOT( SLOT_Refresh() ) ); |
54 | } | 60 | } |
55 | 61 | ||
56 | } | 62 | } |
@@ -61,42 +67,59 @@ QString ProfileEdit::acceptable( void ) { | |||
61 | 67 | ||
62 | void ProfileEdit::showData( ProfileData & Data ) { | 68 | void ProfileEdit::showData( ProfileData & Data ) { |
63 | Description_LE->setText( Data.Description ); | 69 | Description_LE->setText( Data.Description ); |
64 | Automatic_CB->setChecked( Data.Automatic ); | 70 | Automatic_CB->setChecked( Data.Automatic ); |
65 | TriggersVPN_CB->setChecked( Data.TriggerVPN ); | 71 | TriggersVPN_CB->setChecked( Data.TriggerVPN ); |
66 | Confirm_CB->setChecked( Data.Confirm ); | 72 | Confirm_CB->setChecked( Data.Confirm ); |
67 | Disabled_CB->setChecked( Data.Disabled ); | 73 | Disabled_CB->setChecked( Data.Disabled ); |
68 | } | 74 | } |
69 | 75 | ||
70 | 76 | ||
71 | bool ProfileEdit::commit( ProfileData & Data ) { | 77 | bool ProfileEdit::commit( ProfileData & Data ) { |
72 | bool SM = 0; | 78 | bool SM = 0; |
73 | TXTM( Data.Description, Description_LE, SM ); | 79 | TXTM( Data.Description, Description_LE, SM ); |
74 | 80 | ||
75 | CBM( Data.Automatic, Automatic_CB, SM ); | 81 | CBM( Data.Automatic, Automatic_CB, SM ); |
76 | CBM( Data.TriggerVPN, TriggersVPN_CB, SM ); | 82 | CBM( Data.TriggerVPN, TriggersVPN_CB, SM ); |
77 | CBM( Data.Disabled, Disabled_CB, SM ); | 83 | CBM( Data.Disabled, Disabled_CB, SM ); |
78 | CBM( Data.Confirm, Confirm_CB, SM ); | 84 | CBM( Data.Confirm, Confirm_CB, SM ); |
79 | 85 | ||
80 | return SM; | 86 | return SM; |
81 | } | 87 | } |
82 | 88 | ||
83 | void ProfileEdit::SLOT_Refresh( void ) { | 89 | void ProfileEdit::SLOT_Refresh( void ) { |
84 | InterfaceInfo * II = NNI->networkSetup()->assignedInterface(); | 90 | InterfaceInfo * II = NNI->networkSetup()->assignedInterface(); |
91 | QString S; | ||
85 | NSResources->system().refreshStatistics( *II ); | 92 | NSResources->system().refreshStatistics( *II ); |
93 | |||
86 | RcvBytes_LBL->setText( II->RcvBytes ); | 94 | RcvBytes_LBL->setText( II->RcvBytes ); |
87 | SndBytes_LBL->setText( II->SndBytes ); | 95 | RcvPackets_LBL->setText( II->RcvPackets ); |
88 | RcvErrors_LBL->setText( II->RcvErrors ); | 96 | RcvErrors_LBL->setText( II->RcvErrors ); |
89 | SndErrors_LBL->setText( II->SndErrors ); | ||
90 | RcvDropped_LBL->setText( II->RcvDropped ); | 97 | RcvDropped_LBL->setText( II->RcvDropped ); |
98 | S.setNum( II->RcvBytes.toLong() - RcvODO ); | ||
99 | RcvODO_LBL->setText( S ); | ||
100 | |||
101 | SndBytes_LBL->setText( II->SndBytes ); | ||
102 | SndPackets_LBL->setText( II->SndPackets ); | ||
103 | SndErrors_LBL->setText( II->SndErrors ); | ||
91 | SndDropped_LBL->setText( II->SndDropped ); | 104 | SndDropped_LBL->setText( II->SndDropped ); |
105 | S.setNum( II->SndBytes.toLong() - SndODO ); | ||
106 | SndODO_LBL->setText( S ); | ||
107 | |||
92 | Collisions_LBL->setText( II->Collisions ); | 108 | Collisions_LBL->setText( II->Collisions ); |
93 | } | 109 | } |
94 | 110 | ||
95 | void ProfileEdit::SLOT_AutoRefresh( bool ar ) { | 111 | void ProfileEdit::SLOT_AutoRefresh( bool ar ) { |
96 | if( ar ) { | 112 | if( ar ) { |
97 | RefreshTimer.start( 1000 ); | 113 | RefreshTimer.start( 1000 ); |
98 | SLOT_Refresh(); | 114 | SLOT_Refresh(); |
99 | } else { | 115 | } else { |
100 | RefreshTimer.stop(); | 116 | RefreshTimer.stop(); |
101 | } | 117 | } |
102 | } | 118 | } |
119 | |||
120 | void ProfileEdit::SLOT_ResetODO( void ) { | ||
121 | InterfaceInfo * II = NNI->networkSetup()->assignedInterface(); | ||
122 | RcvODO = II->RcvBytes.toLong(); | ||
123 | SndODO = II->SndBytes.toLong(); | ||
124 | SLOT_Refresh(); | ||
125 | } | ||
diff --git a/noncore/settings/networksettings2/profile/profileedit.h b/noncore/settings/networksettings2/profile/profileedit.h index 9cde845..56bd15d 100644 --- a/noncore/settings/networksettings2/profile/profileedit.h +++ b/noncore/settings/networksettings2/profile/profileedit.h | |||
@@ -1,29 +1,32 @@ | |||
1 | #include "profiledata.h" | 1 | #include "profiledata.h" |
2 | #include "profileGUI.h" | 2 | #include "profileGUI.h" |
3 | 3 | ||
4 | #include <qtimer.h> | 4 | #include <qtimer.h> |
5 | class ANetNodeInstance; | 5 | class ANetNodeInstance; |
6 | class RuntimeInfo; | 6 | class RuntimeInfo; |
7 | 7 | ||
8 | class ProfileEdit : public ProfileGUI { | 8 | class ProfileEdit : public ProfileGUI { |
9 | 9 | ||
10 | Q_OBJECT | 10 | Q_OBJECT |
11 | 11 | ||
12 | public : | 12 | public : |
13 | 13 | ||
14 | ProfileEdit( QWidget * parent, ANetNodeInstance * NNI ); | 14 | ProfileEdit( QWidget * parent, ANetNodeInstance * NNI ); |
15 | QString acceptable( void ); | 15 | QString acceptable( void ); |
16 | bool commit( ProfileData & Data ); | 16 | bool commit( ProfileData & Data ); |
17 | void showData( ProfileData & Data ); | 17 | void showData( ProfileData & Data ); |
18 | 18 | ||
19 | public slots : | 19 | public slots : |
20 | 20 | ||
21 | void SLOT_AutoRefresh( bool ); | 21 | void SLOT_AutoRefresh( bool ); |
22 | void SLOT_Refresh( void ); | 22 | void SLOT_Refresh( void ); |
23 | void SLOT_ResetODO( void ); | ||
23 | 24 | ||
24 | private : | 25 | private : |
25 | 26 | ||
26 | QTimer RefreshTimer; | 27 | QTimer RefreshTimer; |
27 | ANetNodeInstance * NNI; | 28 | ANetNodeInstance * NNI; |
28 | RuntimeInfo * Dev; | 29 | RuntimeInfo * Dev; |
30 | long RcvODO; | ||
31 | long SndODO; | ||
29 | }; | 32 | }; |