Qt Designer: Add customizable property tooltips.
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Fri, 17 Jul 2015 12:21:55 +0000 (14:21 +0200)
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Wed, 29 Jul 2015 11:10:34 +0000 (11:10 +0000)
commita98e3ba6238788e5b94dfda7d63a9df380b905af
tree9e6352d74a1f03ebbd7e96c3e2ccde5e8945a461
parent08a732b69e951b8f1ca53d2e047c432407f42d67
Qt Designer: Add customizable property tooltips.

- Introduce tag propertytooltip to property specifications
  in the ui XML snippet returned by
  QDesignerCustomWidgetInterface::domXml()
- Pass the text to the property editor and set as description tooltip
  on the property.
- As an added benefit, show the type in the normal tooltip.
- Demonstrate using TicTacToe example.

[ChangeLog][Qt Designer] Added customizable property tooltips.

Task-number: QTBUG-45442
Change-Id: I371bbbb3a6f2bc0f433193b5eb45658211ca67de
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
examples/designer/taskmenuextension/tictactoeplugin.cpp
src/designer/data/ui4.xsd
src/designer/src/components/propertyeditor/propertyeditor.cpp
src/designer/src/designer/doc/src/designer-manual.qdoc
src/designer/src/lib/shared/pluginmanager.cpp
src/designer/src/lib/shared/pluginmanager_p.h
src/designer/src/lib/uilib/ui4.cpp
src/designer/src/lib/uilib/ui4_p.h