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


Ignore:
Timestamp:
Dec 12, 2012, 12:03:54 PM (12 years ago)
Author:
garnier
Message:

ajout de fileselecteur, manque quelques petits details

Location:
Interface_Web/trunk/pspaWT/include
Files:
2 edited

Legend:

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

    r148 r174  
    44#include <Wt/WDialog>
    55#include <Wt/WString>
     6#include <Wt/WContainerWidget>
    67
    78using namespace Wt;
     
    2223  enum  iconType { Warning, Error, Info, Wait, NoIcon };
    2324
     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  */
    2439  GWt_dialog(WString titre, std::string message, iconType icon=NoIcon, bool modal=false, bool okButton=false);
    2540};
  • Interface_Web/trunk/pspaWT/include/GWt_pspaApplication.h

    r173 r174  
    4646 WContainerWidget* contenuSections_;
    4747 list<GWt_sectionToExecute*> selectedSections_;
     48 WFileUpload* uploadFileSelectorWidget;
    4849
    4950 WText*   createTitle(const WString&);
     
    5960 void restaurer();
    6061 void chargerConfig();
     62 void openFileSelector();
    6163 void dessiner();
    6264
Note: See TracChangeset for help on using the changeset viewer.