Changeset 148 in PSPA for Interface_Web/trunk/pspaWT/include


Ignore:
Timestamp:
Dec 6, 2012, 5:04:29 PM (12 years ago)
Author:
garnier
Message:

amelioration du dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/include/GWt_dialog.h

    r147 r148  
    77using namespace Wt;
    88
     9/**
     10   Créer une fenêtre de dialogue et permet de la paramètres facilement
     11   @param titre : titre de la fenêtre
     12   @param icon : icone à afficher dans le corps de la boite (Warning, Error, Info, Wait, NoIcon)
     13   @param modal : true si cette fenêtre doit être bloquante
     14   @param okButton : true pour fermer cette fenêtre avec un bouton "ok". false n'affiche aucun bouton
     15*/
     16
    917class GWt_dialog : public WDialog
    1018{
     
    1422  enum  iconType { Warning, Error, Info, Wait, NoIcon };
    1523
    16   GWt_dialog(WString titre, std::string message, iconType icon=NoIcon, bool modal=false, bool ok=false);
     24  GWt_dialog(WString titre, std::string message, iconType icon=NoIcon, bool modal=false, bool okButton=false);
    1725};
    1826#endif
Note: See TracChangeset for help on using the changeset viewer.