mirror of
https://github.com/tnodir/fort
synced 2024-11-15 08:35:08 +00:00
UI: Add icons to tabs.
This commit is contained in:
parent
534615ca8f
commit
a516c354c3
@ -1,6 +1,10 @@
|
||||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource>
|
||||
<file>images/application_cascade.png</file>
|
||||
<file>images/application_double.png</file>
|
||||
<file>images/cog.png</file>
|
||||
<file>images/link.png</file>
|
||||
<file>images/shield.png</file>
|
||||
<file>images/zoom.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
BIN
src/ui/images/application_cascade.png
Normal file
BIN
src/ui/images/application_cascade.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 524 B |
BIN
src/ui/images/application_double.png
Normal file
BIN
src/ui/images/application_double.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 533 B |
BIN
src/ui/images/link.png
Normal file
BIN
src/ui/images/link.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 343 B |
BIN
src/ui/images/zoom.png
Normal file
BIN
src/ui/images/zoom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 692 B |
@ -95,9 +95,10 @@ BasePage {
|
||||
model: appGroups
|
||||
|
||||
TabButton {
|
||||
width: Math.max(70, implicitWidth)
|
||||
width: Math.max(100, implicitWidth)
|
||||
font.bold: checked
|
||||
text: appGroup.name
|
||||
icon.source: "qrc:/images/application_double.png"
|
||||
|
||||
readonly property AppGroup appGroup: modelData
|
||||
}
|
||||
|
@ -20,15 +20,19 @@ Page {
|
||||
|
||||
TabButton {
|
||||
text: QT_TRANSLATE_NOOP("qml", "Options")
|
||||
icon.source: "qrc:/images/cog.png"
|
||||
}
|
||||
TabButton {
|
||||
text: QT_TRANSLATE_NOOP("qml", "IPv4 Addresses")
|
||||
icon.source: "qrc:/images/link.png"
|
||||
}
|
||||
TabButton {
|
||||
text: QT_TRANSLATE_NOOP("qml", "Applications")
|
||||
icon.source: "qrc:/images/application_cascade.png"
|
||||
}
|
||||
TabButton {
|
||||
text: QT_TRANSLATE_NOOP("qml", "Activity")
|
||||
icon.source: "qrc:/images/zoom.png"
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user