Chris Cochrun
8c7f2d794f
starting to change slide_model to have the logic of changing slides
...
In order to make slide_object dumber and and not need to keep track of
slide info, we are moving the business logic to slide_model so that
the model can keep track of whether presentations are ready to switch
and don't need to run reveal_next or something.
2024-09-26 14:11:30 -05:00
Chris Cochrun
4c403d9f3c
embedding the slide_model in the slide_object
2024-09-26 06:39:06 -05:00
Chris Cochrun
4659cb6de5
trying to fix the slides not showing a newly created video_thumbnail
2024-09-18 09:35:06 -05:00
Chris Cochrun
9b75c366de
saving some updates
2024-09-17 15:32:34 -05:00
Chris Cochrun
0cac11cb89
remove some unnecessary use and type statements
2024-09-17 06:23:03 -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
398bc58525
build correctly for real now
2024-09-04 14:28:43 -05:00
Chris Cochrun
0ebdaf2921
builds correctly now
2024-09-04 14:17:59 -05:00
Chris Cochrun
bf9f65fade
some thoughts?
2024-07-17 13:48:27 -05:00
Chris Cochrun
7302807f5f
some prelim movement of slide_model controlling changes
2024-07-14 15:05:09 -05:00
Chris Cochrun
4989380865
trying to simplify the way we create slides
2024-06-26 10:44:20 -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
9d9ecb3cc0
rustfmt things
2024-04-14 10:50:30 -05:00
Chris Cochrun
2428792895
adding a custom loading spinner to slides
2024-04-11 09:33:03 -05:00
Chris Cochrun
5df0302be9
using std::thread for ffmpeg calls since it takes long on big videos
2024-04-10 22:24:57 -05:00
Chris Cochrun
effede9da1
fix video thumbs?
2024-04-10 15:30:42 -05:00
Chris Cochrun
64095d6fed
async setup for using ffmpeg in the slide model
2024-04-10 11:42:01 -05:00
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