What is the difference between QWidget::minimumSize and QWidget::minimumSizeHint? Do they mean the same? If so, when should I prefer one over the other?
QWidget::minimumSizeHint is used when you use the widget inside a layout, QWidget::minimumSize is more generic (for example a resizable widget without layout).
You have to choose the one to use depending to what you need.