Commit graph

122 commits

Author SHA1 Message Date
Chris Cochrun
66f313675b updates to fix qml 2024-09-15 06:06:53 -05:00
Chris Cochrun
1117d6eea2 pdf and html now properly work in slides 2024-03-31 14:34:43 -05:00
Chris Cochrun
15c657b81e fixing html slides not working through nextSlideAction() 2024-03-29 07:30:07 -05: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
c36802f5e4 fixing some text and adding prev actions to reveal 2023-12-07 06:38:41 -06:00
Chris Cochrun
4189c16f6e adding a basic details view skeleton 2023-11-29 14:38:13 -06: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
4685c9eb70 fixing reveal pres not showing on first slide 2023-11-15 15:25:53 -06:00
Chris Cochrun
219e2312c7 reveal presentations now move forward using signals
Rather than the logic in qml, I've moved it to rust and am using
signals to tell the ui to change.
2023-11-15 09:48:29 -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
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
9f4d426a8f fixing small ui things and making audio picking use portal 2023-09-28 06:31:29 -05:00
Chris Cochrun
d8d1071c77 fixing looping not working after switching to Rust 2023-09-28 05:22:16 -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
ea74fda363 🐛 need to get video start and end times working
This is waiting till service_item_model.rs is the model actually used
for ServiceList. Right now we are still using C++ so once that
switches, we can add it in service_item_model.

This way we don't add anymore C++ code that we are likely to throw away.
2023-05-19 16:01:08 -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
b05af23ffa feat: reveal.js presentations are viewable in editor
I have gotten reveal.js presentations to be viewable. I'll still need
to work with how to present them, and fix the presenter piece as well,
but for now, it works.
2023-04-29 07:13:04 -05:00
Chris Cochrun
e8b042df54 Preparing to add html as a presentation option 2023-04-27 14:17:59 -05:00
Chris Cochrun
802f3ffbde bug: fixed presentation not looping 2023-04-19 11:59:05 -05:00
Chris Cochrun
89c270e6a0 fix pdfs not working with rust model right 2023-04-03 06:12:20 -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
609d2af90b idk attempt to add ffmpeg? 2023-03-30 15:31:43 -05:00
Chris Cochrun
6f185e6f6e slide_model.rs functions like get_item and activate
These functions aren't perfect, but this code all makes them
essentially work so that we can call from QML
2023-03-30 09:33:51 -05:00
Chris Cochrun
0caadfc5c8 slide_obj.rs working
This commit finally has a working basic slide_obj implemented in Rust!
There are likely still some things that need to be tweaked and
massaged in order for things to translate back and forth from QML to
Rust.

The key was to make the old SlideObject written in C++ to act as a
bridge between QML and Rust. QML can't seem to understand CXX-QT's
QMap_QString_QVariant type as a QVariantMap and thus didn't translate
the Javascript object properly. Having the call first go into a C++
class translated it and then was trivial to pass into Rust.
2023-03-24 11:31:18 -05:00
Chris Cochrun
0936490bee attempt use slide_obj in qml
QML doesn't understand QMap_QString_QVariant yet.
2023-03-23 19:09:32 -05:00
Chris Cochrun
554dbc7d29 more versatile key handling
This allows us to later add and tweak the keyboard keys used to
navigate the slides and UI.
2023-03-21 10:33:15 -05:00
Chris Cochrun
e2e44f1c3c working highlightBar 2023-03-12 06:30:47 -05:00
Chris Cochrun
caa2e31d99 add looping for slides
This add looping primarily for videos but I've added in the groundwork
for looping through any kind of slide. This obviously will be
implemented differently for each type of slide, but this way the
groundwork is done already.
2023-03-06 15:06:18 -06:00
Chris Cochrun
2adc1c6e91 id for loopSwitch 2023-03-06 13:28:13 -06:00
Chris Cochrun
2c539e7618 switching to newer qt quick window 2023-03-03 16:56:13 -06:00
Chris Cochrun
5fe5a5b621 switching all layouts to newer layouts 2023-03-03 16:47:49 -06:00
Chris Cochrun
2a81ffd252 animations for adding slides 2023-02-24 16:48:15 -06:00
Chris Cochrun
398be76d31 switch to item from component on gridview 2023-02-14 14:58:05 -06:00
Chris Cochrun
a26144496c fixing video no longer playing in Presentation.qml 2023-02-14 14:08:28 -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
ca399bb8cd some changes to the gridview and presentation previewer 2023-01-31 13:54:44 -06:00
Chris Cochrun
09f5e23612 moving the presenterView into an item so we can use a gridView 2023-01-27 09:57:05 -06:00
Chris Cochrun
1e0a6baf8b small adhoc addition of a sound effect button 2023-01-25 21:28:17 -06:00
Chris Cochrun
50c17705f6 some tests and ideas for Rust 2023-01-23 17:10:49 -06:00
Chris Cochrun
f888c897b1 making scrolling and scrollbar work on presentationList 2023-01-22 14:37:03 -06:00
Chris Cochrun
1ed76ff3e3 better working changing slides and serviceItems 2023-01-20 15:38:11 -06:00
Chris Cochrun
e30ee1a53e making the presentation preview have some fontSize as SlideObject 2023-01-20 14:21:57 -06:00
Chris Cochrun
cd825c6ed4 adding a scrollbar and trying to make listview scroll again 2023-01-20 14:19:12 -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