Commit graph

10 commits

Author SHA1 Message Date
Chris Cochrun
020e812bce some tweaks to the models in rust 2023-04-15 14:37:53 -05:00
Chris Cochrun
f5c4261726 add: update_title in image_model.rs 2023-04-07 07:18:37 -05:00
Chris Cochrun
a71ead411f be more clear in variable names in image_model 2023-04-06 20:40:21 -05:00
Chris Cochrun
7ac29e28cd remove empty stuff in image_model 2023-04-06 20:39:44 -05:00
Chris Cochrun
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
Chris Cochrun
caed6e6367 setting diesel up more 2023-04-04 15:15:29 -05:00
Chris Cochrun
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
Chris Cochrun
8430355fdd remove cruft 2023-04-04 13:01:04 -05:00
Chris Cochrun
db99525963 trying to add sea-orm as a way to create sql based models 2023-04-04 11:20:00 -05:00
Chris Cochrun
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