Commit graph

77 commits

Author SHA1 Message Date
Chris Cochrun
990edf3818 some tweaks to the library components 2023-04-18 06:42:56 -05:00
Chris Cochrun
b037f1a91c initial ability to update properties of video_model.rs
I've made it possible to update the properties of the videos. I'll
need to make sure title, start and end times, and paths all work as
well. Let's make videos really good and then move on to images and
presentations.
2023-04-17 11:22:07 -05:00
Chris Cochrun
9d05a7e655 using video_model.rs and presentation_model.rs
These are hopefully a better alternative than the cpp counterparts
after some more time
2023-04-16 15:09:09 -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
097fa8ee7e add more image formats 2023-03-12 06:35:54 -05:00
Chris Cochrun
b9a8eb4903 adding html to list of presentation extensions
This is necessary for eventually adding in WebEngineView to the
Slide.qml and enabling reveal.js presentations to work.
2023-03-10 17:24:24 -06:00
Chris Cochrun
ac32f6e20a fix adding file selects proper library 2023-03-08 13:30:34 -06:00
Chris Cochrun
6c33e52ea3 a working multi delete in libraries 2023-03-05 06:51:47 -06:00
Chris Cochrun
5fe5a5b621 switching all layouts to newer layouts 2023-03-03 16:47:49 -06:00
Chris Cochrun
37dc24ee65 adjusting deleting funcitons 2023-03-02 21:44:13 -06:00
Chris Cochrun
3dbecf2301 making newItem and deleteItem functions work 2023-03-02 05:56:52 -06:00
Chris Cochrun
2e6e1407dc switching to a reusable LibraryItem component for easier refactoring 2023-02-28 06:22:16 -06:00
Chris Cochrun
fd7ac5f398 removing unnecessary variables 2023-02-24 16:48:26 -06:00
Chris Cochrun
a83f4f2161 formatting 2023-02-24 14:53:48 -06:00
Chris Cochrun
74e9bd2f6e adding selectionModel and small ui tweaks 2023-02-23 14:55:54 -06:00
Chris Cochrun
891f6e395d adding selection model in progress to library 2023-02-21 09:56:23 -06:00
Chris Cochrun
6a0fb02c52 adding song while text in search field resets and appends song 2023-02-18 06:52:52 -06:00
Chris Cochrun
f1ea742453 validation for presentation files 2023-02-17 17:21:34 -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
85318706fc refactoring for proxy models 2023-02-17 13:12:55 -06:00
Chris Cochrun
3b35424a0c adding validation for files to make sure the underlying filesystem
hasn't deleted or moved files in the database
2023-02-17 13:12:23 -06:00
Chris Cochrun
57ffdc3ff0 adding proxy models and search to all sql models 2023-02-17 10:09:41 -06:00
Chris Cochrun
13c8704bdc adding a proxyModel 2023-02-17 09:38:20 -06:00
Chris Cochrun
d6da3b546c better debugging: all print statements are now console.log 2023-01-17 05:52:34 -06:00
Chris Cochrun
d868571d72 adding presentations with multiple slides 2023-01-17 05:09:16 -06:00
Chris Cochrun
53bdda17bf making the pdf system aware of number of pages without podofo 2023-01-13 11:20:49 -06:00
Chris Cochrun
29348d59e7 the sizes of things were wrong with a bad env variable 2023-01-13 05:49:15 -06:00
Chris Cochrun
a146d702dd some unit size changes 2023-01-12 13:42:56 -06:00
Chris Cochrun
37c7038f6f fixing bug drag highlight doesn't disappear after canceling drag 2022-11-30 11:25:12 -06:00
Chris Cochrun
2b84e05a0b library panel above listview 2022-10-25 06:28:36 -05:00
Chris Cochrun
a79c9d3dcd making panels in library layout better 2022-10-23 07:25:50 -05:00
Chris Cochrun
2935632df5 putting library header in column so that scrollbar isn't above 2022-10-23 07:01:26 -05:00
Chris Cochrun
64e3978853 making header of list above the list as it flows upward 2022-10-23 06:37:36 -05:00
Chris Cochrun
b9a129ecd2 fixing library scrollbar 2022-10-22 15:06:38 -05:00
Chris Cochrun
ad36b7b953 making songs that are dragged appear over servicelist during drag 2022-10-13 05:59:02 -05:00
Chris Cochrun
4a72ff85ac quiet the notifications 2022-10-06 03:34:26 -05:00
Chris Cochrun
1804addb1b fixing bug where we weren't adding the right songs to servicelist 2022-10-02 07:09:19 -05:00
Chris Cochrun
4d9236e02c fixing getSong not working after deleting songs 2022-09-29 05:58:06 -05:00
Chris Cochrun
ed632e0733 adding font and fontSize support 2022-09-26 10:35:44 -05:00
Chris Cochrun
7f94cc37e7 getting audio into the slide.. still not playing yet though 2022-09-25 07:09:00 -05:00
Chris Cochrun
d2499e8df3 adding multiple pdfs 2022-09-24 14:58:44 -05:00
Chris Cochrun
453ca7eefe making presentation type clearer 2022-09-24 13:35:36 -05:00
Chris Cochrun
ebbdfba4d9 adding a function for adding pdfs 2022-09-24 06:26:58 -05:00
Chris Cochrun
ed58e2cda1 adding a presentation editor and ui to get there 2022-09-23 06:20:43 -05:00
Chris Cochrun
5713f40208 making presentation library work 2022-09-23 05:41:36 -05:00
Chris Cochrun
a9286eeb1b adding a presentation model and including it's ui in library 2022-09-22 05:59:38 -05:00
Chris Cochrun
616e791f74 add multiple files to the library 2022-09-21 06:24:26 -05:00
Chris Cochrun
05aecd2a41 added a file handler to dropping files in library 2022-09-19 17:15:59 -05:00
Chris Cochrun
05c457be85 some fixes to dragging behaviors 2022-09-16 06:57:03 -05:00