From 5603be705e9e99b164bb85014c2abd0edf1d13f3 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 2 May 2019 14:50:31 +0200 Subject: Qt6: remove support for property flags being functions Property flags should be compile time booleans, not something to be determined at runtime. We've been using this to dynamically disable some properties in QWidget based classes dependent on the state of a different property, but this should better get implemented on top of our widgets. Change-Id: I6296e8761303ecdf24d9e842142e8596304c015d Reviewed-by: Simon Hausmann Reviewed-by: Ulf Hermann Reviewed-by: Lars Knoll Reviewed-by: Friedemann Kleint --- src/corelib/doc/src/objectmodel/properties.qdoc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/corelib/doc') diff --git a/src/corelib/doc/src/objectmodel/properties.qdoc b/src/corelib/doc/src/objectmodel/properties.qdoc index abeb9b7a54..e3c506e8bc 100644 --- a/src/corelib/doc/src/objectmodel/properties.qdoc +++ b/src/corelib/doc/src/objectmodel/properties.qdoc @@ -110,13 +110,11 @@ \li The \c DESIGNABLE attribute indicates whether the property should be visible in the property editor of GUI design tool (e.g., \l {Qt Designer Manual}{Qt Designer}). Most properties are \c DESIGNABLE - (default true). Instead of true or false, you can specify a boolean - member function. + (default true). Valid values are true and false. \li The \c SCRIPTABLE attribute indicates whether this property should be accessible by a scripting engine (default true). - Instead of true or false, you can specify a boolean member - function. + Valid values are true and false. \li The \c STORED attribute indicates whether the property should be thought of as existing on its own or as depending on other -- cgit v1.2.3