source: PSPA/Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_softwarePanel.h @ 379

Last change on this file since 379 was 367, checked in by lemeur, 11 years ago

suppression bouton ok ; retablissement warning elements ignores

File size: 1.2 KB
Line 
1//
2//  GWt_softwarePanel.h
3//  PSPA
4//
5//  Created by Garnier Laurent on 30/01/13.
6//  Copyright (c) 2013 Garnier Laurent. All rights reserved.
7//
8
9#ifndef __PSPA__GWt_softwarePanel__
10#define __PSPA__GWt_softwarePanel__
11
12#include <iostream>
13#include <Wt/WContainerWidget>
14#include <Wt/WPushButton>
15
16#include "dataManager.h"
17
18using namespace Wt;
19using namespace std;
20
21class PspaApplication;
22
23class GWt_softwarePanel  : public WContainerWidget
24{
25    typedef struct {
26        WLineEdit* debut;
27        WLineEdit*  fin;
28        WComboBox* selection;
29        WContainerWidget* ligneDeWidget;
30    } GWt_sectionToExecute;
31
32    public :
33    GWt_softwarePanel(dataManager*, PspaApplication*);
34    virtual ~GWt_softwarePanel();
35
36    void addSectionToExecuteW();
37    void updateSelections();
38   
39    private :
40    //    void disableSectionExecute();
41    //    void checkSectionSelection();
42    bool updateSectionSelection();
43    void deleteSectionToExecuteW();
44    string getSelection();
45    void executer();
46    bool areDataCoherent();
47   
48    list<GWt_sectionToExecute*> selectedSections_;
49    dataManager* dtmanage_;
50    WPushButton *exec_go_;
51    WContainerWidget* contenuSections_;
52    PspaApplication* pspa_;
53
54};
55
56#endif /* defined(__PSPA__GWt_softwarePanel__) */
Note: See TracBrowser for help on using the repository browser.