Working with Multiple Forms in Qt C++ - Qt Widgets Crash Course

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 13

  • @KarolinaRiddle111
    @KarolinaRiddle111 Місяць тому

    Thank you. You are very good teacher. :)

  • @julestoutcourt7330
    @julestoutcourt7330 Рік тому

    Thank you !! You save myself ❤

  • @TechnoSoftlk
    @TechnoSoftlk Рік тому

    Nice explanation as always ❤️

  • @Nathan-gd6br
    @Nathan-gd6br Рік тому +3

    in mainwindows.cpp file, you create a pointer to Dialog every time button clicked. but you didn't delete it. you will end up with memory problem

    • @wearesciber
      @wearesciber  Рік тому

      Well actually, since i passed "this" to the constructor when creating the object, it sets up a parent child relationship between the mainwindow and the dialog. Then when the parent gets deleted the child will be deleted as well. I didn't mention this clearly in the video, sorry about that.

    • @Nathan-gd6br
      @Nathan-gd6br Рік тому +1

      @@wearesciber No. Parents will delete their children . But in your case Your parent is main windows. In another word, As long as you don't close your application. Your dialogue will remain in memory. Let's say you click the button 10 times You will have 10 dialogue, remain your memory unless you close the whole application

    • @wearesciber
      @wearesciber  Рік тому

      Mmm. Yeah you are right. Thanks for pointing it out.

  • @mirobozonca7925
    @mirobozonca7925 Рік тому

    Very Well explained :). Please can you make video how to use QThread?

  • @maneasd4600
    @maneasd4600 10 місяців тому

    well explained!

  • @kavindupansilu1556
    @kavindupansilu1556 Рік тому

    Super👍

  • @gustavojoaquin_arch
    @gustavojoaquin_arch Рік тому

    :u