Changeset 102 in PSPA for Interface_Web/trunk/pspaWT/src/GWt_pspaApplication.cc
- Timestamp:
- Nov 21, 2012, 2:28:02 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/src/GWt_pspaApplication.cc
r93 r102 90 90 91 91 WContainerWidget* executeW =new WContainerWidget(); 92 93 94 // WVBoxLayout* executeLayout = new WVBoxLayout();95 96 // executeW->decorationStyle().setBackgroundColor (WColor("yellow"));97 92 executeW->setMaximumSize(600,150); 98 93 executeW->setMinimumSize(600,150); 99 100 101 102 103 // executeLayout->addWidget(boutonGo);104 94 105 95 // bouton execute … … 120 110 exec_ok->clicked().connect(this, &PspaApplication::checkSectionSelection); 121 111 112 // signal de probleme 113 probleme_ = new WText("y a un probleme"); 114 probleme_->decorationStyle().setBackgroundColor (WColor("red")); 115 probleme_->setHidden(true); 122 116 123 117 // le panel … … 131 125 contenuSections_->addWidget( exec_ok); 132 126 contenuSections_->addWidget(exec_go_); 127 contenuSections_->addWidget(probleme_); 133 128 contenuSections_->addWidget(new WBreak()); 134 129 contenuSections_->addWidget(new WBreak()); … … 416 411 else if ( prog == nomDeLogiciel::transport ) 417 412 { 413 414 if ( !dtmanage_->getCurrentBeam().momentRepresentationOk() ) 415 { 416 addConsoleMessage(" the beam is not OK for transport"); 417 probleme_->setHidden(false); 418 return; 419 } 420 421 418 422 resul = dtmanage_->executeTransport( debut, fin); 419 423 faireDessinTransport();
Note: See TracChangeset
for help on using the changeset viewer.