Changeset 166 in PSPA for Interface_Web/trunk/pspaWT/src/GWt_pspaApplication.cc
- Timestamp:
- Dec 10, 2012, 7:06:24 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/src/GWt_pspaApplication.cc
r161 r166 349 349 350 350 if (!areDataCoherent()) { 351 GWt_dialog warningDialog("PSPA : Vérification des sections", " donn ées incohérentes !", GWt_dialog::Error,true,true);351 GWt_dialog warningDialog("PSPA : Vérification des sections", " donnees incoherentes !", GWt_dialog::Error,true,true); 352 352 warningDialog.exec(); 353 353 } … … 476 476 { 477 477 if ( beam->particleRepresentationOk() ) faireDessinParmela(toto_, beam); 478 else addConsoleMessage("the beam state does not allow providing a drawing"); 479 } 480 else addConsoleMessage("type of drawing not programmed"); 478 else { 479 addConsoleMessage("the beam state does not allow providing a drawing"); 480 GWt_dialog warningBeamState(" graphical analysis", "the beam state does not allow providing a drawing with macroparticles !", GWt_dialog::Error, false,true); 481 warningBeamState.exec(); 482 } 483 } 484 else { 485 addConsoleMessage("type of drawing not programmed"); 486 GWt_dialog warningTypeDrawing(" graphical analysis", "type of drawing not programmed !", GWt_dialog::Error, false,true); 487 warningTypeDrawing.exec(); 488 } 481 489 ////////////////////////////////////////// 482 490 } … … 492 500 faireDessinEnveloppe(toto_, "x"); 493 501 } 494 else addConsoleMessage("type of enveloppe drawing not programmed"); 502 else { 503 addConsoleMessage("type of enveloppe drawing not programmed"); 504 GWt_dialog warningTypeEnveloppe(" graphical analysis", "type of enveloppe drawing not programmed !", GWt_dialog::Error, false,true); 505 warningTypeEnveloppe.exec(); 506 } 495 507 ////////////////////////////////////////// 496 508 } … … 591 603 model->setData(i, 0, xcor.at(i)); 592 604 model->setData(i, 1, ycor.at(i)); 593 cout << " PspaApplication::scatterPlot1D el= " << i+1 << " x= " << xcor.at(i) << " y= " << ycor.at(i) << endl;605 // cout << " PspaApplication::scatterPlot1D el= " << i+1 << " x= " << xcor.at(i) << " y= " << ycor.at(i) << endl; 594 606 } 595 607
Note: See TracChangeset
for help on using the changeset viewer.