diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2009-05-22 08:05:11 (GMT) |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2009-05-22 08:05:11 (GMT) |
commit | ab1b7f137350d6eeafec2a64e3c25a4b02be65a9 (patch) | |
tree | 1439d507ee9cb04663cfde0b2ca825eb1b9a82c3 /src | |
parent | f9d26f0bebd5bcc32d15c4a627251c44cf78389e (diff) | |
download | Qt-ab1b7f137350d6eeafec2a64e3c25a4b02be65a9.zip Qt-ab1b7f137350d6eeafec2a64e3c25a4b02be65a9.tar.gz Qt-ab1b7f137350d6eeafec2a64e3c25a4b02be65a9.tar.bz2 |
Enabled the use of promoted widgets in new form templates.
The form builder used for preview of the templates did not implement
custom widget handling (FormBuilder::createCustomWidgets()).
On encountering a promoted widget, the widget factory
would then create a Widget Database entry specifying QWidget
inheritance (emergency fallback) which could not be overidden later
on.
To fix this, moved the code for handling custom widgets from
QDesignerResource to QSimpleResource and create a new
formbuilder class that handles it especially for the New Form Dialog
preview.
Task-number: 254282
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions