Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions panels/dock/AppletDockItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import org.deepin.ds 1.0

AppletItem {
id: appletDockItem
Accessible.id: "AppletDockItem"

property int dockOrder: 0
property bool shouldVisible: Applet.visible && Applet.supported
Expand Down
1 change: 1 addition & 0 deletions panels/dock/AppletItemButton.qml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import org.deepin.dtk

IconButton {
id: control
Accessible.id: "AppletItemButton_IconButton"
property bool isActive
property real radius: 4
property bool autoClosePopup: false
Expand Down
1 change: 1 addition & 0 deletions panels/dock/ShellSurfaceItemProxy.qml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Item {
ShellSurfaceItem {
id: impl
width: parent.width
Accessible.id: "ShellSurfaceItemProxy"
height: parent.height
shellSurface: root.shellSurface
inputEventsEnabled: root.inputEventsEnabled
Expand Down
3 changes: 2 additions & 1 deletion panels/dock/appruntimeitem/package/ShowRuntimeMenu.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2024 - 2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

Expand Down Expand Up @@ -33,6 +33,7 @@ ApplicationWindow {

ListView {
id: listView
Accessible.id: "ShowRuntimeMenu_ListView"
anchors.fill: parent
anchors.topMargin: 30
model: WindowManagerInstance
Expand Down
2 changes: 2 additions & 0 deletions panels/dock/appruntimeitem/package/appruntimeitem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ AppletItem {
property bool isMenuVisible: false

PanelToolTip {
Accessible.id: "appruntimeitem_Pane"
Accessible.role: Accessible.ToolTip
Component.onCompleted: { Accessible.id = "Appruntime" }
id: toolTip
Expand All @@ -28,6 +29,7 @@ AppletItem {
toolTipY: DockPanelPositioner.y
}
AppletItemButton {
Accessible.id: "appruntimeitem_Button"
Accessible.role: Accessible.Button
Component.onCompleted: { Accessible.id = "Button" }
id: button
Expand Down
9 changes: 9 additions & 0 deletions panels/dock/cardleft/package/CardLeftDockArea.qml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import org.deepin.ds.dock 1.0
import org.deepin.dtk 1.0 as D

AppletDockItem {
Accessible.id: "CardLeftDockArea_Pane"
id: root

readonly property bool fashionMode: Panel.fashionMode
Expand Down Expand Up @@ -218,6 +219,7 @@ AppletDockItem {
}

AppletItemBackground {
Accessible.id: "CardLeftDockArea_Pane_2"
x: root.hoverInset
y: root.hoverInset
width: parent.width - root.hoverInset
Expand Down Expand Up @@ -268,6 +270,7 @@ AppletDockItem {

SwipeView {
id: swipeView
Accessible.id: "CardLeftDockArea_SwipeView"

anchors.left: parent.left
anchors.right: parent.right
Expand Down Expand Up @@ -302,6 +305,7 @@ AppletDockItem {
readonly property bool surfaceHovered: SwipeView.isCurrentItem && surfaceItem.hovered

ShellSurfaceItemProxy {
Accessible.id: "CardLeftDockArea_Pane_3"
id: surfaceItem
width: parent.width
height: parent.height
Expand Down Expand Up @@ -360,6 +364,7 @@ AppletDockItem {
}

Item {
Accessible.id: "CardLeftDockArea_Item"
anchors.fill: parent
z: 1

Expand Down Expand Up @@ -410,6 +415,7 @@ AppletDockItem {
// the menu reuse the shared panel windows, whose WaylandOutputs are set up
// by the tray applet.
PanelToolTip {
Accessible.id: "CardLeftDockArea_Pane_4"
id: cardToolTip

property alias shellSurface: cardToolTipContent.shellSurface
Expand All @@ -418,6 +424,7 @@ AppletDockItem {
toolTipY: DockPanelPositioner.y

ShellSurfaceItemProxy {
Accessible.id: "CardLeftDockArea_Pane_5"
id: cardToolTipContent

anchors.centerIn: parent
Expand All @@ -427,6 +434,7 @@ AppletDockItem {
}

PanelMenu {
Accessible.id: "CardLeftDockArea_Menu"
id: cardMenu

property alias shellSurface: cardMenuContent.shellSurface
Expand All @@ -440,6 +448,7 @@ AppletDockItem {
anchors.fill: parent

ShellSurfaceItemProxy {
Accessible.id: "CardLeftDockArea_Pane_6"
id: cardMenuContent

anchors.centerIn: parent
Expand Down
1 change: 1 addition & 0 deletions panels/dock/multitaskview/package/multitaskview.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ AppletDockItem {
Accessible.name: toolTip.text

PanelToolTip {
Accessible.id: "multitaskview_Pane"
Accessible.role: Accessible.ToolTip
Component.onCompleted: { Accessible.id = "MultitaskingView" }
id: toolTip
Expand Down
6 changes: 6 additions & 0 deletions panels/dock/package/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ Window {

Item {
id: dockContainer
Accessible.id: "main_Item"
width: dock.useColumnLayout ? dock.dockSize : parent.width
height: dock.useColumnLayout ? parent.height : dock.dockSize
property bool touchLongPressed: false
Expand Down Expand Up @@ -505,6 +506,7 @@ Window {
anchors.fill: parent
active: dock.fashionDock.enabled && Panel.hideState === Dock.Show
sourceComponent: DockSpotlight {
Accessible.id: "main_Pane"
containsMouse: Panel.containsMouse
cursorPosition: dockContainer.mapFromItem(null, Panel.cursorPosition)
itemSize: dock.dockItemMaxSize
Expand Down Expand Up @@ -635,6 +637,7 @@ Window {
Accessible.name: qsTr("Dock Left Area")
OverflowContainer {
Accessible.role: Accessible.Pane
Accessible.id: "main_Pane_2"
Component.onCompleted: { Accessible.id = "LeftLoader" }
id: leftLoader
anchors.fill: parent
Expand Down Expand Up @@ -684,6 +687,7 @@ Window {
}

OverflowContainer {
Accessible.id: "main_Pane_8"
Accessible.role: Accessible.Pane
Component.onCompleted: { Accessible.id = "CenterLoader" }
id: centerLoader
Expand All @@ -706,6 +710,7 @@ Window {
}

Item {
Accessible.id: "main_Pane_12"
id: dockRightPart
implicitWidth: rightLoader.implicitWidth
implicitHeight: rightLoader.implicitHeight
Expand All @@ -714,6 +719,7 @@ Window {
anchors.right: parent.right
anchors.bottom: parent.bottom
OverflowContainer {
Accessible.id: "main_Pane_11"
Accessible.role: Accessible.Pane
Component.onCompleted: { Accessible.id = "RightLoader" }
id: rightLoader
Expand Down
1 change: 1 addition & 0 deletions panels/dock/showdesktop/package/showdesktop.qml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ AppletItem {
implicitHeight: shouldVisible ? (useColumnLayout ? showDesktopWidth : Panel.rootObject.dockSize) : 0

PanelToolTip {
Accessible.id: "showdesktop_Pane"
Accessible.role: Accessible.ToolTip
Component.onCompleted: { Accessible.id = "ShowDesktop" }
id: toolTip
Expand Down
7 changes: 7 additions & 0 deletions panels/dock/taskmanager/package/AppItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ Item {
}

AppItemPalette {
Accessible.id: "AppItem_Pane"
Accessible.role: Accessible.Pane
Component.onCompleted: { Accessible.id = "ItemPalette" }
id: itemPalette
Expand Down Expand Up @@ -230,6 +231,7 @@ Item {
}
}
LaunchAnimation {
Accessible.id: "AppItem_Pane_2"
id: launchAnimation
launchSpace: {
switch (Panel.position) {
Expand Down Expand Up @@ -262,6 +264,7 @@ Item {
}

WindowIndicator {
Accessible.id: "AppItem_Pane_3"
Accessible.role: Accessible.Indicator
id: windowIndicator
dotWidth: root.useColumnLayout ? Math.max(iconSize / 16, 2) : Math.max(iconSize / 3, 2)
Expand Down Expand Up @@ -321,6 +324,7 @@ Item {
}

AppItemTitle {
Accessible.id: "AppItem_Pane_5"
Accessible.role: Accessible.StaticText
Component.onCompleted: { Accessible.id = "TitleLoader" }
id: titleLoader
Expand Down Expand Up @@ -571,6 +575,7 @@ Item {
}

MouseArea {
Accessible.id: "AppItem_Pane_6"
id: mouseArea
anchors.fill: parent
hoverEnabled: false
Expand Down Expand Up @@ -633,6 +638,7 @@ Item {
}

PanelToolTip {
Accessible.id: "AppItem_Pane_7"
Accessible.role: Accessible.ToolTip
Component.onCompleted: { Accessible.id = "ToolTip" }
id: toolTip
Expand All @@ -641,6 +647,7 @@ Item {
}

PanelToolTip {
Accessible.id: "AppItem_Pane_8"
Accessible.role: Accessible.ToolTip
Component.onCompleted: { Accessible.id = "MoveToTrash" }
id: dragToolTip
Expand Down
7 changes: 6 additions & 1 deletion panels/dock/taskmanager/package/FolderPopup.qml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ PanelPopup {
font: D.DTK.fontManager.t6
}
Flickable {
Accessible.id: "FolderPopup_Flickable"
id: flick
anchors.fill: parent
anchors.topMargin: 44
Expand All @@ -112,12 +113,16 @@ PanelPopup {
clip: true
boundsBehavior: Flickable.StopAtBounds
flickableDirection: Flickable.VerticalFlick
ScrollBar.vertical: ScrollBar { policy: ScrollBar.AsNeeded }
ScrollBar.vertical: ScrollBar {
Accessible.id: "FolderPopup_ScrollBar"
policy: ScrollBar.AsNeeded
}
Grid {
columns: root.columns
Repeater {
model: root.contents
ItemDelegate {
Accessible.id: "FolderPopup_ItemDelegate"
id: entryDelegate
required property var modelData
width: flick.width / root.columns
Expand Down
2 changes: 2 additions & 0 deletions panels/dock/taskmanager/package/TaskManager.qml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ ContainmentItem {
}

OverflowContainer {
Accessible.id: "TaskManager_Pane"
Accessible.role: Accessible.Pane
Component.onCompleted: { Accessible.id = "AppContainer" }
id: appContainer
Expand Down Expand Up @@ -228,6 +229,7 @@ ContainmentItem {
}

AppItem {
Accessible.id: "TaskManager_Pane_2"
Accessible.role: Accessible.ListItem
id: appItem
anchors.fill: parent // This is mandatory for draggable item center in drop area
Expand Down
2 changes: 2 additions & 0 deletions panels/dock/taskmanager/x11preview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ class AppItemWindowDeletegate : public QAbstractItemDelegate
virtual QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
{
auto closeButton = new DIconButton(parent);
closeButton->setObjectName("closewindowbutton");
closeButton->setIcon(DDciIcon::fromTheme("close"));
closeButton->setEnabledCircle(true);
QPalette palette = closeButton->palette();
Expand Down Expand Up @@ -639,6 +640,7 @@ void X11WindowPreviewContainer::updatePreviewTitle(const QString& title)
void X11WindowPreviewContainer::initUI()
{
m_view = new PreviewsListView(this);
m_view->setObjectName("windowpreviewlist");
QVBoxLayout* mainLayout = new QVBoxLayout;
QHBoxLayout* titleLayout = new QHBoxLayout;
titleLayout->setContentsMargins(5, 0, 5, 0);
Expand Down
5 changes: 5 additions & 0 deletions panels/dock/tray/SurfacePopup.qml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Item {
signal popupCreated(var surfaceId)

PanelToolTip {
Accessible.id: "SurfacePopup_Pane"
Accessible.role: Accessible.ToolTip
Component.onCompleted: { Accessible.id = "ToolTip" }
id: toolTip
Expand All @@ -28,6 +29,7 @@ Item {

property alias shellSurface: surfaceLayer.shellSurface
ShellSurfaceItemProxy {
Accessible.id: "SurfacePopup_Pane_2"
Accessible.role: Accessible.Pane
Component.onCompleted: { Accessible.id = "SurfaceLayer" }
id: surfaceLayer
Expand All @@ -52,6 +54,7 @@ Item {
}
}
PanelMenu {
Accessible.id: "SurfacePopup_Menu_3"
Accessible.role: Accessible.PopupMenu
Component.onCompleted: { Accessible.id = "Menu" }
id: menu
Expand All @@ -61,6 +64,7 @@ Item {

property alias shellSurface: menuSurfaceLayer.shellSurface
ShellSurfaceItemProxy {
Accessible.id: "SurfacePopup_Pane_5"
Accessible.role: Accessible.Pane
Component.onCompleted: { Accessible.id = "MenuSurfaceLayer" }
id: menuSurfaceLayer
Expand All @@ -84,6 +88,7 @@ Item {
id: subMenuLoader
active: false
sourceComponent: SurfaceSubPopup {
Accessible.id: "SurfacePopup_Dialog_2"
Accessible.role: Accessible.Dialog
Component.onCompleted: { Accessible.id = "SurfaceSubPopup" }
objectName: "stashed's subPopup"
Expand Down
2 changes: 2 additions & 0 deletions panels/dock/tray/SurfaceSubPopup.qml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Item {
}

PanelMenu {
Accessible.id: "SurfaceSubPopup_Menu_2"
Accessible.role: Accessible.PopupMenu
Component.onCompleted: { Accessible.id = "Popup" }
id: popup
Expand All @@ -56,6 +57,7 @@ Item {

property alias shellSurface: popupSurfaceLayer.shellSurface
ShellSurfaceItemProxy {
Accessible.id: "SurfaceSubPopup_Pane"
Accessible.role: Accessible.Pane
Component.onCompleted: { Accessible.id = "PopupSurfaceLayer" }
id: popupSurfaceLayer
Expand Down
Loading
Loading