Changeset 140 in PSPA for Interface_Web/trunk/pspaWT


Ignore:
Timestamp:
Dec 5, 2012, 3:01:40 PM (12 years ago)
Author:
garnier
Message:

ajout d'un dialog pdt execution

File:
1 edited

Legend:

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

    r139 r140  
    1313#include <Wt/WStackedWidget>
    1414#include <Wt/WBreak>
     15#include <Wt/WDialog>
    1516#include <Wt/WStandardItemModel>
    1617#include <Wt/Chart/WCartesianChart>
     
    400401  static_cast<GWt_globalParameters*>(globalParam_)->updateGlobals();
    401402
     403  Wt::WDialog calculDialog("Calcul en cours");
     404  new Wt::WText("Veuillez patienter", calculDialog.contents());
     405  calculDialog.setModal (false);
     406  calculDialog.show();
     407
    402408  encours_->setHidden(true);
    403409  encours_->decorationStyle().setBackgroundColor (WColor("green"));
     
    415421
    416422  encours_->setText("c'est fini");
     423  calculDialog.hide();
     424
    417425  encours_->decorationStyle().setBackgroundColor (WColor("orange"));
    418426
Note: See TracChangeset for help on using the changeset viewer.