--- /dev/null
+<metainfo>
+ <node name="QtDesktop.Button" icon=":/desktopplugin/images/button16.png">
+ <itemlibraryentry name="Button" category="Components Desktop" libraryIcon=":/desktopplugin/images/button.png" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="100"/>
+ <property name="height" type="int" value="30"/>
+ <property name="text" type="QString" value="Button"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.ComboBox" icon=":/desktopplugin/images/button16.png">
+ <itemlibraryentry name="ComboBox" category="Components Desktop" libraryIcon=":/desktopplugin/images/button.png" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="100"/>
+ <property name="height" type="int" value="30"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.ToolButton" icon=":/desktopplugin/images/button16.png">
+ <itemlibraryentry name="ToolButton" category="Components Desktop" libraryIcon=":/desktopplugin/images/button.png" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="100"/>
+ <property name="height" type="int" value="30"/>
+ <property name="text" type="QString" value="Button"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.CheckBox" icon=":/desktopplugin/images/checkbox16.png">
+ <itemlibraryentry name="CheckBox" category="Components Desktop" libraryIcon=":/desktopplugin/images/checkbox.png" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="180"/>
+ <property name="height" type="int" value="30"/>
+ <property name="text" type="QString" value="CheckBox"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.ChoiceList" icon=":/desktopplugin/images/choicelist16.png">
+ <itemlibraryentry name="ChoiceList" category="Components Desktop" libraryIcon=":/desktopplugin/images/choicelist.png" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="180"/>
+ <property name="height" type="int" value="40"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.ProgressBar" icon=":/desktopplugin/images/progressbar16.png">
+ <itemlibraryentry name="ProgressBar" category="Components Desktop" libraryIcon=":/desktopplugin/images/progressbar.png" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="100"/>
+ <property name="height" type="int" value="30"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.SpinBox">
+ <itemlibraryentry name="SpinBox" category="Components Desktop" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="100"/>
+ <property name="height" type="int" value="30"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.Dial">
+ <itemlibraryentry name="Dial" category="Components Desktop" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="100"/>
+ <property name="height" type="int" value="100"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.SplitterRow">
+ <itemlibraryentry name="SplitterRow" category="Components Desktop" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="200"/>
+ <property name="height" type="int" value="200"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.RadioButton" icon=":/desktopplugin/images/radiobutton16.png">
+ <itemlibraryentry name="RadioButton" category="Components Desktop" libraryIcon=":/desktopplugin/images/radiobutton.png" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="180"/>
+ <property name="height" type="int" value="30"/>
+ <property name="text" type="QString" value="RadioButton"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.TextArea" icon=":/desktopplugin/images/textarea16.png">
+ <itemlibraryentry name="TextArea" category="Components Desktop" libraryIcon=":/desktopplugin/images/textarea.png" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="180"/>
+ <property name="height" type="int" value="180"/>
+ <property name="text" type="QString" value="TextArea"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.ButtonRow" icon=":/desktopplugin/images/buttonrow16.png">
+ <itemlibraryentry name="ButtonRow" category="Components Desktop" libraryIcon=":/desktopplugin/images/buttonrow.png" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="120"/>
+ <property name="height" type="int" value="20"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.TabBar" icon=":/desktopplugin/images/tabbar16.png">
+ <itemlibraryentry name="TabBar" category="Components Desktop" libraryIcon=":/desktopplugin/images/tabbar.png" version="0.1" requiredImport="QtDesktop">
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.Slider" icon=":/desktopplugin/images/slider16.png">
+ <itemlibraryentry name="Slider (horizontal)" category="Components Desktop" libraryIcon=":/desktopplugin/images/slider.png" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="180"/>
+ <property name="height" type="int" value="30"/>
+ <property name="orientation" type="int" value="1"/>
+ </itemlibraryentry>
+ <itemlibraryentry name="Slider (vertical)" category="Components Desktop" libraryIcon=":/desktopplugin/images/sliderh.png" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="30"/>
+ <property name="height" type="int" value="180"/>
+ <property name="orientation" type="int" value="2"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.ScrollBar">
+ <itemlibraryentry name="ScrollBar (horizontal)" category="Components Desktop" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="180"/>
+ <property name="height" type="int" value="30"/>
+ <property name="orientation" type="int" value="1"/>
+ </itemlibraryentry>
+ <itemlibraryentry name="ScrollBar (vertical)" category="Components Desktop" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="30"/>
+ <property name="height" type="int" value="180"/>
+ <property name="orientation" type="int" value="2"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.TabFrame" icon=":/desktopplugin//images/window16.png">
+ <itemlibraryentry name="TabGroup" category="Components Desktop" libraryIcon=":/desktopplugin/images/window.png" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="360"/>
+ <property name="height" type="int" value="40"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.ScrollArea">
+ <itemlibraryentry name="ScrollArea" category="Components Desktop" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="300"/>
+ <property name="height" type="int" value="300"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.GroupBox">
+ <itemlibraryentry name="GroupBox" category="Components Desktop" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="300"/>
+ <property name="height" type="int" value="300"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.Frame">
+ <itemlibraryentry name="Frame" category="Components Desktop" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="300"/>
+ <property name="height" type="int" value="300"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.ToolBar" icon=":/desktopplugin/images/toolbar16.png">
+ <itemlibraryentry name="ToolBar" category="Components Desktop" libraryIcon=":/desktopplugin/images/toolbar.png" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="300"/>
+ <property name="height" type="int" value="50"/>
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.Switch" icon=":/desktopplugin/images/switchbutton16.png">
+ <itemlibraryentry name="Switch" category="Components Desktop" libraryIcon=":/desktopplugin/images/switchbutton.png" version="0.1" requiredImport="QtDesktop">
+ </itemlibraryentry>
+ </node>
+ <node name="QtDesktop.TextField" icon=":/desktopplugin/images/textfield16.png">
+ <itemlibraryentry name="TextField" category="Components Desktop" libraryIcon=":/desktopplugin/images/textfield.png" version="0.1" requiredImport="QtDesktop">
+ <property name="width" type="int" value="180"/>
+ <property name="height" type="int" value="50"/>
+ <property name="text" type="QString" value="TextField"/>
+ </itemlibraryentry>
+ </node>
+</metainfo>
--- /dev/null
+/**************************************************************************
+**
+** This file is part of Qt Creator
+**
+** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
+**
+** Contact: Nokia Corporation (info@qt.nokia.com)
+**
+**
+** GNU Lesser General Public License Usage
+**
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this file.
+** Please review the following information to ensure the GNU Lesser General
+** Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights. These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** Other Usage
+**
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at info@qt.nokia.com.
+**
+**************************************************************************/
+
+#include "desktopplugin.h"
+#include <widgetplugin_helper.h>
+#include <QtCore/QtPlugin>
+
+namespace QmlDesigner {
+
+
+DesktopPlugin::DesktopPlugin()
+{
+}
+
+QString DesktopPlugin::pluginName()
+{
+ return ("DesktopPlugin");
+}
+
+QString DesktopPlugin::metaInfo()
+{
+ return QString(":/desktopplugin/desktop.metainfo");
+}
+
+}
+
+Q_EXPORT_PLUGIN(QmlDesigner::DesktopPlugin)
+
--- /dev/null
+/**************************************************************************
+**
+** This file is part of Qt Creator
+**
+** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
+**
+** Contact: Nokia Corporation (info@qt.nokia.com)
+**
+**
+** GNU Lesser General Public License Usage
+**
+** This file may be used under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation and
+** appearing in the file LICENSE.LGPL included in the packaging of this file.
+** Please review the following information to ensure the GNU Lesser General
+** Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights. These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** Other Usage
+**
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at info@qt.nokia.com.
+**
+**************************************************************************/
+
+#ifndef DESKTOPPLUGIN_H
+#define DESKTOPPLUGIN_H
+
+#include <iwidgetplugin.h>
+#include <QtDeclarative/qdeclarative.h>
+
+QT_BEGIN_NAMESPACE
+QT_END_NAMESPACE
+
+namespace QmlDesigner {
+
+class DesktopPlugin : public QObject, QmlDesigner::IWidgetPlugin
+{
+ Q_OBJECT
+ Q_DISABLE_COPY(DesktopPlugin)
+ Q_INTERFACES(QmlDesigner::IWidgetPlugin)
+public:
+ DesktopPlugin();
+ ~DesktopPlugin() {}
+
+ QString metaInfo();
+ QString pluginName();
+
+};
+
+} // namespace QmlDesigner
+
+
+#endif // DESKTOPPLUGIN_H
--- /dev/null
+<RCC>
+ <qresource prefix="/desktopplugin">
+ <file>desktop.metainfo</file>
+ <file>images/item-icon16.png</file>
+ <file>images/item-icon.png</file>
+ <file>images/button.png</file>
+ <file>images/button16.png</file>
+ <file>images/checkbox16.png</file>
+ <file>images/checkbox.png</file>
+ <file>images/choicelist16.png</file>
+ <file>images/choicelist.png</file>
+ <file>images/progressbar.png</file>
+ <file>images/progressbar16.png</file>
+ <file>images/radiobutton.png</file>
+ <file>images/radiobutton16.png</file>
+ <file>images/slider.png</file>
+ <file>images/slider16.png</file>
+ <file>images/textarea16.png</file>
+ <file>images/textarea.png</file>
+ <file>images/textfield16.png</file>
+ <file>images/textfield.png</file>
+ <file>images/window16.png</file>
+ <file>images/window.png</file>
+ <file>images/tabbutton16.png</file>
+ <file>images/tabbutton.png</file>
+ <file>images/busyindicator16.png</file>
+ <file>images/busyindicator.png</file>
+ <file>images/sliderh16.png</file>
+ <file>images/sliderh.png</file>
+ <file>images/switchbutton16.png</file>
+ <file>images/switchbutton.png</file>
+ <file>images/buttonrow.png</file>
+ <file>images/buttonrow16.png</file>
+ <file>images/tabbar.png</file>
+ <file>images/tabbar16.png</file>
+ <file>images/toolbar.png</file>
+ <file>images/toolbar16.png</file>
+ <file>images/buttoncolumn.png</file>
+ <file>images/buttoncolumn16.png</file>
+ </qresource>
+</RCC>