Last change
on this file since 469 was
469,
checked in by garnier, 11 years ago
|
Désormais il est de nouveau possible d'ajouter des sections et dy affecter des softwares (ne marche pour le moment quavec la 1ere sectionToExecute. Autres améliorations et renommages
|
File size:
1.0 KB
|
Rev | Line | |
---|
[446] | 1 | #ifndef GWT_Sector_SEEN |
---|
| 2 | #define GWT_Sector_SEEN |
---|
| 3 | |
---|
| 4 | #include <iostream> |
---|
| 5 | |
---|
| 6 | #include <Wt/WContainerWidget> |
---|
| 7 | #include "sector.h" |
---|
| 8 | #include "GWt_accelerator.h" |
---|
[455] | 9 | #include "GWt_ligneFaisceau.h" |
---|
[446] | 10 | |
---|
| 11 | using namespace Wt; |
---|
| 12 | |
---|
| 13 | using namespace std; |
---|
| 14 | |
---|
| 15 | class GWt_sector : public WObject |
---|
| 16 | { |
---|
| 17 | |
---|
| 18 | public: |
---|
[455] | 19 | GWt_sector(GWt_accelerator*,sector*); |
---|
[446] | 20 | virtual ~GWt_sector(); |
---|
[455] | 21 | void createWidgetBeamLine(WContainerWidget* parent); |
---|
| 22 | /* Return the controler sector element for this UI sector*/ |
---|
| 23 | inline sector* getSectorControler() {return sectorControler_;}; |
---|
| 24 | inline GWt_softwarePanel* getExecuteWidget() { |
---|
| 25 | return executeWidget_; |
---|
| 26 | } |
---|
| 27 | /** |
---|
| 28 | Get the accelerator for this sector |
---|
| 29 | */ |
---|
| 30 | inline GWt_accelerator* getAccelerator() { |
---|
| 31 | return UI_Accelerator_; |
---|
| 32 | } |
---|
| 33 | |
---|
[469] | 34 | /** |
---|
| 35 | Get the beam line widget |
---|
| 36 | */ |
---|
| 37 | inline GWt_ligneFaisceau* getBeamLineWidget() { |
---|
| 38 | return UI_beamLine_; |
---|
| 39 | }; |
---|
| 40 | |
---|
[446] | 41 | private : |
---|
[455] | 42 | GWt_ligneFaisceau* UI_beamLine_; |
---|
[446] | 43 | void setIcon(WLayout*); |
---|
| 44 | void displayWidgetBeamLine(); |
---|
[455] | 45 | GWt_accelerator* UI_Accelerator_; |
---|
| 46 | sector* sectorControler_; |
---|
| 47 | GWt_softwarePanel* executeWidget_; |
---|
| 48 | |
---|
[446] | 49 | }; |
---|
| 50 | |
---|
| 51 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.