Changeset 339 in PSPA


Ignore:
Timestamp:
Feb 20, 2013, 3:10:15 PM (11 years ago)
Author:
lemeur
Message:

complement graphique (fin)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_pspaApplication.cc

    r338 r339  
    237237
    238238  choixElementDessin_ = new WComboBox();
     239  choixElementDessin_->setMinimumSize(50,10);
    239240  choixTypeDessinFaisceau_ = new WComboBox();
    240241  choixTypeDessinFaisceau_->addItem("courant_snyder");
     
    249250    choixAbsPhase_->addItem("yp");
    250251    choixAbsPhase_->addItem("dE/E");
     252    choixAbsPhase_->setCurrentIndex(0);
    251253
    252254    choixOrdPhase_ = new WComboBox();
     
    257259    choixOrdPhase_->addItem("yp");
    258260    choixOrdPhase_->addItem("dE/E");
     261    choixOrdPhase_->setCurrentIndex(3);
    259262
    260263
     
    264267  glayout->addWidget(choixElementDessin_,1,2);
    265268  glayout->addWidget(choixTypeDessinFaisceau_,1,3);
    266 
    267   glayout->addWidget(choixAbsPhase_,1,4);
    268   glayout->addWidget(choixOrdPhase_,1,5);
     269  //  glayout->addWidget(new WText("abs. :"),2,2);
     270  glayout->addWidget(choixAbsPhase_,2,2);
     271  //  glayout->addWidget(new WText("ord. :"),2,4);
     272  glayout->addWidget(choixOrdPhase_,2,3);
    269273  /////////////////////////////////////////////////////////////////////
    270274
     
    272276  Wt::WRadioButton *button3= new WRadioButton(" histogram after element");
    273277  group_->addButton(button3,3);
    274   glayout->addWidget(button3,2,1);
    275   glayout->addWidget(choixHistoDessin_,2,2);
     278  glayout->addWidget(button3,3,1);
     279  glayout->addWidget(choixHistoDessin_,3,2);
    276280  /////////////////////////////////////////////////////////////////////
    277281 
    278282  WPushButton *close= new WPushButton("close");
    279   glayout->addWidget(close,3,1);
     283  glayout->addWidget(close,4,1);
    280284  close->clicked().connect(this,&PspaApplication::closeGraphicDialog);
    281285 
    282286  WPushButton *draw= new WPushButton("draw");
    283   glayout->addWidget(draw,3,2,2,1);
     287  glayout->addWidget(draw,4,2,2,1);
    284288  draw->clicked().connect(this,&PspaApplication::dessiner);
    285289  /////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.