To-Do App in Qt C++ - Qt Widgets Crash Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2024

ความคิดเห็น • 35

  • @pkop4
    @pkop4 ปีที่แล้ว +6

    A convenient way to access the Qt documentation from inside Creator, is put the cursor on a class or member-function name you have typed, like QListWidgetItem and press F1. The docs for that widget will show inside the editor. Good way to learn the API while coding.

  • @patrick.miharisoa
    @patrick.miharisoa 10 หลายเดือนก่อน +1

    what's really great about this tutorial is that you are also showing us how did you manage to implement the desired behavior. very nice 👍

    • @wearesciber
      @wearesciber  10 หลายเดือนก่อน

      Thank you ❤️

  • @goswami_himanshu
    @goswami_himanshu ปีที่แล้ว +4

    You are one of the best explainers i saw on TH-cam. Can you try to make a slightly complex project, I won't mind watching a 2-3 hours video

    • @wearesciber
      @wearesciber  ปีที่แล้ว +2

      Thank you. This means a lot. I will try. :)

  • @_yuri_n
    @_yuri_n 2 หลายเดือนก่อน

    Best qt tutorial i have ever seen, Thanks!

  • @peterwooldridge7285
    @peterwooldridge7285 ปีที่แล้ว +1

    What a very friendly approach you have.
    I've watched a number of your videos and find them very informative. What I particularly like is your use UI's rather than the console for demonstration purposes...a far more practical approach.
    What I'd really like to see you build is an app that comprises multiple userforms connected to a database from which checking for completion, reports generation etc etc., can be generated.
    In any event thank you so much for sharing your knowledge with me and I look forward to your next tutorial

  • @ncrx7
    @ncrx7 ปีที่แล้ว +3

    Keep going with qt c++

  • @adamploof3528
    @adamploof3528 ปีที่แล้ว

    Just getting started with Qt and looking for a good intro to it. This was perfect. Thank you!

  • @komaljamal85
    @komaljamal85 ปีที่แล้ว +1

    Excellent teaching skills.....

  • @rajithlahiru5580
    @rajithlahiru5580 5 หลายเดือนก่อน

    Wow what a great explanation

  • @3bdo3id
    @3bdo3id 11 หลายเดือนก่อน

    Thanks for this
    I followed your impedimentation thanks a lot

  • @RobinSingh-gv2if
    @RobinSingh-gv2if ปีที่แล้ว

    Thanks Man, m looking for this project

  • @Lejlaaaaaaa
    @Lejlaaaaaaa 5 หลายเดือนก่อน +1

    Thank u so much

  • @fatimaamin8314
    @fatimaamin8314 ปีที่แล้ว +1

    Awesome tutorial! Do you use a plugin for autocomplete?

    • @wearesciber
      @wearesciber  ปีที่แล้ว +1

      Thanks. No i dont use a plugin, its the built in one i think :)

  • @victorverlysdonk3321
    @victorverlysdonk3321 ปีที่แล้ว +3

    Your remove/remove all was not saved to the file after it has been executed. The text was still there on next run of the program

    • @delonmeau
      @delonmeau ปีที่แล้ว +1

      That’s because he is writing into the file after deleting the ui. The line “delete ui” should be after “file.close();”

    • @Miguel_ECL
      @Miguel_ECL 4 หลายเดือนก่อน

      This was a problem for me too, what I ended up doing was using the file.remove() method before the file.close() in the constructor, this makes it so the document is removed before it is written again, although this may come at the disadvantage that the file could be lost if the program is not closed correctly, although a simple workaround is to keep a backup of this file.

    • @gfhdlsk
      @gfhdlsk 2 หลายเดือนก่อน

      @@wearesciber and the fact that you did write to a file after deleting ui is also a mistake. Btw you made another mistake when implementing remove button, the documentation of qt 6.7 says that you can either delete the pointer or use takeItem which will remove it, so doing both is kind of unecessary either just delete ui listWidget currentItem or takeItem(currentRow)

    • @ralphottenburg9153
      @ralphottenburg9153 2 หลายเดือนก่อน

      @@gfhdlsk You also can change the open-statement and use an additional flag:
      if (!file.open(QIODevice::ReadWrite|QFile::Truncate))

  • @shreyaagrawal9592
    @shreyaagrawal9592 11 หลายเดือนก่อน +1

    I am getting the following error:
    expected unqualified-id before string constant
    in the following line of code:
    QFile file(QStandardPaths::writableLocation(QStandardPaths:: DocumentsLocation) . "\\toDoFile.txt");
    Can you please tell me how to resolve this error?

    • @wearesciber
      @wearesciber  11 หลายเดือนก่อน +1

      Check the syntax again

  • @gob0
    @gob0 4 หลายเดือนก่อน

    Hi!
    I use the Qt VS Tools extension in Visual Studio 2022, but I don’t see the "Go to Slot" button. I’ve been trying to fix this for a while. How can I resolve this issue? I would appreciate any help! :)

    • @gob0
      @gob0 3 หลายเดือนก่อน

      I found on StackOverflow that the "Go to Slot" button doesn't exist in the Qt VS Tools extension for Visual Studio.

  • @ralphottenburg9153
    @ralphottenburg9153 2 หลายเดือนก่อน

    when writing the file after having deleted a task somewhere in the middle of the task list, it is not working as expected. You can fix this by changint the destructor from
    if (!file.open(QIODevice::ReadWrite)) to
    if (!file.open(QIODevice::ReadWrite|QFile::Truncate))
    what in effect will write the file new from scratch

  • @mr.builder1225
    @mr.builder1225 ปีที่แล้ว +1

    What is the use of Qt designer

    • @wearesciber
      @wearesciber  ปีที่แล้ว +2

      It is used to create more sophisticated UIs

  • @spiffjekey-green4034
    @spiffjekey-green4034 ปีที่แล้ว

    Thank you for what you do

  • @psynim
    @psynim ปีที่แล้ว +1

    kute

    • @wearesciber
      @wearesciber  ปีที่แล้ว +2

      Ah yes the cute framework 😚

  • @RandyArellano-c4d
    @RandyArellano-c4d 3 หลายเดือนก่อน

    Dicki Burg

  • @Joe-Statistics
    @Joe-Statistics ปีที่แล้ว +2

    Keep going with qt c++