Commit graph

37 commits

Author SHA1 Message Date
Chris Cochrun
b391c7eb55 fix moving of service_items and thus slides as well 2023-10-28 21:21:07 -05:00
Chris Cochrun
a5f49a84d9 Moving to using begin_move_rows to move service_items 2023-10-11 15:23:59 -05:00
9a08c6630c Revert "attempting to switch to new version of cxx-qt to try newer api"
This reverts commit 5163a39317
2023-10-11 20:23:39 +00:00
Chris Cochrun
5163a39317 attempting to switch to new version of cxx-qt to try newer api 2023-10-11 11:09:07 -05:00
Chris Cochrun
39ceca74cd finished implementing selection for multiple items
Now with the help of better debugging, we can select multiple items
in the ServiceItemList.
2023-09-27 11:04:09 -05:00
Chris Cochrun
83d7249a8b adding selecting multiple items. Still needs work 2023-09-27 09:45:41 -05:00
Chris Cochrun
b856a2a891 checking for right filename in older savefiles 2023-09-22 15:57:32 -05:00
Chris Cochrun
cd8801af51 working loading and saving of files with dialog from rust
This means we are loading and saving files with the rfd crate which
utilizes platform appropriate dialogs for saving and loading files. We
can start to use this in all other file dialog locations to make sure
we are getting the right files.

It uses xdg-desktop-portals on linux so we will always use the
appropriate file dialog for each desktop environment.
2023-09-21 17:37:14 -05:00
Chris Cochrun
08cc744a31 some little bits of debug info 2023-09-21 17:12:51 -05:00
Chris Cochrun
ae851453f4 fixing bug in loading local files 2023-09-20 06:16:08 -05:00
Chris Cochrun
08efb4d0ff fixing a bug in the save function 2023-09-18 15:45:41 -05:00
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
3a37118aae save properly creates temp dir with all files
All the audio and bg files are created fine. The servicelist is saved
as a json file. Now I just need to compress it and put it into a tar file.
2023-09-15 06:33:53 -05:00
Chris Cochrun
14cac2d13f almost done with saving 2023-09-14 15:28:46 -05:00
Chris Cochrun
0d480cbea6 adding some error handling 2023-09-14 12:25:44 -05:00
Chris Cochrun
48956b52ab creating a temp dir for saving the files. 2023-09-14 09:41:48 -05:00
Chris Cochrun
064210dec3 again idiot 2023-09-13 14:02:32 -05:00
Chris Cochrun
755ff055d0 I'm an idiot 2023-09-13 14:00:11 -05:00
Chris Cochrun
d46eed567e fix typo 2023-09-13 13:58:29 -05:00
Chris Cochrun
c58ca7e59f adding insert item signal 2023-09-13 13:56:42 -05:00
Chris Cochrun
8d547509af adding remove item signal 2023-09-13 13:52:58 -05:00
Chris Cochrun
00b2183750 add back deleting a single item 2023-09-13 13:39:53 -05:00
Chris Cochrun
66707858ca fixing possible missing looping in save file 2023-09-13 13:32:14 -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
258949ae50 adding basic save function... unfinished 2023-09-13 09:50:09 -05:00
Chris Cochrun
3613586f63 style adjustments and adding the load function
Loading works. Needs some love for error handling and things but it works.
2023-09-12 06:39:52 -05:00
Chris Cochrun
5d2f993d7e added the loading function. 2023-09-08 14:56:54 -05:00
Chris Cochrun
bc3024434e adding some loading mechanics 2023-08-25 12:07:40 -05:00
Chris Cochrun
d61da6f09f some initial setup to get the service_item_model.rs working 2023-08-12 14:07:13 -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
c02336b806 tweaks to service_item_model to be from rust... not finished 2023-04-25 09:24:01 -05:00
Chris Cochrun
405a310e02 prepare to move to service_item_model.rs 2023-04-20 06:48:12 -05:00
Chris Cochrun
29607d954a adding video times to service item for future 2023-04-18 06:29:08 -05:00
Chris Cochrun
438af89034 skeleton for the service_item_model.rs file 2023-04-11 06:22:50 -05:00
Chris Cochrun
8b4c348279 a lot of setup and testing work for rust 2022-12-13 09:33:47 -06:00