diff options
Diffstat (limited to 'examples/uml/duse-mt/src/plugins/welcomedashboard')
8 files changed, 0 insertions, 226 deletions
diff --git a/examples/uml/duse-mt/src/plugins/welcomedashboard/qml/duse-mt-64x64.png b/examples/uml/duse-mt/src/plugins/welcomedashboard/qml/duse-mt-64x64.png Binary files differdeleted file mode 100644 index ec26192f..00000000 --- a/examples/uml/duse-mt/src/plugins/welcomedashboard/qml/duse-mt-64x64.png +++ /dev/null diff --git a/examples/uml/duse-mt/src/plugins/welcomedashboard/qml/welcomedashboard.qml b/examples/uml/duse-mt/src/plugins/welcomedashboard/qml/welcomedashboard.qml deleted file mode 100644 index 7dab38df..00000000 --- a/examples/uml/duse-mt/src/plugins/welcomedashboard/qml/welcomedashboard.qml +++ /dev/null @@ -1,58 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Sandro S. Andrade <sandroandrade@kde.org> -** Contact: http://www.qt-project.org/legal -** -** This file is part of the QtUml module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, 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, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU General Public License version 3.0 requirements will be -** met: http://www.gnu.org/copyleft/gpl.html. -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ -import QtQuick 2.0 - -Rectangle { - Row { - anchors { left: parent.left; right: parent.right; top: parent.top; margins: 20 } - spacing: 10 - Image { - id: duseIcon - source: "duse-mt-64x64.png" - } - Text { - text: "Welcome to DuSE-MT !" - font { family: "Korolev"; pointSize: 20 } - height: duseIcon.height - verticalAlignment: Text.AlignVCenter - } - } -} diff --git a/examples/uml/duse-mt/src/plugins/welcomedashboard/qml/welcomedashboard.qrc b/examples/uml/duse-mt/src/plugins/welcomedashboard/qml/welcomedashboard.qrc deleted file mode 100644 index 6dcf2323..00000000 --- a/examples/uml/duse-mt/src/plugins/welcomedashboard/qml/welcomedashboard.qrc +++ /dev/null @@ -1,6 +0,0 @@ -<RCC> - <qresource prefix="/welcomedashboard"> - <file>welcomedashboard.qml</file> - <file>duse-mt-64x64.png</file> - </qresource> -</RCC> diff --git a/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboard.json b/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboard.json deleted file mode 100644 index bc146657..00000000 --- a/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboard.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "Category": "Dashboards", - "Vendor": "Qt Project", - "Version": "1.0" -} diff --git a/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboard.pro b/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboard.pro deleted file mode 100644 index d7f0cc1d..00000000 --- a/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboard.pro +++ /dev/null @@ -1,17 +0,0 @@ -#------------------------------------------------- -# -# Project created by QtCreator 2013-10-25T17:38:51 -# -#------------------------------------------------- - -QT += quick widgets - -include(../../duse-mt-plugin.pri) - -SOURCES += welcomedashboardplugin.cpp - -HEADERS += welcomedashboardplugin.h - -RESOURCES += qml/welcomedashboard.qrc - -OTHER_FILES += welcomedashboard.json diff --git a/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboard_dependencies.pri b/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboard_dependencies.pri deleted file mode 100644 index 3c4a11a1..00000000 --- a/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboard_dependencies.pri +++ /dev/null @@ -1 +0,0 @@ -DUSEMT_PLUGIN_NAME = WelcomeDashboard diff --git a/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboardplugin.cpp b/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboardplugin.cpp deleted file mode 100644 index 6a893d30..00000000 --- a/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboardplugin.cpp +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Sandro S. Andrade <sandroandrade@kde.org> -** Contact: http://www.qt-project.org/legal -** -** This file is part of the QtUml module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, 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, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU General Public License version 3.0 requirements will be -** met: http://www.gnu.org/copyleft/gpl.html. -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ -#include "welcomedashboardplugin.h" - -#include <duseinterfaces/iuicontroller.h> - -#include <QtQuick/QQuickView> - -#include <QtWidgets/QWidget> - -namespace DuSE -{ - -WelcomeDashboardPlugin::WelcomeDashboardPlugin(QObject *parent) : - IPlugin(parent), - _welcomeQuickView(new QQuickView) -{ -} - -bool WelcomeDashboardPlugin::initialize() -{ - _welcomeQuickView->setSource(QUrl("qrc:/welcomedashboard/welcomedashboard.qml")); - _welcomeQuickView->setResizeMode(QQuickView::SizeRootObjectToView); - - ICore::self()->uiController()->addCentralWidgetTab(QWidget::createWindowContainer(_welcomeQuickView), "Welcome", 0); - - return true; -} - -} - diff --git a/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboardplugin.h b/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboardplugin.h deleted file mode 100644 index 26790841..00000000 --- a/examples/uml/duse-mt/src/plugins/welcomedashboard/welcomedashboardplugin.h +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Sandro S. Andrade <sandroandrade@kde.org> -** Contact: http://www.qt-project.org/legal -** -** This file is part of the QtUml module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, 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, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU General Public License version 3.0 requirements will be -** met: http://www.gnu.org/copyleft/gpl.html. -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ -#ifndef WELCOMEDASHBOARDPLUGIN_H -#define WELCOMEDASHBOARDPLUGIN_H - -#include <duseinterfaces/iplugin.h> - -QT_BEGIN_NAMESPACE -class QQuickView; -QT_END_NAMESPACE - -namespace DuSE -{ - -class WelcomeDashboardPlugin : public IPlugin -{ - Q_OBJECT - Q_PLUGIN_METADATA(IID "org.liveblue.DuSE.IPlugin" FILE "welcomedashboard.json") - -public: - WelcomeDashboardPlugin(QObject *parent = 0); - - virtual bool initialize(); - -private: - QQuickView *_welcomeQuickView; -}; - -} - -#endif // WELCOMEDASHBOARDPLUGIN_H - |