Example of model/view with custom widget