Examples

Explore some live examples of JWt below.

The source code of these (and many more) examples is included in the JWt source distribution. You may also browse through the source code of each example using the source code viewer.

Treeview

Run example

This example illustrates some MVC functionality provided by builtin Views (WTreeView, WTableView and PieChart) and models.
  • The example uses WTreeView and WTableView widgets for rendering a Model's data in a tree or a table.
  • A WSortFilterProxyModel implement sorting and filtering for another model.
  • These item views have support for drag and drop of a selection of items.
  • You can use nested layout managers (horizontal and vertical WBoxLayout) for an automatic window-filling layout, with optional resize handles.
  • Modal (and non-modal) dialogs can be used to prompt for input.
Browse the source code