Commit graph

40 commits

Author SHA1 Message Date
Chris Cochrun
c96f188c70 attempts at making obs work 2024-04-03 14:58:51 -05:00
Chris Cochrun
744481587f initial port to cxx_qt 6.0 2023-11-27 11:07:55 -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
2838741132 remove this webengineview to fix segfault when moving slides 2023-10-28 21:31:46 -05:00
Chris Cochrun
8619902644 using the C++ proxy function to get item from Rust Model
QMAP_QSTRING_QVARIANT doesn't automatically convert to a QVariantMap
in QML. So we have to run it through C++ to make things work right.
2023-09-08 14:55:48 -05:00
Chris Cochrun
c33b5af588 basic implementation of having reveal.js slides working
There is still a lot of work needed to be done here, but the basics
are laid out.
2023-05-01 06:20:45 -05:00
Chris Cochrun
12fb5592a7 remove using the old thumbnail creation
Since the rust implementation happens on insertion of slides and
creates a property for it, it's better as we won't need to create it
on the fly. Now we'll just need to move it into a background thread so
things will load while ffmpeg creates thumbnails for us.
2023-04-23 07:06:36 -05:00
Chris Cochrun
a02f55eb0b better PreviewSlideListDelegate 2023-04-19 14:17:44 -05:00
Chris Cochrun
89c270e6a0 fix pdfs not working with rust model right 2023-04-03 06:12:20 -05:00
Chris Cochrun
4296a205a8 making signal and slots use appropriate signals
This makes it so other DataChanged signals don't reset the view as was
happening before.
2023-04-01 07:20:46 -05:00
Chris Cochrun
060341adb7 video_thumbnail works to be set in rust
Since every slide is asking for their own, we don't need to loop
through all slides, we just use the index to put the thumbnail into
the right slides and emit data changed.
2023-04-01 07:02:42 -05:00
Chris Cochrun
995f9ffc03 add video_thumbnail additional
The actual code to generate thumbnails is still in C++ but I've added
a helper method to Rust now. It still needs connected.
2023-04-01 06:52:02 -05:00
Chris Cochrun
0f0f16e069 fix activate
slide_model.rs activate function now properly tells of the data that
was changed so that ListViews that use it as a model will reset their
data properly on changes.

The important parts were to ensure we are using the right indexes for
top_left and bottom_right. Then also ensure the roles are correct, but
I think I had that already, just went with the implementation that
CXX-Qt used in their examples.
2023-03-31 14:47:44 -05:00
Chris Cochrun
bd2002ada2 ensure active is proper color
For some reason the right value isn't being loaded on dataChanged, so
this makes sure to reset the value correctly for now.
2023-03-31 14:10:17 -05:00
Chris Cochrun
0a9c17cdde add activate function properly
While the previous function technically worked, the connections
weren't setup properly. Also the row_count function wasn't running
because it requires a QModelIndex parameter. Added a simple count
function to make sure we know how many slides there are in QML.
2023-03-31 13:13:20 -05:00
Chris Cochrun
e2e44f1c3c working highlightBar 2023-03-12 06:30:47 -05:00
Chris Cochrun
5fe5a5b621 switching all layouts to newer layouts 2023-03-03 16:47:49 -06:00
Chris Cochrun
e01d0491e8 setting label to serviceItem name instead of id 2023-02-17 10:25:27 -06:00
Chris Cochrun
014a38a4f9 the addition of a thumbnailer that works for videos
the previewSlideDelegate now uses the thumbnails instead
2023-02-08 14:16:26 -06:00
Chris Cochrun
1b55be29e5 trying to use mpv as a thumbnailing utility 2023-02-07 15:25:51 -06:00
Chris Cochrun
ca399bb8cd some changes to the gridview and presentation previewer 2023-01-31 13:54:44 -06:00
Chris Cochrun
1dfe58c996 some debugging helpful pieces to be removed later 2023-01-27 16:45:38 -06:00
Chris Cochrun
31db6ab1ef making highlight follow changeslide 2023-01-22 14:36:21 -06:00
Chris Cochrun
1ed76ff3e3 better working changing slides and serviceItems 2023-01-20 15:38:11 -06:00
Chris Cochrun
902bf9d1f2 ui tweaks and ensuring we are getting data from model 2023-01-20 14:20:10 -06:00
Chris Cochrun
42df2d7cde switching slides while selecting in listview 2023-01-20 14:19:48 -06:00
Chris Cochrun
f535bc1500 a lot of tweaks to make changing slides work 2023-01-20 13:38:40 -06:00
Chris Cochrun
d70cd4091c visually see slides 2023-01-20 07:31:54 -06:00
Chris Cochrun
453c67f237 changed all serviceItemModel to singleton ServiceItemModel 2023-01-20 07:06:25 -06:00
Chris Cochrun
95bbb12d8a some leftover changes before the refactor 2023-01-18 15:57:18 -06:00
Chris Cochrun
e734489bde notes 2023-01-17 15:23:15 -06:00
Chris Cochrun
7be875682f removing some debugging cruft 2023-01-17 14:50:15 -06:00
Chris Cochrun
7d11fa86ba adding a bar to track the active slide 2023-01-17 13:53:42 -06:00
Chris Cochrun
bb2c58773e removing cruft 2023-01-17 10:26:33 -06:00
Chris Cochrun
38885a5149 creating a slideIndex on SlideObject and referencing as active slide 2023-01-17 09:48:35 -06:00
Chris Cochrun
84f89fb201 adding changeSlideAndIndex and enabling that on previewSlidesList 2023-01-17 06:25:09 -06:00
Chris Cochrun
d6da3b546c better debugging: all print statements are now console.log 2023-01-17 05:52:34 -06:00
Chris Cochrun
cadd031ac6 making the PreviewSlideListDelegate show multiple slides 2023-01-17 05:08:54 -06:00
Chris Cochrun
40cb3163e2 making a PreviewSlideListDelegate and using a repeater 2023-01-16 17:11:52 -06:00