Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // MyLabel.qml
- import QtQuick 2.0
- Text {
- default property var someText
- text: "Hello, " + someText.text
- }
- MyLabel {
- Text { text: "world!" }
- }
- MyLabel {
- someText: Text { text: "world!" }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement