Creating a quick item for our MiniDisplay.
authorsl
Tue, 27 May 2014 17:14:22 +0200
changeset 2780ee91f4ffb
parent 1 bc046f5187fd
child 3 1b423d877938
Creating a quick item for our MiniDisplay.
DisplayTab.qml
Manager.pro
MiniDisplay/minidisplay.cpp
MiniDisplay/minidisplay.h
MiniDisplay/minidisplay.pro
MiniDisplay/minidisplay_plugin.cpp
MiniDisplay/minidisplay_plugin.h
MiniDisplay/qmldir
MiniDisplayManager.pro
MiniDisplayManager.pro.user
main.qml
qml.qrc
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/DisplayTab.qml	Tue May 27 17:14:22 2014 +0200
     1.3 @@ -0,0 +1,16 @@
     1.4 +import QtQuick 2.2
     1.5 +import QtQuick.Controls 1.2
     1.6 +import MiniDisplay 1.0
     1.7 +
     1.8 +Item {
     1.9 +    width: 100
    1.10 +    height: 62
    1.11 +    //SystemPalette { id: palette }
    1.12 +    clip: true
    1.13 +
    1.14 +
    1.15 +    MiniDisplay {
    1.16 +
    1.17 +    }
    1.18 +
    1.19 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/Manager.pro	Tue May 27 17:14:22 2014 +0200
     2.3 @@ -0,0 +1,25 @@
     2.4 +TEMPLATE = app
     2.5 +TARGET = MiniDisplayManager
     2.6 +QT += qml quick widgets
     2.7 +
     2.8 +# Avoid going to debug/release subdirectory
     2.9 +# so that our application will see the
    2.10 +# import path for the MiniDisplay module.
    2.11 +win32: DESTDIR = ./
    2.12 +
    2.13 +SOURCES += main.cpp
    2.14 +
    2.15 +RESOURCES += \
    2.16 +    qml.qrc
    2.17 +
    2.18 +# Additional import path used to resolve QML modules in Qt Creator's code model
    2.19 +QML_IMPORT_PATH = $$DESTDIR/MiniDisplay
    2.20 +
    2.21 +# Default rules for deployment.
    2.22 +include(deployment.pri)
    2.23 +
    2.24 +OTHER_FILES += \
    2.25 +    FontsTab.qml \
    2.26 +    main.qml \
    2.27 +    TestsTab.qml \
    2.28 +    DisplayTab.qml
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/MiniDisplay/minidisplay.cpp	Tue May 27 17:14:22 2014 +0200
     3.3 @@ -0,0 +1,16 @@
     3.4 +#include "minidisplay.h"
     3.5 +
     3.6 +MiniDisplay::MiniDisplay(QQuickItem *parent):
     3.7 +    QQuickItem(parent)
     3.8 +{
     3.9 +    // By default, QQuickItem does not draw anything. If you subclass
    3.10 +    // QQuickItem to create a visual item, you will need to uncomment the
    3.11 +    // following line and re-implement updatePaintNode()
    3.12 +
    3.13 +    // setFlag(ItemHasContents, true);
    3.14 +}
    3.15 +
    3.16 +MiniDisplay::~MiniDisplay()
    3.17 +{
    3.18 +}
    3.19 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/MiniDisplay/minidisplay.h	Tue May 27 17:14:22 2014 +0200
     4.3 @@ -0,0 +1,17 @@
     4.4 +#ifndef MINIDISPLAY_H
     4.5 +#define MINIDISPLAY_H
     4.6 +
     4.7 +#include <QQuickItem>
     4.8 +
     4.9 +class MiniDisplay : public QQuickItem
    4.10 +{
    4.11 +    Q_OBJECT
    4.12 +    Q_DISABLE_COPY(MiniDisplay)
    4.13 +
    4.14 +public:
    4.15 +    MiniDisplay(QQuickItem *parent = 0);
    4.16 +    ~MiniDisplay();
    4.17 +};
    4.18 +
    4.19 +#endif // MINIDISPLAY_H
    4.20 +
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/MiniDisplay/minidisplay.pro	Tue May 27 17:14:22 2014 +0200
     5.3 @@ -0,0 +1,44 @@
     5.4 +TEMPLATE = lib
     5.5 +TARGET = MiniDisplay
     5.6 +QT += qml quick
     5.7 +CONFIG += qt plugin
     5.8 +
     5.9 +#DESTDIR = ../MiniDisplay
    5.10 +
    5.11 +# Avoid going to debug/release subdirectory
    5.12 +# so that our application will see the
    5.13 +# import path for the MiniDisplay module.
    5.14 +win32: DESTDIR = ./
    5.15 +
    5.16 +
    5.17 +TARGET = $$qtLibraryTarget($$TARGET)
    5.18 +#uri = com.slions.minidisplay
    5.19 +uri = MiniDisplay
    5.20 +
    5.21 +# Input
    5.22 +SOURCES += \
    5.23 +    minidisplay_plugin.cpp \
    5.24 +    minidisplay.cpp
    5.25 +
    5.26 +HEADERS += \
    5.27 +    minidisplay_plugin.h \
    5.28 +    minidisplay.h
    5.29 +
    5.30 +OTHER_FILES = qmldir
    5.31 +
    5.32 +!equals(_PRO_FILE_PWD_, $$OUT_PWD) {
    5.33 +    copy_qmldir.target = $$OUT_PWD/qmldir
    5.34 +    copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
    5.35 +    copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
    5.36 +    QMAKE_EXTRA_TARGETS += copy_qmldir
    5.37 +    PRE_TARGETDEPS += $$copy_qmldir.target
    5.38 +}
    5.39 +
    5.40 +qmldir.files = qmldir
    5.41 +unix {
    5.42 +    installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)
    5.43 +    qmldir.path = $$installPath
    5.44 +    target.path = $$installPath
    5.45 +    INSTALLS += target qmldir
    5.46 +}
    5.47 +
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/MiniDisplay/minidisplay_plugin.cpp	Tue May 27 17:14:22 2014 +0200
     6.3 @@ -0,0 +1,12 @@
     6.4 +#include "minidisplay_plugin.h"
     6.5 +#include "minidisplay.h"
     6.6 +
     6.7 +#include <qqml.h>
     6.8 +
     6.9 +void MiniDisplayPlugin::registerTypes(const char *uri)
    6.10 +{
    6.11 +    // @uri com.slions.minidisplay
    6.12 +    qmlRegisterType<MiniDisplay>(uri, 1, 0, "MiniDisplay");
    6.13 +}
    6.14 +
    6.15 +
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/MiniDisplay/minidisplay_plugin.h	Tue May 27 17:14:22 2014 +0200
     7.3 @@ -0,0 +1,16 @@
     7.4 +#ifndef MINIDISPLAY_PLUGIN_H
     7.5 +#define MINIDISPLAY_PLUGIN_H
     7.6 +
     7.7 +#include <QQmlExtensionPlugin>
     7.8 +
     7.9 +class MiniDisplayPlugin : public QQmlExtensionPlugin
    7.10 +{
    7.11 +    Q_OBJECT
    7.12 +    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
    7.13 +
    7.14 +public:
    7.15 +    void registerTypes(const char *uri);
    7.16 +};
    7.17 +
    7.18 +#endif // MINIDISPLAY_PLUGIN_H
    7.19 +
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/MiniDisplay/qmldir	Tue May 27 17:14:22 2014 +0200
     8.3 @@ -0,0 +1,3 @@
     8.4 +module MiniDisplay
     8.5 +plugin MiniDisplay
     8.6 +
     9.1 --- a/MiniDisplayManager.pro	Tue May 27 13:08:12 2014 +0200
     9.2 +++ b/MiniDisplayManager.pro	Tue May 27 17:14:22 2014 +0200
     9.3 @@ -1,19 +1,5 @@
     9.4 -TEMPLATE = app
     9.5 -
     9.6 -QT += qml quick widgets
     9.7 -
     9.8 -SOURCES += main.cpp
     9.9 -
    9.10 -RESOURCES += \
    9.11 -    qml.qrc
    9.12 -
    9.13 -# Additional import path used to resolve QML modules in Qt Creator's code model
    9.14 -QML_IMPORT_PATH =
    9.15 -
    9.16 -# Default rules for deployment.
    9.17 -include(deployment.pri)
    9.18 -
    9.19 -OTHER_FILES += \
    9.20 -    FontsTab.qml \
    9.21 -    main.qml \
    9.22 -    TestsTab.qml
    9.23 +TEMPLATE = subdirs
    9.24 +CONFIG += ordered
    9.25 +SUBDIRS = \
    9.26 +          MiniDisplay \
    9.27 +          Manager.pro
    10.1 --- a/MiniDisplayManager.pro.user	Tue May 27 13:08:12 2014 +0200
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,251 +0,0 @@
    10.4 -<?xml version="1.0" encoding="UTF-8"?>
    10.5 -<!DOCTYPE QtCreatorProject>
    10.6 -<!-- Written by QtCreator 3.1.1, 2014-05-27T13:07:15. -->
    10.7 -<qtcreator>
    10.8 - <data>
    10.9 -  <variable>ProjectExplorer.Project.ActiveTarget</variable>
   10.10 -  <value type="int">0</value>
   10.11 - </data>
   10.12 - <data>
   10.13 -  <variable>ProjectExplorer.Project.EditorSettings</variable>
   10.14 -  <valuemap type="QVariantMap">
   10.15 -   <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
   10.16 -   <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
   10.17 -   <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
   10.18 -   <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
   10.19 -    <value type="QString" key="language">Cpp</value>
   10.20 -    <valuemap type="QVariantMap" key="value">
   10.21 -     <value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
   10.22 -    </valuemap>
   10.23 -   </valuemap>
   10.24 -   <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
   10.25 -    <value type="QString" key="language">QmlJS</value>
   10.26 -    <valuemap type="QVariantMap" key="value">
   10.27 -     <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
   10.28 -    </valuemap>
   10.29 -   </valuemap>
   10.30 -   <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
   10.31 -   <value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
   10.32 -   <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
   10.33 -   <value type="int" key="EditorConfiguration.IndentSize">4</value>
   10.34 -   <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
   10.35 -   <value type="int" key="EditorConfiguration.MarginColumn">80</value>
   10.36 -   <value type="bool" key="EditorConfiguration.MouseHiding">true</value>
   10.37 -   <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
   10.38 -   <value type="int" key="EditorConfiguration.PaddingMode">1</value>
   10.39 -   <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
   10.40 -   <value type="bool" key="EditorConfiguration.ShowMargin">false</value>
   10.41 -   <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
   10.42 -   <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
   10.43 -   <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
   10.44 -   <value type="int" key="EditorConfiguration.TabSize">8</value>
   10.45 -   <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
   10.46 -   <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
   10.47 -   <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
   10.48 -   <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
   10.49 -   <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
   10.50 -   <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
   10.51 -  </valuemap>
   10.52 - </data>
   10.53 - <data>
   10.54 -  <variable>ProjectExplorer.Project.PluginSettings</variable>
   10.55 -  <valuemap type="QVariantMap"/>
   10.56 - </data>
   10.57 - <data>
   10.58 -  <variable>ProjectExplorer.Project.Target.0</variable>
   10.59 -  <valuemap type="QVariantMap">
   10.60 -   <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.3.0 MSVC2012 OpenGL 32bit</value>
   10.61 -   <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.3.0 MSVC2012 OpenGL 32bit</value>
   10.62 -   <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.53.win32_msvc2012_opengl_kit</value>
   10.63 -   <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
   10.64 -   <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
   10.65 -   <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
   10.66 -   <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
   10.67 -    <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:/Dev/Qt/build-MiniDisplayManager-Desktop_Qt_5_3_0_MSVC2012_OpenGL_32bit-Debug</value>
   10.68 -    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
   10.69 -     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
   10.70 -      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
   10.71 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
   10.72 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
   10.73 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
   10.74 -      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
   10.75 -      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
   10.76 -      <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
   10.77 -      <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
   10.78 -     </valuemap>
   10.79 -     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
   10.80 -      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
   10.81 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
   10.82 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
   10.83 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
   10.84 -      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
   10.85 -      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
   10.86 -      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
   10.87 -      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
   10.88 -     </valuemap>
   10.89 -     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
   10.90 -     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
   10.91 -     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
   10.92 -     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
   10.93 -    </valuemap>
   10.94 -    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
   10.95 -     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
   10.96 -      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
   10.97 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
   10.98 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
   10.99 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
  10.100 -      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
  10.101 -      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
  10.102 -      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
  10.103 -      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
  10.104 -     </valuemap>
  10.105 -     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
  10.106 -     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
  10.107 -     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  10.108 -     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
  10.109 -    </valuemap>
  10.110 -    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
  10.111 -    <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
  10.112 -    <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
  10.113 -    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
  10.114 -    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  10.115 -    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
  10.116 -    <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
  10.117 -    <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
  10.118 -   </valuemap>
  10.119 -   <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
  10.120 -    <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">D:/Dev/Qt/build-MiniDisplayManager-Desktop_Qt_5_3_0_MSVC2012_OpenGL_32bit-Release</value>
  10.121 -    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
  10.122 -     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
  10.123 -      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
  10.124 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
  10.125 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  10.126 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
  10.127 -      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
  10.128 -      <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
  10.129 -      <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
  10.130 -      <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
  10.131 -     </valuemap>
  10.132 -     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
  10.133 -      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
  10.134 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
  10.135 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  10.136 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
  10.137 -      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
  10.138 -      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
  10.139 -      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
  10.140 -      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
  10.141 -     </valuemap>
  10.142 -     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
  10.143 -     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
  10.144 -     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  10.145 -     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
  10.146 -    </valuemap>
  10.147 -    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
  10.148 -     <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
  10.149 -      <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
  10.150 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
  10.151 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  10.152 -      <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
  10.153 -      <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
  10.154 -      <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
  10.155 -      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
  10.156 -      <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
  10.157 -     </valuemap>
  10.158 -     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
  10.159 -     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
  10.160 -     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  10.161 -     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
  10.162 -    </valuemap>
  10.163 -    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
  10.164 -    <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
  10.165 -    <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
  10.166 -    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
  10.167 -    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  10.168 -    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
  10.169 -    <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
  10.170 -    <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
  10.171 -   </valuemap>
  10.172 -   <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
  10.173 -   <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
  10.174 -    <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
  10.175 -     <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
  10.176 -     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
  10.177 -     <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  10.178 -     <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
  10.179 -    </valuemap>
  10.180 -    <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
  10.181 -    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy locally</value>
  10.182 -    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
  10.183 -    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
  10.184 -   </valuemap>
  10.185 -   <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
  10.186 -   <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
  10.187 -   <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
  10.188 -    <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
  10.189 -    <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
  10.190 -    <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
  10.191 -    <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
  10.192 -    <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
  10.193 -    <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
  10.194 -    <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
  10.195 -    <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
  10.196 -    <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
  10.197 -    <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
  10.198 -    <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
  10.199 -    <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
  10.200 -    <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
  10.201 -    <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
  10.202 -    <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
  10.203 -    <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
  10.204 -    <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
  10.205 -    <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
  10.206 -     <value type="int">0</value>
  10.207 -     <value type="int">1</value>
  10.208 -     <value type="int">2</value>
  10.209 -     <value type="int">3</value>
  10.210 -     <value type="int">4</value>
  10.211 -     <value type="int">5</value>
  10.212 -     <value type="int">6</value>
  10.213 -     <value type="int">7</value>
  10.214 -     <value type="int">8</value>
  10.215 -     <value type="int">9</value>
  10.216 -     <value type="int">10</value>
  10.217 -     <value type="int">11</value>
  10.218 -     <value type="int">12</value>
  10.219 -     <value type="int">13</value>
  10.220 -     <value type="int">14</value>
  10.221 -    </valuelist>
  10.222 -    <value type="int" key="PE.EnvironmentAspect.Base">2</value>
  10.223 -    <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
  10.224 -    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">MiniDisplayManager</value>
  10.225 -    <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">MiniDisplayManager2</value>
  10.226 -    <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:D:/Dev/slions.net/MiniDisplayManager/MiniDisplayManager.pro</value>
  10.227 -    <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
  10.228 -    <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">MiniDisplayManager.pro</value>
  10.229 -    <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
  10.230 -    <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
  10.231 -    <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
  10.232 -    <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
  10.233 -    <value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
  10.234 -    <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
  10.235 -    <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
  10.236 -    <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
  10.237 -    <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
  10.238 -   </valuemap>
  10.239 -   <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
  10.240 -  </valuemap>
  10.241 - </data>
  10.242 - <data>
  10.243 -  <variable>ProjectExplorer.Project.TargetCount</variable>
  10.244 -  <value type="int">1</value>
  10.245 - </data>
  10.246 - <data>
  10.247 -  <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
  10.248 -  <value type="QByteArray">{acc65bd0-f32a-4e5c-a5a8-5fb52e4a9cd9}</value>
  10.249 - </data>
  10.250 - <data>
  10.251 -  <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
  10.252 -  <value type="int">15</value>
  10.253 - </data>
  10.254 -</qtcreator>
    11.1 --- a/main.qml	Tue May 27 13:08:12 2014 +0200
    11.2 +++ b/main.qml	Tue May 27 17:14:22 2014 +0200
    11.3 @@ -37,7 +37,11 @@
    11.4      TabView {
    11.5          anchors.fill: parent
    11.6          anchors.margins: 8
    11.7 -        Tab {            
    11.8 +        Tab {
    11.9 +            title: qsTr("Display")
   11.10 +            DisplayTab { anchors.fill: parent }
   11.11 +        }
   11.12 +        Tab {
   11.13              title: qsTr("Fonts")
   11.14              FontsTab { anchors.fill: parent }
   11.15          }
    12.1 --- a/qml.qrc	Tue May 27 13:08:12 2014 +0200
    12.2 +++ b/qml.qrc	Tue May 27 17:14:22 2014 +0200
    12.3 @@ -3,5 +3,6 @@
    12.4          <file>main.qml</file>
    12.5          <file>FontsTab.qml</file>
    12.6          <file>TestsTab.qml</file>
    12.7 +        <file>DisplayTab.qml</file>
    12.8      </qresource>
    12.9  </RCC>