What is "hint" and for what is it good for?
Unsolved
General and Desktop
-
Hi,
I have a general question.
There are several properties and methods with the keyword "hint" (for example a sizehint).
Could someone explaine what the typical usage of hint is and for what it is good for?
Thank you :)
@firen Hint is a "recomendation", like here for example: https://doc.qt.io/qt-5/qwidget.html#sizeHint-prop
-
@firen Hint is a "recomendation", like here for example: https://doc.qt.io/qt-5/qwidget.html#sizeHint-prop
-
@jsulm is this the internal used size (or whatevener property) that is used if I dont override it with a setter or something? So is a hint something which comes from the system or shoud/can I set a hint?
@firen Read "Size Hints and Size Policies" in https://doc.qt.io/qt-5/qwidget.html