diff --git a/CMakeLists.txt b/CMakeLists.txt index 39c2158..b055edc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,10 @@ qt_add_qml_module(${TARGET_APP} ListPage.qml ListItemDelegate.qml ExpandableItemDelegate.qml + RESOURCES + "icons/software-application.png" + "icons/moreUp.png" + "icons/moreDown.png" ) # Qt for iOS sets MACOSX_BUNDLE_GUI_IDENTIFIER automatically since Qt 6.1. diff --git a/ExpandableItemDelegate.qml b/ExpandableItemDelegate.qml index 65fbcaa..aa2e210 100644 --- a/ExpandableItemDelegate.qml +++ b/ExpandableItemDelegate.qml @@ -48,12 +48,13 @@ Item { width: parent.width spacing: 10 - Rectangle { + Image { id: icon width: 50 height: 50 - color: wccLavenderDark + source: "icons/software-application.png" } + Column { width: background.width - icon.width - 20 height: icon.height @@ -140,7 +141,7 @@ Item { right: flick.right top: flick.top } - source: ":/moreUp.png" + source: "icons/moreUp.png" opacity: flick.atYBeginning ? 0 : 1 } @@ -150,7 +151,7 @@ Item { bottom: flick.bottom } - source: ":/moreDown.png" + source: "icons/moreDown.png" opacity: flick.atYEnd ? 0 : 1 } } diff --git a/icons/moreDown.png b/icons/moreDown.png new file mode 100644 index 0000000..b9061ca Binary files /dev/null and b/icons/moreDown.png differ diff --git a/icons/moreUp.png b/icons/moreUp.png new file mode 100644 index 0000000..5732f24 Binary files /dev/null and b/icons/moreUp.png differ diff --git a/icons/software-application.png b/icons/software-application.png new file mode 100644 index 0000000..a9b73d9 Binary files /dev/null and b/icons/software-application.png differ