Initial commit

This commit is contained in:
2026-04-29 07:19:21 +03:00
commit 9a8cdfa08a
5964 changed files with 1194660 additions and 0 deletions
@@ -0,0 +1,18 @@
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
// Qt-Security score:significant reason:default
import QtQuick
import QtQuick.Templates as T
T.Action {
text: qsTr("Copy")
icon.name: "edit-copy"
icon.width: 24
icon.height: 24
shortcut: StandardKey.Copy
enabled: editor.selectedText.length > 0 && editor.hasOwnProperty("copy")
onTriggered: editor.copy()
required property Item editor
}
@@ -0,0 +1,25 @@
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
// Qt-Security score:significant reason:default
import QtQuick
import QtQuick.Templates as T
T.Action {
text: qsTr("Cut")
icon.name: "edit-cut"
// A few styles use these values, so set them as our default
// so that they can simply use us instead of defining their own actions.
icon.width: 24
icon.height: 24
// This ensures that QIOSMenu::filterFirstResponderActions filters out any
// duplicate actions (at least when QT_NO_SHORTCUT is not defined).
shortcut: StandardKey.Cut
// If the control has no cut property, Qt was built without clipboard support.
enabled: !editor.readOnly && editor.selectedText.length > 0 && editor.hasOwnProperty("cut")
onTriggered: editor.cut()
// Can't be T.Control because otherwise it would fail to assign TextField/TextArea to it,
// and we'd need TextFieldCutAction and TextAreaCutAction.
required property Item editor
}
@@ -0,0 +1,18 @@
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
// Qt-Security score:significant reason:default
import QtQuick
import QtQuick.Templates as T
T.Action {
text: qsTr("Delete")
icon.name: "edit-delete"
icon.width: 24
icon.height: 24
shortcut: StandardKey.Delete
enabled: !editor.readOnly && editor.selectedText.length > 0
onTriggered: editor.remove(editor.selectionStart, editor.selectionEnd)
required property Item editor
}
@@ -0,0 +1,18 @@
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
// Qt-Security score:significant reason:default
import QtQuick
import QtQuick.Templates as T
T.Action {
text: qsTr("Paste")
icon.name: "edit-paste"
icon.width: 24
icon.height: 24
shortcut: StandardKey.Paste
enabled: !editor.readOnly && editor.hasOwnProperty("paste")
onTriggered: editor.paste()
required property Item editor
}
@@ -0,0 +1,17 @@
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
import QtQuick
import QtQuick.Templates as T
T.Action {
text: qsTr("Redo")
icon.name: "edit-redo"
icon.width: 24
icon.height: 24
shortcut: StandardKey.Redo
enabled: editor.canRedo
onTriggered: editor.redo()
required property Item editor
}
@@ -0,0 +1,17 @@
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
// Qt-Security score:significant reason:default
import QtQuick
import QtQuick.Templates as T
T.Action {
text: qsTr("Select All")
icon.name: "edit-select-all"
icon.width: 24
icon.height: 24
shortcut: StandardKey.SelectAll
onTriggered: editor.selectAll()
required property Item editor
}
@@ -0,0 +1,17 @@
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
import QtQuick
import QtQuick.Templates as T
T.Action {
text: qsTr("Undo")
icon.name: "edit-undo"
icon.width: 24
icon.height: 24
shortcut: StandardKey.Undo
enabled: editor.canUndo
onTriggered: editor.undo()
required property Item editor
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,16 @@
module QtQuick.Controls.impl
linktarget Qt6::qtquickcontrols2implplugin
optional plugin qtquickcontrols2implplugin
classname QtQuickControls2ImplPlugin
typeinfo plugins.qmltypes
depends QtQuick auto
depends QtQuick.Templates auto
prefer :/qt-project.org/imports/QtQuick/Controls/impl/
CopyAction 6.11 CopyAction.qml
CutAction 6.11 CutAction.qml
DeleteAction 6.11 DeleteAction.qml
PasteAction 6.11 PasteAction.qml
RedoAction 6.11 RedoAction.qml
SelectAllAction 6.11 SelectAllAction.qml
UndoAction 6.11 UndoAction.qml