Last change
on this file since 493 was
493,
checked in by lemeur, 11 years ago
|
refection generale des secteurs et applications de softwares (suite)
|
File size:
1.2 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" |
---|
[493] | 10 | //#include "GWt_softwarePanel.h" |
---|
[446] | 11 | |
---|
| 12 | using namespace Wt; |
---|
| 13 | |
---|
| 14 | using namespace std; |
---|
| 15 | |
---|
| 16 | class GWt_sector : public WObject |
---|
| 17 | { |
---|
| 18 | |
---|
| 19 | public: |
---|
[455] | 20 | GWt_sector(GWt_accelerator*,sector*); |
---|
[446] | 21 | virtual ~GWt_sector(); |
---|
[455] | 22 | void createWidgetBeamLine(WContainerWidget* parent); |
---|
| 23 | /* Return the controler sector element for this UI sector*/ |
---|
| 24 | inline sector* getSectorControler() {return sectorControler_;}; |
---|
[493] | 25 | |
---|
| 26 | // inline GWt_softwarePanel* getExecuteWidget() { |
---|
| 27 | // return executeWidget_; |
---|
| 28 | // } |
---|
| 29 | |
---|
[455] | 30 | /** |
---|
| 31 | Get the accelerator for this sector |
---|
| 32 | */ |
---|
| 33 | inline GWt_accelerator* getAccelerator() { |
---|
| 34 | return UI_Accelerator_; |
---|
| 35 | } |
---|
| 36 | |
---|
[469] | 37 | /** |
---|
| 38 | Get the beam line widget |
---|
| 39 | */ |
---|
| 40 | inline GWt_ligneFaisceau* getBeamLineWidget() { |
---|
| 41 | return UI_beamLine_; |
---|
| 42 | }; |
---|
| 43 | |
---|
[480] | 44 | /** |
---|
| 45 | Display the content of this sector. Create a widget for the beamline and the softwares |
---|
| 46 | */ |
---|
| 47 | void displayWidgetBeamLine(); |
---|
| 48 | |
---|
[446] | 49 | private : |
---|
[455] | 50 | GWt_ligneFaisceau* UI_beamLine_; |
---|
[446] | 51 | void setIcon(WLayout*); |
---|
[455] | 52 | GWt_accelerator* UI_Accelerator_; |
---|
| 53 | sector* sectorControler_; |
---|
[493] | 54 | // GWt_softwarePanel* executeWidget_; |
---|
[455] | 55 | |
---|
[446] | 56 | }; |
---|
| 57 | |
---|
| 58 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.