Changeset 231 in PSPA for Interface_Web/trunk/pspaWT/src/GWt_pspaApplication.cc
- Timestamp:
- Jan 4, 2013, 11:23:21 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/src/GWt_pspaApplication.cc
r230 r231 805 805 806 806 807 new WText(nameOfCase_ + " : emittance x,x' " + mixedTools::doubleToString(beam->getUnnormalizedEmittanceX()) + " pi.mm.mrad" , toto);807 new WText(nameOfCase_ + " : emittance x,x' " + mixedTools::doubleToString(beam->getUnnormalizedEmittanceX()) + " pi.mm.mrad" , ellipseDialog->contents()); 808 808 new WBreak(toto); 809 new WText(" xmax = " + mixedTools::doubleToString(beam->getSigmaTransportij(1,1)) + " cm ", toto);810 new WBreak( toto);811 new WText(" x' max = " + mixedTools::doubleToString(beam->getSigmaTransportij(2,2)) + " mrad ", toto);812 new WBreak( toto);813 new WText(" corr. 12 = " + mixedTools::doubleToString(beam->getSigmaTransportij(2,1)) + " sqrt(cm.rad) ", toto);809 new WText(" xmax = " + mixedTools::doubleToString(beam->getSigmaTransportij(1,1)) + " cm ", ellipseDialog->contents()); 810 new WBreak(ellipseDialog->contents()); 811 new WText(" x' max = " + mixedTools::doubleToString(beam->getSigmaTransportij(2,2)) + " mrad ", ellipseDialog->contents()); 812 new WBreak(ellipseDialog->contents()); 813 new WText(" corr. 12 = " + mixedTools::doubleToString(beam->getSigmaTransportij(2,1)) + " sqrt(cm.rad) ", ellipseDialog->contents()); 814 814 815 815 vector<double> xcor; … … 892 892 893 893 WCartesianChart *chart = new WCartesianChart(toto); 894 chart->setTitle(" Enveloppe");894 chart->setTitle("titre"); 895 895 896 896 // chart->initLayout(); … … 915 915 916 916 // chart->setBackground (WBrush(WColor("blue"))); 917 chart->resize( 800, 400); // WPaintedWidget must be given explicit size917 chart->resize(500, 300); // WPaintedWidget must be given explicit size 918 918 919 919 #ifdef HAS_IMAGEMAGIC
Note: See TracChangeset
for help on using the changeset viewer.