Wtx ~ Wt Extension Library
WtxLib
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
src
Wtx
Addons
Eml
Composer.save
OptionList.h
1
// This may look like C code, but it's really -*- C++ -*-
2
/*
3
* Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
4
*
5
* See the LICENSE file for terms of use.
6
*/
7
#ifndef OPTIONLIST_H_
8
#define OPTIONLIST_H_
9
10
#include <Wt/WContainerWidget.h>
11
12
using namespace
Wt
;
13
14
class
Option
;
15
20
40
class
OptionList
:
public
WContainerWidget
41
{
42
public
:
45
OptionList
();
46
49
void
add(std::unique_ptr<Option> option);
50
54
void
update();
55
56
private
:
58
std::vector<Option *> options_;
59
61
Option
*optionNeedReset_;
62
64
void
optionVisibilityChanged(
Option
*opt,
bool
hidden);
65
66
friend
class
Option
;
67
};
68
71
#endif // OPTIONLIST_H_
Option
A clickable option.
Definition:
Option.h:31
OptionList
A list of options, separated by '|'.
Definition:
OptionList.h:40
Wt
Definition:
AddresseeEdit.h:16
Generated on Sat Apr 10 2021 05:56:01 for Wtx ~ Wt Extension Library by
1.8.11