Last change
on this file since 480 was
480,
checked in by garnier, 10 years ago
|
BugFix d un memory leak quand on changeait les debut de section. Amelioration lors des changement de debut de sections
|
File size:
1.1 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 | |
---|
11 | using namespace Wt; |
---|
12 | |
---|
13 | using namespace std; |
---|
14 | |
---|
15 | class GWt_sector : public WObject |
---|
16 | { |
---|
17 | |
---|
18 | public: |
---|
19 | GWt_sector(GWt_accelerator*,sector*); |
---|
20 | virtual ~GWt_sector(); |
---|
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 | |
---|
34 | /** |
---|
35 | Get the beam line widget |
---|
36 | */ |
---|
37 | inline GWt_ligneFaisceau* getBeamLineWidget() { |
---|
38 | return UI_beamLine_; |
---|
39 | }; |
---|
40 | |
---|
41 | /** |
---|
42 | Display the content of this sector. Create a widget for the beamline and the softwares |
---|
43 | */ |
---|
44 | void displayWidgetBeamLine(); |
---|
45 | |
---|
46 | private : |
---|
47 | GWt_ligneFaisceau* UI_beamLine_; |
---|
48 | void setIcon(WLayout*); |
---|
49 | GWt_accelerator* UI_Accelerator_; |
---|
50 | sector* sectorControler_; |
---|
51 | GWt_softwarePanel* executeWidget_; |
---|
52 | |
---|
53 | }; |
---|
54 | |
---|
55 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.