From bb3a5d9b7b6a125dc6bd6e1fcacad54f96af9ed4 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 17 Sep 2024 11:57:22 -0500 Subject: [PATCH] checking off some todos --- TODO.org | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/TODO.org b/TODO.org index ed90c8a..9277bd7 100644 --- a/TODO.org +++ b/TODO.org @@ -4,7 +4,7 @@ :CATEGORY: dev :END: -* Tasks [62%] [54/86] +* Tasks [63%] [55/86] ** TODO [#A] Plugin architecture with steel or some scheme as an extension language ** TODO [#A] Server client architecture ** TODO [#A] Organize and layout structure of rust code :maintenance: @@ -88,17 +88,6 @@ I've reconsidered this again and instead I'll have each slide when added somehow [[file:~/dev/lumina/src/rust/songs/song_lyrics.rs::pub fn search_song(s: &str) -> Result, Error> {]] This file will hold all the functions and facilities to search for songs through Genius lyrics and import the lyrics into the app. -** TODO Figure out how to nest qobjects - -This is supposed to be covered in the examples and the book. -- https://github.com/KDAB/cxx-qt/blob/main/examples/qml_features/rust/src/nested_qobjects.rs -- https://kdab.github.io/cxx-qt/book/concepts/nested_objects.html - -But, I can't seem to get it to compile. I'll keep tinkering but this would be huge for allowing me to have a single object that can get passed into functions of other objects to be able to call inner functions from the outer call. This would mean I could have obs and slides talk. I could have the slide_object talk to the model. And more... - -Maybe an alternative to this would be connecting them through signals, but idk yet.... - -Another alternative would be to try to use rust mods to make sure it is in scope of the qobject mod block. ** TODO Create an emacs interface For me, building lumina presentations through the ui is cumbersome. I'd like to improve it but honestly, it works great for the normal person use case, maybe for now as I get more of it matured. I'll consider developing an emacs interface and connect it. Maybe even develop a server/client architecture so that I can build presentations quickly through a myriad of ways too. @@ -299,6 +288,17 @@ Another big blocker in this process is to make sure that all properties are acce Almost done here, but I can't get the data to emit the change and therefore inform the proxyModel of the changes and change it in the list view. ** DONE [#A] new_song method :feature:bug: [[file:~/dev/church-presenter/src/rust/song_model.rs::todo!();]] +** DONE Figure out how to nest qobjects + +This is supposed to be covered in the examples and the book. +- https://github.com/KDAB/cxx-qt/blob/main/examples/qml_features/rust/src/nested_qobjects.rs +- https://kdab.github.io/cxx-qt/book/concepts/nested_objects.html + +But, I can't seem to get it to compile. I'll keep tinkering but this would be huge for allowing me to have a single object that can get passed into functions of other objects to be able to call inner functions from the outer call. This would mean I could have obs and slides talk. I could have the slide_object talk to the model. And more... + +Maybe an alternative to this would be connecting them through signals, but idk yet.... + +Another alternative would be to try to use rust mods to make sure it is in scope of the qobject mod block. ** DONE [#A] Make things not rely on my own machine. :bug: Right now some of the paths are hardcoded and I need to fix that very fast so that everything will work on other machines. ** DONE [#A] Make Presentation Window follow the presenter component :core: