Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dialog
- Dialog {
- id: editdialog
- property var modelID
- signal thehell (bool chang)
- onAccepted:{
- editdialog.thehell(false)
- console.log("edited connection")
- }
- fisrtpage.qml
- MenuItem {
- text: qsTr("Edit")
- onClicked: {
- console.log("going to edit", model.username)
- page.stopthisshit = true
- var test = pageStack.push(Qt.resolvedUrl("EditCon.qml"), {"modelID": model})
- test.thehell.connect(function(chang) { page.stopthisshit = chang } )
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement