From a98e3ba6238788e5b94dfda7d63a9df380b905af Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 17 Jul 2015 14:21:55 +0200 Subject: 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 --- examples/designer/taskmenuextension/tictactoeplugin.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/designer/taskmenuextension/tictactoeplugin.cpp') diff --git a/examples/designer/taskmenuextension/tictactoeplugin.cpp b/examples/designer/taskmenuextension/tictactoeplugin.cpp index 770a44a24..6e0c7b02d 100644 --- a/examples/designer/taskmenuextension/tictactoeplugin.cpp +++ b/examples/designer/taskmenuextension/tictactoeplugin.cpp @@ -127,6 +127,7 @@ QString TicTacToePlugin::domXml() const \ TicTacToe\ \ + Tic Tac Toe state\ \ \ \ -- cgit v1.2.3