Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
An easingcurves example
Please deem this example. How to have it run please?
I think we should create two other components (qml files) named
EasingType. Right? Some guidance please.
The next question, I though all "properties" are in lower case letters, but here we have
Thanks for the help.
Eeli K last edited by
Layout.fillWidth is an attached property. The layout items (ColumnLayout etc.) attach certain properties to their inner items. They don't belong to the inner item as do normal properties. See "Layout" and "QML Object Attributes" in the Qt docs. The book is (again) confusing - it has the chapter 4.6 "Layout items" which doesn't talk about layout items (ColumnLayout etc. which are Items) but about anchors. It doesn't introduce layout items at all even though it seems to use them in the code. If you want to create resizable user interfaces you should use anchors and layouts, not absolute x,y positioning.
use them in the code. If you want to create resizable user interfaces you should use anchors and layouts, not absolute x,y positioning.
I didn't understand what you meant by resizable user interfaces but anyway, here I have curves and want to make that program run. My guess on making it done was what I mentioned in the first post.
About the book, QML is a must for me and since this online book is the only semi-complete reference teaching the stuff using a so-called step-by-step method, I think I have to tolerate that. But I'm also reading a book on Q5 which has the matters related to QML in itself as well, fortunately.
Now what do you have on this program for me please?
The source code for this chapter can be found in the assets folder.