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.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to