Skip to content

Commit

Permalink
fix: add mouse and keyboard icon
Browse files Browse the repository at this point in the history
add mouse and keyboard icon

Log: add mouse and keyboard icon
pms: BUG-297221
pms: BUG-297227
pms: BUG-297229
  • Loading branch information
swq committed Dec 27, 2024
1 parent 8679f87 commit 4e73131
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/plugin-commoninfo/qml/commonInfoMain.qml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ DccObject {
parentName: "system"
displayName: qsTr("Developer Mode")
description: qsTr("Developer root permission management")
//visible: !dccData.mode().isCommunitySystem()
visible: false
visible: !dccData.mode().isCommunitySystem()
icon: "developer"
weight: 90
DevelopModePage{}
Expand Down
2 changes: 1 addition & 1 deletion src/plugin-keyboard/qml/Shortcuts.qml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ DccObject {
parentName: "keyboard"
displayName: qsTr("Shortcuts")
description: qsTr("System shortcut, custom shortcut")
icon: "dcc_nav_keyboard" // TODO: shortcut icon required
icon: "keyboard_fn"
weight: parent.weight // 300
page: DccSettingsView {
}
Expand Down
Binary file added src/plugin-keyboard/qml/device_keyboard.dci
Binary file not shown.
2 changes: 1 addition & 1 deletion src/plugin-keyboard/qml/keyboard.qml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ DccObject {
parentName: "device"
displayName: qsTr("Keyboard")
description: qsTr("General Settings, keyboard layout, input method, shortcuts")
icon: "dcc_nav_keyboard"
icon: "device_keyboard"
weight: 40
}

Expand Down
2 changes: 1 addition & 1 deletion src/plugin-keyboard/qml/keyboardMain.qml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ DccObject {
parentName: "keyboard"
displayName: qsTr("Keyboard layout")
description: qsTr("Set system default keyboard layout")
icon: "dcc_nav_keyboard"
icon: "keyboard_layout"
weight: 100
page: DccRightView {
spacing: 5
Expand Down
Binary file added src/plugin-keyboard/qml/keyboard_fn.dci
Binary file not shown.
Binary file added src/plugin-keyboard/qml/keyboard_input.dci
Binary file not shown.
Binary file added src/plugin-keyboard/qml/keyboard_layout.dci
Binary file not shown.
Binary file added src/plugin-mouse/qml/device_mouse.dci
Binary file not shown.
2 changes: 1 addition & 1 deletion src/plugin-mouse/qml/mouse.qml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ DccObject {
parentName:"device"
displayName: qsTr("Mouse and Touchpad")
description: qsTr("Common、Mouse、Touchpad")
icon:"dcc_nav_mouse"
icon:"device_mouse"
weight: 30

visible: !DccApp.isTreeland()
Expand Down
4 changes: 2 additions & 2 deletions src/plugin-mouse/qml/mouseMain.qml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ DccObject {
name: "MouseAndTouchpadMouse"
parentName: "MouseAndTouchpad"
displayName: qsTr("Mouse")
icon: "dcc_nav_mouse"
icon: "mouse_trackpad_mouse"
weight: 100
page: DccRightView {
spacing: 5
Expand All @@ -36,7 +36,7 @@ DccObject {
name: "Touchpad"
parentName: "MouseAndTouchpad"
displayName: qsTr("Touchpad")
icon: "dcc_nav_mouse"
icon: "mouse_trackpad_trackpad"
visible: dccData.tpadExist
weight: 200
page: DccRightView {
Expand Down
Binary file added src/plugin-mouse/qml/mouse_trackpad_mouse.dci
Binary file not shown.
Binary file added src/plugin-mouse/qml/mouse_trackpad_trackpad.dci
Binary file not shown.

0 comments on commit 4e73131

Please sign in to comment.