Changeset 272 in PSPA for Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_dialog.h
- Timestamp:
- Jan 24, 2013, 3:32:13 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_dialog.h
r260 r272 9 9 10 10 /** 11 12 13 14 15 16 */11 Créer une fenêtre de dialogue et permet de la paramètres facilement 12 @param titre : titre de la fenêtre 13 @param icon : icone à afficher dans le corps de la boite (Warning, Error, Info, Wait, NoIcon) 14 @param modal : true si cette fenêtre doit être bloquante 15 @param okButton : true pour fermer cette fenêtre avec un bouton "ok". false n'affiche aucun bouton 16 */ 17 17 18 18 class GWt_dialog : public WDialog 19 19 { 20 21 public :22 23 enum iconType { Warning, Error, Info, Wait, NoIcon };24 25 /** Add a dialog with the given container inside26 27 28 29 */30 GWt_dialog(WString titre, WContainerWidget* container, bool modal=false);31 32 /** Add a full dialog window configure with title, message, iconType and button33 34 35 36 37 38 */39 GWt_dialog(WString titre, std::string message, iconType icon=NoIcon, bool modal=false, bool okButton=false);20 21 public : 22 23 enum iconType { Warning, Error, Info, Wait, NoIcon }; 24 25 /** Add a dialog with the given container inside 26 @param titre: A title displayed on the window title bar 27 @param message: The message inside this dialog 28 @param container: a valid WContainer 29 */ 30 GWt_dialog(WString titre, WContainerWidget* container, bool modal=false); 31 32 /** Add a full dialog window configure with title, message, iconType and button 33 @param titre: A title displayed on the window title bar 34 @param message: The message inside this dialog 35 @param icon: IconType, could be Warning, Error, Info, Wait or NoIcon 36 @param modal: true for a blocking dialog, false for a non-blocking dialog 37 @param okButton: true if you want a "ok" button at the end 38 */ 39 GWt_dialog(WString titre, std::string message, iconType icon=NoIcon, bool modal=false, bool okButton=false); 40 40 }; 41 41 #endif
Note: See TracChangeset
for help on using the changeset viewer.