Commit graph

937 commits

Author SHA1 Message Date
Chris Cochrun
7bdd8225cb fixing some unused imports 2023-10-01 06:39:52 -05:00
Chris Cochrun
ed9693c27b comment out dead code and prepare function for moving to right index 2023-09-29 16:34:10 -05:00
Chris Cochrun
affaf7a53b make adding presentations properly add the right number of slides
To make sure we know how many slides are in a presentation we needed
to ensure we are using Urls appropriately and that we are looking in
the correct key in the QVariantMap
2023-09-29 16:32:45 -05:00
Chris Cochrun
7dfb4caeaf making presentations use reveal_js.rs for getting slide_count 2023-09-29 11:45:13 -05:00
Chris Cochrun
da361a55a7 fixing a lot of small ui pieces with gridUnits and colors
May need to change TextBackground to just ControlBackground, and use
it in more than just text controls
2023-09-29 06:45:51 -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
d8d1071c77 fixing looping not working after switching to Rust 2023-09-28 05:22:16 -05:00
Chris Cochrun
d02a13ee73 removing unnecessary javascript now that we have better selections 2023-09-27 11:05:58 -05:00
Chris Cochrun
39ceca74cd finished implementing selection for multiple items
Now with the help of better debugging, we can select multiple items
in the ServiceItemList.
2023-09-27 11:04:09 -05:00
Chris Cochrun
83d7249a8b adding selecting multiple items. Still needs work 2023-09-27 09:45:41 -05:00
Chris Cochrun
bef09ed805 trying to use tokio for async stuff and tracing for logging 2023-09-27 09:45:23 -05:00
Chris Cochrun
7681f1c811 adding utils and setting up tracing 2023-09-27 09:45:05 -05:00
Chris Cochrun
58fe68a671 an attempt to see what moving the sqlx would be like 2023-09-25 06:05:08 -05:00
Chris Cochrun
73afb0c9e2 adding the song_editor.rs file
This will eventually hold the logic for the SongEditor.qml file
2023-09-25 06:04:25 -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
Chris Cochrun
197478cb44 adding the basics for how a utils.rs would look 2023-09-24 07:04:13 -05:00
Chris Cochrun
c6399e4cc9 comments on setting the settings from the gui 2023-09-22 15:59:42 -05:00
Chris Cochrun
c97f02621b adding a black song_editor.rs file 2023-09-22 15:58:03 -05:00
Chris Cochrun
b856a2a891 checking for right filename in older savefiles 2023-09-22 15:57:32 -05:00
Chris Cochrun
a9b9bc1de0 fixing unused lines 2023-09-22 15:57:17 -05:00
Chris Cochrun
61ed155903 rename SlideEditor.qml to SongEditorSlideList.qml 2023-09-22 15:56:50 -05:00
Chris Cochrun
cd8801af51 working loading and saving of files with dialog from rust
This means we are loading and saving files with the rfd crate which
utilizes platform appropriate dialogs for saving and loading files. We
can start to use this in all other file dialog locations to make sure
we are getting the right files.

It uses xdg-desktop-portals on linux so we will always use the
appropriate file dialog for each desktop environment.
2023-09-21 17:37:14 -05:00
Chris Cochrun
08cc744a31 some little bits of debug info 2023-09-21 17:12:51 -05:00
Chris Cochrun
64aed5fdea using the file_helper from rust in QML 2023-09-21 17:12:12 -05:00
Chris Cochrun
d836f91425 saving file with file_helper to use rfd for portals
Using portals and rfd as our file selector to make sure that we can
utilize the appropriate file dialog on various platforms from
rust. This will eliminate some extra tomfoolery in QML.
2023-09-21 17:11:02 -05:00
Chris Cochrun
f26b6fb66a fixing little tidbits 2023-09-21 12:11:38 -05:00
Chris Cochrun
f6ee855289 trying to emit background changed 2023-09-21 11:45:12 -05:00
Chris Cochrun
538a001474 trying to update save file on save 2023-09-20 06:16:49 -05:00
Chris Cochrun
ae851453f4 fixing bug in loading local files 2023-09-20 06:16:08 -05:00
Chris Cochrun
70eadeadb2 update width 2023-09-20 06:15:48 -05:00
Chris Cochrun
08efb4d0ff fixing a bug in the save function 2023-09-18 15:45:41 -05:00
Chris Cochrun
c86abcbd36 removing the code here till I can suppress some of the warnings 2023-09-18 15:45:02 -05:00
Chris Cochrun
b0435e197c attempting to add wrapper move function
I believe this won't work, but it's an attempt
2023-09-18 15:44:41 -05:00
Chris Cochrun
c57f9f8ac9 the moving of rows works but resets on move
This breaks fluid movements from QML with KirigamiDragHandles

We will need to adjust how this move works in QML or get the
begin_move_rows function to build. If it can build we can still use
the KirigamiDragHandles.
2023-09-17 14:35:37 -05:00
Chris Cochrun
fe25209758 saving works 2023-09-15 17:30:20 -05:00
Chris Cochrun
3a37118aae save properly creates temp dir with all files
All the audio and bg files are created fine. The servicelist is saved
as a json file. Now I just need to compress it and put it into a tar file.
2023-09-15 06:33:53 -05:00
Chris Cochrun
14cac2d13f almost done with saving 2023-09-14 15:28:46 -05:00
Chris Cochrun
0d480cbea6 adding some error handling 2023-09-14 12:25:44 -05:00
Chris Cochrun
48956b52ab creating a temp dir for saving the files. 2023-09-14 09:41:48 -05:00
Chris Cochrun
f2f2ab27b9 fixing more inserting pieces 2023-09-13 14:58:53 -05:00
Chris Cochrun
4499d1a957 making sure sql models are in lumina folder 2023-09-13 14:58:13 -05:00
Chris Cochrun
d65243a106 formatting slide and fixing inserting slides 2023-09-13 14:05:48 -05:00
Chris Cochrun
064210dec3 again idiot 2023-09-13 14:02:32 -05:00
Chris Cochrun
755ff055d0 I'm an idiot 2023-09-13 14:00:11 -05:00
Chris Cochrun
d46eed567e fix typo 2023-09-13 13:58:29 -05:00
Chris Cochrun
c58ca7e59f adding insert item signal 2023-09-13 13:56:42 -05:00
Chris Cochrun
8d547509af adding remove item signal 2023-09-13 13:52:58 -05:00