Inital commit of the Komplex Hub
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2023 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** This file is part of Qt Quick Ultralite compatibility.
|
||||
**
|
||||
** $QT_BEGIN_LICENSE:GPL$
|
||||
** 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 The Qt Company. For licensing terms
|
||||
** and conditions see https://www.qt.io/terms-conditions. For further
|
||||
** information use the contact form at https://www.qt.io/contact-us.
|
||||
**
|
||||
** GNU General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU
|
||||
** General Public License version 3 or (at your option) any later version
|
||||
** approved by the KDE Free Qt Foundation. The licenses are as published by
|
||||
** the Free Software Foundation and appearing in the file LICENSE.GPL3
|
||||
** included in the packaging of this file. Please review the following
|
||||
** information to ensure the GNU General Public License requirements will
|
||||
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.15
|
||||
//! [AnimatedSpriteDirectory compatibility]
|
||||
// Draws a sprite animation stored in a directory.
|
||||
Item {
|
||||
property int currentFrame: 0
|
||||
property int frameDuration: 0
|
||||
property int loops: -1 //-1 = AnimatedSpriteDirectory.Infinite
|
||||
property bool running: true
|
||||
property bool paused: false
|
||||
property string sourcePath
|
||||
|
||||
signal finished
|
||||
|
||||
function advance() {}
|
||||
function pause() {}
|
||||
function restart() {}
|
||||
function resume() {}
|
||||
function start() {}
|
||||
function stop() {}
|
||||
}
|
||||
//! [AnimatedSpriteDirectory compatibility]
|
||||
@@ -0,0 +1,58 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2023 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** This file is part of Qt Quick Ultralite compatibility.
|
||||
**
|
||||
** $QT_BEGIN_LICENSE:GPL$
|
||||
** 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 The Qt Company. For licensing terms
|
||||
** and conditions see https://www.qt.io/terms-conditions. For further
|
||||
** information use the contact form at https://www.qt.io/contact-us.
|
||||
**
|
||||
** GNU General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU
|
||||
** General Public License version 3 or (at your option) any later version
|
||||
** approved by the KDE Free Qt Foundation. The licenses are as published by
|
||||
** the Free Software Foundation and appearing in the file LICENSE.GPL3
|
||||
** included in the packaging of this file. Please review the following
|
||||
** information to ensure the GNU General Public License requirements will
|
||||
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.12
|
||||
import Qt5Compat.GraphicalEffects
|
||||
//! [ColorizedImage compatibility]
|
||||
// Displays a colorized image.
|
||||
Item {
|
||||
id: colorizedRoot
|
||||
implicitHeight: img.implicitHeight
|
||||
implicitWidth: img.implicitWidth
|
||||
|
||||
property alias color: colorize.color
|
||||
property alias source: img.source
|
||||
property alias fillMode: img.fillMode
|
||||
property alias horizontalAlignment: img.horizontalAlignment
|
||||
property alias verticalAlignment: img.verticalAlignment
|
||||
|
||||
Image {
|
||||
id: img
|
||||
anchors.fill: parent
|
||||
visible: false
|
||||
}
|
||||
|
||||
ColorOverlay {
|
||||
id: colorize
|
||||
anchors.fill: img
|
||||
color: "transparent"
|
||||
source: img
|
||||
}
|
||||
}
|
||||
//! [ColorizedImage compatibility]
|
||||
@@ -0,0 +1,37 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2023 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** This file is part of Qt Quick Ultralite compatibility.
|
||||
**
|
||||
** $QT_BEGIN_LICENSE:GPL$
|
||||
** 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 The Qt Company. For licensing terms
|
||||
** and conditions see https://www.qt.io/terms-conditions. For further
|
||||
** information use the contact form at https://www.qt.io/contact-us.
|
||||
**
|
||||
** GNU General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU
|
||||
** General Public License version 3 or (at your option) any later version
|
||||
** approved by the KDE Free Qt Foundation. The licenses are as published by
|
||||
** the Free Software Foundation and appearing in the file LICENSE.GPL3
|
||||
** included in the packaging of this file. Please review the following
|
||||
** information to ensure the GNU General Public License requirements will
|
||||
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.12
|
||||
//! [ItemBuffer compatibility]
|
||||
Item {
|
||||
enum ExtraFlag { RedrawItemBufferFlag = 1 }
|
||||
// property Transform transform; //in regular QML this property is already provided by QtQuick.Item
|
||||
property bool useAlphaChannel;
|
||||
}
|
||||
//! [ItemBuffer compatibility]
|
||||
@@ -0,0 +1,8 @@
|
||||
import QtQuick.tooling 1.2
|
||||
|
||||
// This file describes the plugin-supplied types contained in the library.
|
||||
// It is used for QML tooling purposes only.
|
||||
//
|
||||
// This file was auto-generated by qmltyperegistrar.
|
||||
|
||||
Module {}
|
||||
@@ -0,0 +1,6 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file alias="/qt-project.org/imports/QtQuickUltralite/Extras">/home/parametheus/Projects/QtDesigner/KomplexHub/build/qml/QtQuickUltralite/Extras</file>
|
||||
|
||||
</qresource>
|
||||
</RCC>
|
||||
@@ -0,0 +1,50 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2023 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** This file is part of Qt Quick Ultralite compatibility.
|
||||
**
|
||||
** $QT_BEGIN_LICENSE:GPL$
|
||||
** 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 The Qt Company. For licensing terms
|
||||
** and conditions see https://www.qt.io/terms-conditions. For further
|
||||
** information use the contact form at https://www.qt.io/contact-us.
|
||||
**
|
||||
** GNU General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU
|
||||
** General Public License version 3 or (at your option) any later version
|
||||
** approved by the KDE Free Qt Foundation. The licenses are as published by
|
||||
** the Free Software Foundation and appearing in the file LICENSE.GPL3
|
||||
** included in the packaging of this file. Please review the following
|
||||
** information to ensure the GNU General Public License requirements will
|
||||
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
pragma Singleton
|
||||
|
||||
import QtQuick 2.12
|
||||
//! [QulPerf compatibility]
|
||||
// Holds information about application performance.
|
||||
// This data is only available if Qt Quick Ultralite is compiled with QUL_ENABLE_PERFORMANCE_LOGGING.
|
||||
// Properties will be updated every two seconds.
|
||||
// All properties are read-only.
|
||||
QtObject {
|
||||
readonly property bool enabled: false
|
||||
readonly property real fps: 0
|
||||
readonly property real imageBlend: 0
|
||||
readonly property real imageTransform: 0
|
||||
readonly property int maxDirtyNodes: 0
|
||||
readonly property real rectBlend: 0
|
||||
readonly property real rectFill: 0
|
||||
readonly property real rectRounded: 0
|
||||
readonly property real repaint: 0
|
||||
readonly property real textBlend: 0
|
||||
readonly property real textLayout: 0
|
||||
}
|
||||
//! [QulPerf compatibility]
|
||||
@@ -0,0 +1,35 @@
|
||||
/****************************************************************************
|
||||
**
|
||||
** Copyright (C) 2023 The Qt Company Ltd.
|
||||
** Contact: https://www.qt.io/licensing/
|
||||
**
|
||||
** This file is part of Qt Quick Ultralite compatibility.
|
||||
**
|
||||
** $QT_BEGIN_LICENSE:GPL$
|
||||
** 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 The Qt Company. For licensing terms
|
||||
** and conditions see https://www.qt.io/terms-conditions. For further
|
||||
** information use the contact form at https://www.qt.io/contact-us.
|
||||
**
|
||||
** GNU General Public License Usage
|
||||
** Alternatively, this file may be used under the terms of the GNU
|
||||
** General Public License version 3 or (at your option) any later version
|
||||
** approved by the KDE Free Qt Foundation. The licenses are as published by
|
||||
** the Free Software Foundation and appearing in the file LICENSE.GPL3
|
||||
** included in the packaging of this file. Please review the following
|
||||
** information to ensure the GNU General Public License requirements will
|
||||
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
||||
**
|
||||
** $QT_END_LICENSE$
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
import QtQuick 2.15
|
||||
//! [StaticText compatibility]
|
||||
// Enables optimized drawing of text.
|
||||
Text {
|
||||
}
|
||||
//! [StaticText compatibility]
|
||||
Binary file not shown.
@@ -0,0 +1,23 @@
|
||||
module QtQuickUltralite.Extras
|
||||
linktarget QuickUltraLiteStudioExtrasplugin
|
||||
optional plugin QuickUltraLiteStudioExtrasplugin
|
||||
classname QtQuickUltralite_ExtrasPlugin
|
||||
designersupported
|
||||
typeinfo QuickUltraLiteStudioExtras.qmltypes
|
||||
prefer :/qt-project.org/imports/QtQuickUltralite/Extras/
|
||||
AnimatedSpriteDirectory 254.0 AnimatedSpriteDirectory.qml
|
||||
AnimatedSpriteDirectory 1.0 AnimatedSpriteDirectory.qml
|
||||
AnimatedSpriteDirectory 2.0 AnimatedSpriteDirectory.qml
|
||||
ColorizedImage 254.0 ColorizedImage.qml
|
||||
ColorizedImage 1.0 ColorizedImage.qml
|
||||
ColorizedImage 2.0 ColorizedImage.qml
|
||||
ItemBuffer 254.0 ItemBuffer.qml
|
||||
ItemBuffer 1.0 ItemBuffer.qml
|
||||
ItemBuffer 2.0 ItemBuffer.qml
|
||||
StaticText 254.0 StaticText.qml
|
||||
StaticText 1.0 StaticText.qml
|
||||
StaticText 2.0 StaticText.qml
|
||||
singleton QulPerf 254.0 QulPerf.qml
|
||||
singleton QulPerf 1.0 QulPerf.qml
|
||||
singleton QulPerf 2.0 QulPerf.qml
|
||||
|
||||
Reference in New Issue
Block a user