plasma-framework: vendor as full-fork recipe (path=source, patches baked)
This commit is contained in:
+82
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
SPDX-FileCopyrightText: 2015 Sebastian Kügler <sebas@kde.org>
|
||||
|
||||
SPDX-License-Identifier: LGPL-2.0-or-later
|
||||
*/
|
||||
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import QtQuick.Controls as QQC2
|
||||
import org.kde.kirigami as Kirigami
|
||||
|
||||
Item {
|
||||
|
||||
// Initial size of the window in gridUnits
|
||||
width: Kirigami.Units.gridUnit * 28
|
||||
height: Kirigami.Units.gridUnit * 20
|
||||
|
||||
// We use a ColumnLayout to position and size the individual items
|
||||
ColumnLayout {
|
||||
|
||||
// Our ColumnLayout is fills the parent item with a bit of margin
|
||||
anchors {
|
||||
fill: parent
|
||||
margins: Kirigami.Units.gridUnit
|
||||
}
|
||||
|
||||
spacing: Kirigami.Units.gridUnit
|
||||
|
||||
// A title on top
|
||||
Kirigami.Heading {
|
||||
level: 1 // from 1 to 5; level 1 is the size used for titles
|
||||
text: i18n("Hello Plasma World!")
|
||||
}
|
||||
|
||||
// The central area is a rectangle
|
||||
Rectangle {
|
||||
// The id is used to reference this item from the
|
||||
// button's onClicked function
|
||||
id: colorRect
|
||||
|
||||
// It's supposed to grow in both direction
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
|
||||
// A button to change the color to blue or green
|
||||
QQC2.Button {
|
||||
|
||||
// The button is aligned to the right
|
||||
Layout.alignment: Qt.AlignRight
|
||||
|
||||
// The button's label, ready for translations
|
||||
text: i18n("Change Color")
|
||||
|
||||
onClicked: {
|
||||
// Simply switch colors of the rectangle around
|
||||
if (colorRect.color != "#b0c4de") {
|
||||
colorRect.color = "#b0c4de"; // lightsteelblue
|
||||
} else {
|
||||
colorRect.color = "lightgreen";
|
||||
}
|
||||
// This message will end up being printed to the terminal
|
||||
print("Color is now " + colorRect.color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Overlay everything with a decorative, large, translucent icon
|
||||
Kirigami.Icon {
|
||||
|
||||
// We use an anchor layout and dpi-corrected sizing
|
||||
width: Kirigami.Units.iconSizes.large * 4
|
||||
height: width
|
||||
anchors {
|
||||
left: parent.left
|
||||
bottom: parent.bottom
|
||||
}
|
||||
|
||||
source: "akregator"
|
||||
opacity: 0.1
|
||||
}
|
||||
}
|
||||
+140
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"KPackageStructure": "KPackage/GenericQML",
|
||||
"KPlugin": {
|
||||
"Authors": [
|
||||
{
|
||||
"Email": "sebas@kde.org",
|
||||
"Name": "Sebastian Kügler",
|
||||
"Name[ar]": "Sebastian Kügler",
|
||||
"Name[az]": "Sebastian Kügler",
|
||||
"Name[be]": "Sebastian Kügler",
|
||||
"Name[bg]": "Sebastian Kügler",
|
||||
"Name[ca@valencia]": "Sebastian Kügler",
|
||||
"Name[ca]": "Sebastian Kügler",
|
||||
"Name[cs]": "Sebastian Kügler",
|
||||
"Name[de]": "Sebastian Kügler",
|
||||
"Name[en_GB]": "Sebastian Kügler",
|
||||
"Name[eo]": "Sebastian Kügler",
|
||||
"Name[es]": "Sebastian Kügler",
|
||||
"Name[eu]": "Sebastian Kügler",
|
||||
"Name[fi]": "Sebastian Kügler",
|
||||
"Name[fr]": "Sebastian Kügler",
|
||||
"Name[gl]": "Sebastian Kügler",
|
||||
"Name[he]": "סבסטיאן קיגלר",
|
||||
"Name[hu]": "Sebastian Kügler",
|
||||
"Name[ia]": "Sebastian Kügler",
|
||||
"Name[id]": "Sebastian Kügler",
|
||||
"Name[it]": "Sebastian Kügler",
|
||||
"Name[ka]": "Sebastian Kügler",
|
||||
"Name[ko]": "Sebastian Kügler",
|
||||
"Name[lv]": "Sebastian Kügler",
|
||||
"Name[nl]": "Sebastian Kügler",
|
||||
"Name[nn]": "Sebastian Kügler",
|
||||
"Name[pl]": "Sebastian Kügler",
|
||||
"Name[pt]": "Sebastian Kügler",
|
||||
"Name[pt_BR]": "Sebastian Kügler",
|
||||
"Name[ro]": "Sebastian Kügler",
|
||||
"Name[ru]": "Sebastian Kügler",
|
||||
"Name[sa]": "सेबास्टियन कुग्लर",
|
||||
"Name[sk]": "Sebastian Kügler",
|
||||
"Name[sl]": "Sebastian Kügler",
|
||||
"Name[sv]": "Sebastian Kügler",
|
||||
"Name[ta]": "ஸெபாஸ்டியன் கூக்லர்",
|
||||
"Name[tr]": "Sebastian Kügler",
|
||||
"Name[uk]": "Sebastian Kügler",
|
||||
"Name[vi]": "Sebastian Kügler",
|
||||
"Name[x-test]": "xxSebastian Küglerxx",
|
||||
"Name[zh_CN]": "Sebastian Kügler",
|
||||
"Name[zh_TW]": "Sebastian Kügler"
|
||||
}
|
||||
],
|
||||
"Category": "Development",
|
||||
"Description": "Basic App",
|
||||
"Description[az]": "Əsas tətbiq",
|
||||
"Description[be]": "Базавая праграма",
|
||||
"Description[bg]": "Основни приложения",
|
||||
"Description[ca@valencia]": "Aplicació bàsica",
|
||||
"Description[ca]": "Aplicació bàsica",
|
||||
"Description[cs]": "Základní aplikace",
|
||||
"Description[de]": "Einfache Anwendung",
|
||||
"Description[en_GB]": "Basic App",
|
||||
"Description[eo]": "Baza Apo",
|
||||
"Description[es]": "Aplicación básica",
|
||||
"Description[eu]": "Oinarrizko aplikazioa",
|
||||
"Description[fi]": "Perussovelma",
|
||||
"Description[fr]": "Application de base",
|
||||
"Description[gl]": "Aplicación básica.",
|
||||
"Description[he]": "יישום בסיסי",
|
||||
"Description[hu]": "Egyszerű alkalmazás",
|
||||
"Description[ia]": "App Basic",
|
||||
"Description[id]": "Aplikasi Dasar",
|
||||
"Description[it]": "Applicazione di base",
|
||||
"Description[ka]": "ჩვეულებრივი აპი",
|
||||
"Description[ko]": "기본 앱",
|
||||
"Description[lv]": "Vienkārša programma",
|
||||
"Description[nl]": "Basis app",
|
||||
"Description[nn]": "Grunnleggjande program",
|
||||
"Description[pl]": "Podstawowa aplikacja",
|
||||
"Description[pt]": "Aplicação Básica",
|
||||
"Description[pt_BR]": "Aplicativo básico",
|
||||
"Description[ro]": "Aplicație simplă",
|
||||
"Description[ru]": "Простейшее приложение",
|
||||
"Description[sa]": "मूलभूत अनुप्रयोग",
|
||||
"Description[sk]": "Základná aplikácia",
|
||||
"Description[sl]": "Osnovna aplikacija",
|
||||
"Description[sv]": "Enkel applikation",
|
||||
"Description[tr]": "Yalın Uygulama",
|
||||
"Description[uk]": "Базова програма",
|
||||
"Description[vi]": "Ứng dụng cơ bản",
|
||||
"Description[x-test]": "xxBasic Appxx",
|
||||
"Description[zh_CN]": "基本应用程序",
|
||||
"Description[zh_TW]": "基礎的應用程式",
|
||||
"Icon": "kbugbuster",
|
||||
"Id": "org.kde.example.developerguide.basic",
|
||||
"License": "LGPLv2+",
|
||||
"Name": "Bug",
|
||||
"Name[ar]": "علّة",
|
||||
"Name[az]": "Xəta",
|
||||
"Name[be]": "Хіба",
|
||||
"Name[bg]": "Бъг",
|
||||
"Name[ca@valencia]": "S'ha produït un error",
|
||||
"Name[ca]": "Error",
|
||||
"Name[cs]": "Chyba",
|
||||
"Name[de]": "Fehler",
|
||||
"Name[en_GB]": "Bug",
|
||||
"Name[eo]": "Cimo",
|
||||
"Name[es]": "Fallo",
|
||||
"Name[eu]": "Akatsa",
|
||||
"Name[fi]": "Ohjelmavirhe",
|
||||
"Name[fr]": "Bogue",
|
||||
"Name[gl]": "Fallo",
|
||||
"Name[he]": "תקלה",
|
||||
"Name[hu]": "Hiba",
|
||||
"Name[ia]": "Bug",
|
||||
"Name[id]": "Bug",
|
||||
"Name[it]": "Bug",
|
||||
"Name[ka]": "შეცდომა",
|
||||
"Name[ko]": "버그",
|
||||
"Name[lv]": "Kļūda",
|
||||
"Name[nl]": "Bug",
|
||||
"Name[nn]": "Feil",
|
||||
"Name[pl]": "Błąd",
|
||||
"Name[pt]": "Insecto",
|
||||
"Name[pt_BR]": "Erro",
|
||||
"Name[ro]": "Defect",
|
||||
"Name[ru]": "Ошибка",
|
||||
"Name[sa]": "दोष",
|
||||
"Name[sk]": "Chyba",
|
||||
"Name[sl]": "Hrošč",
|
||||
"Name[sv]": "Fel",
|
||||
"Name[ta]": "பிழை",
|
||||
"Name[tr]": "Hata",
|
||||
"Name[uk]": "Вада",
|
||||
"Name[vi]": "Lỗi",
|
||||
"Name[x-test]": "xxBugxx",
|
||||
"Name[zh_CN]": "程序缺陷",
|
||||
"Name[zh_TW]": "錯誤",
|
||||
"Version": "1.0",
|
||||
"Website": "https://www.kde.org"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user