mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:06:08 +00:00
UI: TextContextMenu: Add icons.
This commit is contained in:
parent
6bbefafef5
commit
b089aa1852
@ -6,7 +6,11 @@
|
||||
<file>images/clock.png</file>
|
||||
<file>images/cog.png</file>
|
||||
<file>images/cross.png</file>
|
||||
<file>images/cut.png</file>
|
||||
<file>images/link.png</file>
|
||||
<file>images/page_copy.png</file>
|
||||
<file>images/page_paste.png</file>
|
||||
<file>images/page_white.png</file>
|
||||
<file>images/run.png</file>
|
||||
<file>images/shield.png</file>
|
||||
<file>images/zoom.png</file>
|
||||
|
BIN
src/ui/images/cut.png
Normal file
BIN
src/ui/images/cut.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 648 B |
BIN
src/ui/images/page_copy.png
Normal file
BIN
src/ui/images/page_copy.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 663 B |
BIN
src/ui/images/page_paste.png
Normal file
BIN
src/ui/images/page_paste.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 703 B |
BIN
src/ui/images/page_white.png
Normal file
BIN
src/ui/images/page_white.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 294 B |
@ -26,18 +26,21 @@ Menu {
|
||||
}
|
||||
|
||||
MenuItem {
|
||||
icon.source: "qrc:/images/page_copy.png"
|
||||
text: translationManager.dummyBool
|
||||
&& qsTranslate("qml", "Copy")
|
||||
enabled: textField && textField.selectedText
|
||||
onTriggered: textField.copy()
|
||||
}
|
||||
MenuItem {
|
||||
icon.source: "qrc:/images/cut.png"
|
||||
text: translationManager.dummyBool
|
||||
&& qsTranslate("qml", "Cut")
|
||||
enabled: textField && textField.selectedText
|
||||
onTriggered: textField.cut()
|
||||
}
|
||||
MenuItem {
|
||||
icon.source: "qrc:/images/page_paste.png"
|
||||
text: translationManager.dummyBool
|
||||
&& qsTranslate("qml", "Paste")
|
||||
enabled: textField && textField.canPaste
|
||||
@ -47,6 +50,7 @@ Menu {
|
||||
MenuSeparator {}
|
||||
|
||||
MenuItem {
|
||||
icon.source: "qrc:/images/page_white.png"
|
||||
text: translationManager.dummyBool
|
||||
&& qsTranslate("qml", "Clear")
|
||||
enabled: textField && textField.text
|
||||
|
Loading…
Reference in New Issue
Block a user