Commit graph

25 commits

Author SHA1 Message Date
Chris Cochrun
da1c4f84b5 fixing name clobbering in qobjects.
Apparently qobjects need unique names or else they will name clobber.
2024-06-26 09:12:11 -05:00
Chris Cochrun
cbf5fe3d9d clippy-fix 2024-06-25 23:04:30 -05:00
Chris Cochrun
aa0eeaaeed rename all cxx_qt::bridge modules to qobject for clarity 2024-06-24 16:40:37 -05:00
Chris Cochrun
744481587f initial port to cxx_qt 6.0 2023-11-27 11:07:55 -06:00
Chris Cochrun
62daf316a3 Quite a few of the models have been ported.. need more though.
Still need all the songs and some small utility modules
2023-11-23 06:12:04 -06:00
Chris Cochrun
39ef6ed492 smaller font picker so it fits better on SongEditor.qml 2023-11-21 06:34:32 -06:00
Chris Cochrun
adc8bc8c04 example of using enum to be more explicit about data 2023-11-20 17:38:48 -06:00
Chris Cochrun
586db06b3a rename func for clarity 2023-11-20 17:20:25 -06:00
Chris Cochrun
7bdd8225cb fixing some unused imports 2023-10-01 06:39:52 -05:00
Chris Cochrun
a9b9bc1de0 fixing unused lines 2023-09-22 15:57:17 -05:00
Chris Cochrun
4499d1a957 making sure sql models are in lumina folder 2023-09-13 14:58:13 -05:00
Chris Cochrun
a1d4dc6e52 bug: db is now dynamic for user 2023-05-18 06:40:04 -05:00
Chris Cochrun
82466ee6fc bug: fixing some adding and updating issues 2023-05-17 16:38:22 -05:00
Chris Cochrun
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
Chris Cochrun
1a9b7b0bd7 using setup instead of test_database 2023-04-17 11:30:26 -05:00
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