Wt::WWidget *FormWidgets::autoComplete() { Wt::WTemplate *result = new TopicTemplate("forms-autoComplete"); result->bindWidget("AutoComplete", AutoComplete()); return result; }
Wt::WWidget *FormWidgets::progressBar() { Wt::WTemplate *result = new TopicTemplate("forms-progressBar"); result->bindWidget("ProgressBar", ProgressBar()); return result; }
Wt::WWidget *FormWidgets::fileUpload() { Wt::WTemplate *result = new TopicTemplate("forms-fileUpload"); result->bindWidget("FileUpload", FileUpload()); return result; }
Wt::WWidget *Navigation::navigationBar() { Wt::WTemplate *result = new TopicTemplate("navigation-navigationBar"); result->bindWidget("NavigationBar", NavigationBar()); return result; }
Wt::WWidget *GraphicsWidgets::categoryChart() { Wt::WTemplate *result = new TopicTemplate("graphics-CategoryChart"); result->bindWidget("CategoryChart", CategoryChart()); return result; }
Wt::WWidget *GraphicsWidgets::paintbrush() { Wt::WTemplate *result = new TopicTemplate("graphics-Paintbrush"); result->bindWidget("Paintbrush", Paintbrush()); return result; }
Wt::WWidget *GraphicsWidgets::pieChart() { Wt::WTemplate *result = new TopicTemplate("graphics-PieChart"); result->bindWidget("PieChart", PieChart()); return result; }
void ShareEdit::displayNotFound(void) { clear(); Wt::WTemplate *t = addNew<Wt::WTemplate>(tr("template-share-not-found")); t->addFunction("tr", &Wt::WTemplate::Functions::tr); }
void ShareEdit::displayRemoved(void) { clear(); Wt::WTemplate *t = addNew<Wt::WTemplate>(tr("template-share-removed")); t->addFunction("tr", &Wt::WTemplate::Functions::tr); }
Wt::WWidget *Navigation::menuWidget() { Wt::WTemplate *result = new TopicTemplate("navigation-menu"); result->bindWidget("Menu", Menu()); return result; }
Wt::WWidget *Navigation::stackedWidget() { Wt::WTemplate *result = new TopicTemplate("navigation-stackedWidget"); result->bindWidget("Stack", Stack()); return result; }
Wt::WWidget *Navigation::internalPaths() { Wt::WTemplate *result = new TopicTemplate("navigation-internalPaths"); result->bindWidget("Path", Path()); return result; }
Wt::WWidget *Navigation::toolBar() { Wt::WTemplate *result = new TopicTemplate("navigation-toolBar"); result->bindWidget("ToolBar", ToolBar()); return result; }
Wt::WWidget *Navigation::splitButton() { Wt::WTemplate *result = new TopicTemplate("navigation-splitButton"); result->bindWidget("SplitButton", SplitButton()); return result; }
Wt::WWidget *Navigation::popupMenu() { Wt::WTemplate *result = new TopicTemplate("navigation-popupMenu"); result->bindWidget("Popup", Popup()); return result; }
Wt::WWidget *FormWidgets::checkBox() { Wt::WTemplate *result = new TopicTemplate("forms-checkBox"); result->bindWidget("CheckBoxInline", CheckBoxInline()); result->bindWidget("CheckBoxStack", CheckBoxStack()); return result; }
Wt::WWidget *Navigation::tabWidget() { Wt::WTemplate *result = new TopicTemplate("navigation-tabWidget"); result->bindWidget("Tab", Tab()); return result; }
Wt::WWidget *TreesTables::treeTables() { Wt::WTemplate *result = new TopicTemplate("treestables-TreeTables"); result->bindWidget("TreeTable", TreeTable()); return result; }
Wt::WWidget *FormWidgets::slider() { Wt::WTemplate *result = new TopicTemplate("forms-slider"); result->bindWidget("Slider", Slider()); result->bindWidget("SliderVertical", SliderVertical()); return result; }
Wt::WWidget *FormWidgets::inPlaceEdit() { Wt::WTemplate *result = new TopicTemplate("forms-inPlaceEdit"); result->bindWidget("InPlaceEditButtons", InPlaceEditButtons()); result->bindWidget("InPlaceEdit", InPlaceEdit()); return result; }
Wt::WWidget *FormWidgets::selectionBox() { Wt::WTemplate *result = new TopicTemplate("forms-selectionBox"); result->bindWidget("SelectionBoxSimple", SelectionBoxSimple()); result->bindWidget("SelectionBoxExtended", SelectionBoxExtended()); return result; }
Wt::WWidget *TreesTables::tableViews() { Wt::WTemplate *result = new TopicTemplate("treestables-TableViews"); result->bindWidget("SmallTableView", SmallTableView()); result->bindWidget("LargeTableView", LargeTableView()); return result; }
Wt::WWidget *TreesTables::tables() { Wt::WTemplate *result = new TopicTemplate("treestables-Tables"); result->bindWidget("PlainTable", PlainTable()); result->bindWidget("StyledTable", StyledTable()); return result; }
Wt::WWidget *Navigation::anchor() { Wt::WTemplate *result = new TopicTemplate("navigation-anchor"); result->bindWidget("Anchor", Anchor()); result->bindWidget("AnchorImage", AnchorImage()); return result; }
Wt::WWidget *GraphicsWidgets::scatterPlot() { Wt::WTemplate *result = new TopicTemplate("graphics-ScatterPlot"); result->bindWidget("ScatterPlotData", ScatterPlotData()); result->bindWidget("ScatterPlotCurve", ScatterPlotCurve()); return result; }
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; }
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; }
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; }
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; }
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; }