diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-05-20 11:21:53 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-05-20 11:21:53 +0200 |
commit | 7a9c5e1acb5fc5f57e44c233c8f1f0d312a4af4d (patch) | |
tree | 0e4f434db9edbd2a37c61f5a04e3fa608baf1d1c /examples/help/simpletextviewer/simpletextviewer.pro | |
parent | 2b0489e03bce88059eec23d14476d5c7c726d333 (diff) |
Designer: Extend container extension.
Make it possible to disable adding/removing pages by
adding respective bool virtual functions.
Useful for implementing containers with fixed, single
children like QScrollArea, QDockWidget, which require
a container extension to work properly in Qt Designer.
Previously, the problem was that the add/remove
page context menu actions were enabled for them,
leading to crashes und undesired behaviour.
See e00b8105bfcf3d4e36275dea6355705ec5fdbc40 in qtbase.
Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com>
Diffstat (limited to 'examples/help/simpletextviewer/simpletextviewer.pro')
0 files changed, 0 insertions, 0 deletions