Commit graph

72 commits

Author SHA1 Message Date
8efabbdf68 maintenance: adding all models as types for direct access
If each model is registered as a QML type, we can pass the model back
to QML from each proxy model to have more direct access to it. This
enables us to use it's functions and properties better.
2023-05-17 10:11:33 -05:00
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
dd1ea7454e switching to QGuiApplication
This will help us out by making it less connected to QWidgets and
better for pure QML applications.
2023-04-28 17:05:56 -05:00
fc3042d4d5 tweaks for figuring out windows 2023-04-28 12:12:14 -05:00
df4252e83f add info about windows 2023-04-28 12:11:37 -05:00
a7e3cfa39f qml webengine is running
I'll need to figure out the best way to show the html slideshow later
but it's running and can accept html.
2023-04-28 05:46:02 -05:00
666c22ae66 initial bits to make a ytdl addition 2023-04-21 13:42:18 -05:00
ab168af16f remove unnecessary include 2023-04-15 14:37:43 -05:00
d9dbefcbe5 setup move_item_from_service in slide_model
I'll need to keep working on this but a basic sorta working function
of moving the order of items in the Rust model is here.
2023-04-12 19:01:50 -05:00
f8ac7feea0 adding the removal of items work on the slides
This isn't finished yet, but the core is there. I have yet to fully
remove slides after a service_item is removed.
2023-04-11 06:22:50 -05:00
b7e426edb8 tweaks to build env 2023-04-06 06:32:44 -05:00
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
37a2dbd986 diesel instead of sea-orm
sea-orm was getting to be bigger hassle I think and harder to compile,
diesel seems simple and effective enough.
2023-04-04 14:29:14 -05:00
0efccdfa54 fix insert_item_from_service 2023-04-01 06:51:07 -05:00
df7e85957c use rust slide_model activate 2023-03-31 09:55:00 -05:00
90c1825b10 a compiling and sorta working model
This model, built in Rust, works in that functions are getting called
and the right pieces are mapped into the model. I've yet to connect
things up to see if QML is talking to the model just yet.
2023-03-28 15:05:36 -05:00
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
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
0936490bee attempt use slide_obj in qml
QML doesn't understand QMap_QString_QVariant yet.
2023-03-23 19:09:32 -05:00
78e6a5c9ca attempts to decode the windowing system
I want to eventually get a more consistent way for windows to be
handled on wayland. But I can't figure out how to make it work on all compositors
2023-03-21 10:34:00 -05:00
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
d1efbceae7 commenting dead code 2023-03-02 16:51:37 -06:00
1a8a57012a removing cruft 2023-02-23 14:55:43 -06:00
0086ed3d5a fixing empty files not loading the application 2023-02-20 11:21:04 -06:00
85318706fc refactoring for proxy models 2023-02-17 13:12:55 -06:00
57ffdc3ff0 adding proxy models and search to all sql models 2023-02-17 10:09:41 -06:00
13c8704bdc adding a proxyModel 2023-02-17 09:38:20 -06:00
441ec22542 adding a signal/slot for clearing all items 2023-01-27 16:44:46 -06:00
7a8c7cc389 multi select and removal. Slides aren't perfect yet. 2023-01-24 15:29:56 -06:00
08ed111efc moving slides after moving serviceItems, need to fix count of slides 2023-01-24 06:17:47 -06:00
8fad5cadb4 some connections to make active follow slideObject 2023-01-22 07:31:07 -06:00
b40d9e11a6 adding of items now adds slides as well through signal/slot 2023-01-21 07:23:33 -06:00
d1e0cc2fc0 almost a working signal and slot mechanism 2023-01-20 16:50:35 -06:00
f503622287 backend now uses the new classes and compiles some functions
might still need reworking
2023-01-20 07:05:51 -06:00
9bee92a9e4 using the classes in scopedpointers 2023-01-18 15:58:37 -06:00
ae27bfdbab trying to load the presentation view outside qml to fix wayland 2023-01-13 05:49:35 -06:00
9d0b89300a trying to add window differently 2023-01-12 13:43:07 -06:00
3d42418c5f some preliminary parts to try and fix window activation on wayland 2023-01-11 13:44:34 -06:00
9120f6cca4 adding KWindowSystem to try and fix wayland issues 2023-01-10 09:38:53 -06:00
f70dc7722b reenabling better debug info 2023-01-03 07:25:32 -06:00
8b4c348279 a lot of setup and testing work for rust 2022-12-13 09:33:47 -06:00
9644631f7c adding a basic other struct in rust... well trying... 2022-12-09 16:55:54 -06:00
7eba697dc2 moving code around for a better file structure 2022-12-09 10:55:50 -06:00
02c3e84cb6 updates to build system 2022-12-08 15:21:08 -06:00
59a9ee3000 some about data for KAboutData 2022-12-06 09:05:18 -06:00
97d26278cb adding a more sophisticated debugging format 2022-11-29 15:07:24 -06:00
e4d4cfe8c3 adding basic filemanager plumbing 2022-10-04 09:29:42 -05:00
5713f40208 making presentation library work 2022-09-23 05:41:36 -05:00
ff4c301325 first attempt at making nix build work 2022-09-22 15:06:52 -05:00
31d668b1e3 not building yet 2022-09-22 06:37:53 -05:00