42 lines
868 B
QML
42 lines
868 B
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
|
|
Frame {
|
|
id: root
|
|
|
|
required property var plugin
|
|
|
|
implicitHeight: content.implicitHeight + topPadding + bottomPadding
|
|
padding: 14
|
|
|
|
ColumnLayout {
|
|
id: content
|
|
|
|
width: parent.width
|
|
spacing: 6
|
|
|
|
Label {
|
|
Layout.fillWidth: true
|
|
text: root.plugin.name
|
|
font.pixelSize: 18
|
|
font.bold: true
|
|
wrapMode: Text.Wrap
|
|
}
|
|
|
|
Label {
|
|
Layout.fillWidth: true
|
|
text: root.plugin.description
|
|
wrapMode: Text.Wrap
|
|
}
|
|
|
|
Label {
|
|
Layout.fillWidth: true
|
|
text: root.plugin.category + " / " + root.plugin.subcategory
|
|
color: palette.placeholderText
|
|
font.pixelSize: 12
|
|
wrapMode: Text.Wrap
|
|
}
|
|
}
|
|
}
|