Changeset 455 in PSPA for Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_accelerator.h
- Timestamp:
- Dec 16, 2013, 5:16:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_accelerator.h
r446 r455 6 6 #include <Wt/WContainerWidget> 7 7 #include <Wt/WScrollArea> 8 #include "GWt_pspaApplication.h" 8 #include <Wt/WComboBox> 9 #include <Wt/WDialog> 10 #include <Wt/WPdfImage> 11 #include <Wt/Chart/WCartesianChart> 12 #include <Wt/WLength> 13 9 14 #include "dataManager.h" 10 15 16 #include "GWt_dialog.h" 11 17 12 18 using namespace Wt; … … 18 24 19 25 public: 20 GWt_accelerator(WContainerWidget* parent,PspaApplication* pspa);26 GWt_accelerator(WContainerWidget*, dataManager*); 21 27 virtual ~GWt_accelerator(); 22 28 inline WContainerWidget* getAcceleratorDetailledView() {return acceleratorDetailledView_;}; 23 29 inline WLayout* getAcceleratorGlobalViewLayout() {return acceleratorGlobalViewLayout_;}; 24 inline PspaApplication* getControler() { return pspa_;}; 25 30 inline dataManager* getDataManager() { return dataManager_;}; 31 void faireDessin(); 32 WContainerWidget* createDrawingWidget(); 33 26 34 private : 27 35 WContainerWidget* acceleratorDetailledView_; 28 36 void addSector(); 29 37 void run(); 38 void closeGraphicDialog(); 39 void dialogOnGraphics(); 40 void dessiner(); 41 void faireDessinPhaseSpace(WContainerWidget* toto, particleBeam* beam, string elementLabel, string namex, string namey, int typeFaisceau); 42 void faireDessinEnveloppe(WContainerWidget* toto, string type); 43 void dessinerEnveloppe(); 44 void dessinerPhaseSpace(); 45 void dessinerHistogramme(); 46 void chartPlot2vec(WContainerWidget* toto,vector<double>& xcor,vector<double>& ycor,Wt::Chart::SeriesType seriesType,Wt::Chart::FillRangeType fillRange,Wt::Chart::AxisValue value,bool isGridLinesEnables,string title,string legendx,string legendy,int width,int height,bool makeIcon = false); 47 48 49 30 50 WLayout* acceleratorGlobalViewLayout_; 31 PspaApplication* pspa_; 51 dataManager* dataManager_; 52 WComboBox* choixElementDessin_; 53 WComboBox* choixTypeDessinFaisceau_; 54 WComboBox* choixAbsPhase_; 55 WComboBox* choixOrdPhase_; 56 WComboBox* choixEnveloppeDessin_; 57 WComboBox* choixHistoDessin_; 58 WComboBox* choixVariableHisto_; 59 GWt_dialog* graphicsDialog_; 60 WButtonGroup *group_; 61 vector<GWt_dialog*> eDialog_; 62 WContainerWidget* toto_; 63 string nameOfCase_; 64 32 65 }; 33 66
Note: See TracChangeset
for help on using the changeset viewer.