3#include <Wt/WApplication>
6#include <Wt/WSelectionBox>
7#include <Wt/WContainerWidget>
9#include <Wt/WIntValidator>
11#include <Wt/WLineEdit>
12#include <Wt/WPushButton>
13#include <Wt/WTableCell>
14#include <Wt/WTextArea>
96 label =
new WLabel(
tr(
"example.childcount"),
106 label =
new WLabel(
tr(
"example.remarks"),
160 if (edit->
validate() != WValidator::Valid) {
205 "for all this precious data.</p>").arg(name),
208 if (!remarks.empty())
209 new WText(
"<p>You had some remarks. Splendid !</p>",
elementAt(0, 0));
Wt::Signals::connection connect(const F &function)
void setCurrentIndex(int index)
void addItem(const WString &text)
void setForegroundColor(WColor color)
void setBottom(const WDate &bottom)
void setFormat(const WString &format)
virtual WDateValidator * validator() const
void setTop(const WDate &top)
static WDate currentDate()
void setStyle(Style style)
void setSize(Size size, const WLength &length)
void setWeight(Weight weight, int value=400)
void setBuddy(WFormWidget *buddy)
const WString & text() const
static WString fromUTF8(const std::string &value, bool checkValid=false)
void setColumnSpan(int colSpan)
WTableCell * elementAt(int row, int column)
const WString & text() const
void setColumns(int cols)
void setMandatory(bool how)