author | cniehaus <cniehaus> | 2003-01-02 12:40:28 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2003-01-02 12:40:28 (UTC) |
commit | e11e02a6b9d1a7528f0f1c196e55251e4e43f260 (patch) (unidiff) | |
tree | 2d459c571bec4c419326ef2eaac85c7c84039a1e | |
parent | eb27dddf45ec6ab545ad8266706f55c9c4928a1f (diff) | |
download | opie-e11e02a6b9d1a7528f0f1c196e55251e4e43f260.zip opie-e11e02a6b9d1a7528f0f1c196e55251e4e43f260.tar.gz opie-e11e02a6b9d1a7528f0f1c196e55251e4e43f260.tar.bz2 |
Fix some typos, as usual: found by Tais (tm)
- QMessageBox::warning(this, tr("OContacts"),
+ QMessageBox::warning(this, tr("Contacts"),
- cmbCountry->insertItem( tr ( "Afganistan" ) );
+ cmbCountry->insertItem( tr ( "Afghanistan" ) );
- cmbCountry->insertItem( tr ( "Antartica" ) );
+ cmbCountry->insertItem( tr ( "Antarctica" ) );
- cmbCountry->insertItem( tr ( "Armania" ) );
+ cmbCountry->insertItem( tr ( "Armenia" ) );
- cmbCountry->insertItem( tr ( "Boliva" ) );
+ cmbCountry->insertItem( tr ( "Bolivia" ) );
- cmbCountry->insertItem( tr ( "Camaroon" ) );
+ cmbCountry->insertItem( tr ( "Cameroon" ) );
- cmbCountry->insertItem( tr ( "Gahna" ) );
+ cmbCountry->insertItem( tr ( "Ghana" ) );
- cmbCountry->insertItem( tr ( "Guadelupe" ) );
+ cmbCountry->insertItem( tr ( "Guadeloupe" ) );
- cmbCountry->insertItem( tr ( "Guinea-bissau" ) );
+ cmbCountry->insertItem( tr ( "Guinea-Bissau" ) );
- cmbCountry->insertItem( tr ( "Jamacia" ) );
+ cmbCountry->insertItem( tr ( "Jamaica" ) );
- cmbCountry->insertItem( tr ( "Kribati" ) );
+ cmbCountry->insertItem( tr ( "Kiribati" ) );
- cmbCountry->insertItem( tr ( "Kyrgystan" ) );
+ cmbCountry->insertItem( tr ( "Kyrgyzstan" ) );
- cmbCountry->insertItem( tr ( "Palestinian Territory" ) );
+ cmbCountry->insertItem( tr ( "Palestinian Sovereign Areas" ) );
- cmbCountry->insertItem( tr ( "Pitcairn" ) );
+ cmbCountry->insertItem( tr ( "Pitcairn Islands" ) );
- cmbCountry->insertItem( tr ( "Viet Nam" ) );
+ cmbCountry->insertItem( tr ( "Vietnam" ) );
-rw-r--r-- | core/pim/addressbook/addressbook.cpp | 2 | ||||
-rw-r--r-- | core/pim/addressbook/contacteditor.cpp | 28 |
2 files changed, 15 insertions, 15 deletions
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp index ea87e51..8888611 100644 --- a/core/pim/addressbook/addressbook.cpp +++ b/core/pim/addressbook/addressbook.cpp | |||
@@ -374,97 +374,97 @@ void AddressbookWindow::setDocument( const QString &filename ) | |||
374 | qWarning("YES clicked"); | 374 | qWarning("YES clicked"); |
375 | m_abView->addEntry( *it ); | 375 | m_abView->addEntry( *it ); |
376 | break; | 376 | break; |
377 | case 1: | 377 | case 1: |
378 | qWarning("NO clicked"); | 378 | qWarning("NO clicked"); |
379 | break; | 379 | break; |
380 | case 2: | 380 | case 2: |
381 | qWarning("YesAll clicked"); | 381 | qWarning("YesAll clicked"); |
382 | doAsk = false; | 382 | doAsk = false; |
383 | break; | 383 | break; |
384 | } | 384 | } |
385 | }else | 385 | }else |
386 | m_abView->addEntry( *it ); | 386 | m_abView->addEntry( *it ); |
387 | 387 | ||
388 | } | 388 | } |
389 | 389 | ||
390 | delete access; | 390 | delete access; |
391 | } | 391 | } |
392 | 392 | ||
393 | void AddressbookWindow::resizeEvent( QResizeEvent *e ) | 393 | void AddressbookWindow::resizeEvent( QResizeEvent *e ) |
394 | { | 394 | { |
395 | QMainWindow::resizeEvent( e ); | 395 | QMainWindow::resizeEvent( e ); |
396 | 396 | ||
397 | 397 | ||
398 | } | 398 | } |
399 | 399 | ||
400 | AddressbookWindow::~AddressbookWindow() | 400 | AddressbookWindow::~AddressbookWindow() |
401 | { | 401 | { |
402 | ToolBarDock dock; | 402 | ToolBarDock dock; |
403 | int dummy; | 403 | int dummy; |
404 | bool bDummy; | 404 | bool bDummy; |
405 | getLocation ( listTools, dock, dummy, bDummy, dummy ); | 405 | getLocation ( listTools, dock, dummy, bDummy, dummy ); |
406 | m_config.setToolBarDock( dock ); | 406 | m_config.setToolBarDock( dock ); |
407 | m_config.save(); | 407 | m_config.save(); |
408 | } | 408 | } |
409 | 409 | ||
410 | void AddressbookWindow::slotUpdateToolbar() | 410 | void AddressbookWindow::slotUpdateToolbar() |
411 | { | 411 | { |
412 | OContact ce = m_abView->currentEntry(); | 412 | OContact ce = m_abView->currentEntry(); |
413 | actionMail->setEnabled( !ce.defaultEmail().isEmpty() ); | 413 | actionMail->setEnabled( !ce.defaultEmail().isEmpty() ); |
414 | } | 414 | } |
415 | 415 | ||
416 | void AddressbookWindow::slotListNew() | 416 | void AddressbookWindow::slotListNew() |
417 | { | 417 | { |
418 | OContact cnt; | 418 | OContact cnt; |
419 | if( !syncing ) { | 419 | if( !syncing ) { |
420 | editEntry( NewEntry ); | 420 | editEntry( NewEntry ); |
421 | } else { | 421 | } else { |
422 | QMessageBox::warning(this, tr("OContacts"), | 422 | QMessageBox::warning(this, tr("Contacts"), |
423 | tr("Can not edit data, currently syncing")); | 423 | tr("Can not edit data, currently syncing")); |
424 | } | 424 | } |
425 | } | 425 | } |
426 | 426 | ||
427 | // void AddressbookWindow::slotListView() | 427 | // void AddressbookWindow::slotListView() |
428 | // { | 428 | // { |
429 | // m_abView -> init( abList->currentEntry() ); | 429 | // m_abView -> init( abList->currentEntry() ); |
430 | // // :SX mView->sync(); | 430 | // // :SX mView->sync(); |
431 | // //:SXshowView(); | 431 | // //:SXshowView(); |
432 | // } | 432 | // } |
433 | 433 | ||
434 | void AddressbookWindow::slotListDelete() | 434 | void AddressbookWindow::slotListDelete() |
435 | { | 435 | { |
436 | if(!syncing) { | 436 | if(!syncing) { |
437 | OContact tmpEntry = m_abView ->currentEntry(); | 437 | OContact tmpEntry = m_abView ->currentEntry(); |
438 | 438 | ||
439 | // get a name, do the best we can... | 439 | // get a name, do the best we can... |
440 | QString strName = tmpEntry.fullName(); | 440 | QString strName = tmpEntry.fullName(); |
441 | if ( strName.isEmpty() ) { | 441 | if ( strName.isEmpty() ) { |
442 | strName = tmpEntry.company(); | 442 | strName = tmpEntry.company(); |
443 | if ( strName.isEmpty() ) | 443 | if ( strName.isEmpty() ) |
444 | strName = "No Name"; | 444 | strName = "No Name"; |
445 | } | 445 | } |
446 | 446 | ||
447 | 447 | ||
448 | if ( QPEMessageBox::confirmDelete( this, tr( "Contacts" ), | 448 | if ( QPEMessageBox::confirmDelete( this, tr( "Contacts" ), |
449 | strName ) ) { | 449 | strName ) ) { |
450 | m_abView->removeEntry( tmpEntry.uid() ); | 450 | m_abView->removeEntry( tmpEntry.uid() ); |
451 | } | 451 | } |
452 | } else { | 452 | } else { |
453 | QMessageBox::warning( this, tr("Contacts"), | 453 | QMessageBox::warning( this, tr("Contacts"), |
454 | tr("Can not edit data, currently syncing") ); | 454 | tr("Can not edit data, currently syncing") ); |
455 | } | 455 | } |
456 | } | 456 | } |
457 | 457 | ||
458 | void AddressbookWindow::slotFindOpen() | 458 | void AddressbookWindow::slotFindOpen() |
459 | { | 459 | { |
460 | searchBar->show(); | 460 | searchBar->show(); |
461 | m_abView -> inSearch(); | 461 | m_abView -> inSearch(); |
462 | searchEdit->setFocus(); | 462 | searchEdit->setFocus(); |
463 | } | 463 | } |
464 | void AddressbookWindow::slotFindClose() | 464 | void AddressbookWindow::slotFindClose() |
465 | { | 465 | { |
466 | searchBar->hide(); | 466 | searchBar->hide(); |
467 | m_abView -> offSearch(); | 467 | m_abView -> offSearch(); |
468 | // m_abView->setFocus(); | 468 | // m_abView->setFocus(); |
469 | } | 469 | } |
470 | 470 | ||
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp index b68d88c..c5ad0c4 100644 --- a/core/pim/addressbook/contacteditor.cpp +++ b/core/pim/addressbook/contacteditor.cpp | |||
@@ -189,298 +189,298 @@ void ContactEditor::init() { | |||
189 | 189 | ||
190 | tabMain->insertTab( tabViewport, tr( "General" ) ); | 190 | tabMain->insertTab( tabViewport, tr( "General" ) ); |
191 | 191 | ||
192 | tabViewport = new QWidget ( tabMain ); | 192 | tabViewport = new QWidget ( tabMain ); |
193 | 193 | ||
194 | vb = new QVBoxLayout( tabViewport ); | 194 | vb = new QVBoxLayout( tabViewport ); |
195 | 195 | ||
196 | svAddress = new QScrollView( tabViewport ); | 196 | svAddress = new QScrollView( tabViewport ); |
197 | vb->addWidget( svAddress, 0, 0 ); | 197 | vb->addWidget( svAddress, 0, 0 ); |
198 | svAddress->setResizePolicy( QScrollView::AutoOneFit ); | 198 | svAddress->setResizePolicy( QScrollView::AutoOneFit ); |
199 | svAddress->setFrameStyle( QFrame::NoFrame ); | 199 | svAddress->setFrameStyle( QFrame::NoFrame ); |
200 | 200 | ||
201 | container = new QWidget( svAddress->viewport() ); | 201 | container = new QWidget( svAddress->viewport() ); |
202 | svAddress->addChild( container ); | 202 | svAddress->addChild( container ); |
203 | 203 | ||
204 | gl = new QGridLayout( container, 8, 3, 2, 4 ); // row 7 QSpacerItem | 204 | gl = new QGridLayout( container, 8, 3, 2, 4 ); // row 7 QSpacerItem |
205 | 205 | ||
206 | cmbAddress = new QComboBox( FALSE, container ); | 206 | cmbAddress = new QComboBox( FALSE, container ); |
207 | cmbAddress->insertItem( tr( "Business" ) ); | 207 | cmbAddress->insertItem( tr( "Business" ) ); |
208 | cmbAddress->insertItem( tr( "Home" ) ); | 208 | cmbAddress->insertItem( tr( "Home" ) ); |
209 | gl->addMultiCellWidget( cmbAddress, 0, 0, 0, 1 ); | 209 | gl->addMultiCellWidget( cmbAddress, 0, 0, 0, 1 ); |
210 | 210 | ||
211 | l = new QLabel( tr( "Address" ), container ); | 211 | l = new QLabel( tr( "Address" ), container ); |
212 | gl->addWidget( l, 1, 0 ); | 212 | gl->addWidget( l, 1, 0 ); |
213 | txtAddress = new QLineEdit( container ); | 213 | txtAddress = new QLineEdit( container ); |
214 | gl->addMultiCellWidget( txtAddress, 1, 1, 1, 2 ); | 214 | gl->addMultiCellWidget( txtAddress, 1, 1, 1, 2 ); |
215 | 215 | ||
216 | l = new QLabel( tr( "City" ), container ); | 216 | l = new QLabel( tr( "City" ), container ); |
217 | gl->addWidget( l, 2, 0 ); | 217 | gl->addWidget( l, 2, 0 ); |
218 | txtCity = new QLineEdit( container ); | 218 | txtCity = new QLineEdit( container ); |
219 | gl->addMultiCellWidget( txtCity, 2, 2, 1, 2 ); | 219 | gl->addMultiCellWidget( txtCity, 2, 2, 1, 2 ); |
220 | 220 | ||
221 | l = new QLabel( tr( "State" ), container ); | 221 | l = new QLabel( tr( "State" ), container ); |
222 | gl->addWidget( l, 3, 0 ); | 222 | gl->addWidget( l, 3, 0 ); |
223 | txtState = new QLineEdit( container ); | 223 | txtState = new QLineEdit( container ); |
224 | gl->addMultiCellWidget( txtState, 3, 3, 1, 2 ); | 224 | gl->addMultiCellWidget( txtState, 3, 3, 1, 2 ); |
225 | 225 | ||
226 | l = new QLabel( tr( "Zip Code" ), container ); | 226 | l = new QLabel( tr( "Zip Code" ), container ); |
227 | gl->addWidget( l, 4, 0 ); | 227 | gl->addWidget( l, 4, 0 ); |
228 | txtZip = new QLineEdit( container ); | 228 | txtZip = new QLineEdit( container ); |
229 | gl->addMultiCellWidget( txtZip, 4, 4, 1, 2 ); | 229 | gl->addMultiCellWidget( txtZip, 4, 4, 1, 2 ); |
230 | 230 | ||
231 | l = new QLabel( tr( "Country" ), container ); | 231 | l = new QLabel( tr( "Country" ), container ); |
232 | gl->addWidget( l, 5, 0 ); | 232 | gl->addWidget( l, 5, 0 ); |
233 | cmbCountry = new QComboBox( TRUE, container ); | 233 | cmbCountry = new QComboBox( TRUE, container ); |
234 | cmbCountry->insertItem( tr( "" ) ); | 234 | cmbCountry->insertItem( tr( "" ) ); |
235 | cmbCountry->insertItem( tr ( "United States" ) ); | 235 | cmbCountry->insertItem( tr ( "United States" ) ); |
236 | cmbCountry->insertItem( tr ( "United Kingdom" ) ); | 236 | cmbCountry->insertItem( tr ( "United Kingdom" ) ); |
237 | cmbCountry->insertItem( tr ( "Afganistan" ) ); | 237 | cmbCountry->insertItem( tr ( "Afghanistan" ) ); |
238 | cmbCountry->insertItem( tr ( "Albania" ) ); | 238 | cmbCountry->insertItem( tr ( "Albania" ) ); |
239 | cmbCountry->insertItem( tr ( "Algeria" ) ); | 239 | cmbCountry->insertItem( tr ( "Algeria" ) ); |
240 | cmbCountry->insertItem( tr ( "American Samoa" ) ); | 240 | cmbCountry->insertItem( tr ( "American Samoa" ) ); |
241 | cmbCountry->insertItem( tr ( "Andorra" ) ); | 241 | cmbCountry->insertItem( tr ( "Andorra" ) ); |
242 | cmbCountry->insertItem( tr ( "Angola" ) ); | 242 | cmbCountry->insertItem( tr ( "Angola" ) ); |
243 | cmbCountry->insertItem( tr ( "Anguilla" ) ); | 243 | cmbCountry->insertItem( tr ( "Anguilla" ) ); |
244 | cmbCountry->insertItem( tr ( "Antartica" ) ); | 244 | cmbCountry->insertItem( tr ( "Antarctica" ) ); |
245 | cmbCountry->insertItem( tr ( "Argentina" ) ); | 245 | cmbCountry->insertItem( tr ( "Argentina" ) ); |
246 | cmbCountry->insertItem( tr ( "Armania" ) ); | 246 | cmbCountry->insertItem( tr ( "Armenia" ) ); |
247 | cmbCountry->insertItem( tr ( "Aruba" ) ); | 247 | cmbCountry->insertItem( tr ( "Aruba" ) ); |
248 | cmbCountry->insertItem( tr ( "Australia" ) ); | 248 | cmbCountry->insertItem( tr ( "Australia" ) ); |
249 | cmbCountry->insertItem( tr ( "Austria" ) ); | 249 | cmbCountry->insertItem( tr ( "Austria" ) ); |
250 | cmbCountry->insertItem( tr ( "Azerbaijan" ) ); | 250 | cmbCountry->insertItem( tr ( "Azerbaijan" ) ); |
251 | cmbCountry->insertItem( tr ( "Bahamas" ) ); | 251 | cmbCountry->insertItem( tr ( "Bahamas" ) ); |
252 | cmbCountry->insertItem( tr ( "Bahrain" ) ); | 252 | cmbCountry->insertItem( tr ( "Bahrain" ) ); |
253 | cmbCountry->insertItem( tr ( "Bangladesh" ) ); | 253 | cmbCountry->insertItem( tr ( "Bangladesh" ) ); |
254 | cmbCountry->insertItem( tr ( "Barbados" ) ); | 254 | cmbCountry->insertItem( tr ( "Barbados" ) ); |
255 | cmbCountry->insertItem( tr ( "Belarus" ) ); | 255 | cmbCountry->insertItem( tr ( "Belarus" ) ); |
256 | cmbCountry->insertItem( tr ( "Belgium" ) ); | 256 | cmbCountry->insertItem( tr ( "Belgium" ) ); |
257 | cmbCountry->insertItem( tr ( "Belize" ) ); | 257 | cmbCountry->insertItem( tr ( "Belize" ) ); |
258 | cmbCountry->insertItem( tr ( "Benin" ) ); | 258 | cmbCountry->insertItem( tr ( "Benin" ) ); |
259 | cmbCountry->insertItem( tr ( "Bermuda" ) ); | 259 | cmbCountry->insertItem( tr ( "Bermuda" ) ); |
260 | cmbCountry->insertItem( tr ( "Bhutan" ) ); | 260 | cmbCountry->insertItem( tr ( "Bhutan" ) ); |
261 | cmbCountry->insertItem( tr ( "Boliva" ) ); | 261 | cmbCountry->insertItem( tr ( "Bolivia" ) ); |
262 | cmbCountry->insertItem( tr ( "Botswana" ) ); | 262 | cmbCountry->insertItem( tr ( "Botswana" ) ); |
263 | cmbCountry->insertItem( tr ( "Bouvet Island" ) ); | 263 | cmbCountry->insertItem( tr ( "Bouvet Island" ) ); |
264 | cmbCountry->insertItem( tr ( "Brazil" ) ); | 264 | cmbCountry->insertItem( tr ( "Brazil" ) ); |
265 | cmbCountry->insertItem( tr ( "Brunei Darussalam" ) ); | 265 | cmbCountry->insertItem( tr ( "Brunei Darussalam" ) ); |
266 | cmbCountry->insertItem( tr ( "Bulgaria" ) ); | 266 | cmbCountry->insertItem( tr ( "Bulgaria" ) ); |
267 | cmbCountry->insertItem( tr ( "Burkina Faso" ) ); | 267 | cmbCountry->insertItem( tr ( "Burkina Faso" ) ); |
268 | cmbCountry->insertItem( tr ( "Burundi" ) ); | 268 | cmbCountry->insertItem( tr ( "Burundi" ) ); |
269 | cmbCountry->insertItem( tr ( "Cambodia" ) ); | 269 | cmbCountry->insertItem( tr ( "Cambodia" ) ); |
270 | cmbCountry->insertItem( tr ( "Camaroon" ) ); | 270 | cmbCountry->insertItem( tr ( "Cameroon" ) ); |
271 | cmbCountry->insertItem( tr ( "Canada" ) ); | 271 | cmbCountry->insertItem( tr ( "Canada" ) ); |
272 | cmbCountry->insertItem( tr ( "Cape Verde" ) ); | 272 | cmbCountry->insertItem( tr ( "Cape Verde" ) ); |
273 | cmbCountry->insertItem( tr ( "Cayman Islands" ) ); | 273 | cmbCountry->insertItem( tr ( "Cayman Islands" ) ); |
274 | cmbCountry->insertItem( tr ( "Chad" ) ); | 274 | cmbCountry->insertItem( tr ( "Chad" ) ); |
275 | cmbCountry->insertItem( tr ( "Chile" ) ); | 275 | cmbCountry->insertItem( tr ( "Chile" ) ); |
276 | cmbCountry->insertItem( tr ( "China" ) ); | 276 | cmbCountry->insertItem( tr ( "China" ) ); |
277 | cmbCountry->insertItem( tr ( "Christmas Island" ) ); | 277 | cmbCountry->insertItem( tr ( "Christmas Island" ) ); |
278 | cmbCountry->insertItem( tr ( "Colombia" ) ); | 278 | cmbCountry->insertItem( tr ( "Colombia" ) ); |
279 | cmbCountry->insertItem( tr ( "Comoros" ) ); | 279 | cmbCountry->insertItem( tr ( "Comoros" ) ); |
280 | cmbCountry->insertItem( tr ( "Congo" ) ); | 280 | cmbCountry->insertItem( tr ( "Congo" ) ); |
281 | cmbCountry->insertItem( tr ( "Cook Island" ) ); | 281 | cmbCountry->insertItem( tr ( "Cook Island" ) ); |
282 | cmbCountry->insertItem( tr ( "Costa Rica" ) ); | 282 | cmbCountry->insertItem( tr ( "Costa Rica" ) ); |
283 | cmbCountry->insertItem( tr ( "Cote d'Ivoire" ) ); | 283 | cmbCountry->insertItem( tr ( "Cote d'Ivoire" ) ); |
284 | cmbCountry->insertItem( tr ( "Croatia" ) ); | 284 | cmbCountry->insertItem( tr ( "Croatia" ) ); |
285 | cmbCountry->insertItem( tr ( "Cuba" ) ); | 285 | cmbCountry->insertItem( tr ( "Cuba" ) ); |
286 | cmbCountry->insertItem( tr ( "Cyprus" ) ); | 286 | cmbCountry->insertItem( tr ( "Cyprus" ) ); |
287 | cmbCountry->insertItem( tr ( "Czech Republic" ) ); | 287 | cmbCountry->insertItem( tr ( "Czech Republic" ) ); |
288 | cmbCountry->insertItem( tr ( "Denmark" ) ); | 288 | cmbCountry->insertItem( tr ( "Denmark" ) ); |
289 | cmbCountry->insertItem( tr ( "Djibouti" ) ); | 289 | cmbCountry->insertItem( tr ( "Djibouti" ) ); |
290 | cmbCountry->insertItem( tr ( "Dominica" ) ); | 290 | cmbCountry->insertItem( tr ( "Dominica" ) ); |
291 | cmbCountry->insertItem( tr ( "Dominican Republic" ) ); | 291 | cmbCountry->insertItem( tr ( "Dominican Republic" ) ); |
292 | cmbCountry->insertItem( tr ( "East Timor" ) ); | 292 | cmbCountry->insertItem( tr ( "East Timor" ) ); |
293 | cmbCountry->insertItem( tr ( "Ecuador" ) ); | 293 | cmbCountry->insertItem( tr ( "Ecuador" ) ); |
294 | cmbCountry->insertItem( tr ( "Egypt" ) ); | 294 | cmbCountry->insertItem( tr ( "Egypt" ) ); |
295 | cmbCountry->insertItem( tr ( "El Salvador" ) ); | 295 | cmbCountry->insertItem( tr ( "El Salvador" ) ); |
296 | cmbCountry->insertItem( tr ( "Equatorial Guinea" ) ); | 296 | cmbCountry->insertItem( tr ( "Equatorial Guinea" ) ); |
297 | cmbCountry->insertItem( tr ( "Eritrea" ) ); | 297 | cmbCountry->insertItem( tr ( "Eritrea" ) ); |
298 | cmbCountry->insertItem( tr ( "Estonia" ) ); | 298 | cmbCountry->insertItem( tr ( "Estonia" ) ); |
299 | cmbCountry->insertItem( tr ( "Ethiopia" ) ); | 299 | cmbCountry->insertItem( tr ( "Ethiopia" ) ); |
300 | cmbCountry->insertItem( tr ( "Falkland Islands" ) ); | 300 | cmbCountry->insertItem( tr ( "Falkland Islands" ) ); |
301 | cmbCountry->insertItem( tr ( "Faroe Islands" ) ); | 301 | cmbCountry->insertItem( tr ( "Faroe Islands" ) ); |
302 | cmbCountry->insertItem( tr ( "Fiji" ) ); | 302 | cmbCountry->insertItem( tr ( "Fiji" ) ); |
303 | cmbCountry->insertItem( tr ( "Finland" ) ); | 303 | cmbCountry->insertItem( tr ( "Finland" ) ); |
304 | cmbCountry->insertItem( tr ( "France" ) ); | 304 | cmbCountry->insertItem( tr ( "France" ) ); |
305 | cmbCountry->insertItem( tr ( "French Guiana" ) ); | 305 | cmbCountry->insertItem( tr ( "French Guiana" ) ); |
306 | cmbCountry->insertItem( tr ( "French Polynesia" ) ); | 306 | cmbCountry->insertItem( tr ( "French Polynesia" ) ); |
307 | cmbCountry->insertItem( tr ( "Gabon" ) ); | 307 | cmbCountry->insertItem( tr ( "Gabon" ) ); |
308 | cmbCountry->insertItem( tr ( "Gambia" ) ); | 308 | cmbCountry->insertItem( tr ( "Gambia" ) ); |
309 | cmbCountry->insertItem( tr ( "Georgia" ) ); | 309 | cmbCountry->insertItem( tr ( "Georgia" ) ); |
310 | cmbCountry->insertItem( tr ( "Germany" ) ); | 310 | cmbCountry->insertItem( tr ( "Germany" ) ); |
311 | cmbCountry->insertItem( tr ( "Gahna" ) ); | 311 | cmbCountry->insertItem( tr ( "Ghana" ) ); |
312 | cmbCountry->insertItem( tr ( "Gibraltar" ) ); | 312 | cmbCountry->insertItem( tr ( "Gibraltar" ) ); |
313 | cmbCountry->insertItem( tr ( "Greece" ) ); | 313 | cmbCountry->insertItem( tr ( "Greece" ) ); |
314 | cmbCountry->insertItem( tr ( "Greenland" ) ); | 314 | cmbCountry->insertItem( tr ( "Greenland" ) ); |
315 | cmbCountry->insertItem( tr ( "Grenada" ) ); | 315 | cmbCountry->insertItem( tr ( "Grenada" ) ); |
316 | cmbCountry->insertItem( tr ( "Guadelupe" ) ); | 316 | cmbCountry->insertItem( tr ( "Guadeloupe" ) ); |
317 | cmbCountry->insertItem( tr ( "Guam" ) ); | 317 | cmbCountry->insertItem( tr ( "Guam" ) ); |
318 | cmbCountry->insertItem( tr ( "Guatemala" ) ); | 318 | cmbCountry->insertItem( tr ( "Guatemala" ) ); |
319 | cmbCountry->insertItem( tr ( "Guinea" ) ); | 319 | cmbCountry->insertItem( tr ( "Guinea" ) ); |
320 | cmbCountry->insertItem( tr ( "Guinea-bissau" ) ); | 320 | cmbCountry->insertItem( tr ( "Guinea-Bissau" ) ); |
321 | cmbCountry->insertItem( tr ( "Guyana" ) ); | 321 | cmbCountry->insertItem( tr ( "Guyana" ) ); |
322 | cmbCountry->insertItem( tr ( "Haiti" ) ); | 322 | cmbCountry->insertItem( tr ( "Haiti" ) ); |
323 | cmbCountry->insertItem( tr ( "Holy See" ) ); | 323 | cmbCountry->insertItem( tr ( "Holy See" ) ); |
324 | cmbCountry->insertItem( tr ( "Honduras" ) ); | 324 | cmbCountry->insertItem( tr ( "Honduras" ) ); |
325 | cmbCountry->insertItem( tr ( "Hong Kong" ) ); | 325 | cmbCountry->insertItem( tr ( "Hong Kong" ) ); |
326 | cmbCountry->insertItem( tr ( "Hungary" ) ); | 326 | cmbCountry->insertItem( tr ( "Hungary" ) ); |
327 | cmbCountry->insertItem( tr ( "Iceland" ) ); | 327 | cmbCountry->insertItem( tr ( "Iceland" ) ); |
328 | cmbCountry->insertItem( tr ( "India" ) ); | 328 | cmbCountry->insertItem( tr ( "India" ) ); |
329 | cmbCountry->insertItem( tr ( "Indonesia" ) ); | 329 | cmbCountry->insertItem( tr ( "Indonesia" ) ); |
330 | cmbCountry->insertItem( tr ( "Ireland" ) ); | 330 | cmbCountry->insertItem( tr ( "Ireland" ) ); |
331 | cmbCountry->insertItem( tr ( "Israel" ) ); | 331 | cmbCountry->insertItem( tr ( "Israel" ) ); |
332 | cmbCountry->insertItem( tr ( "Italy" ) ); | 332 | cmbCountry->insertItem( tr ( "Italy" ) ); |
333 | cmbCountry->insertItem( tr ( "Jamacia" ) ); | 333 | cmbCountry->insertItem( tr ( "Jamaica" ) ); |
334 | cmbCountry->insertItem( tr ( "Japan" ) ); | 334 | cmbCountry->insertItem( tr ( "Japan" ) ); |
335 | cmbCountry->insertItem( tr ( "Jordan" ) ); | 335 | cmbCountry->insertItem( tr ( "Jordan" ) ); |
336 | cmbCountry->insertItem( tr ( "Kazakhstan" ) ); | 336 | cmbCountry->insertItem( tr ( "Kazakhstan" ) ); |
337 | cmbCountry->insertItem( tr ( "Kenya" ) ); | 337 | cmbCountry->insertItem( tr ( "Kenya" ) ); |
338 | cmbCountry->insertItem( tr ( "Kribati" ) ); | 338 | cmbCountry->insertItem( tr ( "Kiribati" ) ); |
339 | cmbCountry->insertItem( tr ( "Korea" ) ); | 339 | cmbCountry->insertItem( tr ( "Korea" ) ); |
340 | cmbCountry->insertItem( tr ( "Kuwait" ) ); | 340 | cmbCountry->insertItem( tr ( "Kuwait" ) ); |
341 | cmbCountry->insertItem( tr ( "Kyrgystan" ) ); | 341 | cmbCountry->insertItem( tr ( "Kyrgyzstan" ) ); |
342 | cmbCountry->insertItem( tr ( "Laos" ) ); | 342 | cmbCountry->insertItem( tr ( "Laos" ) ); |
343 | cmbCountry->insertItem( tr ( "Latvia" ) ); | 343 | cmbCountry->insertItem( tr ( "Latvia" ) ); |
344 | cmbCountry->insertItem( tr ( "Lebanon" ) ); | 344 | cmbCountry->insertItem( tr ( "Lebanon" ) ); |
345 | cmbCountry->insertItem( tr ( "Lesotho" ) ); | 345 | cmbCountry->insertItem( tr ( "Lesotho" ) ); |
346 | cmbCountry->insertItem( tr ( "Liberia" ) ); | 346 | cmbCountry->insertItem( tr ( "Liberia" ) ); |
347 | cmbCountry->insertItem( tr ( "Liechtenstein" ) ); | 347 | cmbCountry->insertItem( tr ( "Liechtenstein" ) ); |
348 | cmbCountry->insertItem( tr ( "Lithuania" ) ); | 348 | cmbCountry->insertItem( tr ( "Lithuania" ) ); |
349 | cmbCountry->insertItem( tr ( "Luxembourg" ) ); | 349 | cmbCountry->insertItem( tr ( "Luxembourg" ) ); |
350 | cmbCountry->insertItem( tr ( "Macau" ) ); | 350 | cmbCountry->insertItem( tr ( "Macau" ) ); |
351 | cmbCountry->insertItem( tr ( "Macedonia" ) ); | 351 | cmbCountry->insertItem( tr ( "Macedonia" ) ); |
352 | cmbCountry->insertItem( tr ( "Madagascar" ) ); | 352 | cmbCountry->insertItem( tr ( "Madagascar" ) ); |
353 | cmbCountry->insertItem( tr ( "Malawi" ) ); | 353 | cmbCountry->insertItem( tr ( "Malawi" ) ); |
354 | cmbCountry->insertItem( tr ( "Malaysia" ) ); | 354 | cmbCountry->insertItem( tr ( "Malaysia" ) ); |
355 | cmbCountry->insertItem( tr ( "Maldives" ) ); | 355 | cmbCountry->insertItem( tr ( "Maldives" ) ); |
356 | cmbCountry->insertItem( tr ( "Mali" ) ); | 356 | cmbCountry->insertItem( tr ( "Mali" ) ); |
357 | cmbCountry->insertItem( tr ( "Malta" ) ); | 357 | cmbCountry->insertItem( tr ( "Malta" ) ); |
358 | cmbCountry->insertItem( tr ( "Martinique" ) ); | 358 | cmbCountry->insertItem( tr ( "Martinique" ) ); |
359 | cmbCountry->insertItem( tr ( "Mauritania" ) ); | 359 | cmbCountry->insertItem( tr ( "Mauritania" ) ); |
360 | cmbCountry->insertItem( tr ( "Mauritius" ) ); | 360 | cmbCountry->insertItem( tr ( "Mauritius" ) ); |
361 | cmbCountry->insertItem( tr ( "Mayotte" ) ); | 361 | cmbCountry->insertItem( tr ( "Mayotte" ) ); |
362 | cmbCountry->insertItem( tr ( "Mexico" ) ); | 362 | cmbCountry->insertItem( tr ( "Mexico" ) ); |
363 | cmbCountry->insertItem( tr ( "Micronesia" ) ); | 363 | cmbCountry->insertItem( tr ( "Micronesia" ) ); |
364 | cmbCountry->insertItem( tr ( "Moldova" ) ); | 364 | cmbCountry->insertItem( tr ( "Moldova" ) ); |
365 | cmbCountry->insertItem( tr ( "Monaco" ) ); | 365 | cmbCountry->insertItem( tr ( "Monaco" ) ); |
366 | cmbCountry->insertItem( tr ( "Mongolia" ) ); | 366 | cmbCountry->insertItem( tr ( "Mongolia" ) ); |
367 | cmbCountry->insertItem( tr ( "Montserrat" ) ); | 367 | cmbCountry->insertItem( tr ( "Montserrat" ) ); |
368 | cmbCountry->insertItem( tr ( "Morocco" ) ); | 368 | cmbCountry->insertItem( tr ( "Morocco" ) ); |
369 | cmbCountry->insertItem( tr ( "Mozambique" ) ); | 369 | cmbCountry->insertItem( tr ( "Mozambique" ) ); |
370 | cmbCountry->insertItem( tr ( "Myanmar" ) ); | 370 | cmbCountry->insertItem( tr ( "Myanmar" ) ); |
371 | cmbCountry->insertItem( tr ( "Namibia" ) ); | 371 | cmbCountry->insertItem( tr ( "Namibia" ) ); |
372 | cmbCountry->insertItem( tr ( "Nauru" ) ); | 372 | cmbCountry->insertItem( tr ( "Nauru" ) ); |
373 | cmbCountry->insertItem( tr ( "Nepal" ) ); | 373 | cmbCountry->insertItem( tr ( "Nepal" ) ); |
374 | cmbCountry->insertItem( tr ( "Netherlands" ) ); | 374 | cmbCountry->insertItem( tr ( "Netherlands" ) ); |
375 | cmbCountry->insertItem( tr ( "New Caledonia" ) ); | 375 | cmbCountry->insertItem( tr ( "New Caledonia" ) ); |
376 | cmbCountry->insertItem( tr ( "New Zealand" ) ); | 376 | cmbCountry->insertItem( tr ( "New Zealand" ) ); |
377 | cmbCountry->insertItem( tr ( "Nicaragua" ) ); | 377 | cmbCountry->insertItem( tr ( "Nicaragua" ) ); |
378 | cmbCountry->insertItem( tr ( "Niger" ) ); | 378 | cmbCountry->insertItem( tr ( "Niger" ) ); |
379 | cmbCountry->insertItem( tr ( "Nigeria" ) ); | 379 | cmbCountry->insertItem( tr ( "Nigeria" ) ); |
380 | cmbCountry->insertItem( tr ( "Niue" ) ); | 380 | cmbCountry->insertItem( tr ( "Niue" ) ); |
381 | cmbCountry->insertItem( tr ( "Norway" ) ); | 381 | cmbCountry->insertItem( tr ( "Norway" ) ); |
382 | cmbCountry->insertItem( tr ( "Oman" ) ); | 382 | cmbCountry->insertItem( tr ( "Oman" ) ); |
383 | cmbCountry->insertItem( tr ( "Pakistan" ) ); | 383 | cmbCountry->insertItem( tr ( "Pakistan" ) ); |
384 | cmbCountry->insertItem( tr ( "Palau" ) ); | 384 | cmbCountry->insertItem( tr ( "Palau" ) ); |
385 | cmbCountry->insertItem( tr ( "Palestinian Territory" ) ); | 385 | cmbCountry->insertItem( tr ( "Palestinian Sovereign Areas" ) ); |
386 | cmbCountry->insertItem( tr ( "Panama" ) ); | 386 | cmbCountry->insertItem( tr ( "Panama" ) ); |
387 | cmbCountry->insertItem( tr ( "Papua New Guinea" ) ); | 387 | cmbCountry->insertItem( tr ( "Papua New Guinea" ) ); |
388 | cmbCountry->insertItem( tr ( "Paraguay" ) ); | 388 | cmbCountry->insertItem( tr ( "Paraguay" ) ); |
389 | cmbCountry->insertItem( tr ( "Peru" ) ); | 389 | cmbCountry->insertItem( tr ( "Peru" ) ); |
390 | cmbCountry->insertItem( tr ( "Philippines" ) ); | 390 | cmbCountry->insertItem( tr ( "Philippines" ) ); |
391 | cmbCountry->insertItem( tr ( "Pitcairn" ) ); | 391 | cmbCountry->insertItem( tr ( "Pitcairn Islands" ) ); |
392 | cmbCountry->insertItem( tr ( "Poland" ) ); | 392 | cmbCountry->insertItem( tr ( "Poland" ) ); |
393 | cmbCountry->insertItem( tr ( "Portugal" ) ); | 393 | cmbCountry->insertItem( tr ( "Portugal" ) ); |
394 | cmbCountry->insertItem( tr ( "Puerto Rico" ) ); | 394 | cmbCountry->insertItem( tr ( "Puerto Rico" ) ); |
395 | cmbCountry->insertItem( tr ( "Qatar" ) ); | 395 | cmbCountry->insertItem( tr ( "Qatar" ) ); |
396 | cmbCountry->insertItem( tr ( "Reunion" ) ); | 396 | cmbCountry->insertItem( tr ( "Reunion" ) ); |
397 | cmbCountry->insertItem( tr ( "Romania" ) ); | 397 | cmbCountry->insertItem( tr ( "Romania" ) ); |
398 | cmbCountry->insertItem( tr ( "Russia" ) ); | 398 | cmbCountry->insertItem( tr ( "Russia" ) ); |
399 | cmbCountry->insertItem( tr ( "Rwanda" ) ); | 399 | cmbCountry->insertItem( tr ( "Rwanda" ) ); |
400 | cmbCountry->insertItem( tr ( "Saint Lucia" ) ); | 400 | cmbCountry->insertItem( tr ( "Saint Lucia" ) ); |
401 | cmbCountry->insertItem( tr ( "Samoa" ) ); | 401 | cmbCountry->insertItem( tr ( "Samoa" ) ); |
402 | cmbCountry->insertItem( tr ( "San Marino" ) ); | 402 | cmbCountry->insertItem( tr ( "San Marino" ) ); |
403 | cmbCountry->insertItem( tr ( "Saudi Arabia" ) ); | 403 | cmbCountry->insertItem( tr ( "Saudi Arabia" ) ); |
404 | cmbCountry->insertItem( tr ( "Senegal" ) ); | 404 | cmbCountry->insertItem( tr ( "Senegal" ) ); |
405 | cmbCountry->insertItem( tr ( "Seychelles" ) ); | 405 | cmbCountry->insertItem( tr ( "Seychelles" ) ); |
406 | cmbCountry->insertItem( tr ( "Sierra Leone" ) ); | 406 | cmbCountry->insertItem( tr ( "Sierra Leone" ) ); |
407 | cmbCountry->insertItem( tr ( "Singapore" ) ); | 407 | cmbCountry->insertItem( tr ( "Singapore" ) ); |
408 | cmbCountry->insertItem( tr ( "Slovakia" ) ); | 408 | cmbCountry->insertItem( tr ( "Slovakia" ) ); |
409 | cmbCountry->insertItem( tr ( "Slovenia" ) ); | 409 | cmbCountry->insertItem( tr ( "Slovenia" ) ); |
410 | cmbCountry->insertItem( tr ( "Solomon Islands" ) ); | 410 | cmbCountry->insertItem( tr ( "Solomon Islands" ) ); |
411 | cmbCountry->insertItem( tr ( "Somalia" ) ); | 411 | cmbCountry->insertItem( tr ( "Somalia" ) ); |
412 | cmbCountry->insertItem( tr ( "South Africa" ) ); | 412 | cmbCountry->insertItem( tr ( "South Africa" ) ); |
413 | cmbCountry->insertItem( tr ( "Spain" ) ); | 413 | cmbCountry->insertItem( tr ( "Spain" ) ); |
414 | cmbCountry->insertItem( tr ( "Sri Lanka" ) ); | 414 | cmbCountry->insertItem( tr ( "Sri Lanka" ) ); |
415 | cmbCountry->insertItem( tr ( "St. Helena" ) ); | 415 | cmbCountry->insertItem( tr ( "St. Helena" ) ); |
416 | cmbCountry->insertItem( tr ( "Sudan" ) ); | 416 | cmbCountry->insertItem( tr ( "Sudan" ) ); |
417 | cmbCountry->insertItem( tr ( "Suriname" ) ); | 417 | cmbCountry->insertItem( tr ( "Suriname" ) ); |
418 | cmbCountry->insertItem( tr ( "Swaziland" ) ); | 418 | cmbCountry->insertItem( tr ( "Swaziland" ) ); |
419 | cmbCountry->insertItem( tr ( "Sweden" ) ); | 419 | cmbCountry->insertItem( tr ( "Sweden" ) ); |
420 | cmbCountry->insertItem( tr ( "Switzerland" ) ); | 420 | cmbCountry->insertItem( tr ( "Switzerland" ) ); |
421 | cmbCountry->insertItem( tr ( "Taiwan" ) ); | 421 | cmbCountry->insertItem( tr ( "Taiwan" ) ); |
422 | cmbCountry->insertItem( tr ( "Tajikistan" ) ); | 422 | cmbCountry->insertItem( tr ( "Tajikistan" ) ); |
423 | cmbCountry->insertItem( tr ( "Tanzania" ) ); | 423 | cmbCountry->insertItem( tr ( "Tanzania" ) ); |
424 | cmbCountry->insertItem( tr ( "Thailand" ) ); | 424 | cmbCountry->insertItem( tr ( "Thailand" ) ); |
425 | cmbCountry->insertItem( tr ( "Togo" ) ); | 425 | cmbCountry->insertItem( tr ( "Togo" ) ); |
426 | cmbCountry->insertItem( tr ( "Tokelau" ) ); | 426 | cmbCountry->insertItem( tr ( "Tokelau" ) ); |
427 | cmbCountry->insertItem( tr ( "Tonga" ) ); | 427 | cmbCountry->insertItem( tr ( "Tonga" ) ); |
428 | cmbCountry->insertItem( tr ( "Tunisia" ) ); | 428 | cmbCountry->insertItem( tr ( "Tunisia" ) ); |
429 | cmbCountry->insertItem( tr ( "Turkey" ) ); | 429 | cmbCountry->insertItem( tr ( "Turkey" ) ); |
430 | cmbCountry->insertItem( tr ( "Turkmenistan" ) ); | 430 | cmbCountry->insertItem( tr ( "Turkmenistan" ) ); |
431 | cmbCountry->insertItem( tr ( "Tuvalu" ) ); | 431 | cmbCountry->insertItem( tr ( "Tuvalu" ) ); |
432 | cmbCountry->insertItem( tr ( "Uganda" ) ); | 432 | cmbCountry->insertItem( tr ( "Uganda" ) ); |
433 | cmbCountry->insertItem( tr ( "Ukraine" ) ); | 433 | cmbCountry->insertItem( tr ( "Ukraine" ) ); |
434 | cmbCountry->insertItem( tr ( "Uruguay" ) ); | 434 | cmbCountry->insertItem( tr ( "Uruguay" ) ); |
435 | cmbCountry->insertItem( tr ( "Uzbekistan" ) ); | 435 | cmbCountry->insertItem( tr ( "Uzbekistan" ) ); |
436 | cmbCountry->insertItem( tr ( "Vanuatu" ) ); | 436 | cmbCountry->insertItem( tr ( "Vanuatu" ) ); |
437 | cmbCountry->insertItem( tr ( "Venezuela" ) ); | 437 | cmbCountry->insertItem( tr ( "Venezuela" ) ); |
438 | cmbCountry->insertItem( tr ( "Viet Nam" ) ); | 438 | cmbCountry->insertItem( tr ( "Vietnam" ) ); |
439 | cmbCountry->insertItem( tr ( "Virgin Islands" ) ); | 439 | cmbCountry->insertItem( tr ( "Virgin Islands" ) ); |
440 | cmbCountry->insertItem( tr ( "Western Sahara" ) ); | 440 | cmbCountry->insertItem( tr ( "Western Sahara" ) ); |
441 | cmbCountry->insertItem( tr ( "Yemen" ) ); | 441 | cmbCountry->insertItem( tr ( "Yemen" ) ); |
442 | cmbCountry->insertItem( tr ( "Yugoslavia" ) ); | 442 | cmbCountry->insertItem( tr ( "Yugoslavia" ) ); |
443 | cmbCountry->insertItem( tr ( "Zambia" ) ); | 443 | cmbCountry->insertItem( tr ( "Zambia" ) ); |
444 | cmbCountry->insertItem( tr ( "Zimbabwe" ) ); | 444 | cmbCountry->insertItem( tr ( "Zimbabwe" ) ); |
445 | if (cmbCountry->listBox()!=0) | 445 | if (cmbCountry->listBox()!=0) |
446 | cmbCountry->listBox()->sort(); | 446 | cmbCountry->listBox()->sort(); |
447 | 447 | ||
448 | cmbCountry->setMaximumWidth( 135 ); | 448 | cmbCountry->setMaximumWidth( 135 ); |
449 | 449 | ||
450 | gl->addMultiCellWidget( cmbCountry, 5, 5, 1, 2 ); | 450 | gl->addMultiCellWidget( cmbCountry, 5, 5, 1, 2 ); |
451 | 451 | ||
452 | cmbChooserField4 = new QComboBox( FALSE, container ); | 452 | cmbChooserField4 = new QComboBox( FALSE, container ); |
453 | cmbChooserField4->setMaximumWidth( 90 ); | 453 | cmbChooserField4->setMaximumWidth( 90 ); |
454 | gl->addWidget( cmbChooserField4, 6, 0 ); | 454 | gl->addWidget( cmbChooserField4, 6, 0 ); |
455 | txtChooserField4 = new QLineEdit( container ); | 455 | txtChooserField4 = new QLineEdit( container ); |
456 | gl->addMultiCellWidget( txtChooserField4, 6, 6, 1, 2 ); | 456 | gl->addMultiCellWidget( txtChooserField4, 6, 6, 1, 2 ); |
457 | 457 | ||
458 | QSpacerItem *space = new QSpacerItem(1,1, | 458 | QSpacerItem *space = new QSpacerItem(1,1, |
459 | QSizePolicy::Maximum, | 459 | QSizePolicy::Maximum, |
460 | QSizePolicy::MinimumExpanding ); | 460 | QSizePolicy::MinimumExpanding ); |
461 | gl->addItem( space, 7, 0 ); | 461 | gl->addItem( space, 7, 0 ); |
462 | 462 | ||
463 | tabMain->insertTab( tabViewport, tr( "Address" ) ); | 463 | tabMain->insertTab( tabViewport, tr( "Address" ) ); |
464 | 464 | ||
465 | tabViewport = new QWidget ( tabMain ); | 465 | tabViewport = new QWidget ( tabMain ); |
466 | 466 | ||
467 | vb = new QVBoxLayout( tabViewport ); | 467 | vb = new QVBoxLayout( tabViewport ); |
468 | 468 | ||
469 | svDetails = new QScrollView( tabViewport ); | 469 | svDetails = new QScrollView( tabViewport ); |
470 | vb->addWidget( svDetails, 0, 0 ); | 470 | vb->addWidget( svDetails, 0, 0 ); |
471 | svDetails->setResizePolicy( QScrollView::AutoOneFit ); | 471 | svDetails->setResizePolicy( QScrollView::AutoOneFit ); |
472 | svDetails->setFrameStyle( QFrame::NoFrame ); | 472 | svDetails->setFrameStyle( QFrame::NoFrame ); |
473 | 473 | ||
474 | container = new QWidget( svDetails->viewport() ); | 474 | container = new QWidget( svDetails->viewport() ); |
475 | svDetails->addChild( container ); | 475 | svDetails->addChild( container ); |
476 | 476 | ||
477 | gl = new QGridLayout( container, 1, 2, 2, 4 ); | 477 | gl = new QGridLayout( container, 1, 2, 2, 4 ); |
478 | 478 | ||
479 | int counter = 0; | 479 | int counter = 0; |
480 | 480 | ||
481 | // Birthday | 481 | // Birthday |
482 | QHBox* hBox = new QHBox( container ); | 482 | QHBox* hBox = new QHBox( container ); |
483 | l = new QLabel( tr("Birthday"), container ); | 483 | l = new QLabel( tr("Birthday"), container ); |
484 | gl->addWidget( l, counter, 0 ); | 484 | gl->addWidget( l, counter, 0 ); |
485 | 485 | ||
486 | QPopupMenu* m1 = new QPopupMenu( container ); | 486 | QPopupMenu* m1 = new QPopupMenu( container ); |