Commit graph

71 commits

Author SHA1 Message Date
Chris Cochrun
70040c5149 some basics of video times - unfinished 2024-04-10 09:49:50 -05:00
Chris Cochrun
461d25a73d a somewhat working system of video start and end times 2024-04-07 21:34:31 -05:00
Chris Cochrun
00fcf565ef making obs scene switching more coherent, but still not functional 2024-04-07 06:56:44 -05:00
Chris Cochrun
1117d6eea2 pdf and html now properly work in slides 2024-03-31 14:34:43 -05:00
Chris Cochrun
bd78eb4986 fixing some loops and debug info 2024-03-07 12:04:17 -06:00
Chris Cochrun
9c30af7a5b fixing slide_model moves not following service_item moves 2024-01-22 11:19:45 -06:00
Chris Cochrun
72e3a75d94 more debug info 2024-01-19 17:12:04 -06:00
Chris Cochrun
2e43cd87eb trying to debug slide moving with service_item moves 2024-01-19 10:40:05 -06:00
Chris Cochrun
8b23c9809c fixing the transition of the previewSlideList following active item 2024-01-18 04:20:39 -06:00
Chris Cochrun
da258433d9 Adding reveal next and previous buttons
In order to make this work, I had to determine in rust which were html
and essentially not call the change_slide function and instead call
the reveal_next/previous functions and then tweak it from there.
2024-01-17 11:26:04 -06:00
Chris Cochrun
791bcc146e attempting to switch the next button to using slibe_object for a
cleaner interaction
2024-01-17 09:46:23 -06:00
Chris Cochrun
335afba9c0 fixing bug in inserting things with multiple slides 2024-01-16 13:54:31 -06:00
Chris Cochrun
692b847a05 preparing to use obs in the slide model 2023-11-29 14:38:23 -06:00
Chris Cochrun
1de0058646 some possible ideas for how obs should work 2023-11-29 09:48:09 -06:00
Chris Cochrun
744481587f initial port to cxx_qt 6.0 2023-11-27 11:07:55 -06:00
Chris Cochrun
62daf316a3 Quite a few of the models have been ported.. need more though.
Still need all the songs and some small utility modules
2023-11-23 06:12:04 -06:00
Chris Cochrun
81b430e768 slides, settings, and file stuff ported 2023-11-21 17:31:19 -06:00
Chris Cochrun
3c2f74ae66 fixed bug: activating service item switches the slide list properly 2023-11-20 06:21:18 -06:00
Chris Cochrun
c6700907b1 attempt at fixing bug with slides not activating with service item 2023-11-16 11:21:00 -06:00
Chris Cochrun
e30066b101 revealJS presentations work sorta
I still have lots of bugs, but the groundwork is there. At least a
proof of concept.
2023-11-14 21:39:30 -06:00
Chris Cochrun
7dc680ad3c fix pdf not using correct slide_index 2023-11-13 13:31:09 -06: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
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
f2f2ab27b9 fixing more inserting pieces 2023-09-13 14:58:53 -05:00
Chris Cochrun
d65243a106 formatting slide and fixing inserting slides 2023-09-13 14:05:48 -05:00
Chris Cochrun
31aec1ca47 fixing slide model to look for correct type
In Rust you can't use type as a property name in a struct. This means
we have to use ty.
2023-09-08 14:54:51 -05:00
Chris Cochrun
68b30877ed fixing more of pres model and setting up song model 2023-05-04 09:30:03 -05:00
Chris Cochrun
1ca9ab5fc4 switching to thumbnails from rust 2023-04-25 09:23:49 -05:00
Chris Cochrun
529be1a519 adding an ffmpeg.rs and thumbnailing fn
This module adds a bg_from_video function that takes uses the ffmpeg
binary to create thumbnails and adds them to the apps local data directory.
2023-04-22 07:18:05 -05:00
Chris Cochrun
3c09565a12 bug: fixed inserting slides in the middle of songs
Since songs had more than one slide, anything inserted after the first
multi-slide item would break the insertion. ServiceItem indexes are
not the same as the slide indexes so we needed to find the right
index, then properly change the other indexes in the right spot.

I think I've done this by using rust iterators better.
2023-04-19 15:03:32 -05:00
Chris Cochrun
a93aa37d53 adding video_start_time and video_end_time
Both of these properties will be used to track when a video needs to
start and end during the slide show.
2023-04-17 21:27:50 -05:00
Chris Cochrun
343e1ed0bc bug: fixed service_item_id changes
Recorded a dest_count of the destination_index slides in order to
appropriately change the right service_item_id's.
2023-04-15 06:43:30 -05:00
Chris Cochrun
e11e454062 bug: fixed slides moving in both directions
Slides move fine, but the service_item_id is still wrong when moving
an item down.
2023-04-15 06:05:13 -05:00
Chris Cochrun
a8552f272d grrrrr 2023-04-14 17:08:37 -05:00
Chris Cochrun
21e34a1c94 attempting to switch to a rotate method of moving slides 2023-04-14 14:27:50 -05:00
Chris Cochrun
0db19df3ea some tweaks to try and get the slides to move properly...not right 2023-04-14 08:54:00 -05:00
Chris Cochrun
2bed897262 idk what I did.. someone help.. 2023-04-13 15:20:23 -05:00
Chris Cochrun
cf20d1aeb7 getting closer to working move function 2023-04-13 15:09:27 -05:00
Chris Cochrun
cf20c94c17 cleaner version by using filters 2023-04-13 09:38:21 -05:00
Chris Cochrun
a2cd7294af bug: break instead of return 2023-04-13 09:37:58 -05:00
Chris Cochrun
9da9859411 using filter iterator functions instead of if else blocks 2023-04-13 09:19:49 -05:00
Chris Cochrun
ade09bb4e8 user iterater instead of hand made loop 2023-04-13 05:29:22 -05:00
Chris Cochrun
d9dbefcbe5 setup move_item_from_service in slide_model
I'll need to keep working on this but a basic sorta working function
of moving the order of items in the Rust model is here.
2023-04-12 19:01:50 -05:00
Chris Cochrun
b2a87b76b6 removing unnecessary functions 2023-04-11 16:47:51 -05:00
Chris Cochrun
5470a5c0a7 removing slides properly
By reversing order I'm removing the slides correctly now.
2023-04-11 15:18:38 -05:00
Chris Cochrun
3f87d540e1 incorrectly remove slides 2023-04-11 09:39:02 -05:00
Chris Cochrun
f8ac7feea0 adding the removal of items work on the slides
This isn't finished yet, but the core is there. I have yet to fully
remove slides after a service_item is removed.
2023-04-11 06:22:50 -05:00
Chris Cochrun
7a36b70a6d remove come cruft 2023-04-11 06:22:50 -05:00
Chris Cochrun
97b949a704 removing unused video_thumbnail code to be used later 2023-04-03 14:57:01 -05:00
Chris Cochrun
b95c429ca7 remove unnecessary type 2023-04-03 10:37:47 -05:00