Improve NagScreen
This commit is contained in:
parent
e6d3d92241
commit
7f6d036852
8 changed files with 89 additions and 2 deletions
10
qml/components/Clipper.qml
Normal file
10
qml/components/Clipper.qml
Normal 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"))
|
||||
}
|
||||
}
|
|
@ -36,7 +36,7 @@ Page {
|
|||
selectAll()
|
||||
copy()
|
||||
deselect()
|
||||
notifier.notify("Copied to clipboard")
|
||||
notifier.notify(qsTr("Copied to clipboard"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue