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.
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
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?
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.
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
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.
Finding good resources for Qt development is so rare! These videos boosted my knowledge so much and I am very appreciative
Loved your video! Please make more tutorials about QML!
Thank you so much. Learned lot of things from the video. Expecting more videos
Thank you so much. This video was very helpful. Please keep making such helpful video on qml.
I love it so much. Please don't stop doing it.
great, this is the video I am exactly looking for Thanks!
Wow, great presentation. Please keep doing this. U can't imagine how much I learn from you.👏👏👏
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.
Awesome videos man--thanks so much for making/posting them!
Thank you for your exceptional videos
Thank you very much for the nice video
Great tutorial ! Thanks very much
Super sir , Please Make more Tutorial
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
Great video and great explanation, thanks
Nice video, thanks. 👍
Great instruction. Thank you very much. Keep it up sir. Many people will subscribe your channel.
RowLayout doesn't behave correctly like in your video with the latest Qt version.
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?
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.
Why instead of just using the qml element you are using the name file? Couldn't just add a StackViewPage { }, instead of the Loader?
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
woah this is fast,thank you
Thanks! so helpful.
Thank you for video
Thanks a lot !
Very Nice !!!
Thank you sir