Changeset 339 in PSPA for Interface_Web
- Timestamp:
- Feb 20, 2013, 3:10:15 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_pspaApplication.cc
r338 r339 237 237 238 238 choixElementDessin_ = new WComboBox(); 239 choixElementDessin_->setMinimumSize(50,10); 239 240 choixTypeDessinFaisceau_ = new WComboBox(); 240 241 choixTypeDessinFaisceau_->addItem("courant_snyder"); … … 249 250 choixAbsPhase_->addItem("yp"); 250 251 choixAbsPhase_->addItem("dE/E"); 252 choixAbsPhase_->setCurrentIndex(0); 251 253 252 254 choixOrdPhase_ = new WComboBox(); … … 257 259 choixOrdPhase_->addItem("yp"); 258 260 choixOrdPhase_->addItem("dE/E"); 261 choixOrdPhase_->setCurrentIndex(3); 259 262 260 263 … … 264 267 glayout->addWidget(choixElementDessin_,1,2); 265 268 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); 269 273 ///////////////////////////////////////////////////////////////////// 270 274 … … 272 276 Wt::WRadioButton *button3= new WRadioButton(" histogram after element"); 273 277 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); 276 280 ///////////////////////////////////////////////////////////////////// 277 281 278 282 WPushButton *close= new WPushButton("close"); 279 glayout->addWidget(close, 3,1);283 glayout->addWidget(close,4,1); 280 284 close->clicked().connect(this,&PspaApplication::closeGraphicDialog); 281 285 282 286 WPushButton *draw= new WPushButton("draw"); 283 glayout->addWidget(draw, 3,2,2,1);287 glayout->addWidget(draw,4,2,2,1); 284 288 draw->clicked().connect(this,&PspaApplication::dessiner); 285 289 /////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.