UI: ApplicationsPage: Add icons.

This commit is contained in:
Nodir Temirkhodjaev 2017-10-28 10:14:24 +05:00
parent b089aa1852
commit 2c114f4864
11 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,10 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>images/application_cascade.png</file>
<file>images/application.png</file>
<file>images/application_add.png</file>
<file>images/application_delete.png</file>
<file>images/application_double.png</file>
<file>images/application_edit.png</file>
<file>images/cancel.png</file>
<file>images/clock.png</file>
<file>images/cog.png</file>
@ -11,6 +14,8 @@
<file>images/page_copy.png</file>
<file>images/page_paste.png</file>
<file>images/page_white.png</file>
<file>images/resultset_next.png</file>
<file>images/resultset_previous.png</file>
<file>images/run.png</file>
<file>images/shield.png</file>
<file>images/zoom.png</file>

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 619 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 524 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 703 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 B

View File

@ -66,12 +66,14 @@ BasePage {
}
Button {
enabled: editGroupName.text
icon.source: "qrc:/images/application_add.png"
text: translationManager.dummyBool
&& qsTranslate("qml", "Add Group")
onClicked: addAppGroup()
}
Button {
enabled: editGroupName.text && appsColumn.enabled
icon.source: "qrc:/images/application_edit.png"
text: translationManager.dummyBool
&& qsTranslate("qml", "Rename Group")
onClicked: renameAppGroup()
@ -119,7 +121,7 @@ BasePage {
TabButton {
width: Math.max(100, implicitWidth)
font.bold: checked
icon.source: "qrc:/images/application_double.png"
icon.source: "qrc:/images/application.png"
text: appGroup.name
readonly property AppGroup appGroup: modelData

View File

@ -53,7 +53,7 @@ Page {
&& qsTranslate("qml", "IPv4 Addresses")
}
TabButton {
icon.source: "qrc:/images/application_cascade.png"
icon.source: "qrc:/images/application_double.png"
text: translationManager.dummyBool
&& qsTranslate("qml", "Applications")
}

View File

@ -10,16 +10,19 @@ ColumnLayout {
RowLayout {
Button {
icon.source: "qrc:/images/application_delete.png"
text: translationManager.dummyBool
&& qsTranslate("qml", "Remove Group")
onClicked: removeAppGroup(index)
}
Button {
icon.source: "qrc:/images/resultset_previous.png"
text: translationManager.dummyBool
&& qsTranslate("qml", "Move left")
onClicked: moveAppGroup(index, -1)
}
Button {
icon.source: "qrc:/images/resultset_next.png"
text: translationManager.dummyBool
&& qsTranslate("qml", "Move right")
onClicked: moveAppGroup(index, 1)