switching back until I finish upgrading to 0.5.3 cxx-qt
This is where they made sure QVariantMap maps to QMap_QString_QVariant in Rust.
This commit is contained in:
parent
40533df52a
commit
38ae7c9850
5 changed files with 14 additions and 14 deletions
|
@ -120,7 +120,7 @@ Item {
|
|||
}
|
||||
|
||||
function changeImage(index) {
|
||||
let img = imageProxyModel.imageModel.getItem(index);
|
||||
let img = imageProxyModel.getImage(index);
|
||||
root.image = img;
|
||||
console.log(img.filePath.toString());
|
||||
}
|
||||
|
|
|
@ -306,15 +306,15 @@ Item {
|
|||
id: pdf
|
||||
}
|
||||
|
||||
WebEngineView {
|
||||
id: web
|
||||
height: 0
|
||||
width: 0
|
||||
onLoadingChanged: {
|
||||
if (loadRequest.status == 2)
|
||||
addHtml(url);
|
||||
}
|
||||
}
|
||||
/* WebEngineView { */
|
||||
/* id: web */
|
||||
/* height: 0 */
|
||||
/* width: 0 */
|
||||
/* onLoadingChanged: { */
|
||||
/* if (loadRequest.status == 2) */
|
||||
/* addHtml(url); */
|
||||
/* } */
|
||||
/* } */
|
||||
}
|
||||
|
||||
function addVideo(url) {
|
||||
|
|
|
@ -183,7 +183,7 @@ Item {
|
|||
}
|
||||
|
||||
function changePresentation(index) {
|
||||
let pres = presProxyModel.presentationModel.getItem(index);
|
||||
let pres = presProxyModel.getPresentation(index);
|
||||
root.presentation = pres;
|
||||
console.log(pres.filePath.toString());
|
||||
updatePageCount(presentationPreview.frameCount);
|
||||
|
|
|
@ -411,7 +411,7 @@ Item {
|
|||
|
||||
function newSong(index) {
|
||||
clearSlides();
|
||||
song = songProxyModel.songModel.getItem(index);
|
||||
song = songProxyModel.getSong(index);
|
||||
console.log(song.lyrics);
|
||||
songIndex = song.id;
|
||||
|
||||
|
@ -435,7 +435,7 @@ Item {
|
|||
function changeSong(index) {
|
||||
clearSlides();
|
||||
console.log(index);
|
||||
song = songProxyModel.songMode.getItem(index);
|
||||
song = songProxyModel.getSong(index);
|
||||
console.log(song.lyrics);
|
||||
songIndex = song.id;
|
||||
console.log(song.id);
|
||||
|
|
|
@ -237,7 +237,7 @@ Item {
|
|||
}
|
||||
|
||||
function changeVideo(index) {
|
||||
let vid = videoProxyModel.videoModel.getItem(index);
|
||||
let vid = videoProxyModel.getVideo(index);
|
||||
root.video = vid;
|
||||
console.log(video.startTime);
|
||||
console.log(video.endTime);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue