Commit graph

73 commits

Author SHA1 Message Date
Chris Cochrun
504b4bc944 fixy 2025-07-25 15:19:21 -05:00
Chris Cochrun
92f2b18a20 rust side builds but having trouble linking in main.cpp 2025-03-12 09:35:36 -05:00
Chris Cochrun
0ba3e7588b fixing lots of bugs 2025-03-10 23:18:30 -05:00
Chris Cochrun
e01773cc8f removing non working code and adding example of using core 2024-10-13 15:41:44 -05:00
Chris Cochrun
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
Chris Cochrun
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
Chris Cochrun
6052cd01ac trying to move slide building to more backend focused 2024-10-02 10:38:40 -05:00
Chris Cochrun
444df4eacc a complete removal of diesel 2024-09-25 12:52:44 -05:00
Chris Cochrun
9b75c366de saving some updates 2024-09-17 15:32:34 -05:00
Chris Cochrun
ff72b29d40 removing more cruft 2024-09-17 11:57:15 -05:00
Chris Cochrun
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
Chris Cochrun
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
Chris Cochrun
b4ce082891 rename all cxx_qt::bridge modules to qobject for clarity 2024-09-15 06:10:06 -05:00
Chris Cochrun
a1f18f803d things are building and running now
Now for all the issues of things not working
2024-09-15 06:08:24 -05:00
Chris Cochrun
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
Chris Cochrun
cbf5fe3d9d clippy-fix 2024-06-25 23:04:30 -05:00
Chris Cochrun
aa0eeaaeed rename all cxx_qt::bridge modules to qobject for clarity 2024-06-24 16:40:37 -05:00
Chris Cochrun
f6964cf06a change back to working system in master 2024-06-23 06:56:18 -05:00
Chris Cochrun
ee9c1e82f4 some prelim enum stuff in service_item_model 2024-06-23 06:51:32 -05:00
Chris Cochrun
79da2fbe65 adding some better ideas for types 2024-06-21 06:51:59 -05:00
Chris Cochrun
3d09157be8 delete all selected items 2024-06-17 16:27:10 -05:00
Chris Cochrun
c7761b9787 Saving is multi threaded now 2024-04-17 06:31:23 -05:00
Chris Cochrun
74f5596946 adding id to the service_item_model of the corresponding model 2024-04-15 10:54:28 -05:00
Chris Cochrun
9d9ecb3cc0 rustfmt things 2024-04-14 10:50:30 -05:00
Chris Cochrun
f2faa0564a adding framework to test saving files 2024-04-14 10:50:12 -05:00
Chris Cochrun
394914a72a backend for saving more asynchronously and showing progress 2024-04-14 10:49:27 -05:00
Chris Cochrun
2e43cd87eb trying to debug slide moving with service_item moves 2024-01-19 10:40:05 -06:00
Chris Cochrun
744481587f initial port to cxx_qt 6.0 2023-11-27 11:07:55 -06:00
Chris Cochrun
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
Chris Cochrun
62a9058fab don't run this until obs is fixed. 2023-11-19 07:16:33 -06:00
Chris Cochrun
c6700907b1 attempt at fixing bug with slides not activating with service item 2023-11-16 11:21:00 -06:00
Chris Cochrun
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
Chris Cochrun
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
Chris Cochrun
de0c26271f adding a basic obs implementation 2023-11-02 06:30:16 -05:00
Chris Cochrun
4cb57b0b96 updates to try to connect obs to service items 2023-10-30 12:59:20 -05:00
Chris Cochrun
c6c3ed5d42 adding a basic setup for connecting OBS 2023-10-30 06:34:12 -05:00
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