[Interest] QML: How to create reusable containers?
Aekold Helbrass
helbrass at gmail.com
Wed May 16 16:15:42 CEST 2012
Hi All!
Lame question which I cannot figure out myself: how to create reusable
container components in QML?
Here is what I have in mind:
Rectangle {
Header {
}
<body goes here>
Row {
anchors.bottom: parent.bottom
anchors.right: parent.right
Button { text: "OK" }
Button { text: "Cancel" }
}
}
And I want some kind of body component go between header and buttons,
so I could reuse the same dialog style and layout for all dialogs I
need.
Browsed though demos and examples but nothing looks like this, if I
missed it or there are any examples on the internet - links are
appreciated.
More information about the Interest
mailing list