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.
This commit is contained in:
parent
dd1ea7454e
commit
b05af23ffa
5 changed files with 47 additions and 15 deletions
|
@ -55,6 +55,7 @@
|
|||
#include "cxx-qt-gen/slide_model.cxxqt.h"
|
||||
#include "cxx-qt-gen/settings.cxxqt.h"
|
||||
#include "cxx-qt-gen/ytdl.cxxqt.h"
|
||||
#include "cxx-qt-gen/presentation_model.cxxqt.h"
|
||||
// #include "cxx-qt-gen/image_model.cxxqt.h"
|
||||
|
||||
static QWindow *windowFromEngine(QQmlApplicationEngine *engine)
|
||||
|
@ -201,6 +202,7 @@ int main(int argc, char *argv[])
|
|||
qmlRegisterType<VideoProxyModel>("org.presenter", 1, 0, "VideoProxyModel");
|
||||
qmlRegisterType<ImageProxyModel>("org.presenter", 1, 0, "ImageProxyModel");
|
||||
qmlRegisterType<PresentationProxyModel>("org.presenter", 1, 0, "PresentationProxyModel");
|
||||
qmlRegisterType<PresentationModel>("org.presenter", 1, 0, "PresentationModel");
|
||||
qmlRegisterType<SongSqlModel>("org.presenter", 1, 0, "SongSqlModel");
|
||||
qmlRegisterType<VideoSqlModel>("org.presenter", 1, 0, "VideoSqlModel");
|
||||
qmlRegisterType<ImageSqlModel>("org.presenter", 1, 0, "ImageSqlModel");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue