Commit graph

6 commits

Author SHA1 Message Date
Chris Cochrun
4f58d6e1fd adding basic presentation_model.rs 2023-04-06 20:44:04 -05:00
Chris Cochrun
8c2d32af6b getting basic video_model.rs ready 2023-04-06 20:37:19 -05:00
Chris Cochrun
7a36f3f8af introducing video struct in models.rs 2023-04-06 06:06:09 -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