예제 #1
0
파일: FormWidgets.C 프로젝트: GuLinux/wt
Wt::WWidget *FormWidgets::autoComplete()
{
  Wt::WTemplate *result = new TopicTemplate("forms-autoComplete");
  result->bindWidget("AutoComplete", AutoComplete());

  return result;
}
예제 #2
0
파일: FormWidgets.C 프로젝트: GuLinux/wt
Wt::WWidget *FormWidgets::progressBar()
{
  Wt::WTemplate *result = new TopicTemplate("forms-progressBar");
  result->bindWidget("ProgressBar", ProgressBar());

  return result;
}
예제 #3
0
파일: FormWidgets.C 프로젝트: GuLinux/wt
Wt::WWidget *FormWidgets::fileUpload()
{
  Wt::WTemplate *result = new TopicTemplate("forms-fileUpload");
  result->bindWidget("FileUpload", FileUpload());

  return result;
}
예제 #4
0
Wt::WWidget *Navigation::navigationBar()
{
  Wt::WTemplate *result = new TopicTemplate("navigation-navigationBar");

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

  return result;
}
예제 #5
0
Wt::WWidget *GraphicsWidgets::categoryChart()
{
  Wt::WTemplate *result = new TopicTemplate("graphics-CategoryChart");

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

  return result;
}
예제 #6
0
Wt::WWidget *GraphicsWidgets::paintbrush()
{
  Wt::WTemplate *result = new TopicTemplate("graphics-Paintbrush");

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

  return result;
}
예제 #7
0
Wt::WWidget *GraphicsWidgets::pieChart()
{
  Wt::WTemplate *result = new TopicTemplate("graphics-PieChart");

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

  return result;
}
예제 #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);
}
예제 #9
0
void
ShareEdit::displayRemoved(void)
{
	clear();

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

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

  return result;
}
예제 #11
0
Wt::WWidget *Navigation::stackedWidget()
{
  Wt::WTemplate *result = new TopicTemplate("navigation-stackedWidget");

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

  return result;
}
예제 #12
0
Wt::WWidget *Navigation::internalPaths()
{
  Wt::WTemplate *result = new TopicTemplate("navigation-internalPaths");

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

  return result;
}
예제 #13
0
Wt::WWidget *Navigation::toolBar()
{
  Wt::WTemplate *result = new TopicTemplate("navigation-toolBar");

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

  return result;
}
예제 #14
0
Wt::WWidget *Navigation::splitButton()
{
  Wt::WTemplate *result = new TopicTemplate("navigation-splitButton");

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

  return result;
}
예제 #15
0
Wt::WWidget *Navigation::popupMenu()
{
  Wt::WTemplate *result = new TopicTemplate("navigation-popupMenu");

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

  return result;
}
예제 #16
0
파일: FormWidgets.C 프로젝트: GuLinux/wt
Wt::WWidget *FormWidgets::checkBox()
{
  Wt::WTemplate *result = new TopicTemplate("forms-checkBox");
  result->bindWidget("CheckBoxInline", CheckBoxInline());
  result->bindWidget("CheckBoxStack", CheckBoxStack());

  return result;
}
예제 #17
0
Wt::WWidget *Navigation::tabWidget()
{
  Wt::WTemplate *result = new TopicTemplate("navigation-tabWidget");

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

  return result;
}
예제 #18
0
파일: TreesTables.C 프로젝트: 913862627/wt
Wt::WWidget *TreesTables::treeTables()
{
  Wt::WTemplate *result = new TopicTemplate("treestables-TreeTables");

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

  return result;
}
예제 #19
0
파일: FormWidgets.C 프로젝트: GuLinux/wt
Wt::WWidget *FormWidgets::slider()
{
  Wt::WTemplate *result = new TopicTemplate("forms-slider");
  result->bindWidget("Slider", Slider());
  result->bindWidget("SliderVertical", SliderVertical());

  return result;
}
예제 #20
0
파일: FormWidgets.C 프로젝트: GuLinux/wt
Wt::WWidget *FormWidgets::inPlaceEdit()
{
  Wt::WTemplate *result = new TopicTemplate("forms-inPlaceEdit");
  result->bindWidget("InPlaceEditButtons", InPlaceEditButtons());
  result->bindWidget("InPlaceEdit", InPlaceEdit());

  return result;
}
예제 #21
0
파일: FormWidgets.C 프로젝트: GuLinux/wt
Wt::WWidget *FormWidgets::selectionBox()
{
  Wt::WTemplate *result = new TopicTemplate("forms-selectionBox");
  result->bindWidget("SelectionBoxSimple", SelectionBoxSimple());
  result->bindWidget("SelectionBoxExtended", SelectionBoxExtended());

  return result;
}
예제 #22
0
파일: TreesTables.C 프로젝트: 913862627/wt
Wt::WWidget *TreesTables::tableViews()
{
  Wt::WTemplate *result = new TopicTemplate("treestables-TableViews");

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

  return result;  
}
예제 #23
0
파일: TreesTables.C 프로젝트: 913862627/wt
Wt::WWidget *TreesTables::tables()
{
  Wt::WTemplate *result = new TopicTemplate("treestables-Tables");
 
  result->bindWidget("PlainTable", PlainTable());
  result->bindWidget("StyledTable", StyledTable());
 
  return result;
}
예제 #24
0
Wt::WWidget *Navigation::anchor()
{
  Wt::WTemplate *result = new TopicTemplate("navigation-anchor");

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

  return result;
}
예제 #25
0
Wt::WWidget *GraphicsWidgets::scatterPlot()
{
  Wt::WTemplate *result = new TopicTemplate("graphics-ScatterPlot");

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

  return result;
}
예제 #26
0
파일: FormWidgets.C 프로젝트: GuLinux/wt
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;
}
예제 #27
0
파일: TreesTables.C 프로젝트: 913862627/wt
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;  
}
예제 #28
0
파일: FormWidgets.C 프로젝트: GuLinux/wt
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;
}
예제 #29
0
파일: FormWidgets.C 프로젝트: GuLinux/wt
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;
}
예제 #30
0
파일: FormWidgets.C 프로젝트: GuLinux/wt
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;
}