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
a93aa37d53
adding video_start_time and video_end_time
...
Both of these properties will be used to track when a video needs to
start and end during the slide show.
2023-04-17 21:27:50 -05:00
90f551edff
attempting to modernize the VideoEditor.qml
2023-04-17 17:08:33 -05:00
1a9b7b0bd7
using setup instead of test_database
2023-04-17 11:30:26 -05:00
860469a3d1
use setup instead of test_database
2023-04-17 11:29:19 -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
2311af3b46
initial adding of song_model.rs
2023-04-16 15:09:45 -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
020e812bce
some tweaks to the models in rust
2023-04-15 14:37:53 -05:00
ab168af16f
remove unnecessary include
2023-04-15 14:37:43 -05:00
343e1ed0bc
bug: fixed service_item_id changes
...
Recorded a dest_count of the destination_index slides in order to
appropriately change the right service_item_id's.
2023-04-15 06:43:30 -05:00
e11e454062
bug: fixed slides moving in both directions
...
Slides move fine, but the service_item_id is still wrong when moving
an item down.
2023-04-15 06:05:13 -05:00
a8552f272d
grrrrr
2023-04-14 17:08:37 -05:00
21e34a1c94
attempting to switch to a rotate method of moving slides
2023-04-14 14:27:50 -05:00
0db19df3ea
some tweaks to try and get the slides to move properly...not right
2023-04-14 08:54:00 -05:00
2bed897262
idk what I did.. someone help..
2023-04-13 15:20:23 -05:00
ac5bd950c7
removing annoying debug info
2023-04-13 15:20:09 -05:00
cf20d1aeb7
getting closer to working move function
2023-04-13 15:09:27 -05:00
cf20c94c17
cleaner version by using filters
2023-04-13 09:38:21 -05:00
a2cd7294af
bug: break instead of return
2023-04-13 09:37:58 -05:00
9da9859411
using filter iterator functions instead of if else blocks
2023-04-13 09:19:49 -05:00
ade09bb4e8
user iterater instead of hand made loop
2023-04-13 05:29:22 -05:00
d9dbefcbe5
setup move_item_from_service in slide_model
...
I'll need to keep working on this but a basic sorta working function
of moving the order of items in the Rust model is here.
2023-04-12 19:01:50 -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
b2a87b76b6
removing unnecessary functions
2023-04-11 16:47:51 -05:00
5470a5c0a7
removing slides properly
...
By reversing order I'm removing the slides correctly now.
2023-04-11 15:18:38 -05:00
3f87d540e1
incorrectly remove slides
2023-04-11 09:39:02 -05:00
438af89034
skeleton for the service_item_model.rs file
2023-04-11 06:22:50 -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
7a36b70a6d
remove come cruft
2023-04-11 06:22:50 -05:00
f5c4261726
add: update_title in image_model.rs
2023-04-07 07:18:37 -05:00
d3dbc23e60
fix Video struct missing fields
2023-04-07 06:36:39 -05:00
4f58d6e1fd
adding basic presentation_model.rs
2023-04-06 20:44:04 -05:00
a71ead411f
be more clear in variable names in image_model
2023-04-06 20:40:21 -05:00
7ac29e28cd
remove empty stuff in image_model
2023-04-06 20:39:44 -05:00
e83cc71725
be more clear in variable names
2023-04-06 20:39:06 -05:00
b5228dd872
remove empty stuff in video_model
2023-04-06 20:38:52 -05:00
8c2d32af6b
getting basic video_model.rs ready
2023-04-06 20:37:19 -05:00
c1e9feb1b3
removing old testing stuff
2023-04-06 06:44:40 -05:00
b7e426edb8
tweaks to build env
2023-04-06 06:32:44 -05:00
7a36f3f8af
introducing video struct in models.rs
2023-04-06 06:06:09 -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
caed6e6367
setting diesel up more
2023-04-04 15:15:29 -05:00
37a2dbd986
diesel instead of sea-orm
...
sea-orm was getting to be bigger hassle I think and harder to compile,
diesel seems simple and effective enough.
2023-04-04 14:29:14 -05:00
d308bd33b2
removing entities and sea-orm
2023-04-04 14:28:56 -05:00
8430355fdd
remove cruft
2023-04-04 13:01:04 -05:00
db99525963
trying to add sea-orm as a way to create sql based models
2023-04-04 11:20:00 -05:00