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

Last change on this file since 405 was 405, checked in by garnier, 11 years ago

Correction de problèmes avec le softwarePanel

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#include "GWt_sectionToExecute.h"
16#include "dataManager.h"
17
18using namespace Wt;
19using namespace std;
20
21class PspaApplication;
22
23class GWt_softwarePanel  : public WContainerWidget
24{
25    public :
26    GWt_softwarePanel(dataManager*, PspaApplication*);
27    virtual ~GWt_softwarePanel();
28
29    void addSectionToExecuteW();
30    void updateSections();
31   
32    private :
33    //    void disableSectionExecute();
34    //    void checkSectionSelection();
35    bool updateSectionSelection();
36    void deleteSectionToExecuteW();
37    string getSelection();
38    void executer();
39    bool areDataCoherent();
40    void fillComboWithElements(Wt::WComboBox* cBox);
41    void fillComboWithSoftwares(Wt::WComboBox* cBox);
42    Wt::WContainerWidget* createAddDeletePushButtons();
43
44    dataManager* dtmanage_;
45    WPushButton *exec_go_;
46    WContainerWidget* contenuSections_;
47    PspaApplication* pspa_;
48
49    std::vector <GWt_sectionToExecute*> sections_;
50};
51
52#endif /* defined(__PSPA__GWt_softwarePanel__) */
Note: See TracBrowser for help on using the repository browser.