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

Last change on this file since 495 was 495, checked in by lemeur, 10 years ago

maj de History

File size: 1.5 KB
RevLine 
[302]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
[495]9#ifndef GWt_softwarePanel_SEEN
10#define GWt_softwarePanel_SEEN
[302]11
12#include <iostream>
13#include <Wt/WContainerWidget>
14#include <Wt/WPushButton>
[401]15#include "GWt_sectionToExecute.h"
[302]16#include "dataManager.h"
17
18using namespace Wt;
19using namespace std;
20
21class PspaApplication;
[493]22class GWt_machine;
[302]23
[495]24class GWt_softwarePanel  : public WContainerWidget
[302]25{
[431]26 public :
27 
[495]28  GWt_softwarePanel(dataManager*, GWt_machine*);
29  virtual ~GWt_softwarePanel();
[302]30
[480]31  /**
32   Read all sectionToExecute from the controler and build a newsoftware panel with it
33   */
[493]34    void displayFromControler();
35  //  void updateSections();
[302]36   
[431]37 private :
38 
[493]39  //  bool updateSectionSelection();
40    void addComputingBlock(computingBlock* cpbl);
41    //    void deleteComputingBlock(int section);
42    void deleteComputingBlock(computingBlock* cpbl);
43  //  string getSelection();
44    void fillComboWithElements(Wt::WComboBox* cBox);
[469]45
46  /** Fill a ComboBox with the software list
47   By default, will setup the default text to the last software
48   */
49  void fillComboWithSoftwares(Wt::WComboBox* cBox, std::string );
[493]50  //  Wt::WContainerWidget* createAddDeletePushButtons(int sectionIndex);
51  Wt::WContainerWidget* createAddDeletePushButtons(computingBlock* cpbl);
[401]52
[431]53  dataManager* dtmanage_;
[493]54   WContainerWidget* contenuSections_;
55  GWt_machine* UImachine_;
[302]56};
57#endif /* defined(__PSPA__GWt_softwarePanel__) */
Note: See TracBrowser for help on using the repository browser.