Commit graph

12 commits

Author SHA1 Message Date
270cb67570 Trying to tweak the image_model for a better count function
Apparently there is a bug in the way these functions are called from
QML so we aren't getting the count of items in the library. All other
functions seem to be working but not this, so I tried a property and
the same situation...
2023-04-19 14:16:38 -05:00
1a9b7b0bd7 using setup instead of test_database 2023-04-17 11:30:26 -05:00
020e812bce some tweaks to the models in rust 2023-04-15 14:37:53 -05:00
f5c4261726 add: update_title in image_model.rs 2023-04-07 07:18:37 -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
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
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
43f8c92253 add image_model file and video_thumbnail
Neither of these are used yet, but it's time to start added the code
2023-04-03 14:57:23 -05:00