Wt examples
4.2.2
builddir
build
BUILD
wt-4.2.2
examples
composer
AddresseeEdit.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
#ifndef ADDRESSEE_EDIT_H_
8
#define ADDRESSEE_EDIT_H_
9
10
#include <Wt/WTextArea.h>
11
12
#include "
Contact.h
"
13
14
using namespace
Wt
;
15
16
namespace
Wt
{
17
class
WTableCell
;
18
}
19
20
class
Label
;
21
25
31
class
AddresseeEdit
:
public
WTextArea
32
{
33
public
:
39
AddresseeEdit
(
const
WString
& label,
WContainerWidget
*labelParent);
40
43
void
setAddressees(
const
std::vector<Contact>& contacts);
44
47
std::vector<Contact> addressees()
const
;
48
50
virtual
void
setHidden(
bool
hidden,
const
WAnimation
& animation);
51
52
private
:
54
Label
*
label_
;
55
57
bool
parse
(std::vector<Contact>& contacts)
const
;
58
};
59
61
62
63
#endif // ADDRESSEE_EDIT_H_
parse
void parse(const std::string &input, Value &result, bool validateUTF8=true)
Wt
Wt::WContainerWidget
AddresseeEdit::label_
Label * label_
The label associated with this edit.
Definition:
AddresseeEdit.h:54
Wt::WTableCell
Wt::WAnimation
Wt::WString
Wt::WTextArea
AddresseeEdit
An edit field for an email addressee.
Definition:
AddresseeEdit.h:31
Label
A label.
Definition:
Label.h:24
Contact.h
Generated on Fri Mar 20 2020 for
the C++ Web Toolkit (Wt)
by
1.8.17