Commit graph

459 commits

Author SHA1 Message Date
Chris Cochrun
c57f9f8ac9 the moving of rows works but resets on move
This breaks fluid movements from QML with KirigamiDragHandles

We will need to adjust how this move works in QML or get the
begin_move_rows function to build. If it can build we can still use
the KirigamiDragHandles.
2023-09-17 14:35:37 -05:00
Chris Cochrun
fe25209758 saving works 2023-09-15 17:30:20 -05:00
Chris Cochrun
f2f2ab27b9 fixing more inserting pieces 2023-09-13 14:58:53 -05:00
Chris Cochrun
00b2183750 add back deleting a single item 2023-09-13 13:39:53 -05:00
Chris Cochrun
8031c32a18 adding the save function working and adding to service items better 2023-09-13 13:22:02 -05:00
Chris Cochrun
daf8511081 move notification to after the change 2023-09-12 06:38:53 -05:00
Chris Cochrun
8619902644 using the C++ proxy function to get item from Rust Model
QMAP_QSTRING_QVARIANT doesn't automatically convert to a QVariantMap
in QML. So we have to run it through C++ to make things work right.
2023-09-08 14:55:48 -05:00
Chris Cochrun
ffb4da1432 fixing html visibility in live mode 2023-08-07 07:33:41 -05:00
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
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
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
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
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
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
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
56c7dc8541 bug: fixing updating of properties in presentation_model 2023-05-17 17:01:34 -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
3a3c4f9c5c maintenance: cleanup of switching to editMode 2023-05-17 10:11:06 -05:00
Chris Cochrun
eb899a9965 tweaks to making songs work 2023-05-16 15:31:09 -05:00
Chris Cochrun
184ad4fe57 using song_model now 2023-05-12 17:00:23 -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
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
Chris Cochrun
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
Chris Cochrun
666c22ae66 initial bits to make a ytdl addition 2023-04-21 13:42:18 -05:00
Chris Cochrun
16bb72c663 bug: making activeServiceItem text work 2023-04-19 15:09:30 -05:00
Chris Cochrun
a02f55eb0b better PreviewSlideListDelegate 2023-04-19 14:17:44 -05:00
Chris Cochrun
802f3ffbde bug: fixed presentation not looping 2023-04-19 11:59:05 -05:00
Chris Cochrun
bcfa587d85 bug: adding videos fixed 2023-04-19 11:40:37 -05:00
Chris Cochrun
1dc08d212c adding better footer information and styling 2023-04-19 09:42:13 -05:00
Chris Cochrun
7c2eeb5aa4 RangedSlider now has tray clicking 2023-04-19 09:29:29 -05:00
Chris Cochrun
eb15160201 some small tweaks to the rest of the UI of videoEditor 2023-04-19 06:34:43 -05:00
Chris Cochrun
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
Chris Cochrun
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
Chris Cochrun
8b231de32b adding a custom rangedslider 2023-04-18 15:32:42 -05:00
Chris Cochrun
455c83b000 make a spot for serviceItem info in the footer 2023-04-18 11:13:49 -05:00
Chris Cochrun
061bf5acb8 bug: triggering presenting on preview switching 2023-04-18 11:00:10 -05:00
Chris Cochrun
4f081acd7a adding footer information 2023-04-18 10:29:31 -05:00
Chris Cochrun
990edf3818 some tweaks to the library components 2023-04-18 06:42:56 -05:00