Koen Deforche 2882d8272e Several changes: 8 vuotta sitten
..
icons 23c84d699e back-port WDialog fixes from v3 branch 16 vuotta sitten
CMakeLists.txt 7292f9ec92 WTextEdit: make all things configurable per instance (#801). Fix some animation glitches 13 vuotta sitten
Form.C 2882d8272e Several changes: 8 vuotta sitten
Form.h d55ec82169 merged in bootstrap branch 12 vuotta sitten
FormExample.C d55ec82169 merged in bootstrap branch 12 vuotta sitten
FormExample.h 0876868beb see Changelog 15 vuotta sitten
README.md 8455fb6ae2 added README.md files for examples, several bug fixes 13 vuotta sitten
form-example.xml 23c84d699e back-port WDialog fixes from v3 branch 16 vuotta sitten
form-example_nl.xml 9b3de81dd1 Several changes: 9 vuotta sitten

README.md

Form example

This example shows a simple form, illustrating the basics of showing input fields, validation and localization.

The example is a bit dated in the sense that it makes extensive use of inline CSS instead of using an external stylesheet for markup and layout.

How to run

See the README in the parent directory.

What it illustrates

  • the use of input fields (WComboBox, WDatePicker, WLineEdit, WLabel, ...)
  • form validation using validators
  • the use of message resource bundles and the localization API
  • the use of WCssDecorationStyle for inline CSS