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

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

deplacement bouton expand machine vers computing view

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