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
Chris Cochrun
09a86af056
making the activeHighlightBar follow the item in slideList
2023-01-17 14:50:26 -06:00
Chris Cochrun
7d11fa86ba
adding a bar to track the active slide
2023-01-17 13:53:42 -06:00
Chris Cochrun
d6da3b546c
better debugging: all print statements are now console.log
2023-01-17 05:52:34 -06:00
Chris Cochrun
40cb3163e2
making a PreviewSlideListDelegate and using a repeater
2023-01-16 17:11:52 -06:00
Chris Cochrun
8442913576
more ui setup for viewing all slides in item
2023-01-13 21:13:14 -06:00
Chris Cochrun
83fcb59ea0
some preliminary ui for viewing all slides in an item
2023-01-13 11:22:11 -06:00
Chris Cochrun
6953a7681f
initial ui code for viewing multiple slides per item
2023-01-13 09:23:01 -06:00
Chris Cochrun
29348d59e7
the sizes of things were wrong with a bad env variable
2023-01-13 05:49:15 -06:00
Chris Cochrun
daa7e9e192
making some sizing differences to be using Kirigami.Units
2023-01-11 13:44:34 -06:00
Chris Cochrun
8b4c348279
a lot of setup and testing work for rust
2022-12-13 09:33:47 -06:00
Chris Cochrun
9644631f7c
adding a basic other struct in rust... well trying...
2022-12-09 16:55:54 -06:00
Chris Cochrun
02c3e84cb6
updates to build system
2022-12-08 15:21:08 -06:00
Chris Cochrun
2fcd936bd5
cleaning the ui to make the previewSlidesList always stay on bottom
2022-10-22 13:58:52 -05:00
Chris Cochrun
be59eadc58
attempting to make main ui more consistent
2022-10-22 07:01:40 -05:00
Chris Cochrun
5083865626
adjusting small ui changes
2022-10-21 10:38:50 -05:00
Chris Cochrun
f1511b79ff
fixing ui bug in not show hover effects
2022-10-18 17:11:06 -05:00
Chris Cochrun
478792913c
adding some basic text to the previewSlide
2022-10-13 12:50:52 -05:00
Chris Cochrun
74ac6207f3
adding better text on previewslides
2022-10-13 05:58:51 -05:00
Chris Cochrun
19fbb392d7
fixing bugs in advancing slide at end or begninning
2022-10-12 10:11:54 -05:00
Chris Cochrun
98b9e7aa13
making text blank for better ui for now
2022-10-12 09:03:47 -05:00
Chris Cochrun
3b0403fed6
ensuring focus and making nextSlideAction not crash
2022-10-06 06:34:30 -05:00
Chris Cochrun
6de04aa71d
ensuring focus stays on keyHandler when presentation is visible
2022-10-06 05:51:31 -05:00
Chris Cochrun
a3be06639b
ui components to control looping on the fly
2022-10-06 03:33:56 -05:00
Chris Cochrun
7c281c1d1e
making sure presentation has focus when viewed
2022-10-05 09:41:18 -05:00