mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 14:58:03 +02:00
Add QML UI test dialogs for creating and deleting bookmarks
This commit is contained in:
parent
247ebb380b
commit
ba1e8db34a
1 changed files with 19 additions and 0 deletions
|
@ -137,6 +137,25 @@ ApplicationWindow {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Button {
|
||||||
|
text: "Bookmark Location"
|
||||||
|
onClicked: {
|
||||||
|
desktop.inputDialog({
|
||||||
|
title: "Bookmark Location",
|
||||||
|
label: "Name"
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Button {
|
||||||
|
text: "Delete Bookmark"
|
||||||
|
onClicked: {
|
||||||
|
desktop.inputDialog({
|
||||||
|
title: "Delete Bookmark",
|
||||||
|
label: "Select the bookmark to delete",
|
||||||
|
items: ["Bookmark A", "Bookmark B", "Bookmark C"]
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
// There is no such desktop.queryBox() function; may need to update test to cover QueryDialog.qml?
|
// There is no such desktop.queryBox() function; may need to update test to cover QueryDialog.qml?
|
||||||
Button {
|
Button {
|
||||||
|
|
Loading…
Reference in a new issue