Ignore:
Timestamp:
Dec 16, 2013, 5:16:54 PM (11 years ago)
Author:
garnier
Message:

grosse modification pour intégrer les sections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_accelerator.h

    r446 r455  
    66#include <Wt/WContainerWidget>
    77#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
    914#include "dataManager.h"
    1015
     16#include "GWt_dialog.h"
    1117
    1218using namespace Wt;
     
    1824 
    1925public:
    20   GWt_accelerator(WContainerWidget* parent,PspaApplication* pspa);
     26  GWt_accelerator(WContainerWidget*, dataManager*);
    2127  virtual ~GWt_accelerator();
    2228  inline WContainerWidget* getAcceleratorDetailledView() {return acceleratorDetailledView_;};
    2329  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
    2634  private :
    2735  WContainerWidget* acceleratorDetailledView_;
    2836  void addSector();
    2937  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
    3050  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
    3265};
    3366
Note: See TracChangeset for help on using the changeset viewer.