Last change
on this file since 455 was
455,
checked in by garnier, 11 years ago
|
grosse modification pour intégrer les sections
|
File size:
949 bytes
|
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 | |
---|
[446] | 34 | private : |
---|
[455] | 35 | GWt_ligneFaisceau* UI_beamLine_; |
---|
[446] | 36 | void setIcon(WLayout*); |
---|
| 37 | void displayWidgetBeamLine(); |
---|
[455] | 38 | GWt_accelerator* UI_Accelerator_; |
---|
| 39 | sector* sectorControler_; |
---|
| 40 | GWt_softwarePanel* executeWidget_; |
---|
| 41 | |
---|
[446] | 42 | }; |
---|
| 43 | |
---|
| 44 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.