Inital commit of the Komplex Hub

This commit is contained in:
Digital Artifex
2026-06-02 15:11:36 -04:00
commit 15a625008e
2911 changed files with 655555 additions and 0 deletions
@@ -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,23 @@
set_source_files_properties(QulPerf.qml
PROPERTIES
QT_QML_SINGLETON_TYPE true
)
qt_add_library(QuickUltraLiteStudioExtras STATIC)
qt6_add_qml_module(QuickUltraLiteStudioExtras
URI "QtQuickUltralite.Extras"
VERSION "${PROJECT_VERSION}"
RESOURCE_PREFIX "/qt-project.org/imports"
DESIGNER_SUPPORTED
PAST_MAJOR_VERSIONS 1 2
QML_FILES
AnimatedSpriteDirectory.qml
ColorizedImage.qml
ItemBuffer.qml
StaticText.qml
QulPerf.qml
)
target_link_libraries(QuickUltraLiteStudioExtras PRIVATE Qt6::Gui)
register_plugin(QuickUltraLiteStudioExtras)
@@ -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,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]
@@ -0,0 +1,13 @@
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:
// 'qmlplugindump -nonrelocatable -dependencies dependencies.json QtQuick.Controls 2.15'
Module {
dependencies: [
"QtQuick 2.12"
]
}
+22
View File
@@ -0,0 +1,22 @@
module QtQuickUltralite.Extras
designersupported
linktarget studioqtquickultraliteextrasplugin
optional plugin studioqtquickultraliteextrasplugin
classname QtQuickUltralite_ExtrasPlugin
typeinfo studioqtquickultraliteextras.qmltypes
prefer :/QtQuickUltralite/Extras/
AnimatedSpriteDirectory 1.0 AnimatedSpriteDirectory.qml
AnimatedSpriteDirectory 2.0 AnimatedSpriteDirectory.qml
AnimatedSpriteDirectory 6.0 AnimatedSpriteDirectory.qml
ColorizedImage 1.0 ColorizedImage.qml
ColorizedImage 2.0 ColorizedImage.qml
ColorizedImage 6.0 ColorizedImage.qml
ItemBuffer 1.0 ItemBuffer.qml
ItemBuffer 2.0 ItemBuffer.qml
ItemBuffer 6.0 ItemBuffer.qml
StaticText 1.0 StaticText.qml
StaticText 2.0 StaticText.qml
StaticText 6.0 StaticText.qml
singleton QulPerf 1.0 QulPerf.qml
singleton QulPerf 2.0 QulPerf.qml
singleton QulPerf 6.0 QulPerf.qml
@@ -0,0 +1,57 @@
/****************************************************************************
**
** Copyright (C) 2021 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$
**
****************************************************************************/
#include <QQmlEngine>
#include <QQmlContext>
#include <QtQml/qqmlextensionplugin.h>
QT_BEGIN_NAMESPACE
class StudioCompatibilityQULExtras: public QQmlExtensionPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
public:
StudioCompatibilityQULExtras(QObject *parent = nullptr);
void registerTypes(const char *uri) override;
};
StudioCompatibilityQULExtras::StudioCompatibilityQULExtras(QObject *parent)
: QQmlExtensionPlugin(parent)
{
}
void StudioCompatibilityQULExtras::registerTypes(const char *)
{
}
QT_END_NAMESPACE
#include "studiocompatibilityqulextras.moc"