Last change
on this file since 39 was
38,
checked in by lemeur, 12 years ago
|
premiere version pour la creation d'un input parmela
|
File size:
977 bytes
|
Line | |
---|
1 | #ifndef PSPA_SEEN |
---|
2 | #define PSPA_SEEN |
---|
3 | |
---|
4 | #include <Wt/WApplication> |
---|
5 | #include <Wt/WEnvironment> |
---|
6 | #include <Wt/WContainerWidget> |
---|
7 | #include <Wt/WLineEdit> |
---|
8 | #include <Wt/WText> |
---|
9 | #include <Wt/WGridLayout> |
---|
10 | #include <Wt/WVBoxLayout> |
---|
11 | #include <Wt/WImage> |
---|
12 | #include <Wt/WTextArea> |
---|
13 | |
---|
14 | #include "dataManager.h" |
---|
15 | |
---|
16 | // c++0x only, for std::bind |
---|
17 | // #include <functional> |
---|
18 | |
---|
19 | using namespace Wt; |
---|
20 | |
---|
21 | /* |
---|
22 | * ESSAI PSPA |
---|
23 | */ |
---|
24 | class PspaApplication : public WApplication |
---|
25 | { |
---|
26 | public: |
---|
27 | PspaApplication(const WEnvironment& env); |
---|
28 | WWidget* createPalette(); |
---|
29 | WWidget* createBeamLine(); |
---|
30 | WWidget* createGlobalParamWidget(); |
---|
31 | void createDragImage(const char *url, const char *smallurl, |
---|
32 | const char *mimeType, |
---|
33 | WContainerWidget *p); |
---|
34 | inline void addConsoleMessage(WString msg) { |
---|
35 | console_->setText (console_->text()+msg+"\n"); |
---|
36 | } |
---|
37 | |
---|
38 | inline dataManager* getDataManager() const |
---|
39 | { |
---|
40 | return dtmanage_; |
---|
41 | } |
---|
42 | |
---|
43 | private : |
---|
44 | WTextArea* console_; |
---|
45 | dataManager* dtmanage_; |
---|
46 | }; |
---|
47 | |
---|
48 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.