QML: StackView vs Loader; Complete code example!

Поделиться
HTML-код
  • Опубликовано: 1 ноя 2024

Комментарии • 29

  • @jordandinwiddy4794
    @jordandinwiddy4794 3 года назад +4

    Great content! I'm new to QT/QML and haven't found it particularly easy to find good resources and walk throughs such as this. Really helpful thanks.

  • @saifashfaq1394
    @saifashfaq1394 9 месяцев назад

    Finding good resources for Qt development is so rare! These videos boosted my knowledge so much and I am very appreciative

  • @Notyourbusiness20
    @Notyourbusiness20 3 года назад +3

    Loved your video! Please make more tutorials about QML!

  • @BHARATHKUMAR-gr9km
    @BHARATHKUMAR-gr9km Год назад

    Thank you so much. Learned lot of things from the video. Expecting more videos

  • @myprogrammingbuddy153
    @myprogrammingbuddy153 2 года назад

    Thank you so much. This video was very helpful. Please keep making such helpful video on qml.

  • @phannguyetnguyen8254
    @phannguyetnguyen8254 Год назад

    I love it so much. Please don't stop doing it.

  • @gauravsaini5549
    @gauravsaini5549 3 года назад +2

    great, this is the video I am exactly looking for Thanks!

  • @tengofekadu1735
    @tengofekadu1735 3 года назад

    Wow, great presentation. Please keep doing this. U can't imagine how much I learn from you.👏👏👏

  • @Neolord12
    @Neolord12 Год назад

    Nice video, thanks! I think you don't need to anchor the Loader item. Just fill to parent and for the StatusBar define it as header: in the main view. This way automatically is taken care to not interfere with each other. Same way there is also a footer: item which can be defined.

  • @bluehornet6752
    @bluehornet6752 3 года назад +1

    Awesome videos man--thanks so much for making/posting them!

  • @maroumuomo
    @maroumuomo Год назад

    Thank you for your exceptional videos

  • @gokhan_turan
    @gokhan_turan 3 года назад +1

    Thank you very much for the nice video

  • @mohamedsebri4955
    @mohamedsebri4955 9 месяцев назад

    Great tutorial ! Thanks very much

  • @ahamedba7423
    @ahamedba7423 3 года назад +1

    Super sir , Please Make more Tutorial

  • @dedydedy9480
    @dedydedy9480 Год назад

    Hi , but what can I do if I want to press the same next button but load a new page after a page was already loaded ? For example I have at least 3 pages and everytime when I press next button to go until the last one ? Press once next load 2nd page , press again next load 3rd page, press again next load 4th page and so on ? Thank you

  • @417fvs
    @417fvs Год назад

    Great video and great explanation, thanks

  • @luisgoncalves191
    @luisgoncalves191 3 года назад +1

    Nice video, thanks. 👍

  • @nguyenxuanthanh6988
    @nguyenxuanthanh6988 3 года назад

    Great instruction. Thank you very much. Keep it up sir. Many people will subscribe your channel.

  • @Amine-gz7gq
    @Amine-gz7gq Месяц назад

    RowLayout doesn't behave correctly like in your video with the latest Qt version.

  • @buzzmattn6539
    @buzzmattn6539 3 года назад

    First: Thanks for this awesome Tutorial and sharing your knowledge!
    Just a short question: I moved the Next / Previous Buttons away from the GridOne / GridTwo.qml and put it into a "TaskBar" (like the StatusBar) to leave it static.
    But now the onClicked says that stackview is not defined. So I tried to create a property (found on Stackoverflow) but it gives me "TypeError: Cannot call method "push" of null" ...
    When I move the button back to the GridOne it works as intended. Where is the magic behind it?

    • @randaji
      @randaji 2 года назад

      Likely because "stackview", the id of the StackView object (defined in StackViewPage.qml), is dynamically loaded by a Loader in main.qml. Works from GridOne because it's part of that same load. Don't know how you reference a dynamically loaded item but you could probably statically define the stackview.

  • @hebercosfer1
    @hebercosfer1 2 года назад

    Why instead of just using the qml element you are using the name file? Couldn't just add a StackViewPage { }, instead of the Loader?

  • @JDguimaraes88
    @JDguimaraes88 2 года назад +1

    Hi mate! You can create the qml file more easy like the statusbar....just create an Item{ id: statusBar } with te mouse cursor on Item just Alt+Enter and create component with separate file ;) easyyy :D

  • @samannikzad715
    @samannikzad715 2 года назад

    Thanks! so helpful.

  • @thongduong706
    @thongduong706 2 года назад

    Thank you for video

  • @majordan9747
    @majordan9747 2 года назад

    Thanks a lot !

  • @polojoser
    @polojoser 2 года назад

    Very Nice !!!

  • @erikwennergren5619
    @erikwennergren5619 2 года назад

    Thank you sir