I have followed this helpful post on creating a custom form. I have named the Qt objects the same as the fields in my attribute table. I have also set the edit widget properties to text edit for the line edit widget etc.

The form pops up when I click on a feature, but none of the data appears in the custom form.

Can anyone suggest what might be the problem?

  • Not without seeing some code, specifically yours. Too many things can go wrong to try to guess. Can you edit your question with a sample of your code please. Commented Jul 23, 2015 at 3:45

1 Answer 1


Most likely you only provided a .ui file but did not configure the widgets.

Go to Layer Properties > Fields and change (and configure) the widget type according to your needs.

E.g. Range for a Spin Box

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.