source: PSPA/Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_snapshot.h @ 379

Last change on this file since 379 was 379, checked in by touze, 11 years ago

ajout d'une extension de fichier pour les cliches

File size: 800 bytes
Line 
1#ifndef GRAPHSNAPSHOTELEMENT_SEEN
2#define GRAPHSNAPSHOTELEMENT_SEEN
3
4#include "GWt_abstractElement.h"
5#include "abstractElement.h"
6
7#include <iostream>
8#include <string>
9#include <sstream>
10
11using namespace Wt;
12using namespace std;
13
14class GWt_snapshot : public GWt_abstractElement
15{
16  WLineEdit* snapshotFile_;
17   
18 public:
19   
20  GWt_snapshot() {;}
21  GWt_snapshot(GWt_elementLigneFaisceau*,int);
22  ~GWt_snapshot() {;}
23 
24  virtual void dialogDone(WDialog::DialogCode code);
25  WImage* getImage();
26   
27  inline string getMimeType() {return "htdocs/snapshot.jpg"; }
28  inline string getSmallImageURL() {return "htdocs/snapshot.jpg"; }
29  inline string getBigImageURL() {return "htdocs/snapshot.jpg"; }
30  inline string getName() {return "snapshot"; }
31 
32 private :
33
34  void initilializeDialog();
35};
36#endif
Note: See TracBrowser for help on using the repository browser.