Commit graph

36 commits

Author SHA1 Message Date
Chris Cochrun
2c014e242f Refactoring to slide_model and service_item getting the data from db
This is kinda a broken commit. There isn't any order to the adding of
the slide anymore. So it'll need to find a way of keeping track of
where all the current slides are and then insert the new ones in the
correct order while moving the others around as well.
2024-10-02 14:48:16 -05:00
Chris Cochrun
6052cd01ac trying to move slide building to more backend focused 2024-10-02 10:38:40 -05:00
Chris Cochrun
df07b13b28 trying to add sqlx to the video_model 2024-09-25 06:35:31 -05:00
Chris Cochrun
0a1800ad71 song_model is using sqlx now 2024-09-24 14:19:57 -05:00
Chris Cochrun
bfb723a413 tweaks to add sqlx 2024-09-24 10:12:14 -05:00
Chris Cochrun
186142a012 some really stupid changes that I probably shouldn't commit
So I'm trying to switch to sqlx...........
2024-09-18 15:59:28 -05:00
Chris Cochrun
0aa966e8b9 clean up some things and add an internal get_song 2024-09-17 06:20:06 -05:00
Chris Cochrun
5b0462db65 search function for all models... however...
There is some sort of problem. Somehow I sometimes get a signal 11
SEGV_MAPERR error and then it segfaults. *sigh*... So this function
needs some help yet.
2024-09-15 06:44:47 -05:00
Chris Cochrun
27acbdc866 fixing name clobbering in qobjects.
Apparently qobjects need unique names or else they will name clobber.
2024-09-15 06:11:34 -05:00
Chris Cochrun
b4ce082891 rename all cxx_qt::bridge modules to qobject for clarity 2024-09-15 06:10:06 -05:00
Chris Cochrun
f197099346 library is showing items and searching is working again 2024-09-15 06:08:43 -05:00
Chris Cochrun
da1c4f84b5 fixing name clobbering in qobjects.
Apparently qobjects need unique names or else they will name clobber.
2024-06-26 09:12:11 -05:00
Chris Cochrun
cbf5fe3d9d clippy-fix 2024-06-25 23:04:30 -05:00
Chris Cochrun
aa0eeaaeed rename all cxx_qt::bridge modules to qobject for clarity 2024-06-24 16:40:37 -05:00
Chris Cochrun
3de13bb09f adding some extra signals 2024-04-03 06:39:09 -05:00
Chris Cochrun
15c657b81e fixing html slides not working through nextSlideAction() 2024-03-29 07:30:07 -05:00
Chris Cochrun
428386a25b fixing a lot of debug info 2024-03-25 18:35:58 -05:00
Chris Cochrun
90c12e2fda idk 2024-03-07 16:59:41 -06:00
Chris Cochrun
fd0d696972 adding debug info for song updates 2024-03-07 12:04:57 -06:00
Chris Cochrun
bd78eb4986 fixing some loops and debug info 2024-03-07 12:04:17 -06:00
Chris Cochrun
3f9a1714c4 trying to tweak song editor to work 2023-12-01 09:54:16 -06:00
Chris Cochrun
744481587f initial port to cxx_qt 6.0 2023-11-27 11:07:55 -06:00
Chris Cochrun
eff14e8a8b fixing unnecessary casting 2023-10-28 06:15:03 -05:00
Chris Cochrun
f1b4ac495e fix updating song changes to the overall model
The listview didn't see the changes and everytime you came back to the
changed song, the changes didn't show up since the model wasn't
changing even thought the DB did.
2023-10-27 12:02:48 -05:00
Chris Cochrun
1b7f8d3994 starting to fix the update methods
All of these methods were using the id in the db as the index in the
vec to select which one to update, therefore not actually updating the item.
2023-10-27 11:16:13 -05:00
Chris Cochrun
edef42da29 fixing compile 2023-10-25 09:41:25 -05:00
Chris Cochrun
50af96e0b7 trying to find bug in some things updating 2023-10-25 09:36:11 -05:00
Chris Cochrun
f34e8cbd7e adding some tweaks to making song_editor working better 2023-10-09 15:11:55 -05:00
Chris Cochrun
96d5bdac73 update to make song_editor ready 2023-10-09 13:53:09 -05:00
Chris Cochrun
464ca87529 remove unfinished test 2023-10-05 10:13:40 -05:00
Chris Cochrun
7bdd8225cb fixing some unused imports 2023-10-01 06:39:52 -05:00
Chris Cochrun
6beb39bea8 adding details to TextBackground 2023-09-29 05:43:07 -05:00
Chris Cochrun
7e6e8c71e0 small changes and the beginning of a TextBackground.qml 2023-09-28 15:17:35 -05:00
Chris Cochrun
9f4d426a8f fixing small ui things and making audio picking use portal 2023-09-28 06:31:29 -05:00
Chris Cochrun
4b6a079a4e adding debug info to get_lyric_list 2023-09-28 05:22:35 -05:00
Chris Cochrun
0d2de5e252 moving song related stuff to it's own mod
Gonna try to organize pieces better, so this is step one.
2023-09-24 07:05:25 -05:00
Renamed from src/rust/song_model.rs (Browse further)