196 lines
4.1 KiB
Python
196 lines
4.1 KiB
Python
# Resource object code (Python 3)
|
|||
|
|
# Created by: object code
|
||
|
|
# Created by: The Resource Compiler for Qt version 6.12.0
|
||
|
|
# WARNING! All changes made in this file will be lost!
|
||
|
|
|
||
|
|
from PySide6 import QtCore
|
||
|
|
|
||
|
|
qt_resource_data = b"\
|
||
|
|
\x00\x00\x013\
|
||
|
|
i\
|
||
|
|
mport QtQuick\x0aim\
|
||
|
|
port QtQuick.Con\
|
||
|
|
trols\x0a\x0aApplicati\
|
||
|
|
onWindow {\x0a v\
|
||
|
|
isible: true\x0a \
|
||
|
|
width: 760\x0a \
|
||
|
|
height: 560\x0a \
|
||
|
|
minimumWidth: 48\
|
||
|
|
0\x0a minimumHei\
|
||
|
|
ght: 360\x0a tit\
|
||
|
|
le: \x22Mageia Cont\
|
||
|
|
rol Center\x22\x0a\x0a \
|
||
|
|
PluginList {\x0a \
|
||
|
|
anchors.fi\
|
||
|
|
ll: parent\x0a \
|
||
|
|
anchors.margi\
|
||
|
|
ns: 16\x0a p\
|
||
|
|
lugins: register\
|
||
|
|
edPlugins\x0a }\x0a\
|
||
|
|
}\x0a\
|
||
|
|
\x00\x00\x03d\
|
||
|
|
i\
|
||
|
|
mport QtQuick\x0aim\
|
||
|
|
port QtQuick.Con\
|
||
|
|
trols\x0aimport QtQ\
|
||
|
|
uick.Layouts\x0a\x0aFr\
|
||
|
|
ame {\x0a id: ro\
|
||
|
|
ot\x0a\x0a required\
|
||
|
|
property var pl\
|
||
|
|
ugin\x0a\x0a implic\
|
||
|
|
itHeight: conten\
|
||
|
|
t.implicitHeight\
|
||
|
|
+ topPadding + \
|
||
|
|
bottomPadding\x0a \
|
||
|
|
padding: 14\x0a\x0a \
|
||
|
|
ColumnLayout \
|
||
|
|
{\x0a id: co\
|
||
|
|
ntent\x0a\x0a w\
|
||
|
|
idth: parent.wid\
|
||
|
|
th\x0a spaci\
|
||
|
|
ng: 6\x0a\x0a L\
|
||
|
|
abel {\x0a \
|
||
|
|
Layout.fillWi\
|
||
|
|
dth: true\x0a \
|
||
|
|
text: root\
|
||
|
|
.plugin.name\x0a \
|
||
|
|
font.pi\
|
||
|
|
xelSize: 18\x0a \
|
||
|
|
font.bol\
|
||
|
|
d: true\x0a \
|
||
|
|
wrapMode: Te\
|
||
|
|
xt.Wrap\x0a \
|
||
|
|
}\x0a\x0a Label\
|
||
|
|
{\x0a L\
|
||
|
|
ayout.fillWidth:\
|
||
|
|
true\x0a \
|
||
|
|
text: root.plu\
|
||
|
|
gin.description\x0a\
|
||
|
|
wrap\
|
||
|
|
Mode: Text.Wrap\x0a\
|
||
|
|
}\x0a\x0a \
|
||
|
|
Label {\x0a \
|
||
|
|
Layout.fi\
|
||
|
|
llWidth: true\x0a \
|
||
|
|
text: \
|
||
|
|
root.plugin.cate\
|
||
|
|
gory + \x22 / \x22 + r\
|
||
|
|
oot.plugin.subca\
|
||
|
|
tegory\x0a \
|
||
|
|
color: palett\
|
||
|
|
e.placeholderTex\
|
||
|
|
t\x0a fo\
|
||
|
|
nt.pixelSize: 12\
|
||
|
|
\x0a wra\
|
||
|
|
pMode: Text.Wrap\
|
||
|
|
\x0a }\x0a }\
|
||
|
|
\x0a}\x0a\
|
||
|
|
\x00\x00\x04\x1b\
|
||
|
|
i\
|
||
|
|
mport QtQuick\x0aim\
|
||
|
|
port QtQuick.Con\
|
||
|
|
trols\x0a\x0aColumn {\x0a\
|
||
|
|
id: root\x0a\x0a \
|
||
|
|
property var p\
|
||
|
|
lugins: []\x0a\x0a \
|
||
|
|
spacing: 12\x0a\x0a \
|
||
|
|
Label {\x0a \
|
||
|
|
width: parent.w\
|
||
|
|
idth\x0a tex\
|
||
|
|
t: \x22Available to\
|
||
|
|
ols\x22\x0a fon\
|
||
|
|
t.pixelSize: 24\x0a\
|
||
|
|
font.bol\
|
||
|
|
d: true\x0a }\x0a\x0a \
|
||
|
|
Label {\x0a \
|
||
|
|
width: parent\
|
||
|
|
.width\x0a t\
|
||
|
|
ext: root.plugin\
|
||
|
|
s.length === 1\x0a \
|
||
|
|
? \x22\
|
||
|
|
1 tool\x22\x0a \
|
||
|
|
: root.plu\
|
||
|
|
gins.length + \x22 \
|
||
|
|
tools\x22\x0a c\
|
||
|
|
olor: palette.pl\
|
||
|
|
aceholderText\x0a \
|
||
|
|
}\x0a\x0a ListVie\
|
||
|
|
w {\x0a id: \
|
||
|
|
pluginView\x0a\x0a \
|
||
|
|
width: paren\
|
||
|
|
t.width\x0a \
|
||
|
|
height: Math.max\
|
||
|
|
(0, root.height \
|
||
|
|
- y)\x0a cli\
|
||
|
|
p: true\x0a \
|
||
|
|
spacing: 10\x0a \
|
||
|
|
model: root.\
|
||
|
|
plugins\x0a \
|
||
|
|
boundsBehavior: \
|
||
|
|
Flickable.StopAt\
|
||
|
|
Bounds\x0a\x0a \
|
||
|
|
delegate: Plugin\
|
||
|
|
Card {\x0a \
|
||
|
|
required prop\
|
||
|
|
erty var modelDa\
|
||
|
|
ta\x0a\x0a \
|
||
|
|
width: pluginVie\
|
||
|
|
w.width\x0a \
|
||
|
|
plugin: mode\
|
||
|
|
lData\x0a }\x0a\
|
||
|
|
\x0a ScrollB\
|
||
|
|
ar.vertical: Scr\
|
||
|
|
ollBar {}\x0a }\x0a\
|
||
|
|
\x0a Label {\x0a \
|
||
|
|
anchors.cen\
|
||
|
|
terIn: parent\x0a \
|
||
|
|
visible: r\
|
||
|
|
oot.plugins.leng\
|
||
|
|
th === 0\x0a \
|
||
|
|
text: \x22No tools\
|
||
|
|
are currently a\
|
||
|
|
vailable.\x22\x0a \
|
||
|
|
color: palett\
|
||
|
|
e.placeholderTex\
|
||
|
|
t\x0a }\x0a}\x0a\
|
||
|
|
"
|
||
|
|
|
||
|
|
qt_resource_name = b"\
|
||
|
|
\x00\x03\
|
||
|
|
\x00\x00x<\
|
||
|
|
\x00q\
|
||
|
|
\x00m\x00l\
|
||
|
|
\x00\x08\
|
||
|
|
\x08\x01^\x5c\
|
||
|
|
\x00M\
|
||
|
|
\x00a\x00i\x00n\x00.\x00q\x00m\x00l\
|
||
|
|
\x00\x0e\
|
||
|
|
\x0f\xfbH\xdc\
|
||
|
|
\x00P\
|
||
|
|
\x00l\x00u\x00g\x00i\x00n\x00C\x00a\x00r\x00d\x00.\x00q\x00m\x00l\
|
||
|
|
\x00\x0e\
|
||
|
|
\x07\xdbG\x9c\
|
||
|
|
\x00P\
|
||
|
|
\x00l\x00u\x00g\x00i\x00n\x00L\x00i\x00s\x00t\x00.\x00q\x00m\x00l\
|
||
|
|
"
|
||
|
|
|
||
|
|
qt_resource_struct = b"\
|
||
|
|
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\
|
||
|
|
\x00\x00\x00\x00\x00\x00\x00\x00\
|
||
|
|
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x02\
|
||
|
|
\x00\x00\x00\x00\x00\x00\x00\x00\
|
||
|
|
\x00\x00\x00D\x00\x00\x00\x00\x00\x01\x00\x00\x04\x9f\
|
||
|
|
\x00\x00\x01\xa1\xdf\xe8\xbe\xe8\
|
||
|
|
\x00\x00\x00\x0c\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
|
||
|
|
\x00\x00\x01\xa1\xdf\xe8\xbe\xd8\
|
||
|
|
\x00\x00\x00\x22\x00\x00\x00\x00\x00\x01\x00\x00\x017\
|
||
|
|
\x00\x00\x01\xa1\xdf\xe8\xbe\xe6\
|
||
|
|
"
|
||
|
|
|
||
|
|
def qInitResources():
|
||
|
|
QtCore.qRegisterResourceData(0x03, qt_resource_struct, qt_resource_name, qt_resource_data)
|
||
|
|
|
||
|
|
def qCleanupResources():
|
||
|
|
QtCore.qUnregisterResourceData(0x03, qt_resource_struct, qt_resource_name, qt_resource_data)
|
||
|
|
|
||
|
|
qInitResources()
|