Wt examples
4.5.0
C:
_
M
mingw-w64-wt
src
wt-4.5.0
examples
form
FormExample.h
Go to the documentation of this file.
1
// This may look like C code, but it's really -*- C++ -*-
2
/*
3
* Copyright (C) 2008 Emweb bv, Herent, Belgium.
4
*
5
* See the LICENSE file for terms of use.
6
*/
7
8
#ifndef FORMEXAMPLE_H_
9
#define FORMEXAMPLE_H_
10
11
#include <Wt/WContainerWidget.h>
12
13
namespace
Wt
{
14
class
WText;
15
}
16
17
using namespace
Wt
;
18
23
29
class
FormExample
:
public
WContainerWidget
30
{
31
public
:
34
FormExample
();
35
36
private
:
37
std::vector<WText *>
languageSelects_
;
38
41
void
changeLanguage
(WText *t);
42
43
void
setLanguage
(
const
std::string lang);
44
};
45
48
#endif
// FORMEXAMPLE_H_
FormExample
Main widget for the Form example.
Definition:
FormExample.h:30
FormExample::changeLanguage
void changeLanguage(WText *t)
Change the language.
Definition:
FormExample.C:62
FormExample::setLanguage
void setLanguage(const std::string lang)
Definition:
FormExample.C:40
FormExample::languageSelects_
std::vector< WText * > languageSelects_
Definition:
FormExample.h:37
FormExample::FormExample
FormExample()
Instantiate a new form example.
Definition:
FormExample.C:14
Wt
Definition:
ChartConfig.h:13
Generated on Fri Aug 27 2021 for
the C++ Web Toolkit (Wt)
by
1.9.2