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
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>
15#include "dataManager.h"
16
17using namespace Wt;
18using namespace std;
19
20class PspaApplication;
[493]21class GWt_machine;
[302]22
[495]23class GWt_softwarePanel  : public WContainerWidget
[302]24{
[431]25 public :
26 
[495]27  GWt_softwarePanel(dataManager*, GWt_machine*);
28  virtual ~GWt_softwarePanel();
[302]29
[480]30  /**
31   Read all sectionToExecute from the controler and build a newsoftware panel with it
32   */
[493]33    void displayFromControler();
34  //  void updateSections();
[302]35   
[431]36 private :
37 
[493]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);
[469]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 );
[493]49  //  Wt::WContainerWidget* createAddDeletePushButtons(int sectionIndex);
50  Wt::WContainerWidget* createAddDeletePushButtons(computingBlock* cpbl);
[401]51
[431]52  dataManager* dtmanage_;
[493]53   WContainerWidget* contenuSections_;
54  GWt_machine* UImachine_;
[302]55};
56#endif /* defined(__PSPA__GWt_softwarePanel__) */
Note: See TracBrowser for help on using the repository browser.