Details
-
Suggestion
-
Resolution: Invalid
-
P3: Somewhat important
-
4.2.0
-
None
Description
Document the default values for properties
For example, the QMainWindow's nestingEnabled property: http://doc.trolltech.com/4.2/qmainwindow.html#dockNestingEnabled-prop
It is difficult to understand if it is true or false by default.
Another example: It is not said explicitly the default SizeHint for QWidget.
There is a lack of such information about defaults for many Qt's classes.
Suggestion:
It would be nice with some kind of section "default value" in documentation about each property of each class.
If the default value is, for example, window system-dependent, it would be nice to read what is system-dependent.
If default value depends from situation (for example, visible property for child widgets), it would be nice to have it documented.
If the default value is undefined (can't provide an example), it would be nice to get this information from the documentation explicitly.