MiniDisplay/minidisplay_plugin.cpp
author sl
Thu, 29 May 2014 14:27:08 +0200
changeset 15 737f8bb110be
permissions -rw-r--r--
Adding MiniDisplay methods to display image and window.
Using our test tab to render our display frame in QML and send it to our display.
Using a timer and frame counter to profile our performance.
     1 #include "minidisplay_plugin.h"
     2 #include "minidisplay.h"
     3 
     4 #include <qqml.h>
     5 
     6 void MiniDisplayPlugin::registerTypes(const char *uri)
     7 {
     8     // @uri com.slions.minidisplay
     9     qmlRegisterType<MiniDisplay>(uri, 1, 0, "MiniDisplay");
    10 }
    11 
    12