Commit graph

69 commits

Author SHA1 Message Date
02599ef5a3 trying to start moving the functionality to service_item
This would mean that we can use more dependency injection for the
slides instead of the slide needing to figure out which kind of item
to generate and make a slide from.
2024-10-04 13:52:03 -05:00
2c014e242f Refactoring to slide_model and service_item getting the data from db
This is kinda a broken commit. There isn't any order to the adding of
the slide anymore. So it'll need to find a way of keeping track of
where all the current slides are and then insert the new ones in the
correct order while moving the others around as well.
2024-10-02 14:48:16 -05:00
6052cd01ac trying to move slide building to more backend focused 2024-10-02 10:38:40 -05:00
444df4eacc a complete removal of diesel 2024-09-25 12:52:44 -05:00
9b75c366de saving some updates 2024-09-17 15:32:34 -05:00
ff72b29d40 removing more cruft 2024-09-17 11:57:15 -05:00
273dd76d23 adding a SlideType enum that can parse from a string
This will start to allow us to have a much better data model for the
slides and service items. They can have a type associated with them
and parse which they are from this type.
2024-09-17 06:23:27 -05:00
27acbdc866 fixing name clobbering in qobjects.
Apparently qobjects need unique names or else they will name clobber.
2024-09-15 06:11:34 -05:00
b4ce082891 rename all cxx_qt::bridge modules to qobject for clarity 2024-09-15 06:10:06 -05:00
a1f18f803d things are building and running now
Now for all the issues of things not working
2024-09-15 06:08:24 -05:00
da1c4f84b5 fixing name clobbering in qobjects.
Apparently qobjects need unique names or else they will name clobber.
2024-06-26 09:12:11 -05:00
cbf5fe3d9d clippy-fix 2024-06-25 23:04:30 -05:00
aa0eeaaeed rename all cxx_qt::bridge modules to qobject for clarity 2024-06-24 16:40:37 -05:00
f6964cf06a change back to working system in master 2024-06-23 06:56:18 -05:00
ee9c1e82f4 some prelim enum stuff in service_item_model 2024-06-23 06:51:32 -05:00
79da2fbe65 adding some better ideas for types 2024-06-21 06:51:59 -05:00
3d09157be8 delete all selected items 2024-06-17 16:27:10 -05:00
c7761b9787 Saving is multi threaded now 2024-04-17 06:31:23 -05:00
74f5596946 adding id to the service_item_model of the corresponding model 2024-04-15 10:54:28 -05:00
9d9ecb3cc0 rustfmt things 2024-04-14 10:50:30 -05:00
f2faa0564a adding framework to test saving files 2024-04-14 10:50:12 -05:00
394914a72a backend for saving more asynchronously and showing progress 2024-04-14 10:49:27 -05:00
2e43cd87eb trying to debug slide moving with service_item moves 2024-01-19 10:40:05 -06:00
744481587f initial port to cxx_qt 6.0 2023-11-27 11:07:55 -06:00
62daf316a3 Quite a few of the models have been ported.. need more though.
Still need all the songs and some small utility modules
2023-11-23 06:12:04 -06:00
62a9058fab don't run this until obs is fixed. 2023-11-19 07:16:33 -06:00
c6700907b1 attempt at fixing bug with slides not activating with service item 2023-11-16 11:21:00 -06:00
7bf4341819 making obs an option so that incase of errors we can set to None
This is really effective since it means we can still launch the app
without obs running too. Now I'll still need to figure out why it's
having problems though.
2023-11-13 10:36:49 -06:00
03f8dd9730 fixing tweaks to obs initialization...
it isn't working just yet. I need to create a default implimentation
with obs working somehow...
2023-11-09 14:36:37 -06:00
de0c26271f adding a basic obs implementation 2023-11-02 06:30:16 -05:00
4cb57b0b96 updates to try to connect obs to service items 2023-10-30 12:59:20 -05:00
c6c3ed5d42 adding a basic setup for connecting OBS 2023-10-30 06:34:12 -05:00
b391c7eb55 fix moving of service_items and thus slides as well 2023-10-28 21:21:07 -05:00
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
5163a39317 attempting to switch to new version of cxx-qt to try newer api 2023-10-11 11:09:07 -05:00
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
83d7249a8b adding selecting multiple items. Still needs work 2023-09-27 09:45:41 -05:00
b856a2a891 checking for right filename in older savefiles 2023-09-22 15:57:32 -05:00
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
08cc744a31 some little bits of debug info 2023-09-21 17:12:51 -05:00
ae851453f4 fixing bug in loading local files 2023-09-20 06:16:08 -05:00
08efb4d0ff fixing a bug in the save function 2023-09-18 15:45:41 -05:00
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
fe25209758 saving works 2023-09-15 17:30:20 -05:00
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
14cac2d13f almost done with saving 2023-09-14 15:28:46 -05:00
0d480cbea6 adding some error handling 2023-09-14 12:25:44 -05:00
48956b52ab creating a temp dir for saving the files. 2023-09-14 09:41:48 -05:00
064210dec3 again idiot 2023-09-13 14:02:32 -05:00