Drink Dispenser UI in QML Part 2: QML Development

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

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

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

    Dandy video Hai...absolutely top-notch, as usual! I spent 5-6 hours working through both of the videos in this series today, and found that I could pretty much implement this project myself, after about 10 minutes or so, when I saw where you were going with it. I did watch all the way through though, and picked up a few great nuggets of knowledge.
    One thing I did that you didn't do, is that (on your DrinkSizeSelection page, I created a boolean property and set it to true only when one of the sizes was selected. Then I set it to true in the onClicked handlers for each button--and then used that bool value to set the color of the "start dispensing" button. If the value was false, I just returned the color "transparent," while I did what you did if the value was true. It's just a way to not let the user see the "start" button until they've actually selected an actual drink size to dispense. Just for kicks...
    Love your videos though--and it's obvious that I'm learning the workflow from them. I spent the last 3+ weeks working through all of Daniel's courses, so I was pretty good at the QML (not perfect, but pretty good), but the value in your videos is that we can see the workflow that you go through to build something like this. Brilliant--and thanks so much!

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

      Awesome! While I was editing the video I saw the start button and thought I probably should have it disabled until a size was selected, but since it was already recorded I let it be, so I'm glad you noticed that and took the opportunity to implement it yourself. Means you definitely understand the QML and how to interact with the components! Thanks for watching and commenting as always!

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

      @@MontyTheSoftwareEngineer Yeah, it's not really all that different from using the MS visual C++/C# to do UIs...or even the Qt Widgets. Sure the syntax is different, but the logic is mostly the same--and I've been doing that stuff now going on 15 years.

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

    You are really good. It's so soothing to watch your videos. Would love to see you to recreate the Intan RHX software. It's been made with QT to record EEG. Very advanced stuf, it's my goal to build it once I learned enough programing 🤞

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

    I would like to thank you for these wonderful videos ^ ^

  • @Amine-gz7gq
    @Amine-gz7gq 2 หลายเดือนก่อน

    when applying the Material style on recent versions of Qt, the animation between pages performed by the stack view is modified.

  • @ngoc-phudoan7052
    @ngoc-phudoan7052 2 ปีที่แล้ว +1

    Thank you for the helpful tutorial!

  • @Amine-gz7gq
    @Amine-gz7gq 2 หลายเดือนก่อน

    I noticed that in recent versions of Qt, you can't call the property setter directly, it won't work and an error message will appear on the standard output. use the assignment operator on the property instead. On the other hand, when I build your github project on a recent Qt, there's no problem.

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

    Thank you for sharing such a great tutorial. The two videos in this series are certainly enough to keep an inexperienced programmer busy learning a myriad of skill sets for some time.
    Now, let's say you have finished implementing this program, as you did, how would you deploy it, and what device would it get deployed to? I'm sure this would go onto some type of embedded machine/OS. What would that process look like? If we have already gone this far, my humble opinion is that we might as well take it all the way through from UI design to code implementation, selection of embedded device and to deployment. This way it would provide the complete end-to-end immersive experience of the SDLC using Qt/QML.
    ** Good idea for a part 3 video maybe?
    ** What do you guys think?

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

      Love the idea, may end up doing something similar in a future series!

    • @Amine-gz7gq
      @Amine-gz7gq 2 หลายเดือนก่อน

      just take the executable file and put it in your system ! you can develop an update mechanism to keep your system up to date. for example, in my previous job, we had to insert a USB key and go somewhere in the UI to launch the update. on another product, when the program detected that a USB key had been inserted, it automatically scanned the directory and displayed a dialog box asking the user if he wanted to update the system. what we also did was to have an image of the system, and each time a product was manufactured, we copied this image onto the SD card.

  • @Awwe12675
    @Awwe12675 2 ปีที่แล้ว

    This is my favorite new friend I love you channel 👏🏻 thank u for is video it’s helpful

  • @cameronbrown2362
    @cameronbrown2362 3 ปีที่แล้ว

    Can you run queries to filter data in firebase with QT?

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

    Hey Monty, I have a more general question. Is there any specific reason of you for not using the Qt Design Studio. I can see that you don't necessary need it, because you are able to build your nice UI without it. But I was wondering if there are any advantages building the prototype in the Qt Design Studio.
    I am still new in the whole Qt Quick/ QML Topic and I try to get an overview of the available Tools.
    Thanks a lot for your Videos!

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

      Hi Christopher,
      When I create widget based applications, I will use the graphical designer, but that's how I learned Qt originally years ago so I became pretty comfortable with that workflow. When I started learning QML, the designer was still in a very early stage and did not work very well, especially when including custom components created from C++. Because of that, I did all my QML via the markup and became comfortable with that workflow. Since the design studio is now officially released, I have tried it briefly; however, due to being comfortable with QML and having a lot more flexibility when you drill down to the actual QML files, I've just stuck with it. Hope that answers your question, thanks!

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

      Thank you for the quick and detailed reply. Yes I think I got a good idea from your answer :)

  • @PhongNguyen-rs5jf
    @PhongNguyen-rs5jf ปีที่แล้ว +1

    thanks you so much ^^ i'm from Viet Nam

  • @ashwin372
    @ashwin372 3 ปีที่แล้ว

    Hi, can you please do some tutorial on animation and database

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

      I just finished recording a video earlier! It’s for using firebase database with Qt!