Is it ok to declare for example QLabel as a private member of some CustomWidget class and "place" it in CustomWidget using setParent or Layouts...
What about Qt's "garbage collector" in this case?
Shall I rather keep pointers to QWidgets I want to use in my CustomWidget instance?
What differs these two methods?
Bookmarks