Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 2.13
- import QtQuick.Window 2.13
- import QtQuick.Controls 2.13
- import QtQuick.Layouts 1.13
- Window {
- width: 620
- height: 380
- visible: true
- RowLayout {
- Loader {
- sourceComponent: first
- Layout.fillWidth: true
- }
- Loader {
- sourceComponent: the_same
- Layout.fillWidth: true
- }
- }
- Component {
- id: first
- Label { text: "first" }
- }
- Component {
- id: the_same
- Label { text: first.text }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement