2020-06-07 15:28:54 +03:00
|
|
|
import QtQuick 2.0
|
|
|
|
import Sailfish.Silica 1.0
|
2020-08-09 20:25:54 +03:00
|
|
|
import "../components"
|
2020-06-07 15:28:54 +03:00
|
|
|
|
|
|
|
Page {
|
|
|
|
backNavigation: false
|
|
|
|
|
|
|
|
Column {
|
|
|
|
y: Theme.paddingLarge
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
width: parent.width - 2*Theme.paddingLarge
|
|
|
|
spacing: Theme.paddingLarge
|
|
|
|
|
|
|
|
Label {
|
|
|
|
width: parent.width
|
|
|
|
wrapMode: Text.WordWrap
|
|
|
|
|
|
|
|
text: qsTr("Optional dependencies are not installed!")
|
|
|
|
}
|
|
|
|
|
|
|
|
Label {
|
|
|
|
width: parent.width
|
|
|
|
wrapMode: Text.WordWrap
|
|
|
|
|
2020-08-10 21:35:27 +03:00
|
|
|
text: qsTr("In order to print PDF files with printers that do not support PDF natively,"
|
|
|
|
+" you need the package \"poppler-utils\"."
|
|
|
|
+" This enables SeaPrint to convert to formats that are more likely to be accepted.")
|
2020-06-07 15:28:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
Label {
|
|
|
|
width: parent.width
|
|
|
|
wrapMode: Text.WordWrap
|
|
|
|
|
2020-06-09 20:18:24 +03:00
|
|
|
text: qsTr("To install, enable developer mode, and open a terminal.")
|
2020-06-07 15:28:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
Label {
|
|
|
|
width: parent.width
|
|
|
|
wrapMode: Text.WordWrap
|
|
|
|
|
|
|
|
text: qsTr("Become root:")
|
|
|
|
}
|
|
|
|
|
|
|
|
Label {
|
|
|
|
width: parent.width
|
|
|
|
wrapMode: Text.WordWrap
|
|
|
|
font.family: "monospace"
|
|
|
|
|
|
|
|
text: "devel-su"
|
2020-08-09 20:25:54 +03:00
|
|
|
Clipper {}
|
|
|
|
|
2020-06-07 15:28:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
Label {
|
|
|
|
width: parent.width
|
|
|
|
wrapMode: Text.WordWrap
|
|
|
|
|
|
|
|
text: qsTr("Install poppler-utils:")
|
|
|
|
}
|
|
|
|
|
|
|
|
Label {
|
|
|
|
width: parent.width
|
|
|
|
wrapMode: Text.WordWrap
|
|
|
|
font.family: "monospace"
|
|
|
|
|
|
|
|
text: "pkcon install poppler-utils"
|
2020-08-09 20:25:54 +03:00
|
|
|
Clipper {}
|
2020-06-07 15:28:54 +03:00
|
|
|
}
|
|
|
|
|
2020-08-09 20:25:54 +03:00
|
|
|
Item{
|
|
|
|
width: parent.width
|
|
|
|
height: Theme.itemSizeMedium
|
|
|
|
}
|
2020-06-07 15:28:54 +03:00
|
|
|
|
|
|
|
Button {
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
text: qsTr("Dismiss")
|
|
|
|
onClicked: pageStack.pop()
|
|
|
|
}
|
|
|
|
|
|
|
|
Button {
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
text: qsTr("Don't show again")
|
|
|
|
onClicked: {
|
|
|
|
nagScreenSetting.value = nagScreenSetting.expectedValue
|
|
|
|
pageStack.pop()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|