Skip to content

Commit

Permalink
Move IconLibrary to thirdparties
Browse files Browse the repository at this point in the history
  • Loading branch information
emericg committed Nov 21, 2024
1 parent dc22f5b commit 817b782
Show file tree
Hide file tree
Showing 909 changed files with 221 additions and 248 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ qt_add_executable(${CMAKE_PROJECT_NAME}
src/main.cpp
src/SettingsManager.cpp src/SettingsManager.h
assets/assets.qrc
assets/icons/IconLibrary.qrc
thirdparty/IconLibrary/IconLibrary.qrc
)

qt_add_qml_module(${CMAKE_PROJECT_NAME}
Expand Down
1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/calendar_month.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/chart_data.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/date_clear.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/date_range.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/exit_to_app.svg

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/format_size.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/forum-fill.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/info.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/memory.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/mic.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/microwave.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/open_in_browser.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/open_in_new.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/open_in_new_down.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/pin_drop.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/restart_alt.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/speed.svg

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/timer.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/translate.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/duotone/tune.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/groups-fill.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/insert_chart.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/list.svg

This file was deleted.

1 change: 0 additions & 1 deletion assets/icons/material-symbols/memory_alt.svg
Diff not rendered.
1 change: 0 additions & 1 deletion assets/icons/material-symbols/rotate_90_degrees_ccw.svg
Diff not rendered.
1 change: 0 additions & 1 deletion assets/icons/material-symbols/sensors/sensors.svg
Diff not rendered.
1 change: 0 additions & 1 deletion assets/icons/material-symbols/stacks.svg
Diff not rendered.
22 changes: 11 additions & 11 deletions qml/DesktopHeader.qml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ Rectangle {
anchors.bottomMargin: 6
width: height

enabled: (source !== "qrc:/assets/icons/material-symbols/arrow_back.svg" || wideMode)
enabled: (source !== "qrc:/IconLibrary/material-symbols/arrow_back.svg" || wideMode)
visible: enabled

colorBackground: Theme.colorHeader
colorHighlight: Theme.colorHeaderHighlight
colorIcon: Theme.colorHeaderContent

source: "qrc:/assets/icons/material-symbols/arrow_back.svg"
source: "qrc:/IconLibrary/material-symbols/arrow_back.svg"
onClicked: backButtonClicked()
}

Expand Down Expand Up @@ -94,7 +94,7 @@ Rectangle {
anchors.verticalCenter: parent.verticalCenter
width: 180

source: "qrc:/assets/icons/material-symbols/autorenew.svg"
source: "qrc:/IconLibrary/material-symbols/autorenew.svg"
text: qsTr("Animate this")

color: Theme.colorHeaderHighlight
Expand Down Expand Up @@ -137,22 +137,22 @@ Rectangle {
colorHighlight: Theme.colorHeaderHighlight
colorIcon: Theme.colorHeaderContent

source: "qrc:/assets/icons/material-symbols/more_vert.svg"
source: "qrc:/IconLibrary/material-symbols/more_vert.svg"
onClicked: actionMenu.open()

ActionMenu_floating {
id: actionMenu
width: 240

titleTxt: "back"
titleSrc: "qrc:/assets/icons/material-symbols/chevron_left.svg"
titleSrc: "qrc:/IconLibrary/material-symbols/chevron_left.svg"

model: ListModel {
id: lmActionMenu
ListElement { t: "itm"; idx: 1; txt: "Action 1"; src: "qrc:/assets/icons/material-symbols/accessibility.svg"; }
ListElement { t: "itm"; idx: 2; txt: "Action 2"; src: "qrc:/assets/icons/material-symbols/accessibility.svg"; }
ListElement { t: "itm"; idx: 1; txt: "Action 1"; src: "qrc:/IconLibrary/material-symbols/accessibility.svg"; }
ListElement { t: "itm"; idx: 2; txt: "Action 2"; src: "qrc:/IconLibrary/material-symbols/accessibility.svg"; }
ListElement { t: "sep"; }
ListElement { t: "itm"; idx: 3; txt: "Action 3"; src: "qrc:/assets/icons/material-symbols/accessibility.svg"; }
ListElement { t: "itm"; idx: 3; txt: "Action 3"; src: "qrc:/IconLibrary/material-symbols/accessibility.svg"; }
}

onMenuSelected: (index) => {
Expand Down Expand Up @@ -186,7 +186,7 @@ Rectangle {
highlightMode: "background"

highlighted: (appContent.state === "DesktopComponents")
source: "qrc:/assets/icons/material-icons/duotone/touch_app.svg"
source: "qrc:/IconLibrary/material-icons/duotone/touch_app.svg"
onClicked: menuComponentsClicked()
}
DesktopHeaderItem {
Expand All @@ -198,7 +198,7 @@ Rectangle {
highlightMode: "background"

highlighted: (appContent.state === "Settings")
source: "qrc:/assets/icons/material-icons/duotone/tune.svg"
source: "qrc:/IconLibrary/material-icons/duotone/tune.svg"
onClicked: menuSettingsClicked()
}
DesktopHeaderItem {
Expand All @@ -210,7 +210,7 @@ Rectangle {
highlightMode: "background"

highlighted: (appContent.state === "About")
source: "qrc:/assets/icons/material-icons/duotone/info.svg"
source: "qrc:/IconLibrary/material-icons/duotone/info.svg"
onClicked: menuAboutClicked()
}
}
Expand Down
Loading

0 comments on commit 817b782

Please sign in to comment.