Chris Cochrun
3a3c4f9c5c
maintenance: cleanup of switching to editMode
2023-05-17 10:11:06 -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
16bb72c663
bug: making activeServiceItem text work
2023-04-19 15:09:30 -05:00
Chris Cochrun
1dc08d212c
adding better footer information and styling
2023-04-19 09:42:13 -05:00
Chris Cochrun
061bf5acb8
bug: triggering presenting on preview switching
2023-04-18 11:00:10 -05:00
Chris Cochrun
c1e9feb1b3
removing old testing stuff
2023-04-06 06:44:40 -05:00
Chris Cochrun
fc2d0492fa
the image_model.rs is working
...
The basic functions are all working properly. Now the model works by
using diesel to connect the sql database and retrieve all the items
and organize them. Then it'll ensure any additions and deletions are
correct and happen first on the database before adding them to the
model.
There is still a C++ proxyModel inbetween QML and Rust, but
this proxyModel interfaces with the Rust model instead of the C++
SqlTableModel.
2023-04-06 05:49:28 -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
9938241ebb
use correct ids and models
2023-03-31 09:55:52 -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
236503e877
adjusting settings and slide_model.rs
...
These are trying to get more code written in Rust rather than c++. Not
there yet, but I need to sync these to another machine.
2023-03-28 06:15:11 -05:00
Chris Cochrun
17082bcc67
fix slideModel not activating after slideChanged
2023-03-24 15:17:06 -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
175b327c5c
refocus the presentation item
...
This command sets the keyboard focus to the presentation item which
controls when slides are changed. It ensures that after every action
you can use the arrow keys to switch the slides.
2023-03-20 11:38:07 -05:00
Chris Cochrun
009c759ed3
smaller SplitHandle
2023-03-05 21:39:58 -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
24243602ca
making SplitView handles easier to target and providing highlighted
...
feedback
2023-03-02 16:51:48 -06:00
Chris Cochrun
0086ed3d5a
fixing empty files not loading the application
2023-02-20 11:21:04 -06:00
Chris Cochrun
cc501873c1
videosProxyModel working
2023-02-17 15:33:50 -06:00
Chris Cochrun
85318706fc
refactoring for proxy models
2023-02-17 13:12:55 -06:00
Chris Cochrun
ca399bb8cd
some changes to the gridview and presentation previewer
2023-01-31 13:54:44 -06:00
Chris Cochrun
97430e38a6
removing unnecessary stuff and changing slides properly
2023-01-22 14:36:43 -06:00
Chris Cochrun
1ed76ff3e3
better working changing slides and serviceItems
2023-01-20 15:38:11 -06:00
Chris Cochrun
f535bc1500
a lot of tweaks to make changing slides work
2023-01-20 13:38:40 -06:00
Chris Cochrun
453c67f237
changed all serviceItemModel to singleton ServiceItemModel
2023-01-20 07:06:25 -06:00
Chris Cochrun
d6da3b546c
better debugging: all print statements are now console.log
2023-01-17 05:52:34 -06:00
Chris Cochrun
8442913576
more ui setup for viewing all slides in item
2023-01-13 21:13:14 -06:00
Chris Cochrun
c989d143b7
adding a draggingslidenumber variable for inserting into model
2023-01-13 09:23:20 -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
37c7038f6f
fixing bug drag highlight doesn't disappear after canceling drag
2022-11-30 11:25:12 -06:00
Chris Cochrun
8da2a39a16
adding a lot of basic stuff for installation as a real app
2022-10-21 14:58:33 -05:00
Chris Cochrun
5083865626
adjusting small ui changes
2022-10-21 10:38:50 -05:00
Chris Cochrun
60a64e14aa
ensure library is only visible when "opened"
2022-10-18 13:40:35 -05:00
Chris Cochrun
798c682df9
adding a loading of last saved file for jumping right back in
2022-10-17 10:15:22 -05:00
Chris Cochrun
2d276a3c1f
attempting to add some more blur to servicelist
2022-10-13 16:30:20 -05:00
Chris Cochrun
3b0403fed6
ensuring focus and making nextSlideAction not crash
2022-10-06 06:34:30 -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
Chris Cochrun
c1f0e87056
basic function of getting all items from servicelist to save it
2022-10-04 15:20:26 -05:00
Chris Cochrun
e4d4cfe8c3
adding basic filemanager plumbing
2022-10-04 09:29:42 -05:00
Chris Cochrun
04e3d95a0c
servicelist above the mainpage and wrapper for servicelist
2022-10-02 14:32:41 -05:00
Chris Cochrun
b154cca3ed
making items select and activate so as to follow the presentation
2022-10-02 07:08:56 -05:00
Chris Cochrun
ace9da585a
making preview of slides aware of being active and set first item
2022-09-28 09:51:47 -05:00
Chris Cochrun
ed632e0733
adding font and fontSize support
2022-09-26 10:35:44 -05:00
Chris Cochrun
4f0ab74fa1
adding key navigation focusing code
2022-09-26 06:38:00 -05:00
Chris Cochrun
acbd167697
added ability to use keyboard to navigate through slides
2022-09-26 06:00:13 -05:00
Chris Cochrun
7f94cc37e7
getting audio into the slide.. still not playing yet though
2022-09-25 07:09:00 -05:00