Chris Cochrun
504b4bc944
fixy
2025-07-25 15:19:21 -05:00
Chris Cochrun
92f2b18a20
rust side builds but having trouble linking in main.cpp
2025-03-12 09:35:36 -05:00
Chris Cochrun
0ba3e7588b
fixing lots of bugs
2025-03-10 23:18:30 -05:00
Chris Cochrun
2c014e242f
Refactoring to slide_model and service_item getting the data from db
...
This is kinda a broken commit. There isn't any order to the adding of
the slide anymore. So it'll need to find a way of keeping track of
where all the current slides are and then insert the new ones in the
correct order while moving the others around as well.
2024-10-02 14:48:16 -05:00
Chris Cochrun
6052cd01ac
trying to move slide building to more backend focused
2024-10-02 10:38:40 -05:00
Chris Cochrun
d871f68ca5
remove some spacing
2024-09-25 11:21:41 -05:00
Chris Cochrun
9b8ed5a1cb
image_model transition to sqlx
2024-09-25 11:08:14 -05:00
Chris Cochrun
9b75c366de
saving some updates
2024-09-17 15:32:34 -05:00
Chris Cochrun
0cac11cb89
remove some unnecessary use and type statements
2024-09-17 06:23:03 -05:00
Chris Cochrun
5b0462db65
search function for all models... however...
...
There is some sort of problem. Somehow I sometimes get a signal 11
SEGV_MAPERR error and then it segfaults. *sigh*... So this function
needs some help yet.
2024-09-15 06:44:47 -05:00
Chris Cochrun
27acbdc866
fixing name clobbering in qobjects.
...
Apparently qobjects need unique names or else they will name clobber.
2024-09-15 06:11:34 -05:00
Chris Cochrun
b4ce082891
rename all cxx_qt::bridge modules to qobject for clarity
2024-09-15 06:10:06 -05:00
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