Commit graph

94 commits

Author SHA1 Message Date
Chris Cochrun
defb73c0af trying to make a slide editing system 2024-04-17 15:58:25 -05:00
Chris Cochrun
86f4f603a1 fixing some things with NewVideo.qml
First I've updated the styles to fit better. Then I've moved the timer
into the NewVideo.qml item. This will help to make sure we know where
that timer is coming from.
2024-01-22 13:21:50 -06:00
Chris Cochrun
60b89a84d7 using getItem directly since QVariantMaps work now in 0.6 of cxxqt 2024-01-16 13:54:09 -06:00
Chris Cochrun
744481587f initial port to cxx_qt 6.0 2023-11-27 11:07:55 -06:00
Chris Cochrun
b1eef88c8a fixing pdf not having number of slides attached 2023-11-13 10:21:39 -06:00
Chris Cochrun
ed9693c27b comment out dead code and prepare function for moving to right index 2023-09-29 16:34:10 -05:00
Chris Cochrun
e80f0216ae tweaks to allow better html presentations 2023-08-07 07:21:18 -05:00
Chris Cochrun
38ae7c9850 switching back until I finish upgrading to 0.5.3 cxx-qt
This is where they made sure QVariantMap maps to QMap_QString_QVariant
in Rust.
2023-05-19 09:18:34 -05:00
Chris Cochrun
ad2ed98968 using more innerModels since they are already loaded 2023-05-18 06:39:22 -05:00
Chris Cochrun
0eef97dcfe bug: new_song now works properly 2023-05-17 17:16:57 -05:00
Chris Cochrun
4dc4036dda bug: fixing insertion bugs of many items
Videos, images, and presentations were all look at the wrong index. I
needed to look for the count - 1 in order to find the right index from
the model when switching to the editMode
2023-05-17 11:09:21 -05:00
Chris Cochrun
3a3c4f9c5c maintenance: cleanup of switching to editMode 2023-05-17 10:11:06 -05:00
Chris Cochrun
c33b5af588 basic implementation of having reveal.js slides working
There is still a lot of work needed to be done here, but the basics
are laid out.
2023-05-01 06:20:45 -05:00
Chris Cochrun
b05af23ffa feat: reveal.js presentations are viewable in editor
I have gotten reveal.js presentations to be viewable. I'll still need
to work with how to present them, and fix the presenter piece as well,
but for now, it works.
2023-04-29 07:13:04 -05:00
Chris Cochrun
c1711f231b Trying to fix adding multiple files 2023-04-27 14:18:43 -05:00
Chris Cochrun
666c22ae66 initial bits to make a ytdl addition 2023-04-21 13:42:18 -05:00
Chris Cochrun
bcfa587d85 bug: adding videos fixed 2023-04-19 11:40:37 -05:00
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