Improve NagScreen

This commit is contained in:
Anton Thomasson 2020-08-09 19:25:54 +02:00
parent e6d3d92241
commit 7f6d036852
8 changed files with 89 additions and 2 deletions

View file

@ -0,0 +1,10 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
MouseArea {
anchors.fill: parent
onPressAndHold: {
Clipboard.text = parent.text
notifier.notify(qsTr("Copied to clipboard"))
}
}

View file

@ -36,7 +36,7 @@ Page {
selectAll()
copy()
deselect()
notifier.notify("Copied to clipboard")
notifier.notify(qsTr("Copied to clipboard"))
}
}
}

View file

@ -1,5 +1,6 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
import "../components"
Page {
backNavigation: false
@ -44,6 +45,8 @@ Page {
font.family: "monospace"
text: "devel-su"
Clipper {}
}
Label {
@ -59,9 +62,13 @@ Page {
font.family: "monospace"
text: "pkcon install poppler-utils"
Clipper {}
}
Item{}
Item{
width: parent.width
height: Theme.itemSizeMedium
}
Button {
anchors.horizontalCenter: parent.horizontalCenter

View file

@ -122,6 +122,13 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Clipper</name>
<message>
<source>Copied to clipboard</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ConvertWorker</name>
<message>
@ -160,6 +167,13 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>DebugPage</name>
<message>
<source>Copied to clipboard</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FirstPage</name>
<message>

View file

@ -122,6 +122,13 @@
<translation>Desconocido</translation>
</message>
</context>
<context>
<name>Clipper</name>
<message>
<source>Copied to clipboard</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ConvertWorker</name>
<message>
@ -160,6 +167,13 @@
<translation>SeaPrint</translation>
</message>
</context>
<context>
<name>DebugPage</name>
<message>
<source>Copied to clipboard</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FirstPage</name>
<message>

View file

@ -122,6 +122,13 @@
<translation type="unfinished">Inconnu</translation>
</message>
</context>
<context>
<name>Clipper</name>
<message>
<source>Copied to clipboard</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ConvertWorker</name>
<message>
@ -160,6 +167,13 @@
<translation>SeaPrint</translation>
</message>
</context>
<context>
<name>DebugPage</name>
<message>
<source>Copied to clipboard</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FirstPage</name>
<message>

View file

@ -122,6 +122,13 @@
<translation></translation>
</message>
</context>
<context>
<name>Clipper</name>
<message>
<source>Copied to clipboard</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ConvertWorker</name>
<message>
@ -160,6 +167,13 @@
<translation>SeaPrint</translation>
</message>
</context>
<context>
<name>DebugPage</name>
<message>
<source>Copied to clipboard</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FirstPage</name>
<message>

View file

@ -122,6 +122,13 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Clipper</name>
<message>
<source>Copied to clipboard</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ConvertWorker</name>
<message>
@ -160,6 +167,13 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>DebugPage</name>
<message>
<source>Copied to clipboard</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>FirstPage</name>
<message>