MiniDisplay/minidisplay_plugin.cpp
author sl
Wed, 28 May 2014 21:31:03 +0200
changeset 14 9903a5edeb56
permissions -rw-r--r--
Working around our font dialog option listing issues.
Font dialog options are now persisted.
Fixing issue with italic font being cut by using proper string width from boundigRect.
sl@2
     1
#include "minidisplay_plugin.h"
sl@2
     2
#include "minidisplay.h"
sl@2
     3
sl@2
     4
#include <qqml.h>
sl@2
     5
sl@2
     6
void MiniDisplayPlugin::registerTypes(const char *uri)
sl@2
     7
{
sl@2
     8
    // @uri com.slions.minidisplay
sl@2
     9
    qmlRegisterType<MiniDisplay>(uri, 1, 0, "MiniDisplay");
sl@2
    10
}
sl@2
    11
sl@2
    12