Chris Cochrun
e80f0216ae
tweaks to allow better html presentations
2023-08-07 07:21:18 -05:00
Chris Cochrun
d16550b980
making htmlVisible work in PresWindow
2023-08-06 13:10:24 -05:00
Chris Cochrun
61439d65b3
Migrations work
...
This code actually enables migrations by running migrations on
initialization before any other code runs.
2023-08-05 14:52:56 -05:00
Chris Cochrun
f7f81e0bda
fixing initial migration
2023-08-05 14:52:41 -05:00
Chris Cochrun
9d7d24168d
adding a better picture of diesel migrations
2023-08-04 14:44:26 -05:00
Chris Cochrun
f404759862
making service_item_model build
2023-06-17 06:36:16 -05:00
Chris Cochrun
e86f2f3f66
start building service_item_model.rs
2023-05-20 06:44:25 -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
485a7ac223
🐛 forgot to use default if unwrap fails
2023-05-19 16:00:52 -05:00
Chris Cochrun
9befc9780d
tweaks to SlideEditor...
...
This badly needs a better name
2023-05-19 15:39:12 -05:00
Chris Cochrun
4aafe6e86f
tweaks to SongEditor
2023-05-19 15:39:03 -05:00
Chris Cochrun
a9722e37a0
removing cruft
2023-05-19 15:38:49 -05:00
Chris Cochrun
76bb6fb19b
using rust slidemodel
2023-05-19 15:38:40 -05:00
Chris Cochrun
b74e85bfe6
🎉 FINALLY! Extra window in any wayland compositor
...
This required switching from a QML Window to a QQuickView in C++. I
want to try to eventually subclass that in Rust, but for now it works.
I'll have to still tinker with this to find out how to specifically
set the screen in certain environments, but for now the user will need
to move the window on their own.
2023-05-19 13:01:15 -05:00
Chris Cochrun
bbc5bf3d7c
🐛 QVariantMap still seems to not work...
2023-05-19 09:54:07 -05:00
Chris Cochrun
a0692aeadf
planned: add presentation_window.rs
...
I'm going to try to subclass QQuickWindow or View in order to control
the PresentationWindow from rust and just call the appropriate
functions from QML.
2023-05-19 09:53:08 -05:00
Chris Cochrun
38ae7c9850
switching back until I finish upgrading to 0.5.3 cxx-qt
...
This is where they made sure QVariantMap maps to QMap_QString_QVariant
in Rust.
2023-05-19 09:18:34 -05:00
Chris Cochrun
044e58563c
removing presWindow showing so I can finally utilize it
2023-05-19 09:17:56 -05:00
Chris Cochrun
e5a2e063fc
🐛 using songModel so we can start to remove more c++ functions
2023-05-18 15:57:05 -05:00
Chris Cochrun
41e22ca133
🎉 adding a downloaded video from youtube
2023-05-18 15:56:12 -05:00
Chris Cochrun
563a7ada60
🐛 trying to fix title not changing for ListView
2023-05-18 15:23:32 -05:00
Chris Cochrun
4b4607b721
bug: adding update functions in song_model
2023-05-18 06:40:44 -05:00
Chris Cochrun
644dc1684e
cleanup unnecessary stuff
2023-05-18 06:40:30 -05:00
Chris Cochrun
a1d4dc6e52
bug: db is now dynamic for user
2023-05-18 06:40:04 -05:00
Chris Cochrun
ad2ed98968
using more innerModels since they are already loaded
2023-05-18 06:39:22 -05:00
Chris Cochrun
0eef97dcfe
bug: new_song now works properly
2023-05-17 17:16:57 -05:00
Chris Cochrun
e87f1094a9
bug: forgot page_count method
2023-05-17 17:04:15 -05:00
Chris Cochrun
56c7dc8541
bug: fixing updating of properties in presentation_model
2023-05-17 17:01:34 -05:00
Chris Cochrun
b4648edde2
bug: fixing all video updating of properties
2023-05-17 16:53:16 -05:00
Chris Cochrun
bb9fc3fd86
bug: fixing video issues between qml and rust
2023-05-17 16:38:40 -05:00
Chris Cochrun
82466ee6fc
bug: fixing some adding and updating issues
2023-05-17 16:38:22 -05:00
Chris Cochrun
f084e6d88d
better icon for videos
2023-05-17 11:19:44 -05:00
Chris Cochrun
4dc4036dda
bug: fixing insertion bugs of many items
...
Videos, images, and presentations were all look at the wrong index. I
needed to look for the count - 1 in order to find the right index from
the model when switching to the editMode
2023-05-17 11:09:21 -05:00
Chris Cochrun
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
Chris Cochrun
3a3c4f9c5c
maintenance: cleanup of switching to editMode
2023-05-17 10:11:06 -05:00
Chris Cochrun
a8eec1dee6
condition around getting a song
2023-05-16 21:33:03 -05:00
Chris Cochrun
eb899a9965
tweaks to making songs work
2023-05-16 15:31:09 -05:00
Chris Cochrun
8af7c9bb6d
need to change the way page_count is made in presentations
2023-05-16 13:27:53 -05:00
Chris Cochrun
b234795a36
trying to add a way for rust to find number of slides in reveal.js
2023-05-16 09:55:26 -05:00
Chris Cochrun
58652eafa1
feat: song_model.rs now has a get_lyric_list
...
Now this being made in rust, the rest is much easier.
2023-05-15 06:32:22 -05:00
Chris Cochrun
184ad4fe57
using song_model now
2023-05-12 17:00:23 -05:00
Chris Cochrun
68b30877ed
fixing more of pres model and setting up song model
2023-05-04 09:30:03 -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
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
Chris Cochrun
fc3042d4d5
tweaks for figuring out windows
2023-04-28 12:12:14 -05:00
Chris Cochrun
df4252e83f
add info about windows
2023-04-28 12:11:37 -05:00
Chris Cochrun
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
Chris Cochrun
c1711f231b
Trying to fix adding multiple files
2023-04-27 14:18:43 -05:00
Chris Cochrun
e8b042df54
Preparing to add html as a presentation option
2023-04-27 14:17:59 -05:00