Commit graph

399 commits

Author SHA1 Message Date
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
9befc9780d tweaks to SlideEditor...
This badly needs a better name
2023-05-19 15:39:12 -05:00
4aafe6e86f tweaks to SongEditor 2023-05-19 15:39:03 -05:00
76bb6fb19b using rust slidemodel 2023-05-19 15:38:40 -05:00
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
bbc5bf3d7c 🐛 QVariantMap still seems to not work... 2023-05-19 09:54:07 -05:00
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
e5a2e063fc 🐛 using songModel so we can start to remove more c++ functions 2023-05-18 15:57:05 -05:00
41e22ca133 🎉 adding a downloaded video from youtube 2023-05-18 15:56:12 -05:00
ad2ed98968 using more innerModels since they are already loaded 2023-05-18 06:39:22 -05:00
0eef97dcfe bug: new_song now works properly 2023-05-17 17:16:57 -05:00
56c7dc8541 bug: fixing updating of properties in presentation_model 2023-05-17 17:01:34 -05:00
bb9fc3fd86 bug: fixing video issues between qml and rust 2023-05-17 16:38:40 -05:00
82466ee6fc bug: fixing some adding and updating issues 2023-05-17 16:38:22 -05:00
f084e6d88d better icon for videos 2023-05-17 11:19:44 -05:00
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
3a3c4f9c5c maintenance: cleanup of switching to editMode 2023-05-17 10:11:06 -05:00
eb899a9965 tweaks to making songs work 2023-05-16 15:31:09 -05:00
184ad4fe57 using song_model now 2023-05-12 17:00:23 -05:00
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
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
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
c1711f231b Trying to fix adding multiple files 2023-04-27 14:18:43 -05:00
e8b042df54 Preparing to add html as a presentation option 2023-04-27 14:17:59 -05:00
12fb5592a7 remove using the old thumbnail creation
Since the rust implementation happens on insertion of slides and
creates a property for it, it's better as we won't need to create it
on the fly. Now we'll just need to move it into a background thread so
things will load while ffmpeg creates thumbnails for us.
2023-04-23 07:06:36 -05:00
666c22ae66 initial bits to make a ytdl addition 2023-04-21 13:42:18 -05:00
16bb72c663 bug: making activeServiceItem text work 2023-04-19 15:09:30 -05:00
a02f55eb0b better PreviewSlideListDelegate 2023-04-19 14:17:44 -05:00
802f3ffbde bug: fixed presentation not looping 2023-04-19 11:59:05 -05:00
bcfa587d85 bug: adding videos fixed 2023-04-19 11:40:37 -05:00
1dc08d212c adding better footer information and styling 2023-04-19 09:42:13 -05:00
7c2eeb5aa4 RangedSlider now has tray clicking 2023-04-19 09:29:29 -05:00
eb15160201 some small tweaks to the rest of the UI of videoEditor 2023-04-19 06:34:43 -05:00
d9836db18e ensuring that visual position follow initialValues
Since the internal components change visualPosition this will just
setup initialValues properly for anything looking at visualPosition
from the start
2023-04-19 06:33:41 -05:00
81ea712c6b feature: a much nicer qml rangedslider
In order to make start and end time setting far more efficient, I
decided to create my own RangeSlider called RangedSlider. This has a
moved signal for each handle and a released signal for each
handle. This allows us to change the video playback but not set the
value until released. Meaning only one access to the database.
2023-04-19 05:35:52 -05:00
8b231de32b adding a custom rangedslider 2023-04-18 15:32:42 -05:00
455c83b000 make a spot for serviceItem info in the footer 2023-04-18 11:13:49 -05:00
061bf5acb8 bug: triggering presenting on preview switching 2023-04-18 11:00:10 -05:00
4f081acd7a adding footer information 2023-04-18 10:29:31 -05:00
990edf3818 some tweaks to the library components 2023-04-18 06:42:56 -05:00
ecebddf557 add All files to the options 2023-04-18 06:42:43 -05:00
f4c2e1e452 remove commented code 2023-04-18 06:30:44 -05:00
29607d954a adding video times to service item for future 2023-04-18 06:29:08 -05:00
90f551edff attempting to modernize the VideoEditor.qml 2023-04-17 17:08:33 -05:00
b037f1a91c initial ability to update properties of video_model.rs
I've made it possible to update the properties of the videos. I'll
need to make sure title, start and end times, and paths all work as
well. Let's make videos really good and then move on to images and
presentations.
2023-04-17 11:22:07 -05:00
9d05a7e655 using video_model.rs and presentation_model.rs
These are hopefully a better alternative than the cpp counterparts
after some more time
2023-04-16 15:09:09 -05:00
85285b7d02 add newItem function to interface with QML
In order to make sure QML can properly interact with Rust I'll use a
function in the proxy model to interact with the actual model
underneath in Rust.
2023-04-12 19:00:31 -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
c1e9feb1b3 removing old testing stuff 2023-04-06 06:44:40 -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