Exemplo n.º 1
0
Wt::WWidget *FormWidgets::autoComplete()
{
  Wt::WTemplate *result = new TopicTemplate("forms-autoComplete");
  result->bindWidget("AutoComplete", AutoComplete());

  return result;
}
Exemplo n.º 2
0
Wt::WWidget *FormWidgets::progressBar()
{
  Wt::WTemplate *result = new TopicTemplate("forms-progressBar");
  result->bindWidget("ProgressBar", ProgressBar());

  return result;
}
Exemplo n.º 3
0
Wt::WWidget *FormWidgets::fileUpload()
{
  Wt::WTemplate *result = new TopicTemplate("forms-fileUpload");
  result->bindWidget("FileUpload", FileUpload());

  return result;
}
Exemplo n.º 4
0
Wt::WWidget *Navigation::navigationBar()
{
  Wt::WTemplate *result = new TopicTemplate("navigation-navigationBar");

  result->bindWidget("NavigationBar", NavigationBar());

  return result;
}
Exemplo n.º 5
0
Wt::WWidget *GraphicsWidgets::categoryChart()
{
  Wt::WTemplate *result = new TopicTemplate("graphics-CategoryChart");

  result->bindWidget("CategoryChart", CategoryChart());

  return result;
}
Exemplo n.º 6
0
Wt::WWidget *GraphicsWidgets::paintbrush()
{
  Wt::WTemplate *result = new TopicTemplate("graphics-Paintbrush");

  result->bindWidget("Paintbrush", Paintbrush());

  return result;
}
Exemplo n.º 7
0
Wt::WWidget *GraphicsWidgets::pieChart()
{
  Wt::WTemplate *result = new TopicTemplate("graphics-PieChart");

  result->bindWidget("PieChart", PieChart());

  return result;
}
Exemplo n.º 8
0
void
ShareEdit::displayNotFound(void)
{
	clear();

	Wt::WTemplate *t = addNew<Wt::WTemplate>(tr("template-share-not-found"));
	t->addFunction("tr", &Wt::WTemplate::Functions::tr);
}
Exemplo n.º 9
0
void
ShareEdit::displayRemoved(void)
{
	clear();

	Wt::WTemplate *t = addNew<Wt::WTemplate>(tr("template-share-removed"));
	t->addFunction("tr", &Wt::WTemplate::Functions::tr);
}
Exemplo n.º 10
0
Wt::WWidget *Navigation::menuWidget()
{
  Wt::WTemplate *result = new TopicTemplate("navigation-menu");

  result->bindWidget("Menu", Menu());

  return result;
}
Exemplo n.º 11
0
Wt::WWidget *Navigation::stackedWidget()
{
  Wt::WTemplate *result = new TopicTemplate("navigation-stackedWidget");

  result->bindWidget("Stack", Stack());

  return result;
}
Exemplo n.º 12
0
Wt::WWidget *Navigation::internalPaths()
{
  Wt::WTemplate *result = new TopicTemplate("navigation-internalPaths");

  result->bindWidget("Path", Path());

  return result;
}
Exemplo n.º 13
0
Wt::WWidget *Navigation::toolBar()
{
  Wt::WTemplate *result = new TopicTemplate("navigation-toolBar");

  result->bindWidget("ToolBar", ToolBar());

  return result;
}
Exemplo n.º 14
0
Wt::WWidget *Navigation::splitButton()
{
  Wt::WTemplate *result = new TopicTemplate("navigation-splitButton");

  result->bindWidget("SplitButton", SplitButton());

  return result;
}
Exemplo n.º 15
0
Wt::WWidget *Navigation::popupMenu()
{
  Wt::WTemplate *result = new TopicTemplate("navigation-popupMenu");

  result->bindWidget("Popup", Popup());

  return result;
}
Exemplo n.º 16
0
Wt::WWidget *FormWidgets::checkBox()
{
  Wt::WTemplate *result = new TopicTemplate("forms-checkBox");
  result->bindWidget("CheckBoxInline", CheckBoxInline());
  result->bindWidget("CheckBoxStack", CheckBoxStack());

  return result;
}
Exemplo n.º 17
0
Wt::WWidget *Navigation::tabWidget()
{
  Wt::WTemplate *result = new TopicTemplate("navigation-tabWidget");

  result->bindWidget("Tab", Tab());

  return result;
}
Exemplo n.º 18
0
Wt::WWidget *TreesTables::treeTables()
{
  Wt::WTemplate *result = new TopicTemplate("treestables-TreeTables");

  result->bindWidget("TreeTable", TreeTable());

  return result;
}
Exemplo n.º 19
0
Wt::WWidget *FormWidgets::slider()
{
  Wt::WTemplate *result = new TopicTemplate("forms-slider");
  result->bindWidget("Slider", Slider());
  result->bindWidget("SliderVertical", SliderVertical());

  return result;
}
Exemplo n.º 20
0
Wt::WWidget *FormWidgets::inPlaceEdit()
{
  Wt::WTemplate *result = new TopicTemplate("forms-inPlaceEdit");
  result->bindWidget("InPlaceEditButtons", InPlaceEditButtons());
  result->bindWidget("InPlaceEdit", InPlaceEdit());

  return result;
}
Exemplo n.º 21
0
Wt::WWidget *FormWidgets::selectionBox()
{
  Wt::WTemplate *result = new TopicTemplate("forms-selectionBox");
  result->bindWidget("SelectionBoxSimple", SelectionBoxSimple());
  result->bindWidget("SelectionBoxExtended", SelectionBoxExtended());

  return result;
}
Exemplo n.º 22
0
Wt::WWidget *TreesTables::tableViews()
{
  Wt::WTemplate *result = new TopicTemplate("treestables-TableViews");

  result->bindWidget("SmallTableView", SmallTableView());
  result->bindWidget("LargeTableView", LargeTableView());

  return result;  
}
Exemplo n.º 23
0
Wt::WWidget *TreesTables::tables()
{
  Wt::WTemplate *result = new TopicTemplate("treestables-Tables");
 
  result->bindWidget("PlainTable", PlainTable());
  result->bindWidget("StyledTable", StyledTable());
 
  return result;
}
Exemplo n.º 24
0
Wt::WWidget *Navigation::anchor()
{
  Wt::WTemplate *result = new TopicTemplate("navigation-anchor");

  result->bindWidget("Anchor", Anchor());
  result->bindWidget("AnchorImage", AnchorImage());

  return result;
}
Exemplo n.º 25
0
Wt::WWidget *GraphicsWidgets::scatterPlot()
{
  Wt::WTemplate *result = new TopicTemplate("graphics-ScatterPlot");

  result->bindWidget("ScatterPlotData", ScatterPlotData());
  result->bindWidget("ScatterPlotCurve", ScatterPlotCurve());

  return result;
}
Exemplo n.º 26
0
Wt::WWidget *FormWidgets::comboBox()
{
  Wt::WTemplate *result = new TopicTemplate("forms-comboBox");
  result->bindWidget("ComboBox", ComboBox());
  result->bindWidget("ComboBoxActivated", ComboBoxActivated());
  result->bindWidget("ComboBoxModel", ComboBoxModel());

  return result;
}
Exemplo n.º 27
0
Wt::WWidget *TreesTables::treeViews()
{
  Wt::WTemplate *result = new TopicTemplate("treestables-TreeViews");
#ifndef _WIN32
  result->bindWidget("TreeView", TreeView());
#else
  result->bindString("TreeView", "Example not available on windows");
#endif
  return result;  
}
Exemplo n.º 28
0
Wt::WWidget *FormWidgets::dateEntry()
{
  Wt::WTemplate *result = new TopicTemplate("forms-dateEntry");
  result->bindWidget("CalendarSimple", CalendarSimple());
  result->bindWidget("CalendarExtended", CalendarExtended());
  result->bindWidget("DateEdit", DateEdit());
  result->bindWidget("DatePicker", DatePicker());

  return result;
}
Exemplo n.º 29
0
Wt::WWidget *FormWidgets::radioButton()
{
  Wt::WTemplate *result = new TopicTemplate("forms-radioButton");
  result->bindWidget("RadioButtonsLoose", RadioButtonsLoose());
  result->bindWidget("RadioButtonGroup", RadioButtonGroup());
  result->bindWidget("RadioButtonStack", RadioButtonStack());
  result->bindWidget("RadioButtonsActivated", RadioButtonsActivated());

  return result;
}
Exemplo n.º 30
0
Wt::WWidget *FormWidgets::example()
{
  Wt::WTemplate *result = new TopicTemplate("forms-integration-example");
  result->bindWidget("FormModel", FormModel());

  // Show the XML-templates as text
  result->bindString("form-field",
                     reindent(tr("form-field")), Wt::PlainText);
  result->bindString("userForm-template",
                     reindent(tr("userForm-template")), Wt::PlainText);
  return result;
}