What is the purpose of passing the parent to the constructor of the Qt class?

What is the purpose of passing a parent to the constructor of an object of class Qt?

+3
source share
1 answer

They ensure that your cumulus QWidgets take care of the beautiful ( deletewhen they should be and when).

For a detailed explanation, see this answer on a similar question.

+4
source

Source: https://habr.com/ru/post/1776000/


All Articles