Wt examples  4.9.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ChartsApplication Class Reference
Inheritance diagram for ChartsApplication:
[legend]

Public Member Functions

 ChartsApplication (const WEnvironment &env)
 

Detailed Description

Definition at line 12 of file ChartsApplication.C.

Constructor & Destructor Documentation

◆ ChartsApplication()

ChartsApplication::ChartsApplication ( const WEnvironment &  env)
inline

Definition at line 15 of file ChartsApplication.C.

16 : WApplication(env)
17 {
18 setTitle("Charts example");
19
20 setCssTheme("polished");
21 messageResourceBundle().use(appRoot() + "charts");
22
23 root()->setPadding(10);
24 root()->resize(WLength::Auto, WLength::Auto);
25
26 root()->addWidget(std::make_unique<ChartsExample>());
27
28 /*
29 * Set our style sheet last, so that it loaded after the ext stylesheets.
30 */
31 useStyleSheet("charts.css");
32 }

The documentation for this class was generated from the following file: