Introduction to Qt Widgets (Part 04) - Qt's Object Model

Поділитися
Вставка

КОМЕНТАРІ •

  • @WILSONPARDIJUNIOR
    @WILSONPARDIJUNIOR 2 місяці тому +1

    Hi there,
    Definitely one of the best videos about Qt in this platform! Thanks a LOT for teaching us using a very informal and easy-to-understand way.
    Best Regards from sunny Japan,
    Wilson Pardi Junior

    • @KDABtv
      @KDABtv  2 місяці тому

      Hi Wilson,
      thank you very much for this lovely feedback! :) Glad to hear that you enjoy our videos.

  • @ДенисКолчев-щ4с

    Thanks for this video. I was said that I don't understand QObject model, so it's quit helpful 😄

  • @liautraver3698
    @liautraver3698 7 місяців тому

    I rewatched the episode today and I still learned a lot🙃

  • @jakechen6597
    @jakechen6597 7 місяців тому

    Thanks for your share ! How to get the slides of the lession?

    • @KDABtv
      @KDABtv  6 місяців тому

      Hi,
      Thank you for your interest! The slides shown in the video are part of a training course that we offer. Unfortunately, we are unable to share the slides separately. If you have any other questions or need further information about the course, feel free to let us know!

  • @mr.shredder5430
    @mr.shredder5430 10 місяців тому

    so we should not allocate new that dosent inherit from QObject?

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

      Not unless you have a reason for it. Consider this class:
      class Person {
      int* age;
      ...
      }
      Would you allocate the age with out without the pointer? You may for sure have a reason for it, say if the age is owned by some other object, but you just need to be able to reference it, but usually (say 99% of the times), you would not have it as a pointer.
      Now same applies if you extend the class like this:
      class Person {
      int age;
      QString name;
      QStringList hobbies;
      ...
      }
      Unless you have a good reason, those instance should not be allocated using new.

  • @greob
    @greob Рік тому +1

    Thanks for making these videos.

    • @KDABtv
      @KDABtv  Рік тому +1

      We're happy that you enjoy these videos! :)