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:
Chris Cochrun 2023-05-19 09:18:34 -05:00
parent 40533df52a
commit 38ae7c9850
5 changed files with 14 additions and 14 deletions

View file

@ -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());
}

View file

@ -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) {

View file

@ -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);

View file

@ -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);

View file

@ -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);