summaryrefslogtreecommitdiff
path: root/noncore/net
authorkorovkin <korovkin>2006-03-20 21:44:55 (UTC)
committer korovkin <korovkin>2006-03-20 21:44:55 (UTC)
commit74546adb68bd3f17a75003671407c4a4e6b09e73 (patch) (unidiff)
tree489034b13c803dca3e0e7e487e9465189a988c77 /noncore/net
parent14fc21051eb3ff92527fd9ddeaf117009bd74af2 (diff)
downloadopie-74546adb68bd3f17a75003671407c4a4e6b09e73.zip
opie-74546adb68bd3f17a75003671407c4a4e6b09e73.tar.gz
opie-74546adb68bd3f17a75003671407c4a4e6b09e73.tar.bz2
Added file sending.
Diffstat (limited to 'noncore/net') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/obexftpdialog.cpp99
-rw-r--r--noncore/net/opietooth/manager/obexftpdialog.h2
-rw-r--r--noncore/net/opietooth/manager/obexftpdialogbase.cpp89
-rw-r--r--noncore/net/opietooth/manager/obexftpdialogbase.h18
-rw-r--r--noncore/net/opietooth/manager/obexftpdialogbase.ui211
5 files changed, 283 insertions, 136 deletions
diff --git a/noncore/net/opietooth/manager/obexftpdialog.cpp b/noncore/net/opietooth/manager/obexftpdialog.cpp
index c77d49d..80a81b4 100644
--- a/noncore/net/opietooth/manager/obexftpdialog.cpp
+++ b/noncore/net/opietooth/manager/obexftpdialog.cpp
@@ -14,2 +14,6 @@
14#include <sys/stat.h> 14#include <sys/stat.h>
15#include <sys/types.h>
16#include <unistd.h>
17#include <string.h>
18#include <errno.h>
15#include <qpushbutton.h> 19#include <qpushbutton.h>
@@ -17,2 +21,4 @@
17#include <qmultilineedit.h> 21#include <qmultilineedit.h>
22#include <qspinbox.h>
23#include <qcombobox.h>
18#include <qlistview.h> 24#include <qlistview.h>
@@ -51,2 +57,3 @@ ObexFtpDialog::ObexFtpDialog(const QString& device, int port,
51 client = NULL; 57 client = NULL;
58 nRetries = 3;
52 transport = OBEX_TRANS_BLUETOOTH; 59 transport = OBEX_TRANS_BLUETOOTH;
@@ -70,2 +77,3 @@ ObexFtpDialog::ObexFtpDialog(const QString& device, int port,
70 localLayout->addWidget(destFile); 77 localLayout->addWidget(destFile);
78 nReries->setValue(nRetries);
71 connect(browseOK, SIGNAL(clicked()), SLOT(slotBrowse())); 79 connect(browseOK, SIGNAL(clicked()), SLOT(slotBrowse()));
@@ -76,2 +84,5 @@ ObexFtpDialog::ObexFtpDialog(const QString& device, int port,
76 SLOT(getFile())); 84 SLOT(getFile()));
85 connect(putButton,
86 SIGNAL(clicked()),
87 SLOT(putFile()));
77 connect(destFile, 88 connect(destFile,
@@ -96,7 +107,8 @@ void ObexFtpDialog::slotBrowse()
96 void *dir; //Directory to read 107 void *dir; //Directory to read
97 const uint8_t use_uuid[] = __UUID_FBS_bytes; 108 const uint8_t* use_uuid; //uuid
98 int len = sizeof(UUID_FBS); 109 int len; //uuid length
99 FileListItem* root; //root node 110 FileListItem* root; //root node
100 stat_entry_t* st; //File statistics
101 int fsize; //file size 111 int fsize; //file size
112 bool numOk; //true if the string is a number
113 int tmp; //just a temp var
102 114
@@ -107,3 +119,20 @@ void ObexFtpDialog::slotBrowse()
107 progressStatus = 0; 119 progressStatus = 0;
120 fileProgress->setTotalSteps(MAX_PROGRESS);
108 fileProgress->reset(); 121 fileProgress->reset();
122
123 //Get parameters
124 tmp = nReries->text().toInt(&numOk);
125 if (numOk)
126 nRetries = tmp;
127 if (uuidType->currentText() == "FBS") {
128 use_uuid = UUID_FBS;
129 len = sizeof(UUID_FBS);
130 } else if (uuidType->currentText() == "S45") {
131 use_uuid = UUID_S45;
132 len = sizeof(UUID_S45);
133 } else {
134 use_uuid = UUID_FBS;
135 len = sizeof(UUID_FBS);
136 }
137
109 if (!cli_connect_uuid(use_uuid, len)) { 138 if (!cli_connect_uuid(use_uuid, len)) {
@@ -123,9 +152,6 @@ void ObexFtpDialog::slotBrowse()
123 FileListItem* a; //List view item 152 FileListItem* a; //List view item
124#if 0 //Causes sigsegv
125 if (ent->mode != 16877) { 153 if (ent->mode != 16877) {
126 st = obexftp_stat(client, ent->name); 154 fsize = ent->size;
127 fsize = st->size;
128 } 155 }
129 else 156 else
130#endif
131 fsize = 0; 157 fsize = 0;
@@ -224,2 +250,6 @@ void ObexFtpDialog::getFile()
224 if (file->gettype() == IS_FILE) { 250 if (file->gettype() == IS_FILE) {
251 if (client == NULL) {
252 errBox("No connection established");
253 return;
254 }
225 file2get += curdir; 255 file2get += curdir;
@@ -231,2 +261,3 @@ void ObexFtpDialog::getFile()
231 progressStatus = 0; 261 progressStatus = 0;
262 fileProgress->setTotalSteps(file->getsize() / 1024);
232 fileProgress->reset(); 263 fileProgress->reset();
@@ -247,2 +278,50 @@ void ObexFtpDialog::getFile()
247 278
279/*
280 * Put the file
281 */
282void ObexFtpDialog::putFile()
283{
284 int result; //OPeration result
285 int idx; //Index of a symbol in the string
286 struct stat localFStat; //Local file information
287
288 if (client == NULL) {
289 errBox("No connection established");
290 return;
291 }
292 local = destFile->selectedName();
293 if (local == "") {
294 errBox("No file slected");
295 return;
296 }
297 result = stat(local, &localFStat);
298 if (result < 0) {
299 errBox(tr("Wrong file selected ") + local + tr(" ") +
300 tr(strerror(errno)));
301 return;
302 }
303 idx = local.findRev('/');
304 if (idx > 0) {
305 file2get = local.right(local.length() - idx - 1);
306 }
307 else
308 file2get = local;
309
310 odebug << "Copy " << local << " to " << file2get << oendl;
311 progressStatus = 0;
312 fileProgress->setTotalSteps(localFStat.st_size / 1024);
313 fileProgress->reset();
314 status(tr("Sending file ") + local);
315 result = obexftp_put_file(client, local, file2get);
316 if (result < 0) {
317 log(local + QString(" send ERROR"));
318 errBox(local + QString(" send ERROR"));
319 status(local + QString(" send ERROR"));
320 }
321 else {
322 log(local + QString(" sent"));
323 status(local + QString(" sent"));
324 }
325}
326
248/* connect with given uuid. re-connect every time */ 327/* connect with given uuid. re-connect every time */
@@ -263,3 +342,3 @@ int ObexFtpDialog::cli_connect_uuid(const uint8_t *uuid, int uuid_len)
263 client->quirks &= ~OBEXFTP_SPLIT_SETPATH; 342 client->quirks &= ~OBEXFTP_SPLIT_SETPATH;
264 for (retry = 0; retry < 3; retry++) { 343 for (retry = 0; retry < nRetries; retry++) {
265 /* Connect */ 344 /* Connect */
@@ -311,6 +390,4 @@ void ObexFtpDialog::incProgress()
311{ 390{
312 odebug << "Progress " << progressStatus << oendl; 391 if (progressStatus < fileProgress->totalSteps())
313 if (progressStatus < MAX_PROGRESS) {
314 fileProgress->setProgress(progressStatus++); 392 fileProgress->setProgress(progressStatus++);
315 }
316} 393}
diff --git a/noncore/net/opietooth/manager/obexftpdialog.h b/noncore/net/opietooth/manager/obexftpdialog.h
index b13efe5..7000f61 100644
--- a/noncore/net/opietooth/manager/obexftpdialog.h
+++ b/noncore/net/opietooth/manager/obexftpdialog.h
@@ -58,2 +58,3 @@ namespace OpieTooth {
58 QVBoxLayout* localLayout; //Window layout 58 QVBoxLayout* localLayout; //Window layout
59 int nRetries; //Number of retries (on connection)
59 private slots: 60 private slots:
@@ -62,2 +63,3 @@ namespace OpieTooth {
62 void getFile(); 63 void getFile();
64 void putFile();
63 void updateDir(const QString& newdir); 65 void updateDir(const QString& newdir);
diff --git a/noncore/net/opietooth/manager/obexftpdialogbase.cpp b/noncore/net/opietooth/manager/obexftpdialogbase.cpp
index 0640511..dd54b5f 100644
--- a/noncore/net/opietooth/manager/obexftpdialogbase.cpp
+++ b/noncore/net/opietooth/manager/obexftpdialogbase.cpp
@@ -3,3 +3,3 @@
3** 3**
4** Created: Sun Mar 19 16:47:24 2006 4** Created: Tue Mar 21 00:29:33 2006
5** by: The User Interface Compiler (uic) 5** by: The User Interface Compiler (uic)
@@ -13,3 +13,2 @@
13#include <qlabel.h> 13#include <qlabel.h>
14#include <qlineedit.h>
15#include <qlistview.h> 14#include <qlistview.h>
@@ -18,2 +17,3 @@
18#include <qpushbutton.h> 17#include <qpushbutton.h>
18#include <qspinbox.h>
19#include <qtabwidget.h> 19#include <qtabwidget.h>
@@ -37,3 +37,3 @@ ObexFtpDialogBase::ObexFtpDialogBase( QWidget* parent, const char* name, bool m
37 setName( "ObexFtpDialogBase" ); 37 setName( "ObexFtpDialogBase" );
38 resize( 221, 396 ); 38 resize( 267, 312 );
39 setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, sizePolicy().hasHeightForWidth() ) ); 39 setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, sizePolicy().hasHeightForWidth() ) );
@@ -51,5 +51,5 @@ ObexFtpDialogBase::ObexFtpDialogBase( QWidget* parent, const char* name, bool m
51 51
52 Layout9 = new QVBoxLayout; 52 Layout13 = new QGridLayout;
53 Layout9->setSpacing( 6 ); 53 Layout13->setSpacing( 6 );
54 Layout9->setMargin( 0 ); 54 Layout13->setMargin( 0 );
55 55
@@ -58,14 +58,12 @@ ObexFtpDialogBase::ObexFtpDialogBase( QWidget* parent, const char* name, bool m
58 fileList->addColumn( tr( "Size" ) ); 58 fileList->addColumn( tr( "Size" ) );
59 Layout9->addWidget( fileList ); 59
60 Layout13->addWidget( fileList, 0, 0 );
60 61
61 fileProgress = new QProgressBar( files, "fileProgress" ); 62 fileProgress = new QProgressBar( files, "fileProgress" );
62 Layout9->addWidget( fileProgress );
63 63
64 buttons = new QHBoxLayout; 64 Layout13->addWidget( fileProgress, 1, 0 );
65 buttons->setSpacing( 6 );
66 buttons->setMargin( 0 );
67 65
68 getButton = new QPushButton( files, "getButton" ); 66 Layout11 = new QHBoxLayout;
69 getButton->setText( tr( "Get file" ) ); 67 Layout11->setSpacing( 6 );
70 buttons->addWidget( getButton ); 68 Layout11->setMargin( 0 );
71 69
@@ -73,4 +71,13 @@ ObexFtpDialogBase::ObexFtpDialogBase( QWidget* parent, const char* name, bool m
73 browseOK->setText( tr( "Browse" ) ); 71 browseOK->setText( tr( "Browse" ) );
74 buttons->addWidget( browseOK ); 72 Layout11->addWidget( browseOK );
75 Layout9->addLayout( buttons ); 73
74 getButton = new QPushButton( files, "getButton" );
75 getButton->setText( tr( "Get file" ) );
76 Layout11->addWidget( getButton );
77
78 putButton = new QPushButton( files, "putButton" );
79 putButton->setText( tr( "Put file" ) );
80 Layout11->addWidget( putButton );
81
82 Layout13->addLayout( Layout11, 2, 0 );
76 83
@@ -78,4 +85,5 @@ ObexFtpDialogBase::ObexFtpDialogBase( QWidget* parent, const char* name, bool m
78 statusBar->setText( tr( "" ) ); 85 statusBar->setText( tr( "" ) );
79 Layout9->addWidget( statusBar ); 86
80 filesLayout->addLayout( Layout9 ); 87 Layout13->addWidget( statusBar, 3, 0 );
88 filesLayout->addLayout( Layout13 );
81 obexFtpTab->insertTab( files, tr( "Device" ) ); 89 obexFtpTab->insertTab( files, tr( "Device" ) );
@@ -87,17 +95,34 @@ ObexFtpDialogBase::ObexFtpDialogBase( QWidget* parent, const char* name, bool m
87 95
88 connRetries = new QLabel( options, "connRetries" ); 96 QWidget* privateLayoutWidget = new QWidget( options, "Layout5" );
89 connRetries->setGeometry( QRect( 10, 45, 100, 16 ) ); 97 privateLayoutWidget->setGeometry( QRect( 45, 5, 162, 63 ) );
90 connRetries->setText( tr( "Retry to connect" ) ); 98 Layout5 = new QVBoxLayout( privateLayoutWidget );
99 Layout5->setSpacing( 6 );
100 Layout5->setMargin( 0 );
91 101
92 nReries = new QLineEdit( options, "nReries" ); 102 Layout3 = new QHBoxLayout;
93 nReries->setGeometry( QRect( 115, 40, 60, 23 ) ); 103 Layout3->setSpacing( 6 );
104 Layout3->setMargin( 0 );
94 105
95 uuidLabel = new QLabel( options, "uuidLabel" ); 106 uuidLabel = new QLabel( privateLayoutWidget, "uuidLabel" );
96 uuidLabel->setGeometry( QRect( 15, 20, 67, 15 ) );
97 uuidLabel->setText( tr( "uuid type" ) ); 107 uuidLabel->setText( tr( "uuid type" ) );
108 Layout3->addWidget( uuidLabel );
98 109
99 uuidType = new QComboBox( FALSE, options, "uuidType" ); 110 uuidType = new QComboBox( FALSE, privateLayoutWidget, "uuidType" );
100 uuidType->insertItem( tr( "FBS" ) ); 111 uuidType->insertItem( tr( "FBS" ) );
101 uuidType->insertItem( tr( "S45" ) ); 112 uuidType->insertItem( tr( "S45" ) );
102 uuidType->setGeometry( QRect( 85, 10, 100, 30 ) ); 113 Layout3->addWidget( uuidType );
114 Layout5->addLayout( Layout3 );
115
116 Layout4 = new QHBoxLayout;
117 Layout4->setSpacing( 6 );
118 Layout4->setMargin( 0 );
119
120 connRetries = new QLabel( privateLayoutWidget, "connRetries" );
121 connRetries->setText( tr( "Retry to connect" ) );
122 Layout4->addWidget( connRetries );
123
124 nReries = new QSpinBox( privateLayoutWidget, "nReries" );
125 nReries->setButtonSymbols( QSpinBox::PlusMinus );
126 Layout4->addWidget( nReries );
127 Layout5->addLayout( Layout4 );
103 obexFtpTab->insertTab( options, tr( "Options" ) ); 128 obexFtpTab->insertTab( options, tr( "Options" ) );
@@ -116,7 +141,7 @@ ObexFtpDialogBase::ObexFtpDialogBase( QWidget* parent, const char* name, bool m
116 setTabOrder( obexFtpTab, fileList ); 141 setTabOrder( obexFtpTab, fileList );
117 setTabOrder( fileList, getButton ); 142 setTabOrder( fileList, browseOK );
118 setTabOrder( getButton, browseOK ); 143 setTabOrder( browseOK, getButton );
119 setTabOrder( browseOK, uuidType ); 144 setTabOrder( getButton, putButton );
120 setTabOrder( uuidType, nReries ); 145 setTabOrder( putButton, uuidType );
121 setTabOrder( nReries, browseLog ); 146 setTabOrder( uuidType, browseLog );
122} 147}
diff --git a/noncore/net/opietooth/manager/obexftpdialogbase.h b/noncore/net/opietooth/manager/obexftpdialogbase.h
index 3a4937a..32a313d 100644
--- a/noncore/net/opietooth/manager/obexftpdialogbase.h
+++ b/noncore/net/opietooth/manager/obexftpdialogbase.h
@@ -3,3 +3,3 @@
3** 3**
4** Created: Sun Mar 19 16:46:33 2006 4** Created: Tue Mar 21 00:28:12 2006
5** by: The User Interface Compiler (uic) 5** by: The User Interface Compiler (uic)
@@ -18,3 +18,2 @@ class QComboBox;
18class QLabel; 18class QLabel;
19class QLineEdit;
20class QListView; 19class QListView;
@@ -24,2 +23,3 @@ class QProgressBar;
24class QPushButton; 23class QPushButton;
24class QSpinBox;
25class QTabWidget; 25class QTabWidget;
@@ -39,4 +39,5 @@ public:
39 QProgressBar* fileProgress; 39 QProgressBar* fileProgress;
40 QPushButton* getButton;
41 QPushButton* browseOK; 40 QPushButton* browseOK;
41 QPushButton* getButton;
42 QPushButton* putButton;
42 QLabel* statusBar; 43 QLabel* statusBar;
@@ -44,6 +45,6 @@ public:
44 QWidget* options; 45 QWidget* options;
45 QLabel* connRetries;
46 QLineEdit* nReries;
47 QLabel* uuidLabel; 46 QLabel* uuidLabel;
48 QComboBox* uuidType; 47 QComboBox* uuidType;
48 QLabel* connRetries;
49 QSpinBox* nReries;
49 QWidget* browse; 50 QWidget* browse;
@@ -54,4 +55,7 @@ protected:
54 QVBoxLayout* filesLayout; 55 QVBoxLayout* filesLayout;
55 QVBoxLayout* Layout9; 56 QGridLayout* Layout13;
56 QHBoxLayout* buttons; 57 QHBoxLayout* Layout11;
58 QVBoxLayout* Layout5;
59 QHBoxLayout* Layout3;
60 QHBoxLayout* Layout4;
57 QHBoxLayout* browseLayout; 61 QHBoxLayout* browseLayout;
diff --git a/noncore/net/opietooth/manager/obexftpdialogbase.ui b/noncore/net/opietooth/manager/obexftpdialogbase.ui
index 86e87e4..b372b9d 100644
--- a/noncore/net/opietooth/manager/obexftpdialogbase.ui
+++ b/noncore/net/opietooth/manager/obexftpdialogbase.ui
@@ -13,4 +13,4 @@
13 <y>0</y> 13 <y>0</y>
14 <width>221</width> 14 <width>267</width>
15 <height>396</height> 15 <height>312</height>
16 </rect> 16 </rect>
@@ -78,5 +78,5 @@
78 <name>name</name> 78 <name>name</name>
79 <cstring>Layout9</cstring> 79 <cstring>Layout13</cstring>
80 </property> 80 </property>
81 <vbox> 81 <grid>
82 <property stdset="1"> 82 <property stdset="1">
@@ -89,3 +89,3 @@
89 </property> 89 </property>
90 <widget> 90 <widget row="0" column="0" >
91 <class>QListView</class> 91 <class>QListView</class>
@@ -124,3 +124,3 @@
124 </widget> 124 </widget>
125 <widget> 125 <widget row="1" column="0" >
126 <class>QProgressBar</class> 126 <class>QProgressBar</class>
@@ -131,3 +131,3 @@
131 </widget> 131 </widget>
132 <widget> 132 <widget row="2" column="0" >
133 <class>QLayoutWidget</class> 133 <class>QLayoutWidget</class>
@@ -135,3 +135,3 @@
135 <name>name</name> 135 <name>name</name>
136 <cstring>buttons</cstring> 136 <cstring>Layout11</cstring>
137 </property> 137 </property>
@@ -150,2 +150,13 @@
150 <name>name</name> 150 <name>name</name>
151 <cstring>browseOK</cstring>
152 </property>
153 <property stdset="1">
154 <name>text</name>
155 <string>Browse</string>
156 </property>
157 </widget>
158 <widget>
159 <class>QPushButton</class>
160 <property stdset="1">
161 <name>name</name>
151 <cstring>getButton</cstring> 162 <cstring>getButton</cstring>
@@ -161,3 +172,3 @@
161 <name>name</name> 172 <name>name</name>
162 <cstring>browseOK</cstring> 173 <cstring>putButton</cstring>
163 </property> 174 </property>
@@ -165,3 +176,3 @@
165 <name>text</name> 176 <name>text</name>
166 <string>Browse</string> 177 <string>Put file</string>
167 </property> 178 </property>
@@ -170,3 +181,3 @@
170 </widget> 181 </widget>
171 <widget> 182 <widget row="3" column="0" >
172 <class>QLabel</class> 183 <class>QLabel</class>
@@ -181,3 +192,3 @@
181 </widget> 192 </widget>
182 </vbox> 193 </grid>
183 </widget> 194 </widget>
@@ -207,26 +218,6 @@
207 <widget> 218 <widget>
208 <class>QLabel</class> 219 <class>QLayoutWidget</class>
209 <property stdset="1">
210 <name>name</name>
211 <cstring>connRetries</cstring>
212 </property>
213 <property stdset="1">
214 <name>geometry</name>
215 <rect>
216 <x>10</x>
217 <y>45</y>
218 <width>100</width>
219 <height>16</height>
220 </rect>
221 </property>
222 <property stdset="1">
223 <name>text</name>
224 <string>Retry to connect</string>
225 </property>
226 </widget>
227 <widget>
228 <class>QLineEdit</class>
229 <property stdset="1"> 220 <property stdset="1">
230 <name>name</name> 221 <name>name</name>
231 <cstring>nReries</cstring> 222 <cstring>Layout5</cstring>
232 </property> 223 </property>
@@ -235,56 +226,104 @@
235 <rect> 226 <rect>
236 <x>115</x> 227 <x>45</x>
237 <y>40</y> 228 <y>5</y>
238 <width>60</width> 229 <width>162</width>
239 <height>23</height> 230 <height>63</height>
240 </rect> 231 </rect>
241 </property> 232 </property>
242 </widget> 233 <vbox>
243 <widget> 234 <property stdset="1">
244 <class>QLabel</class> 235 <name>margin</name>
245 <property stdset="1"> 236 <number>0</number>
246 <name>name</name>
247 <cstring>uuidLabel</cstring>
248 </property>
249 <property stdset="1">
250 <name>geometry</name>
251 <rect>
252 <x>15</x>
253 <y>20</y>
254 <width>67</width>
255 <height>15</height>
256 </rect>
257 </property>
258 <property stdset="1">
259 <name>text</name>
260 <string>uuid type</string>
261 </property>
262 </widget>
263 <widget>
264 <class>QComboBox</class>
265 <item>
266 <property>
267 <name>text</name>
268 <string>FBS</string>
269 </property> 237 </property>
270 </item> 238 <property stdset="1">
271 <item> 239 <name>spacing</name>
272 <property> 240 <number>6</number>
273 <name>text</name>
274 <string>S45</string>
275 </property> 241 </property>
276 </item> 242 <widget>
277 <property stdset="1"> 243 <class>QLayoutWidget</class>
278 <name>name</name> 244 <property stdset="1">
279 <cstring>uuidType</cstring> 245 <name>name</name>
280 </property> 246 <cstring>Layout3</cstring>
281 <property stdset="1"> 247 </property>
282 <name>geometry</name> 248 <hbox>
283 <rect> 249 <property stdset="1">
284 <x>85</x> 250 <name>margin</name>
285 <y>10</y> 251 <number>0</number>
286 <width>100</width> 252 </property>
287 <height>30</height> 253 <property stdset="1">
288 </rect> 254 <name>spacing</name>
289 </property> 255 <number>6</number>
256 </property>
257 <widget>
258 <class>QLabel</class>
259 <property stdset="1">
260 <name>name</name>
261 <cstring>uuidLabel</cstring>
262 </property>
263 <property stdset="1">
264 <name>text</name>
265 <string>uuid type</string>
266 </property>
267 </widget>
268 <widget>
269 <class>QComboBox</class>
270 <item>
271 <property>
272 <name>text</name>
273 <string>FBS</string>
274 </property>
275 </item>
276 <item>
277 <property>
278 <name>text</name>
279 <string>S45</string>
280 </property>
281 </item>
282 <property stdset="1">
283 <name>name</name>
284 <cstring>uuidType</cstring>
285 </property>
286 </widget>
287 </hbox>
288 </widget>
289 <widget>
290 <class>QLayoutWidget</class>
291 <property stdset="1">
292 <name>name</name>
293 <cstring>Layout4</cstring>
294 </property>
295 <hbox>
296 <property stdset="1">
297 <name>margin</name>
298 <number>0</number>
299 </property>
300 <property stdset="1">
301 <name>spacing</name>
302 <number>6</number>
303 </property>
304 <widget>
305 <class>QLabel</class>
306 <property stdset="1">
307 <name>name</name>
308 <cstring>connRetries</cstring>
309 </property>
310 <property stdset="1">
311 <name>text</name>
312 <string>Retry to connect</string>
313 </property>
314 </widget>
315 <widget>
316 <class>QSpinBox</class>
317 <property stdset="1">
318 <name>name</name>
319 <cstring>nReries</cstring>
320 </property>
321 <property stdset="1">
322 <name>buttonSymbols</name>
323 <enum>PlusMinus</enum>
324 </property>
325 </widget>
326 </hbox>
327 </widget>
328 </vbox>
290 </widget> 329 </widget>
@@ -325,6 +364,6 @@
325 <tabstop>fileList</tabstop> 364 <tabstop>fileList</tabstop>
326 <tabstop>getButton</tabstop>
327 <tabstop>browseOK</tabstop> 365 <tabstop>browseOK</tabstop>
366 <tabstop>getButton</tabstop>
367 <tabstop>putButton</tabstop>
328 <tabstop>uuidType</tabstop> 368 <tabstop>uuidType</tabstop>
329 <tabstop>nReries</tabstop>
330 <tabstop>browseLog</tabstop> 369 <tabstop>browseLog</tabstop>