Commit graph

9 commits

Author SHA1 Message Date
Chris Cochrun
1a9b7b0bd7 using setup instead of test_database 2023-04-17 11:30:26 -05:00
Chris Cochrun
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
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
6c33e52ea3 a working multi delete in libraries 2023-03-05 06:51:47 -06:00
Chris Cochrun
d6a92ee3cb switching to a more model based adding of items to serviceListModel 2023-02-24 16:01:11 -06:00
Chris Cochrun
d633a25ebe adding idx to all models 2023-02-24 14:53:05 -06:00
Chris Cochrun
c9f6fc4d1b ok I added some proxy models to all sql models, but they aint done.. 2023-02-17 16:14:50 -06:00
Chris Cochrun
57ffdc3ff0 adding proxy models and search to all sql models 2023-02-17 10:09:41 -06:00
Chris Cochrun
7eba697dc2 moving code around for a better file structure 2022-12-09 10:55:50 -06:00
Renamed from src/imagesqlmodel.cpp (Browse further)