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