#include "FormExample.h"
#include "Form.h"
#include <Wt/WApplication>
#include <Wt/WText>
#include <Wt/WStringUtil>
Go to the source code of this file.
| WApplication* createApplication |
( |
const WEnvironment & |
env | ) |
|
Definition at line 68 of file FormExample.C.
70 WApplication *app =
new WApplication(env);
71 app->messageResourceBundle().use(WApplication::appRoot() +
"form-example");
72 app->setTitle(
"Form example");
76 WCssDecorationStyle langStyle;
77 langStyle.font().setSize(WFont::Smaller);
78 langStyle.setCursor(PointingHandCursor);
79 langStyle.setForegroundColor(blue);
80 langStyle.setTextDecoration(WCssDecorationStyle::Underline);
81 app->styleSheet().addRule(
".lang", langStyle);
83 langStyle.setCursor(ArrowCursor);
84 langStyle.font().setWeight(WFont::Bold);
85 app->styleSheet().addRule(
".langcurrent", langStyle);
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 90 of file FormExample.C.
WApplication * createApplication(const WEnvironment &env)