diff --git a/common-plugin/networkdialog/item/netitem.cpp b/common-plugin/networkdialog/item/netitem.cpp index 2b6196773..e8af9c9d4 100644 --- a/common-plugin/networkdialog/item/netitem.cpp +++ b/common-plugin/networkdialog/item/netitem.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2018 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2018 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later @@ -267,6 +267,7 @@ void WiredItem::initUi() m_connectionIconAction = new DViewItemAction(Qt::AlignLeft | Qt::AlignVCenter, QSize(20, 20), QSize(8, 20), false); + m_connectionIconAction->setObjectName("ConnectionIconAction"); standardItem()->setActionList(Qt::LeftEdge, { emptyAction, m_connectionIconAction }); updateView(); @@ -371,6 +372,7 @@ QString WirelessItem::getStrengthStateString(int strength) void WirelessItem::initUi(QWidget *parent) { m_expandItem = new DViewItemAction(Qt::AlignBottom, QSize(PANELWIDTH, 20), QSize(PANELWIDTH, 20), false); + m_expandItem->setObjectName("ExpandItem"); m_stackWidget = new DStackedWidget(parent); // 初始化展开输入控件 initExpandUi(); @@ -379,15 +381,18 @@ void WirelessItem::initUi(QWidget *parent) m_expandItem->setVisible(false); // 左侧的加密图标 m_securityAction = new DViewItemAction(Qt::AlignLeft , QSize(20, 35), QSize(20, 35), false); + m_securityAction->setObjectName("SecurityAction"); updateSrcirityIcon(); // 绘制WiFi图标 m_wifiLabel = new DViewItemAction(Qt::AlignLeft , QSize(20, 35), QSize(8, 35), false); + m_wifiLabel->setObjectName("WifiLabel"); updateWifiIcon(); standardItem()->setSizeHint(QSize(-1, 36)); standardItem()->setActionList(Qt::LeftEdge, { m_securityAction, m_wifiLabel }); m_topItem = new DViewItemAction(Qt::AlignTop, QSize(-1, 1), QSize(-1, 1), false); + m_topItem->setObjectName("TopItem"); standardItem()->setActionList(Qt::TopEdge, { m_topItem }); m_topItem->setVisible(false); // 绘制右侧的连接图标 @@ -524,6 +529,7 @@ void WirelessItem::createPasswordEdit() // 密码输入窗 DWidget *passwdWidget = new DWidget(m_stackWidget); m_passwdEdit = new DPasswordEdit(passwdWidget); + m_passwdEdit->setObjectName("PasswdEdit"); m_passwdEdit->lineEdit()->setPlaceholderText(tr("Password")); m_passwdEdit->lineEdit()->setMaxLength(256); m_passwdEdit->setContextMenuPolicy(Qt::NoContextMenu); @@ -532,6 +538,7 @@ void WirelessItem::createPasswordEdit() DPushButton *cancelButtion = new DPushButton(tr("Cancel", "button"), passwdWidget); // 取消 m_connectButton = new DSuggestButton(tr("Connect", "button"), passwdWidget); // 连接 + m_connectButton->setObjectName("ConnectButton"); cancelButtion->setFixedHeight(36); cancelButtion->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); m_connectButton->setFixedHeight(36); @@ -566,6 +573,7 @@ void WirelessItem::createSsidEdit() // ssid输入窗 DWidget *ssidWidget = new DWidget(m_stackWidget); m_ssidEdit = new DLineEdit(ssidWidget); + m_ssidEdit->setObjectName("SsidEdit"); m_ssidEdit->setPlaceholderText(tr("Name (SSID)")); m_ssidEdit->lineEdit()->setMaxLength(256); m_ssidEdit->setContextMenuPolicy(Qt::NoContextMenu); @@ -574,6 +582,8 @@ void WirelessItem::createSsidEdit() DPushButton *cancelButtion = new DPushButton(tr("Cancel", "button"), ssidWidget); // 取消 DPushButton *connectButton = new DSuggestButton(tr("Connect", "button"), ssidWidget); // 连接 + cancelButtion->setObjectName("SsidCancelBtn"); + connectButton->setObjectName("SsidConnectBtn"); cancelButtion->setFixedHeight(36); cancelButtion->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); connectButton->setFixedHeight(36); diff --git a/dcc-network-plugin/window/controllitemsmodel.cpp b/dcc-network-plugin/window/controllitemsmodel.cpp index d89b18f38..e1f6df6d4 100644 --- a/dcc-network-plugin/window/controllitemsmodel.cpp +++ b/dcc-network-plugin/window/controllitemsmodel.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2018 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2018 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later @@ -34,6 +34,8 @@ struct ControllItemsAction , conn(_conn) , item(new DStandardItem()) { + iconAction->setObjectName("IconAction"); + spinnerAction->setObjectName("SpinnerAction"); iconAction->setData(QVariant::fromValue(conn)); rightList.append(spinnerAction); rightList.append(iconAction); diff --git a/dcc-network-plugin/window/editpage/connectioneditpage.cpp b/dcc-network-plugin/window/editpage/connectioneditpage.cpp index ff6d80330..6210770de 100644 --- a/dcc-network-plugin/window/editpage/connectioneditpage.cpp +++ b/dcc-network-plugin/window/editpage/connectioneditpage.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2018 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2018 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later @@ -97,6 +97,8 @@ void ConnectionEditPage::initUI() m_disconnectBtn = m_buttonTuple_conn->leftButton(); m_removeBtn = m_buttonTuple_conn->rightButton(); + m_disconnectBtn->setObjectName("DisconnectBtn"); + m_removeBtn->setObjectName("RemoveBtn"); // GSettingWatcher::instance()->bind("removeConnection", m_removeBtn); m_disconnectBtn->setText(tr("Disconnect", "button")); diff --git a/dcc-network-plugin/window/editpage/connectionvpneditpage.cpp b/dcc-network-plugin/window/editpage/connectionvpneditpage.cpp index 0de3379ad..a5267ab9b 100644 --- a/dcc-network-plugin/window/editpage/connectionvpneditpage.cpp +++ b/dcc-network-plugin/window/editpage/connectionvpneditpage.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2018 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2018 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later @@ -168,6 +168,7 @@ void ConnectionVpnEditPage::initSettingsWidgetByType(ConnectionVpnEditPage::VpnT if (SupportedExportVpnList.contains(vpnType) && !connectionUuid().isEmpty()) { if (!m_exportButton) { m_exportButton = new QPushButton(this); + m_exportButton->setObjectName("ExportButton"); m_exportButton->setText(tr("Export", "button")); connect(m_exportButton, &QPushButton::clicked, this, &ConnectionVpnEditPage::exportConnConfig); addHeaderButton(m_exportButton); diff --git a/dcc-network-plugin/window/sections/ethernetsection.cpp b/dcc-network-plugin/window/sections/ethernetsection.cpp index 52cb74418..72d926671 100644 --- a/dcc-network-plugin/window/sections/ethernetsection.cpp +++ b/dcc-network-plugin/window/sections/ethernetsection.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2018 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2018 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later @@ -130,6 +130,7 @@ void EthernetSection::initUI() { m_deviceMacLine->setTitle(tr("Device MAC Addr")); m_deviceMacComboBox = m_deviceMacLine->comboBox(); + m_deviceMacComboBox->setObjectName("DeviceMacComboBox"); for (const QString &key : m_macStrMap.keys()) m_deviceMacComboBox->addItem(key, m_macStrMap.value(key)); diff --git a/dcc-network-plugin/window/sections/ipvxsection.cpp b/dcc-network-plugin/window/sections/ipvxsection.cpp index 925c1a65d..2df2cb4c6 100644 --- a/dcc-network-plugin/window/sections/ipvxsection.cpp +++ b/dcc-network-plugin/window/sections/ipvxsection.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2018 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2018 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later @@ -223,6 +223,7 @@ void IpvxSection::initUI() m_neverDefault->setVisible(false); m_methodChooser = m_methodLine->comboBox(); + m_methodChooser->setObjectName("MethodChooser"); m_methodLine->setTitle(tr("Method")); appendItem(m_methodLine); appendItem(m_ipAddress); diff --git a/dcc-network-plugin/window/sections/multiipvxsection.cpp b/dcc-network-plugin/window/sections/multiipvxsection.cpp index f50440314..5bbf44848 100644 --- a/dcc-network-plugin/window/sections/multiipvxsection.cpp +++ b/dcc-network-plugin/window/sections/multiipvxsection.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2018 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2018 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later @@ -45,6 +45,7 @@ MultiIpvxSection::MultiIpvxSection(Setting::Ptr ipvSetting, QFrame *parent) m_headerEditWidget->setFixedHeight(30); m_methodChooser = m_methodLine->comboBox(); + m_methodChooser->setObjectName("MethodChooser_2"); m_methodLine->setTitle(tr("Method")); appendItem(m_methodLine); @@ -359,6 +360,8 @@ IPInputSection::IPInputSection(IpAddress ipAddress, QFrame *parent) , m_deleteButton(new DIconButton(DStyle::SP_DeleteButton, this)) { initUi(); + m_newIpButton->setObjectName("NewIpBtn"); + m_deleteButton->setObjectName("DeleteIpBtn"); initConnection(); } @@ -445,6 +448,8 @@ IPV4InputSection::IPV4InputSection(IpAddress ipAddress, QFrame *parent) , m_netmaskIpv4(new LineEditWidget(this)) { initUi(); + m_newIpButton->setObjectName("NewIpBtn"); + m_deleteButton->setObjectName("DeleteIpBtn"); initConnection(); } @@ -591,6 +596,8 @@ IPV6InputSection::IPV6InputSection(IpAddress ipAddress, QFrame *parent) , m_prefixIpv6(new SpinBoxWidget(this)) { initUi(); + m_newIpButton->setObjectName("NewIpBtn"); + m_deleteButton->setObjectName("DeleteIpBtn"); } IPV6InputSection::~IPV6InputSection() diff --git a/dcc-network-plugin/window/sections/wirelesssection.cpp b/dcc-network-plugin/window/sections/wirelesssection.cpp index 0565a56a2..81edf4fb1 100644 --- a/dcc-network-plugin/window/sections/wirelesssection.cpp +++ b/dcc-network-plugin/window/sections/wirelesssection.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2018 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2018 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later @@ -136,6 +136,7 @@ void WirelessSection::initUI() m_deviceMacLine->setTitle(tr("Device MAC Addr")); m_deviceMacComboBox = m_deviceMacLine->comboBox(); + m_deviceMacComboBox->setObjectName("DeviceMacComboBox_2"); for (const QString &key : m_macStrMap.keys()) m_deviceMacComboBox->addItem(key, m_macStrMap.value(key).first); diff --git a/dcc-network-plugin/window/widgets/buttoneditwidget.cpp b/dcc-network-plugin/window/widgets/buttoneditwidget.cpp index f501570c1..1c79ce770 100644 --- a/dcc-network-plugin/window/widgets/buttoneditwidget.cpp +++ b/dcc-network-plugin/window/widgets/buttoneditwidget.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2018 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2018 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later @@ -60,6 +60,9 @@ ButtonEditWidget::ButtonEditWidget(QFrame *parent) , m_reduceBtn(new DIconButton(DStyle::SP_DeleteButton, this)) { m_title->setFixedWidth(110); + m_edit->setObjectName("IpEdit"); + m_addBtn->setObjectName("AddBtn"); + m_reduceBtn->setObjectName("ReduceBtn"); m_edit->setContextMenuPolicy(Qt::NoContextMenu); m_addBtn->setFixedSize(QSize(19, 19)); @@ -115,9 +118,9 @@ void ButtonEditWidget::setTitle(const QString &title) { m_title->setText(title); m_title->setWordWrap(true); - setAccessibleName(title); m_edit->setAccessibleName(title); + } void ButtonEditWidget::setText(const QString &text) diff --git a/dcc-network-plugin/window/widgets/filechoosewidget.cpp b/dcc-network-plugin/window/widgets/filechoosewidget.cpp index 32ea7ca8f..6671f4976 100644 --- a/dcc-network-plugin/window/widgets/filechoosewidget.cpp +++ b/dcc-network-plugin/window/widgets/filechoosewidget.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2018 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2018 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later @@ -24,6 +24,7 @@ FileChooseWidget::FileChooseWidget(QWidget *parent) , m_fileChooserEdit(new DFileChooserEdit(this)) , m_title(new QLabel) { + m_fileChooserEdit->setObjectName("FileChooserEdit"); m_title->setFixedWidth(110); QHBoxLayout *mainLayout = new QHBoxLayout; mainLayout->addWidget(m_title); diff --git a/dcc-network-plugin/window/wirelessdevicemodel.cpp b/dcc-network-plugin/window/wirelessdevicemodel.cpp index 20d5c15ed..584305b7f 100644 --- a/dcc-network-plugin/window/wirelessdevicemodel.cpp +++ b/dcc-network-plugin/window/wirelessdevicemodel.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2018 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2018 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later @@ -37,6 +37,9 @@ struct ItemAction , ap(_ap) , item(new DStandardItem()) { + secureAction->setObjectName("SecureAction"); + iconAction->setObjectName("IconAction_2"); + spinnerAction->setObjectName("SpinnerAction_2"); iconAction->setData(QVariant::fromValue(ap)); leftList.append(secureAction); rightList.append(spinnerAction); diff --git a/dcc-network/qml/DeviceStatusItem.qml b/dcc-network/qml/DeviceStatusItem.qml index 5088989c1..26157be88 100644 --- a/dcc-network/qml/DeviceStatusItem.qml +++ b/dcc-network/qml/DeviceStatusItem.qml @@ -66,6 +66,7 @@ RowLayout { } } D.Switch { + objectName: "DeviceStatusItem_Switch" checked: root.netItem.isEnabled enabled: root.netItem.enabledable onClicked: { diff --git a/dcc-network/qml/NetButton.qml b/dcc-network/qml/NetButton.qml index 6e92a4fc0..48e490817 100644 --- a/dcc-network/qml/NetButton.qml +++ b/dcc-network/qml/NetButton.qml @@ -1,9 +1,10 @@ -// SPDX-FileCopyrightText: 2024 - 2027 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2024 - 2026 UnionTech Software Technology Co., Ltd. // SPDX-License-Identifier: GPL-3.0-or-later import QtQuick 2.15 import QtQuick.Controls 2.15 Button { + objectName: "NetButton_Button" implicitHeight: implicitContentHeight + 6 implicitWidth: implicitContentWidth + 10 topPadding: 0 diff --git a/dcc-network/qml/NetFileChooseEdit.qml b/dcc-network/qml/NetFileChooseEdit.qml index 4e3d83290..e1385c462 100644 --- a/dcc-network/qml/NetFileChooseEdit.qml +++ b/dcc-network/qml/NetFileChooseEdit.qml @@ -31,6 +31,7 @@ RowLayout { } D.LineEdit { id: edit + objectName: "FileChooseEdit" Layout.preferredWidth: edit.implicitWidth - browseBtn.width - root.spacing onTextChanged: { if (!initialized) { @@ -54,6 +55,8 @@ RowLayout { } NetButton { + objectName: "BrowseBtn" + Accessible.role: Accessible.Button id: browseBtn text: "..." onClicked: { diff --git a/dcc-network/qml/NetItemEditor.qml b/dcc-network/qml/NetItemEditor.qml index a82004dc9..995a10820 100644 --- a/dcc-network/qml/NetItemEditor.qml +++ b/dcc-network/qml/NetItemEditor.qml @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2024 - 2027 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2024 - 2026 UnionTech Software Technology Co., Ltd. // SPDX-License-Identifier: GPL-3.0-or-later import QtQuick 2.15 import QtQuick.Controls 2.15 @@ -9,6 +9,7 @@ import org.deepin.dtk 1.0 as D import org.deepin.dcc 1.0 D.ItemDelegate { + objectName: "NetItemEditor_ItemDelegate" Layout.fillWidth: true backgroundVisible: false checkable: false diff --git a/dcc-network/qml/NetPasswordEdit.qml b/dcc-network/qml/NetPasswordEdit.qml index c5e038dab..dae2d3bf4 100644 --- a/dcc-network/qml/NetPasswordEdit.qml +++ b/dcc-network/qml/NetPasswordEdit.qml @@ -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 import QtQuick 2.15 @@ -8,6 +8,7 @@ import org.deepin.dcc 1.0 D.PasswordEdit { property var dataItem + objectName: "PasswordEdit" property bool newInput: false property bool initialized: false signal textUpdated diff --git a/dcc-network/qml/NetworkMain.qml b/dcc-network/qml/NetworkMain.qml index 640d18c7d..959ef1437 100644 --- a/dcc-network/qml/NetworkMain.qml +++ b/dcc-network/qml/NetworkMain.qml @@ -42,6 +42,8 @@ DccObject { } } PageAirplane { + objectName: "NetworkMain_PageAirplane" + Accessible.role: Accessible.Grouping name: "airplaneMode" parentName: "network" weight: 3040 @@ -56,18 +58,24 @@ DccObject { DelegateChoice { roleValue: NetType.WiredDeviceItem delegate: PageWiredDevice { + objectName: "NetworkMain_PageWiredDevice_" + model.item.id + Accessible.role: Accessible.Grouping netItem: model.item } } DelegateChoice { roleValue: NetType.WirelessDeviceItem delegate: PageWirelessDevice { + objectName: "NetworkMain_PageWirelessDevice_" + model.item.id + Accessible.role: Accessible.Grouping netItem: model.item } } DelegateChoice { roleValue: NetType.VPNControlItem delegate: PageVPN { + objectName: "NetworkMain_PageVPN_" + model.item.id + Accessible.role: Accessible.Grouping name: "networkVpn" parentName: "network" weight: 3010 @@ -77,6 +85,8 @@ DccObject { DelegateChoice { roleValue: NetType.DSLControlItem delegate: PageDSL { + objectName: "NetworkMain_PageDSL_" + model.item.id + Accessible.role: Accessible.Grouping name: "dsl" parentName: "network" weight: 3020 @@ -86,6 +96,8 @@ DccObject { DelegateChoice { roleValue: NetType.HotspotControlItem delegate: PageHotspot { + objectName: "NetworkMain_PageHotspot_" + model.item.id + Accessible.role: Accessible.Grouping name: "personalHotspot" parentName: "network" isAirplane: dccData.root.isEnabled @@ -96,6 +108,8 @@ DccObject { DelegateChoice { roleValue: NetType.SystemProxyControlItem delegate: PageSystemProxy { + objectName: "NetworkMain_PageSystemProxy_" + model.item.id + Accessible.role: Accessible.Grouping name: "systemProxy" parentName: "network" weight: 3050 @@ -105,6 +119,8 @@ DccObject { DelegateChoice { roleValue: NetType.AppProxyControlItem delegate: PageAppProxy { + objectName: "NetworkMain_PageAppProxy_" + model.item.id + Accessible.role: Accessible.Grouping name: "applicationProxy" parentName: "network" weight: 3060 @@ -114,6 +130,8 @@ DccObject { DelegateChoice { roleValue: NetType.DetailsItem delegate: PageDetails { + objectName: "NetworkMain_PageDetails_" + model.item.id + Accessible.role: Accessible.Grouping name: "networkDetails" parentName: "network" weight: 3070 diff --git a/dcc-network/qml/PageAirplane.qml b/dcc-network/qml/PageAirplane.qml index e906a989f..781fb3c9f 100644 --- a/dcc-network/qml/PageAirplane.qml +++ b/dcc-network/qml/PageAirplane.qml @@ -28,6 +28,7 @@ DccObject { implicitHeight: switchControl.implicitHeight implicitWidth: switchControl.implicitWidth D.Switch { + objectName: "SwitchControl" id: switchControl anchors.fill: parent checked: netItem.isEnabled diff --git a/dcc-network/qml/PageAppProxy.qml b/dcc-network/qml/PageAppProxy.qml index 1696cfbcb..6af104050 100644 --- a/dcc-network/qml/PageAppProxy.qml +++ b/dcc-network/qml/PageAppProxy.qml @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2024 - 2027 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2024 - 2026 UnionTech Software Technology Co., Ltd. // SPDX-License-Identifier: GPL-3.0-or-later import QtQuick 2.15 import QtQuick.Controls 2.15 @@ -62,6 +62,7 @@ DccObject { backgroundType: DccObject.Normal pageType: DccObject.Editor page: D.Switch { + objectName: "PageAppProxy_Switch" checked: proxyEnable enabled: netItem.enabledable onClicked: { @@ -92,6 +93,7 @@ DccObject { weight: 10 pageType: DccObject.Editor page: ComboBox { + objectName: "PageAppProxy_ComboBox" flat: true textRole: "text" valueRole: "value" @@ -250,6 +252,7 @@ DccObject { weight: 30 pageType: DccObject.Item page: Button { + objectName: "Cancel_3" implicitHeight: implicitContentHeight + 10 implicitWidth: implicitContentWidth + 10 topPadding: 0 @@ -272,6 +275,7 @@ DccObject { weight: 40 pageType: DccObject.Item page: Button { + objectName: "Save_2" implicitHeight: implicitContentHeight + 10 implicitWidth: implicitContentWidth + 10 topPadding: 0 diff --git a/dcc-network/qml/PageDSL.qml b/dcc-network/qml/PageDSL.qml index ce752c86e..90ef8bc5b 100644 --- a/dcc-network/qml/PageDSL.qml +++ b/dcc-network/qml/PageDSL.qml @@ -41,6 +41,7 @@ DccObject { } delegate: ItemDelegate { + objectName: "ItemDelegate_2_" + index id: itemDelegate implicitHeight: 36 text: model.item.name @@ -59,6 +60,8 @@ DccObject { visible: model.item.status === NetType.CS_Connected && !itemDelegate.hovered } NetButton { + objectName: "Disconnect_2_" + index + Accessible.role: Accessible.Button implicitHeight: implicitContentHeight - 4 topInset: -4 bottomInset: -4 @@ -96,6 +99,8 @@ DccObject { } } PageDSLSettings { + objectName: "DslSettings" + Accessible.role: Accessible.Grouping id: dslSettings name: "dslSettings" parentName: root.name + "/body/networkList" @@ -142,6 +147,8 @@ DccObject { weight: 40 pageType: DccObject.Item page: NetButton { + objectName: "AddPppoEConnection" + Accessible.role: Accessible.Button Layout.alignment: Qt.AlignRight text: qsTr("Add PPPoE connection") onClicked: { diff --git a/dcc-network/qml/PageDSLSettings.qml b/dcc-network/qml/PageDSLSettings.qml index 6953e8127..4aa63c183 100644 --- a/dcc-network/qml/PageDSLSettings.qml +++ b/dcc-network/qml/PageDSLSettings.qml @@ -37,30 +37,40 @@ DccObject { } } SectionGeneric { + objectName: "SectionGeneric_2" + Accessible.role: Accessible.Grouping id: sectionGeneric parentName: root.parentUrl + "/body" weight: 100 onEditClicked: modified = true } SectionPPPOE { + objectName: "SectionPppoe" + Accessible.role: Accessible.Grouping id: sectionPPPOE parentName: root.parentUrl + "/body" weight: 200 onEditClicked: modified = true } SectionIPv4 { + objectName: "SectionIpv4_2" + Accessible.role: Accessible.Grouping id: sectionIPv4 parentName: root.parentUrl + "/body" weight: 300 onEditClicked: modified = true } SectionDNS { + objectName: "SectionDns_2" + Accessible.role: Accessible.Grouping id: sectionDNS parentName: root.parentUrl + "/body" weight: 400 onEditClicked: modified = true } SectionDevice { + objectName: "SectionDevice" + Accessible.role: Accessible.Grouping id: sectionDevice parentName: root.parentUrl + "/body" weight: 500 @@ -68,6 +78,8 @@ DccObject { onEditClicked: modified = true } SectionPPP { + objectName: "SectionPpp" + Accessible.role: Accessible.Grouping id: sectionPPP parentName: root.parentUrl + "/body" weight: 600 @@ -105,6 +117,8 @@ DccObject { pageType: DccObject.Item visible: config && config.connection.uuid !== "{00000000-0000-0000-0000-000000000000}" page: NetButton { + objectName: "PageDslsettings_NetButton" + Accessible.role: Accessible.Button contentItem: D.IconLabel { text: qsTr("Delete") color: "red" @@ -136,6 +150,7 @@ DccObject { Layout.topMargin: 10 Layout.bottomMargin: 10 Button { + objectName: "Cancel_4" Layout.fillWidth: true text: qsTr("Cancel") onClicked: close() @@ -147,6 +162,7 @@ DccObject { } D.Button { + objectName: "Component_Button_2" Layout.fillWidth: true contentItem: D.IconLabel { text: qsTr("Delete") @@ -180,6 +196,8 @@ DccObject { weight: 30 pageType: DccObject.Item page: NetButton { + objectName: "Cancel_5" + Accessible.role: Accessible.Button text: qsTr("Cancel") onClicked: { root.finished() @@ -193,6 +211,8 @@ DccObject { enabled: root.modified pageType: DccObject.Item page: NetButton { + objectName: "Save_3" + Accessible.role: Accessible.Button text: qsTr("Save") onClicked: { if (!sectionGeneric.checkInput() || !sectionPPPOE.checkInput() || !sectionIPv4.checkInput() || !sectionDNS.checkInput() || !sectionDevice.checkInput() || !sectionPPP.checkInput()) { diff --git a/dcc-network/qml/PageDetails.qml b/dcc-network/qml/PageDetails.qml index 4a9fb30ac..44e247518 100644 --- a/dcc-network/qml/PageDetails.qml +++ b/dcc-network/qml/PageDetails.qml @@ -61,6 +61,8 @@ DccObject { elide: Text.ElideMiddle } D.ActionButton { + objectName: "CopyBtn" + Accessible.role: Accessible.Button property bool clipboard: false Layout.alignment: Qt.AlignRight | Qt.AlignVCenter Layout.preferredWidth: 30 @@ -119,6 +121,7 @@ DccObject { id: repeater model: infoItem.details delegate: ItemDelegate { + objectName: "ModelData_" + index implicitHeight: 36 text: modelData[0] font: D.DTK.fontManager.t6 @@ -130,6 +133,7 @@ DccObject { leftPadding: 10 rightPadding: 10 content: TextInput { + objectName: "TextInput_" + index id: textInput text: modelData[1] color: palette.text @@ -142,7 +146,9 @@ DccObject { id: menuLoader active: false sourceComponent: D.Menu { + objectName: "Loader_Menu_" + index D.MenuItem { + objectName: "Copy_" + index text: qsTr("Copy") enabled: textInput.selectionStart !== textInput.selectionEnd onTriggered: { @@ -150,6 +156,7 @@ DccObject { } } D.MenuItem { + objectName: "SelectAll_" + index text: qsTr("Select All") onTriggered: { textInput.selectAll() @@ -189,6 +196,8 @@ DccObject { pageType: DccObject.Item visible: dccData.netCheckAvailable() page: NetButton { + objectName: "NetworkDetection" + Accessible.role: Accessible.Button text: qsTr("Network Detection") Layout.alignment: Qt.AlignRight onClicked: { diff --git a/dcc-network/qml/PageHotspot.qml b/dcc-network/qml/PageHotspot.qml index 2d3683fea..35e8e995a 100644 --- a/dcc-network/qml/PageHotspot.qml +++ b/dcc-network/qml/PageHotspot.qml @@ -100,6 +100,7 @@ DccObject { implicitHeight: switchControl.implicitHeight implicitWidth: switchControl.implicitWidth D.Switch { + objectName: "SwitchControl_2" id: switchControl anchors.fill: parent checked: root.hotspotStatus === PageHotspot.Status.Enabled || root.hotspotStatus === PageHotspot.Status.Enabling @@ -204,6 +205,8 @@ DccObject { } D.ActionButton { Layout.alignment: Qt.AlignRight + objectName: "EditBtn" + Accessible.role: Accessible.Button focusPolicy: Qt.NoFocus Layout.preferredWidth: 30 Layout.preferredHeight: 30 @@ -266,6 +269,8 @@ DccObject { id: colLayout width: parent.width NetItemEditor { + objectName: "NameSsid" + Accessible.role: Accessible.Button text: qsTr("Name (SSID)") corners: getCornersForBackground(0, colLayout.children.length) content: D.LineEdit { @@ -280,9 +285,12 @@ DccObject { } } NetItemEditor { + objectName: "Security" + Accessible.role: Accessible.Button text: qsTr("Security") corners: getCornersForBackground(1, colLayout.children.length) content: D.ComboBox { + objectName: "NetItemEditor_ComboBox" flat: true textRole: "text" valueRole: "value" @@ -309,6 +317,8 @@ DccObject { } } NetItemEditor { + objectName: "Password_2" + Accessible.role: Accessible.Button text: qsTr("Password") corners: getCornersForBackground(2, colLayout.children.length) visible: keyMgmt.length !== 0 @@ -333,9 +343,12 @@ DccObject { } } NetItemEditor { + objectName: "Band" + Accessible.role: Accessible.Button text: qsTr("Band") corners: getCornersForBackground(3, colLayout.children.length) content: D.ComboBox { + objectName: "NetItemEditor_ComboBox_2" flat: true textRole: "text" valueRole: "value" @@ -364,6 +377,7 @@ DccObject { Layout.topMargin: 10 Layout.bottomMargin: 10 Button { + objectName: "Cancel_8" Layout.fillWidth: true text: qsTr("Cancel") onClicked: close() @@ -467,6 +481,7 @@ DccObject { RowLayout { id: layoutView TextInput { + objectName: "80211WirelessSecurity" text: root.config.hasOwnProperty("802-11-wireless-security") ? root.config["802-11-wireless-security"].psk : "" color: this.palette.text selectedTextColor: this.palette.highlightedText @@ -476,6 +491,8 @@ DccObject { } D.ActionButton { focusPolicy: Qt.NoFocus + objectName: "PasswordToggleBtn" + Accessible.role: Accessible.Button onClicked: isEchoMode = !isEchoMode icon.name: isEchoMode ? "entry_password_shown" : "entry_password_hide" } @@ -533,6 +550,7 @@ DccObject { backgroundType: DccObject.Normal pageType: DccObject.Editor page: D.ComboBox { + objectName: "PageHotspot_ComboBox" function updateCurrentIndex() { if (root.config["802-11-wireless"].hasOwnProperty("mac-address")) { currentIndex = indexOfValue(macToString(root.config["802-11-wireless"]["mac-address"])) diff --git a/dcc-network/qml/PageSettings.qml b/dcc-network/qml/PageSettings.qml index 676435050..eb5bb6748 100644 --- a/dcc-network/qml/PageSettings.qml +++ b/dcc-network/qml/PageSettings.qml @@ -37,6 +37,8 @@ DccObject { } } SectionGeneric { + objectName: "SectionGeneric_3" + Accessible.role: Accessible.Grouping id: sectionGeneric parentName: root.parentUrl + "/body" weight: 100 @@ -44,30 +46,40 @@ DccObject { onEditClicked: modified = true } SectionSecret { + objectName: "SectionSecret" + Accessible.role: Accessible.Grouping id: sectionSecret parentName: root.parentUrl + "/body" weight: 200 onEditClicked: modified = true } SectionIPv4 { + objectName: "SectionIpv4_3" + Accessible.role: Accessible.Grouping id: sectionIPv4 parentName: root.parentUrl + "/body" weight: 300 onEditClicked: modified = true } SectionIPv6 { + objectName: "SectionIpv6_2" + Accessible.role: Accessible.Grouping id: sectionIPv6 parentName: root.parentUrl + "/body" weight: 400 onEditClicked: modified = true } SectionDNS { + objectName: "SectionDns_3" + Accessible.role: Accessible.Grouping id: sectionDNS parentName: root.parentUrl + "/body" weight: 500 onEditClicked: modified = true } SectionDevice { + objectName: "SectionDevice_2" + Accessible.role: Accessible.Grouping id: sectionDevice parentName: root.parentUrl + "/body" weight: 600 @@ -109,6 +121,8 @@ DccObject { pageType: DccObject.Item visible: config && config.connection.uuid !== "{00000000-0000-0000-0000-000000000000}" page: NetButton { + objectName: "PageSettings_NetButton" + Accessible.role: Accessible.Button contentItem: D.IconLabel { text: qsTr("Delete") color: "red" @@ -140,6 +154,7 @@ DccObject { Layout.topMargin: 10 Layout.bottomMargin: 10 Button { + objectName: "Cancel_6" Layout.fillWidth: true text: qsTr("Cancel") onClicked: close() @@ -151,6 +166,7 @@ DccObject { } D.Button { + objectName: "Component_Button_3" Layout.fillWidth: true contentItem: D.IconLabel { text: qsTr("Delete") @@ -184,6 +200,8 @@ DccObject { weight: 30 pageType: DccObject.Item page: NetButton { + objectName: "Cancel_7" + Accessible.role: Accessible.Button text: qsTr("Cancel") onClicked: { root.finished() @@ -197,6 +215,8 @@ DccObject { enabled: root.modified pageType: DccObject.Item page: NetButton { + objectName: "Save_4" + Accessible.role: Accessible.Button text: qsTr("Save") onClicked: { if (!sectionGeneric.checkInput() || !sectionSecret.checkInput() || !sectionIPv4.checkInput() || !sectionIPv6.checkInput() || !sectionDNS.checkInput() || !sectionDevice.checkInput()) { diff --git a/dcc-network/qml/PageSystemProxy.qml b/dcc-network/qml/PageSystemProxy.qml index 15128c1d9..0873eea2d 100644 --- a/dcc-network/qml/PageSystemProxy.qml +++ b/dcc-network/qml/PageSystemProxy.qml @@ -43,6 +43,7 @@ DccObject { Component { id: devCheck D.Switch { + objectName: "Component_Switch_2" checked: netItem.isEnabled enabled: netItem.enabledable onClicked: { @@ -69,6 +70,7 @@ DccObject { backgroundType: DccObject.Normal pageType: DccObject.Editor page: D.Switch { + objectName: "PageSystemProxy_Switch" checked: root.method !== NetType.None enabled: netItem.enabledable onClicked: { @@ -100,6 +102,7 @@ DccObject { visible: method !== NetType.None pageType: DccObject.Editor page: ComboBox { + objectName: "PageSystemProxy_ComboBox" flat: true textRole: "text" valueRole: "value" @@ -162,6 +165,8 @@ DccObject { } } SystemProxyConfigItem { + objectName: "Http" + Accessible.role: Accessible.Grouping id: http name: "http" parentName: root.name + "/menu/body" @@ -178,6 +183,8 @@ DccObject { } } SystemProxyConfigItem { + objectName: "Https" + Accessible.role: Accessible.Grouping id: https name: "https" parentName: root.name + "/menu/body" @@ -194,6 +201,8 @@ DccObject { } } SystemProxyConfigItem { + objectName: "Ftp" + Accessible.role: Accessible.Grouping id: ftp name: "ftp" parentName: root.name + "/menu/body" @@ -210,6 +219,8 @@ DccObject { } } SystemProxyConfigItem { + objectName: "Socks" + Accessible.role: Accessible.Grouping id: socks name: "socks" parentName: root.name + "/menu/body" @@ -235,6 +246,7 @@ DccObject { weight: 80 pageType: DccObject.Item page: TextArea { + objectName: "DccObjConfig" wrapMode: TextEdit.WordWrap text: dccObj.config onTextChanged: { @@ -279,6 +291,7 @@ DccObject { weight: 30 pageType: DccObject.Item page: Button { + objectName: "DccObjDisplayName" implicitHeight: implicitContentHeight + 10 implicitWidth: implicitContentWidth + 10 topPadding: 0 @@ -299,6 +312,7 @@ DccObject { weight: 40 pageType: DccObject.Item page: Button { + objectName: "DccObjDisplayName_2" implicitHeight: implicitContentHeight + 10 implicitWidth: implicitContentWidth + 10 topPadding: 0 diff --git a/dcc-network/qml/PageVPN.qml b/dcc-network/qml/PageVPN.qml index a3229cb48..cefaf90b4 100644 --- a/dcc-network/qml/PageVPN.qml +++ b/dcc-network/qml/PageVPN.qml @@ -24,6 +24,7 @@ DccObject { Component { id: devCheck D.Switch { + objectName: "Component_Switch" checked: netItem.isEnabled enabled: netItem.enabledable onClicked: { @@ -65,6 +66,7 @@ DccObject { } delegate: ItemDelegate { + objectName: "ItemDelegate_" + index id: itemDelegate implicitHeight: 36 text: model.item.name @@ -83,6 +85,8 @@ DccObject { visible: model.item.status === NetType.CS_Connected && !itemDelegate.hovered } NetButton { + objectName: "Disconnect_" + index + Accessible.role: Accessible.Button implicitHeight: implicitContentHeight - 4 topInset: -4 bottomInset: -4 @@ -119,6 +123,8 @@ DccObject { } } PageVPNSettings { + objectName: "VpnSettings" + Accessible.role: Accessible.Grouping id: vpnSettings name: "vpnSettings" parentName: root.name + "/menu/body/networkList" @@ -173,6 +179,8 @@ DccObject { weight: 30 pageType: DccObject.Item page: NetButton { + objectName: "ImportVpn" + Accessible.role: Accessible.Button text: qsTr("Import VPN") Layout.alignment: Qt.AlignRight onClicked: { @@ -229,6 +237,7 @@ DccObject { horizontalAlignment: Text.AlignHCenter } Button { + objectName: "Ok" Layout.fillWidth: true Layout.margins: 10 text: qsTr("OK") @@ -244,6 +253,8 @@ DccObject { weight: 40 pageType: DccObject.Item page: NetButton { + objectName: "AddVpn" + Accessible.role: Accessible.Button text: qsTr("Add VPN") Layout.alignment: Qt.AlignRight onClicked: { diff --git a/dcc-network/qml/PageVPNSettings.qml b/dcc-network/qml/PageVPNSettings.qml index 77344486e..4ed126566 100644 --- a/dcc-network/qml/PageVPNSettings.qml +++ b/dcc-network/qml/PageVPNSettings.qml @@ -73,6 +73,7 @@ DccObject { backgroundType: DccObject.Normal pageType: DccObject.Editor page: D.ComboBox { + objectName: "PageVpnsettings_ComboBox" flat: true textRole: "text" valueRole: "value" @@ -115,12 +116,16 @@ DccObject { } SectionGeneric { + objectName: "SectionGeneric" + Accessible.role: Accessible.Grouping id: sectionGeneric parentName: root.parentUrl + "/body" weight: 100 onEditClicked: modified = true } SectionVPN { + objectName: "SectionVpn" + Accessible.role: Accessible.Grouping id: sectionVPN vpnType: root.vpnType parentName: root.parentUrl + "/body" @@ -128,6 +133,8 @@ DccObject { onEditClicked: modified = true } SectionIPv4 { + objectName: "SectionIpv4" + Accessible.role: Accessible.Grouping id: sectionIPv4 type: NetType.VPNControlItem parentName: root.parentUrl + "/body" @@ -136,6 +143,8 @@ DccObject { onEditClicked: modified = true } SectionIPv6 { + objectName: "SectionIpv6" + Accessible.role: Accessible.Grouping id: sectionIPv6 type: NetType.VPNControlItem parentName: root.parentUrl + "/body" @@ -157,6 +166,8 @@ DccObject { } } SectionDNS { + objectName: "SectionDns" + Accessible.role: Accessible.Grouping id: sectionDNS parentName: root.parentUrl + "/body" weight: 1200 @@ -176,6 +187,8 @@ DccObject { pageType: DccObject.Item visible: config && config.connection.uuid !== "{00000000-0000-0000-0000-000000000000}" page: NetButton { + objectName: "PageVpnsettings_NetButton" + Accessible.role: Accessible.Button contentItem: D.IconLabel { text: qsTr("Delete") color: "red" @@ -207,6 +220,7 @@ DccObject { Layout.topMargin: 10 Layout.bottomMargin: 10 Button { + objectName: "Cancel" Layout.fillWidth: true text: qsTr("Cancel") onClicked: close() @@ -218,6 +232,7 @@ DccObject { } D.Button { + objectName: "Component_Button" Layout.fillWidth: true contentItem: D.IconLabel { text: qsTr("Delete") @@ -242,6 +257,8 @@ DccObject { visible: config && config.connection.uuid !== "{00000000-0000-0000-0000-000000000000}" && (vpnType & (NetUtils.VpnTypeEnum["l2tp"] | NetUtils.VpnTypeEnum["openvpn"])) pageType: DccObject.Item page: NetButton { + objectName: "Export" + Accessible.role: Accessible.Button text: qsTr("Export") onClicked: { exportFileDialog.createObject(this).open() @@ -279,6 +296,8 @@ DccObject { weight: 40 pageType: DccObject.Item page: NetButton { + objectName: "Cancel_2" + Accessible.role: Accessible.Button text: qsTr("Cancel") onClicked: { root.finished() @@ -292,6 +311,8 @@ DccObject { enabled: root.modified pageType: DccObject.Item page: NetButton { + objectName: "Save" + Accessible.role: Accessible.Button text: qsTr("Save") onClicked: { if (!sectionGeneric.checkInput() || !sectionVPN.checkInput() || !sectionIPv4.checkInput() || !sectionIPv6.checkInput() || !sectionDNS.checkInput()) { diff --git a/dcc-network/qml/PageWiredDevice.qml b/dcc-network/qml/PageWiredDevice.qml index db5b4e6e7..cb3bbd79f 100644 --- a/dcc-network/qml/PageWiredDevice.qml +++ b/dcc-network/qml/PageWiredDevice.qml @@ -26,6 +26,8 @@ DccObject { weight: 1010 + netItem.pathIndex pageType: DccObject.MenuEditor page: DeviceStatusItem { + objectName: "PageWiredDevice_DeviceStatusItem" + Accessible.role: Accessible.Grouping netItem: root.netItem connectedNameVisible: false statusVisible: true @@ -48,6 +50,8 @@ DccObject { backgroundType: DccObject.Normal pageType: DccObject.Editor page: DeviceStatusItem { + objectName: "PageWiredDevice_DeviceStatusItem_2" + Accessible.role: Accessible.Grouping netItem: root.netItem statusVisible: false } @@ -85,6 +89,7 @@ DccObject { } delegate: ItemDelegate { + objectName: "ItemDelegate_4" id: itemDelegate height: 36 text: model.item.name @@ -131,6 +136,8 @@ DccObject { && !itemDelegate.hovered } NetButton { + objectName: "ModelItemStatus_2" + Accessible.role: Accessible.Button implicitHeight: implicitContentHeight - 4 topInset: -4 bottomInset: -4 @@ -280,6 +287,8 @@ DccObject { } } PageSettings { + objectName: "WiredSettings" + Accessible.role: Accessible.Grouping id: wiredSettings name: "wiredSettings" parentName: root.name + "/page/body/networkList" @@ -330,6 +339,8 @@ DccObject { weight: 40 pageType: DccObject.Item page: NetButton { + objectName: "DccObjDisplayName_3" + Accessible.role: Accessible.Button text: dccObj.displayName Layout.alignment: Qt.AlignRight onClicked: { diff --git a/dcc-network/qml/PageWirelessDevice.qml b/dcc-network/qml/PageWirelessDevice.qml index 9706e8ed5..cd769cf4a 100644 --- a/dcc-network/qml/PageWirelessDevice.qml +++ b/dcc-network/qml/PageWirelessDevice.qml @@ -28,6 +28,8 @@ DccObject { weight: 2010 + netItem.pathIndex pageType: DccObject.MenuEditor page: DeviceStatusItem{ + objectName: "PageWirelessDevice_DeviceStatusItem" + Accessible.role: Accessible.Grouping netItem: root.netItem connectedNameVisible: true statusVisible: true @@ -49,6 +51,7 @@ DccObject { DelegateChoice { roleValue: NetType.WirelessItem delegate: ItemDelegate { + objectName: "ItemDelegate_3" id: itemDelegate height: 36 text: model.item.name @@ -95,6 +98,8 @@ DccObject { && !itemDelegate.hovered } NetButton { + objectName: "ModelItemStatus" + Accessible.role: Accessible.Button implicitHeight: implicitContentHeight - 4 topInset: -4 bottomInset: -4 @@ -246,6 +251,7 @@ DccObject { DelegateChoice { roleValue: NetType.WirelessHiddenItem delegate: ItemDelegate { + objectName: "Repeater_ItemDelegate_" + index implicitHeight: 36 checked: true backgroundVisible: false @@ -282,6 +288,8 @@ DccObject { backgroundType: DccObject.Normal pageType: DccObject.Editor page: DeviceStatusItem{ + objectName: "PageWirelessDevice_DeviceStatusItem_2" + Accessible.role: Accessible.Grouping netItem: root.netItem statusVisible: false } @@ -407,6 +415,8 @@ DccObject { } } PageSettings { + objectName: "WirelessSettings" + Accessible.role: Accessible.Grouping id: wirelessSettings name: "wirelessSettings" parentName: root.name + "/page/otherNetwork" diff --git a/dcc-network/qml/SectionDNS.qml b/dcc-network/qml/SectionDNS.qml index a4775115d..950aa8515 100644 --- a/dcc-network/qml/SectionDNS.qml +++ b/dcc-network/qml/SectionDNS.qml @@ -176,6 +176,7 @@ DccObject { page: RowLayout { D.LineEdit { text: root.config[index] + objectName: "DnsEdit_" + index // 移除正则验证器,改用手动验证以支持IPv6 // 显式允许所有字符输入,包括冒号 inputMethodHints: Qt.ImhNone diff --git a/dcc-network/qml/SectionDevice.qml b/dcc-network/qml/SectionDevice.qml index a0a6b4798..366ce1e15 100644 --- a/dcc-network/qml/SectionDevice.qml +++ b/dcc-network/qml/SectionDevice.qml @@ -107,6 +107,7 @@ DccTitleObject { canSearch: false pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionDevice_ComboBox" flat: true textRole: "text" valueRole: "value" @@ -167,6 +168,7 @@ DccTitleObject { canSearch: false pageType: DccObject.Editor page: D.Switch { + objectName: "SectionDevice_Switch" checked: hasMTU onClicked: { hasMTU = checked @@ -183,6 +185,7 @@ DccTitleObject { visible: hasMTU pageType: DccObject.Editor page: D.SpinBox { + objectName: "SectionDevice_SpinBox" editable: true from: 1280 to: 9000 diff --git a/dcc-network/qml/SectionGeneric.qml b/dcc-network/qml/SectionGeneric.qml index d470b8fda..4fc17a28a 100644 --- a/dcc-network/qml/SectionGeneric.qml +++ b/dcc-network/qml/SectionGeneric.qml @@ -85,6 +85,7 @@ DccTitleObject { weight: 20 pageType: DccObject.Editor page: D.Switch { + objectName: "SectionGeneric_Switch" checked: !root.config.hasOwnProperty("autoconnect") || root.config.autoconnect onClicked: { root.config.autoconnect = checked @@ -101,6 +102,7 @@ DccTitleObject { visible: type === NetType.WirelessItem pageType: DccObject.Editor page: ComboBox { + objectName: "SectionGeneric_ComboBox" flat: true textRole: "text" valueRole: "value" diff --git a/dcc-network/qml/SectionIPv4.qml b/dcc-network/qml/SectionIPv4.qml index 390f8bb4a..fac2f5ded 100644 --- a/dcc-network/qml/SectionIPv4.qml +++ b/dcc-network/qml/SectionIPv4.qml @@ -225,6 +225,7 @@ DccObject { canSearch: false pageType: DccObject.Editor page: ComboBox { + objectName: "SectionIpv4_ComboBox" flat: true textRole: "text" valueRole: "value" @@ -259,6 +260,7 @@ DccObject { backgroundType: DccObject.Normal pageType: DccObject.Editor page: D.Switch { + objectName: "SectionIpv4_Switch" checked: root.neverDefault onClicked: { root.neverDefault = checked @@ -289,6 +291,7 @@ DccObject { backgroundType: DccObject.Normal pageType: DccObject.Editor page: ComboBox { + objectName: "SectionIpv4_ComboBox_2" flat: true textRole: "text" valueRole: "value" diff --git a/dcc-network/qml/SectionIPv6.qml b/dcc-network/qml/SectionIPv6.qml index 8424be977..23df4d13a 100644 --- a/dcc-network/qml/SectionIPv6.qml +++ b/dcc-network/qml/SectionIPv6.qml @@ -228,6 +228,7 @@ DccObject { canSearch: false pageType: DccObject.Editor page: ComboBox { + objectName: "SectionIpv6_ComboBox" flat: true textRole: "text" valueRole: "value" @@ -262,6 +263,7 @@ DccObject { backgroundType: DccObject.Normal pageType: DccObject.Editor page: D.Switch { + objectName: "SectionIpv6_Switch" checked: root.neverDefault onClicked: { root.neverDefault = checked @@ -291,6 +293,7 @@ DccObject { backgroundType: DccObject.Normal pageType: DccObject.Editor page: ComboBox { + objectName: "SectionIpv6_ComboBox_2" flat: true textRole: "text" valueRole: "value" @@ -438,6 +441,7 @@ DccObject { canSearch: false pageType: DccObject.Editor page: D.SpinBox { + objectName: "SectionIpv6_SpinBox" editable: true value: root.addressData.length > index ? root.addressData[index].prefix : 64 from: 0 diff --git a/dcc-network/qml/SectionPPP.qml b/dcc-network/qml/SectionPPP.qml index 2fdfd8ed7..2158de6b2 100644 --- a/dcc-network/qml/SectionPPP.qml +++ b/dcc-network/qml/SectionPPP.qml @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2024 - 2027 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2024 - 2026 UnionTech Software Technology Co., Ltd. // SPDX-License-Identifier: GPL-3.0-or-later import QtQuick 2.15 import QtQuick.Controls 2.15 @@ -39,6 +39,7 @@ DccTitleObject { Component { id: switchItem D.Switch { + objectName: "Component_Switch_3" checked: root.config.hasOwnProperty(dccObj.name) && root.config[dccObj.name] onClicked: { root.config[dccObj.name] = checked @@ -61,6 +62,7 @@ DccTitleObject { weight: 10 pageType: DccObject.Editor page: D.Switch { + objectName: "SectionPpp_Switch" checked: mppe onClicked: { mppe = checked @@ -184,6 +186,7 @@ DccTitleObject { weight: 140 pageType: DccObject.Editor page: D.Switch { + objectName: "SectionPpp_Switch_2" checked: root.config["lcp-echo-failure"] === 5 && root.config["lcp-echo-interval"] === 30 onClicked: { if (checked) { diff --git a/dcc-network/qml/SectionPPPOE.qml b/dcc-network/qml/SectionPPPOE.qml index b532955aa..6e97a85f8 100644 --- a/dcc-network/qml/SectionPPPOE.qml +++ b/dcc-network/qml/SectionPPPOE.qml @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2024 - 2027 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2024 - 2026 UnionTech Software Technology Co., Ltd. // SPDX-License-Identifier: GPL-3.0-or-later import QtQuick 2.15 import QtQuick.Controls 2.15 @@ -97,6 +97,8 @@ DccTitleObject { weight: 30 pageType: DccObject.Editor page: NetPasswordEdit { + objectName: "Password" + Accessible.role: Accessible.EditableText dataItem: root text: root.config.hasOwnProperty("password") ? root.config.password : "" onTextUpdated: root.config.password = text diff --git a/dcc-network/qml/SectionSecret.qml b/dcc-network/qml/SectionSecret.qml index 0041ed4dc..16cab650d 100644 --- a/dcc-network/qml/SectionSecret.qml +++ b/dcc-network/qml/SectionSecret.qml @@ -337,6 +337,7 @@ DccTitleObject { visible: root.type === NetType.WirelessItem || root.type === NetType.WirelessHiddenItem pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionSecret_ComboBox" flat: true textRole: "text" valueRole: "value" @@ -375,6 +376,7 @@ DccTitleObject { visible: root.type === NetType.WiredItem pageType: DccObject.Editor page: D.Switch { + objectName: "SectionSecret_Switch" checked: root.keyMgmt === "wpa-eap" onClicked: { if ((root.keyMgmt === "wpa-eap") !== checked) { @@ -393,6 +395,7 @@ DccTitleObject { visible: root.keyMgmt === "wpa-eap" pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionSecret_ComboBox_2" flat: true textRole: "text" valueRole: "value" @@ -446,6 +449,7 @@ DccTitleObject { visible: root.keyMgmt !== "" pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionSecret_ComboBox_3" flat: true textRole: "text" valueRole: "value" @@ -478,6 +482,8 @@ DccTitleObject { visible: root.keyMgmt !== "" && root.pwdFlays !== 2 pageType: DccObject.Editor page: NetPasswordEdit { + objectName: "RootPwdStr" + Accessible.role: Accessible.EditableText text: root.pwdStr dataItem: root onTextUpdated: root.pwdStr = text @@ -492,6 +498,7 @@ DccTitleObject { visible: root.keyMgmt === "none" pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionSecret_ComboBox_4" flat: true textRole: "text" valueRole: "value" @@ -521,6 +528,8 @@ DccTitleObject { visible: root.keyMgmt === "wpa-eap" && root.eapType === "tls" pageType: DccObject.Editor page: NetFileChooseEdit { + objectName: "PrivateKey" + Accessible.role: Accessible.EditableText dataItem: root placeholderText: qsTr("Required") text: root.config802_1x && root.config802_1x.hasOwnProperty("private-key") ? removeTrailingNull(root.config802_1x["private-key"]) : "" @@ -554,6 +563,7 @@ DccTitleObject { visible: root.keyMgmt === "wpa-eap" && root.eapType === "fast" pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionSecret_ComboBox_5" flat: true textRole: "text" valueRole: "value" @@ -592,6 +602,8 @@ DccTitleObject { weight: 110 pageType: DccObject.Editor page: NetFileChooseEdit { + objectName: "SectionSecret_NetFileChooseEdit" + Accessible.role: Accessible.EditableText dataItem: root text: root.config802_1x && root.config802_1x.hasOwnProperty(dccObj.name) ? removeTrailingNull(root.config802_1x[dccObj.name]) : "" onTextUpdated: root.config802_1x[dccObj.name] = text @@ -606,6 +618,8 @@ DccTitleObject { visible: root.keyMgmt === "wpa-eap" && (root.eapType === "tls" || root.eapType === "ttls" || root.eapType === "peap") pageType: DccObject.Editor page: NetFileChooseEdit { + objectName: "SectionSecret_NetFileChooseEdit_2" + Accessible.role: Accessible.EditableText dataItem: root text: root.config802_1x && root.config802_1x.hasOwnProperty(dccObj.name) ? removeTrailingNull(root.config802_1x[dccObj.name]) : "" onTextUpdated: root.config802_1x[dccObj.name] = text @@ -620,6 +634,8 @@ DccTitleObject { visible: root.keyMgmt === "wpa-eap" && root.eapType === "tls" pageType: DccObject.Editor page: NetFileChooseEdit { + objectName: "Required" + Accessible.role: Accessible.EditableText dataItem: root placeholderText: qsTr("Required") text: root.config802_1x && root.config802_1x.hasOwnProperty(dccObj.name) ? removeTrailingNull(root.config802_1x[dccObj.name]) : "" @@ -635,6 +651,7 @@ DccTitleObject { visible: root.keyMgmt === "wpa-eap" && root.eapType === "peap" pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionSecret_ComboBox_6" flat: true textRole: "text" valueRole: "value" @@ -670,6 +687,7 @@ DccTitleObject { visible: root.keyMgmt === "wpa-eap" && (root.eapType === "fast" || root.eapType === "ttls" || root.eapType === "peap") pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionSecret_ComboBox_7" flat: true textRole: "text" valueRole: "value" diff --git a/dcc-network/qml/SectionVPN.qml b/dcc-network/qml/SectionVPN.qml index d98fcb373..223c7fd7f 100644 --- a/dcc-network/qml/SectionVPN.qml +++ b/dcc-network/qml/SectionVPN.qml @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2024 - 2027 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2024 - 2026 UnionTech Software Technology Co., Ltd. // SPDX-License-Identifier: GPL-3.0-or-later import QtQuick 2.15 import QtQuick.Controls 2.15 @@ -355,6 +355,7 @@ DccTitleObject { RowLayout { D.LineEdit { id: fileEdit + objectName: "VpnFileEdit" text: root.dataMap.hasOwnProperty(dccObj.name) ? NetUtils.removeTrailingNull(root.dataMap[dccObj.name]) : "" onTextChanged: { if (showAlert) { @@ -375,6 +376,8 @@ DccTitleObject { } } NetButton { + objectName: "Component_NetButton" + Accessible.role: Accessible.Button text: "..." onClicked: { fileDialog.createObject(this, { @@ -389,6 +392,7 @@ DccTitleObject { RowLayout { D.LineEdit { id: fileEdit + objectName: "VpnRequiredFileEdit" placeholderText: qsTr("Required") text: root.dataMap.hasOwnProperty(dccObj.name) ? NetUtils.removeTrailingNull(root.dataMap[dccObj.name]) : "" onTextChanged: { @@ -410,6 +414,8 @@ DccTitleObject { } } NetButton { + objectName: "Component_NetButton_2" + Accessible.role: Accessible.Button text: "..." onClicked: { fileDialog.createObject(this, { @@ -422,6 +428,7 @@ DccTitleObject { Component { id: gatewayLineEdit D.LineEdit { + objectName: "VpnGatewayEdit" placeholderText: qsTr("Required") text: root.dataMap.hasOwnProperty(dccObj.name) ? root.dataMap[dccObj.name] : "" onTextChanged: { @@ -448,6 +455,7 @@ DccTitleObject { id: requiredLineEdit D.LineEdit { placeholderText: qsTr("Required") + objectName: "VpnRequiredEdit" text: root.dataMap.hasOwnProperty(dccObj.name) ? root.dataMap[dccObj.name] : "" onTextChanged: { if (showAlert) { @@ -472,6 +480,7 @@ DccTitleObject { id: lineEdit D.LineEdit { text: root.dataMap.hasOwnProperty(dccObj.name) ? root.dataMap[dccObj.name] : "" + objectName: "VpnLineEdit" onTextChanged: { if (showAlert) { errorKey = "" @@ -494,6 +503,7 @@ DccTitleObject { Component { id: switchItem D.Switch { + objectName: "Component_Switch_4" checked: root.dataMap.hasOwnProperty(dccObj.name) && root.dataMap[dccObj.name] === "yes" onClicked: { if (checked) { @@ -594,6 +604,7 @@ DccTitleObject { visible: root.vpnType & (NetUtils.VpnTypeEnum["strongswan"]) pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox" flat: true textRole: "text" valueRole: "value" @@ -633,6 +644,7 @@ DccTitleObject { page: RowLayout { D.LineEdit { id: usercertEdit + objectName: "VpnUserCertEdit" placeholderText: root.vpnType === NetUtils.VpnTypeEnum["strongswan"] ? "" : qsTr("Required") text: root.dataMap.hasOwnProperty(dccObj.name) ? NetUtils.removeTrailingNull(root.dataMap[dccObj.name]) : "" onTextChanged: { @@ -654,6 +666,8 @@ DccTitleObject { } } NetButton { + objectName: "SectionVpn_NetButton" + Accessible.role: Accessible.Button text: "..." onClicked: { fileDialog.createObject(this, { @@ -674,6 +688,7 @@ DccTitleObject { page: RowLayout { D.LineEdit { id: userkeyEdit + objectName: "VpnUserKeyEdit" placeholderText: root.vpnType === NetUtils.VpnTypeEnum["strongswan"] ? "" : qsTr("Required") text: root.dataMap.hasOwnProperty(dccObj.name) ? NetUtils.removeTrailingNull(root.dataMap[dccObj.name]) : "" onTextChanged: { @@ -695,6 +710,8 @@ DccTitleObject { } } NetButton { + objectName: "SectionVpn_NetButton_2" + Accessible.role: Accessible.Button text: "..." onClicked: { fileDialog.createObject(this, { @@ -743,6 +760,7 @@ DccTitleObject { visible: root.vpnType & (NetUtils.VpnTypeEnum["openvpn"]) pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox_2" flat: true textRole: "text" valueRole: "value" @@ -796,6 +814,7 @@ DccTitleObject { visible: (root.vpnType & (NetUtils.VpnTypeEnum["l2tp"] | NetUtils.VpnTypeEnum["pptp"])) || (root.vpnType & (NetUtils.VpnTypeEnum["openvpn"])) && (root.dataMap["connection-type"] === "password" || root.dataMap["connection-type"] === "password-tls") pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox_3" flat: true textRole: "text" valueRole: "value" @@ -834,6 +853,8 @@ DccTitleObject { visible: ((root.vpnType & NetUtils.VpnTypeEnum["strongswan"]) && (root.dataMap["method"] === "eap" || root.dataMap["method"] === "psk")) || (root.dataMap["password-flags"] === "0" && ((root.vpnType & (NetUtils.VpnTypeEnum["l2tp"] | NetUtils.VpnTypeEnum["pptp"])) || (root.vpnType & (NetUtils.VpnTypeEnum["openvpn"])) && (root.dataMap["connection-type"] === "password" || root.dataMap["connection-type"] === "password-tls"))) pageType: DccObject.Editor page: NetPasswordEdit { + objectName: "RootSecretMapHasOwnPropertydccObjNamerootSecretMap" + Accessible.role: Accessible.EditableText dataItem: root text: root.secretMap.hasOwnProperty(dccObj.name) ? root.secretMap[dccObj.name] : "" onTextUpdated: root.secretMap[dccObj.name] = text @@ -868,6 +889,7 @@ DccTitleObject { visible: (root.vpnType & (NetUtils.VpnTypeEnum["openvpn"])) && (root.dataMap["connection-type"] === "password-tls" || root.dataMap["connection-type"] === "tls") pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox_4" flat: true textRole: "text" valueRole: "value" @@ -898,6 +920,8 @@ DccTitleObject { visible: root.dataMap["cert-pass-flags"] === "0" && (root.vpnType & (NetUtils.VpnTypeEnum["openvpn"])) && (root.dataMap["connection-type"] === "password-tls" || root.dataMap["connection-type"] === "tls") pageType: DccObject.Editor page: NetPasswordEdit { + objectName: "RootSecretMapHasOwnPropertydccObjNamerootSecretMap_2" + Accessible.role: Accessible.EditableText dataItem: root text: root.secretMap.hasOwnProperty(dccObj.name) ? root.secretMap[dccObj.name] : "" onTextUpdated: root.secretMap[dccObj.name] = text @@ -922,6 +946,7 @@ DccTitleObject { visible: (root.vpnType & (NetUtils.VpnTypeEnum["openvpn"])) && (root.dataMap["connection-type"] === "static-key") pageType: DccObject.Editor page: D.Switch { + objectName: "SectionVpn_Switch" checked: root.dataMap.hasOwnProperty("static-key-direction") onClicked: { if (checked) { @@ -942,6 +967,7 @@ DccTitleObject { visible: root.dataMap.hasOwnProperty(this.name) && (root.vpnType & (NetUtils.VpnTypeEnum["openvpn"])) && (root.dataMap["connection-type"] === "static-key") pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox_5" flat: true textRole: "text" valueRole: "value" @@ -1033,6 +1059,7 @@ DccTitleObject { visible: root.vpnType & (NetUtils.VpnTypeEnum["strongswan"]) pageType: DccObject.Editor page: D.Switch { + objectName: "SectionVpn_Switch_2" checked: root.dataMap.hasOwnProperty(dccObj.name) ? root.dataMap[dccObj.name] === "yes" : false onClicked: { root.dataMap[dccObj.name] = checked ? "yes" : "no" @@ -1090,6 +1117,7 @@ DccTitleObject { visible: root.vpnType & (NetUtils.VpnTypeEnum["vpnc"]) pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox_6" flat: true textRole: "text" valueRole: "value" @@ -1121,6 +1149,8 @@ DccTitleObject { visible: root.dataMap["Xauth password-flags"] === "0" && (root.vpnType & (NetUtils.VpnTypeEnum["vpnc"])) pageType: DccObject.Editor page: NetPasswordEdit { + objectName: "RootSecretMapHasOwnPropertydccObjNamerootSecretMap_3" + Accessible.role: Accessible.EditableText dataItem: root text: root.secretMap.hasOwnProperty(dccObj.name) ? root.secretMap[dccObj.name] : "" onTextUpdated: root.secretMap[dccObj.name] = text @@ -1145,6 +1175,7 @@ DccTitleObject { visible: root.vpnType & (NetUtils.VpnTypeEnum["vpnc"]) pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox_7" flat: true textRole: "text" valueRole: "value" @@ -1176,6 +1207,8 @@ DccTitleObject { visible: root.dataMap["IPSec secret-flags"] === "0" && (root.vpnType & (NetUtils.VpnTypeEnum["vpnc"])) pageType: DccObject.Editor page: NetPasswordEdit { + objectName: "RootSecretMapHasOwnPropertydccObjNamerootSecretMap_4" + Accessible.role: Accessible.EditableText dataItem: root text: root.secretMap.hasOwnProperty(dccObj.name) ? root.secretMap[dccObj.name] : "" onTextUpdated: root.secretMap[dccObj.name] = text @@ -1190,6 +1223,7 @@ DccTitleObject { visible: root.vpnType & (NetUtils.VpnTypeEnum["vpnc"]) pageType: DccObject.Editor page: D.Switch { + objectName: "SectionVpn_Switch_3" checked: root.dataMap.hasOwnProperty(dccObj.name) && root.dataMap[dccObj.name] === "hybrid" onClicked: { if (checked) { @@ -1239,6 +1273,7 @@ DccTitleObject { weight: 10 pageType: DccObject.Editor page: D.Switch { + objectName: "SectionVpn_Switch_4" checked: mppe onClicked: { mppe = checked @@ -1255,6 +1290,7 @@ DccTitleObject { visible: mppe pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox_8" flat: true textRole: "text" valueRole: "value" @@ -1395,6 +1431,7 @@ DccTitleObject { weight: 140 pageType: DccObject.Editor page: D.Switch { + objectName: "SectionVpn_Switch_5" checked: root.dataMap["lcp-echo-failure"] === "5" && root.dataMap["lcp-echo-interval"] === "30" onClicked: { if (checked) { @@ -1511,6 +1548,7 @@ DccTitleObject { weight: 10 pageType: DccObject.Editor page: D.Switch { + objectName: "SectionVpn_Switch_6" checked: root.dataMap.hasOwnProperty("port") onClicked: { if (checked) { @@ -1532,6 +1570,7 @@ DccTitleObject { visible: root.dataMap.hasOwnProperty("port") pageType: DccObject.Editor page: D.SpinBox { + objectName: "SectionVpn_SpinBox" editable: true value: root.dataMap.hasOwnProperty(dccObj.name) ? parseInt(root.dataMap[dccObj.name], 10) : 1194 from: 0 @@ -1555,6 +1594,7 @@ DccTitleObject { weight: 30 pageType: DccObject.Editor page: D.Switch { + objectName: "SectionVpn_Switch_7" checked: root.dataMap.hasOwnProperty("reneg-seconds") onClicked: { if (checked) { @@ -1576,6 +1616,7 @@ DccTitleObject { visible: root.dataMap.hasOwnProperty("reneg-seconds") pageType: DccObject.Editor page: D.SpinBox { + objectName: "SectionVpn_SpinBox_2" editable: true value: root.dataMap.hasOwnProperty(dccObj.name) ? parseInt(root.dataMap[dccObj.name], 10) : 0 from: 0 @@ -1599,6 +1640,7 @@ DccTitleObject { weight: 50 pageType: DccObject.Editor page: D.Switch { + objectName: "SectionVpn_Switch_8" checked: root.dataMap["comp-lzo"] === "yes" || root.dataMap["comp-lzo"] === "adaptive" onClicked: { if (checked) { @@ -1637,6 +1679,7 @@ DccTitleObject { weight: 80 pageType: DccObject.Editor page: D.Switch { + objectName: "SectionVpn_Switch_9" checked: root.dataMap.hasOwnProperty("tunnel-mtu") onClicked: { if (checked) { @@ -1658,6 +1701,7 @@ DccTitleObject { visible: root.dataMap.hasOwnProperty("tunnel-mtu") pageType: DccObject.Editor page: D.SpinBox { + objectName: "SectionVpn_SpinBox_3" editable: true value: root.dataMap.hasOwnProperty(dccObj.name) ? parseInt(root.dataMap[dccObj.name], 10) : 1500 from: 1280 @@ -1681,6 +1725,7 @@ DccTitleObject { weight: 100 pageType: DccObject.Editor page: D.Switch { + objectName: "SectionVpn_Switch_10" checked: root.dataMap.hasOwnProperty("fragment-size") onClicked: { if (checked) { @@ -1702,6 +1747,7 @@ DccTitleObject { visible: root.dataMap.hasOwnProperty("fragment-size") pageType: DccObject.Editor page: D.SpinBox { + objectName: "SectionVpn_SpinBox_4" editable: true value: root.dataMap.hasOwnProperty(dccObj.name) ? parseInt(root.dataMap[dccObj.name], 10) : 1300 from: 0 @@ -1770,6 +1816,7 @@ DccTitleObject { weight: 20 pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox_9" flat: true textRole: "text" valueRole: "value" @@ -1805,6 +1852,7 @@ DccTitleObject { weight: 40 pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox_10" flat: true textRole: "text" valueRole: "value" @@ -1834,6 +1882,7 @@ DccTitleObject { weight: 50 pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox_11" flat: true textRole: "text" valueRole: "value" @@ -1866,6 +1915,7 @@ DccTitleObject { weight: 60 pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox_12" flat: true textRole: "text" valueRole: "value" @@ -1895,6 +1945,7 @@ DccTitleObject { weight: 70 pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox_13" flat: true textRole: "text" valueRole: "value" @@ -1930,6 +1981,7 @@ DccTitleObject { weight: 80 pageType: DccObject.Editor page: D.SpinBox { + objectName: "SectionVpn_SpinBox_5" editable: true value: root.dataMap.hasOwnProperty(dccObj.name) ? parseInt(root.dataMap[dccObj.name], 10) : 0 from: 0 @@ -1953,6 +2005,7 @@ DccTitleObject { weight: 90 pageType: DccObject.Editor page: D.Switch { + objectName: "SectionVpn_Switch_11" checked: root.dataMap[dccObj.name] === "0" onClicked: { if (checked) { @@ -1990,6 +2043,7 @@ DccTitleObject { weight: 10 pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox_14" flat: true textRole: "text" valueRole: "value" @@ -2064,6 +2118,7 @@ DccTitleObject { weight: 20 pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox_15" flat: true textRole: "text" valueRole: "value" @@ -2132,6 +2187,7 @@ DccTitleObject { weight: 10 pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox_16" flat: true textRole: "text" valueRole: "value" @@ -2173,6 +2229,7 @@ DccTitleObject { visible: root.dataMap["proxy-type"] !== "none" pageType: DccObject.Editor page: D.SpinBox { + objectName: "SectionVpn_SpinBox_6" editable: true value: root.dataMap.hasOwnProperty(dccObj.name) ? parseInt(root.dataMap[dccObj.name], 10) : 0 from: 0 @@ -2220,6 +2277,8 @@ DccTitleObject { visible: root.dataMap["proxy-type"] === "http" pageType: DccObject.Editor page: NetPasswordEdit { + objectName: "RootSecretMapHasOwnPropertydccObjNamerootSecretMap_5" + Accessible.role: Accessible.EditableText text: root.secretMap.hasOwnProperty(dccObj.name) ? root.secretMap[dccObj.name] : "" dataItem: root onTextUpdated: root.secretMap[dccObj.name] = text @@ -2260,6 +2319,7 @@ DccTitleObject { weight: 20 pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox_17" flat: true textRole: "text" valueRole: "value" @@ -2302,6 +2362,7 @@ DccTitleObject { weight: 40 pageType: DccObject.Editor page: D.Switch { + objectName: "SectionVpn_Switch_12" checked: root.dataMap.hasOwnProperty("ta-dir") onClicked: { if (checked) { @@ -2323,6 +2384,7 @@ DccTitleObject { visible: root.dataMap.hasOwnProperty(this.name) pageType: DccObject.Editor page: D.ComboBox { + objectName: "SectionVpn_ComboBox_18" flat: true textRole: "text" valueRole: "value" diff --git a/dcc-network/qml/SystemProxyConfigItem.qml b/dcc-network/qml/SystemProxyConfigItem.qml index 18cc51694..7d9ca2387 100644 --- a/dcc-network/qml/SystemProxyConfigItem.qml +++ b/dcc-network/qml/SystemProxyConfigItem.qml @@ -91,6 +91,7 @@ DccObject { weight: 30 pageType: DccObject.Editor page: Switch { + objectName: "SystemProxyConfigItem_Switch" checked: root.config.auth onClicked: { if (root.config.auth !== checked) { @@ -138,6 +139,8 @@ DccObject { weight: 50 pageType: DccObject.Editor page: NetPasswordEdit { + objectName: "RootConfigPassword" + Accessible.role: Accessible.EditableText dataItem: root text: root.config.password onTextUpdated: root.config.password = text diff --git a/dock-hotspot-plugin/quickpanel.cpp b/dock-hotspot-plugin/quickpanel.cpp index 4ce4bf0d1..d24a44744 100644 --- a/dock-hotspot-plugin/quickpanel.cpp +++ b/dock-hotspot-plugin/quickpanel.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2023 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later @@ -17,6 +17,7 @@ QuickPanel::QuickPanel(QWidget *parent) m_text(new DLabel(this)) { connect(m_icon,&DIconButton::clicked,this,&QuickPanel::iconClicked); + m_icon->setObjectName("HotspotQuickPanelIcon"); initUi(); } diff --git a/dock-network-plugin/quickpanelwidget.cpp b/dock-network-plugin/quickpanelwidget.cpp index e61f7c41e..2bf23efbc 100644 --- a/dock-network-plugin/quickpanelwidget.cpp +++ b/dock-network-plugin/quickpanelwidget.cpp @@ -1,5 +1,5 @@ // Copyright (C) 2022 ~ 2022 Deepin Technology Co., Ltd. -// SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2018 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later @@ -69,6 +69,7 @@ QuickPanelWidget::QuickPanelWidget(QWidget *parent) , m_stateLabel(new DLabel(this)) , m_expandLabel(new DIconButton(this)) { + m_expandLabel->setObjectName("ExpandLabel"); initUi(); initConnection(); } diff --git a/dss_example/dsstestwidget.cpp b/dss_example/dsstestwidget.cpp index b78e0b406..6f65c4109 100644 --- a/dss_example/dsstestwidget.cpp +++ b/dss_example/dsstestwidget.cpp @@ -26,6 +26,7 @@ DssTestWidget::DssTestWidget(dde::network::NetworkPlugin *networkPlugin, QWidget { QWidget *iconWidget = new QWidget(this); m_iconButton = new DFloatingButton(iconWidget); + m_iconButton->setObjectName("IconButton"); m_iconButton->setIconSize(QSize(26, 26)); m_iconButton->setFixedSize(QSize(52, 52)); m_iconButton->setAutoExclusive(true); diff --git a/net-view/window/private/netdelegate.cpp b/net-view/window/private/netdelegate.cpp index 6f46a19a1..830db18b9 100644 --- a/net-view/window/private/netdelegate.cpp +++ b/net-view/window/private/netdelegate.cpp @@ -495,6 +495,7 @@ NetDeviceWidget::NetDeviceWidget(NetDeviceItem *item, QWidget *parent) : NetWidget(item, parent) , m_switchBut(new DSwitchButton(this)) { + m_switchBut->setObjectName("SwitchBut"); QWidget *widget = new QWidget(this); widget->setFixedHeight(36); QHBoxLayout *layout = new QHBoxLayout(widget); @@ -609,6 +610,7 @@ NetWirelessWidget::NetWirelessWidget(NetWirelessItem *item, QWidget *parent) , m_loading(new DSpinner(this)) , m_status(dde::network::NetType::NetConnectionStatus::CS_UnConnected) { + m_disconnectBtn->setObjectName("DisconnectBtn_2"); QWidget *widget = new QWidget(this); if (item->hasConnection()) { widget->setFixedHeight(36); diff --git a/net-view/window/private/netsecretwidget.cpp b/net-view/window/private/netsecretwidget.cpp index 04922b22b..b985854bf 100644 --- a/net-view/window/private/netsecretwidget.cpp +++ b/net-view/window/private/netsecretwidget.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2019 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2019 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later #include "netsecretwidget.h" @@ -78,6 +78,7 @@ void NetSecretWidget::initUI(const QVariantMap ¶m) lineEdit->setPlaceholderText(m_secretKeyStrMap.value(key)); } lineEdit->lineEdit()->setMaxLength(256); + lineEdit->setObjectName("SecretLineEdit_" + key); lineEdit->setContextMenuPolicy(Qt::NoContextMenu); if (!focusWidget && lineEdit->text().isEmpty()) focusWidget = lineEdit; @@ -89,6 +90,8 @@ void NetSecretWidget::initUI(const QVariantMap ¶m) } DPushButton *cancelButtion = new DPushButton(tr("Cancel", "button"), this); // 取消 DPushButton *connectButton = new DSuggestButton(tr("Connect", "button"), this); // 连接 + cancelButtion->setObjectName("SecretCancelBtn"); + connectButton->setObjectName("SecretConnectBtn"); QHBoxLayout *butLayout = new QHBoxLayout; cancelButtion->setAutoDefault(true); connectButton->setAutoDefault(true); diff --git a/network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp b/network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp index 837b0131c..fdd1e6b9e 100644 --- a/network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp +++ b/network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2011 - 2022 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2011 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: GPL-3.0-or-later @@ -125,6 +125,7 @@ void NetworkSecretDialog::initUI() lineEdit->setClearButtonEnabled(true); lineEdit->setCopyEnabled(false); lineEdit->setCutEnabled(false); + lineEdit->setObjectName("SecretDialogLineEdit_" + secret); gridLayout->addWidget(new QLabel(label + ":"), row, 0); gridLayout->addWidget(lineEdit, row, 1); m_lineEditList.append(lineEdit); diff --git a/tests/at/spi/expected_names.yaml b/tests/at/spi/expected_names.yaml new file mode 100644 index 000000000..0ec716df2 --- /dev/null +++ b/tests/at/spi/expected_names.yaml @@ -0,0 +1,1238 @@ +# SPDX-FileCopyrightText: 2026 UnionTech Software Technology Co., Ltd. +# SPDX-License-Identifier: LGPL-3.0-or-later +version: '1.0' +cpp: +- file: common-plugin/networkdialog/item/netitem.cpp + variable: m_connectionIconAction + class: WiredItem + accessible_id: '' + object_name: ConnectionIconAction + type: DViewItemAction * +- file: common-plugin/networkdialog/item/netitem.cpp + variable: m_securityAction + class: WirelessItem + accessible_id: '' + object_name: SecurityAction + type: DViewItemAction * +- file: common-plugin/networkdialog/item/netitem.cpp + variable: m_wifiLabel + class: WirelessItem + accessible_id: '' + object_name: WifiLabel + type: DViewItemAction * +- file: common-plugin/networkdialog/item/netitem.cpp + variable: m_expandItem + class: WirelessItem + accessible_id: '' + object_name: ExpandItem + type: DViewItemAction * +- file: common-plugin/networkdialog/item/netitem.cpp + variable: m_topItem + class: WirelessItem + accessible_id: '' + object_name: TopItem + type: DViewItemAction * +- file: common-plugin/networkdialog/item/netitem.cpp + variable: m_passwdEdit + class: WirelessItem + accessible_id: PasswdEdit + object_name: PasswdEdit + type: DPasswordEdit * +- file: common-plugin/networkdialog/item/netitem.cpp + variable: m_ssidEdit + class: WirelessItem + accessible_id: SsidEdit + object_name: SsidEdit + type: DLineEdit * +- file: common-plugin/networkdialog/item/netitem.cpp + variable: m_connectButton + class: WirelessItem + accessible_id: ConnectButton + object_name: ConnectButton + type: DPushButton * +- file: common-plugin/networkdialog/networkpanel.cpp + variable: m_netListView + class: NetworkPanel + accessible_id: list_network + object_name: '' + type: DListView * +- file: dcc-network-plugin/window/controllitemsmodel.cpp + variable: iconAction + class: ControllItemsAction + accessible_id: '' + object_name: IconAction + type: DViewItemAction * +- file: dcc-network-plugin/window/controllitemsmodel.cpp + variable: spinnerAction + class: ControllItemsAction + accessible_id: '' + object_name: SpinnerAction + type: DViewItemAction * +- file: dcc-network-plugin/window/editpage/connectioneditpage.cpp + variable: m_disconnectBtn + class: ConnectionEditPage + accessible_id: DisconnectBtn + object_name: DisconnectBtn + type: QPushButton * +- file: dcc-network-plugin/window/editpage/connectioneditpage.cpp + variable: m_removeBtn + class: ConnectionEditPage + accessible_id: RemoveBtn + object_name: RemoveBtn + type: QPushButton * +- file: dcc-network-plugin/window/editpage/connectionvpneditpage.cpp + variable: m_exportButton + class: ConnectionVpnEditPage + accessible_id: ExportButton + object_name: ExportButton + type: QPushButton * +- file: dcc-network-plugin/window/sections/ethernetsection.cpp + variable: m_deviceMacComboBox + class: EthernetSection + accessible_id: DeviceMacComboBox + object_name: DeviceMacComboBox + type: QComboBox * +- file: dcc-network-plugin/window/sections/ipvxsection.cpp + variable: m_methodChooser + class: IpvxSection + accessible_id: MethodChooser + object_name: MethodChooser + type: QComboBox * +- file: dcc-network-plugin/window/sections/multiipvxsection.cpp + variable: m_methodChooser + class: MultiIpvxSection + accessible_id: MethodChooser_2 + object_name: MethodChooser_2 + type: QComboBox * +- file: dcc-network-plugin/window/sections/wirelesssection.cpp + variable: m_deviceMacComboBox + class: WirelessSection + accessible_id: DeviceMacComboBox_2 + object_name: DeviceMacComboBox_2 + type: QComboBox * +- file: dcc-network-plugin/window/widgets/filechoosewidget.cpp + variable: m_fileChooserEdit + class: QLabel + accessible_id: FileChooserEdit + object_name: FileChooserEdit + type: Dtk::Widget::DFileChooserEdit * +- file: dcc-network-plugin/window/wirelessdevicemodel.cpp + variable: secureAction + class: ItemAction + accessible_id: '' + object_name: SecureAction + type: DViewItemAction * +- file: dcc-network-plugin/window/wirelessdevicemodel.cpp + variable: iconAction + class: ItemAction + accessible_id: '' + object_name: IconAction_2 + type: DViewItemAction * +- file: dcc-network-plugin/window/wirelessdevicemodel.cpp + variable: spinnerAction + class: ItemAction + accessible_id: '' + object_name: SpinnerAction_2 + type: DViewItemAction * +- file: dock-network-plugin/quickpanelwidget.cpp + variable: m_expandLabel + class: QLabel + accessible_id: ExpandLabel + object_name: ExpandLabel + type: Dtk::Widget::DIconButton * +- file: dss-network-plugin/notification/actionbutton.cpp + variable: m_menuButton + class: ActionButton + accessible_id: MenuButton + object_name: '' + type: Button * +- file: dss-network-plugin/notification/bubble.cpp + variable: m_icon + class: Bubble + accessible_id: AppIcon + object_name: '' + type: AppIcon * +- file: dss-network-plugin/notification/bubble.cpp + variable: m_body + class: Bubble + accessible_id: AppBody + object_name: '' + type: AppBody * +- file: dss-network-plugin/notification/bubble.cpp + variable: m_actionButton + class: Bubble + accessible_id: ActionButton + object_name: '' + type: ActionButton * +- file: dss-network-plugin/notification/bubble.cpp + variable: m_closeButton + class: Bubble + accessible_id: CloseButton + object_name: '' + type: DDialogCloseButton * +- file: dss-network-plugin/notification/button.cpp + variable: m_button + class: Button + accessible_id: ButtonContent + object_name: '' + type: ButtonContent * +- file: dss-network-plugin/notification/button.cpp + variable: m_menuArea + class: Button + accessible_id: ButtonMenu + object_name: '' + type: ButtonMenu * +- file: dss-network-plugin/notification/button.cpp + variable: m_menu + class: Button + accessible_id: Menu + object_name: '' + type: DMenu * +- file: dss_example/dsstestwidget.cpp + variable: m_iconButton + class: DssTestWidget + accessible_id: IconButton + object_name: IconButton + type: DFloatingButton * +- file: net-view/window/private/netdelegate.cpp + variable: m_switchBut + class: QLabel + accessible_id: SwitchBut + object_name: SwitchBut + type: Dtk::Widget::DSwitchButton * +- file: net-view/window/private/netdelegate.cpp + variable: m_disconnectBtn + class: QLabel + accessible_id: DisconnectBtn_2 + object_name: DisconnectBtn_2 + type: NetCommonButton * +- file: net-view/window/private/netsecretwidget.cpp + variable: cancelButtion + class: NetSecretWidget + accessible_id: '' + object_name: SecretCancelBtn + type: DPushButton * +- file: net-view/window/private/netsecretwidget.cpp + variable: connectButton + class: NetSecretWidget + accessible_id: '' + object_name: SecretConnectBtn + type: DSuggestButton * + +qml: +- file: dcc-network/qml/DeviceStatusItem.qml + element_type: Switch + accessible_id: DeviceStatusItem_Switch + accessible_role: '' + line: 68 +- file: dcc-network/qml/NetButton.qml + element_type: Button + accessible_id: NetButton_Button + accessible_role: '' + line: 6 +- file: dcc-network/qml/NetFileChooseEdit.qml + element_type: NetButton + accessible_id: BrowseBtn + accessible_role: Accessible.Button + line: 56 +- file: dcc-network/qml/NetItemEditor.qml + element_type: ItemDelegate + accessible_id: NetItemEditor_ItemDelegate + accessible_role: '' + line: 11 +- file: dcc-network/qml/NetworkMain.qml + element_type: PageAirplane + accessible_id: NetworkMain_PageAirplane + accessible_role: Accessible.Grouping + line: 44 +- file: dcc-network/qml/NetworkMain.qml + element_type: PageWiredDevice + accessible_id: NetworkMain_PageWiredDevice_ + accessible_role: Accessible.Grouping + line: 60 +- file: dcc-network/qml/NetworkMain.qml + element_type: PageWirelessDevice + accessible_id: NetworkMain_PageWirelessDevice_ + accessible_role: Accessible.Grouping + line: 68 +- file: dcc-network/qml/NetworkMain.qml + element_type: PageVPN + accessible_id: NetworkMain_PageVPN_ + accessible_role: Accessible.Grouping + line: 76 +- file: dcc-network/qml/NetworkMain.qml + element_type: PageDSL + accessible_id: NetworkMain_PageDSL_ + accessible_role: Accessible.Grouping + line: 87 +- file: dcc-network/qml/NetworkMain.qml + element_type: PageHotspot + accessible_id: NetworkMain_PageHotspot_ + accessible_role: Accessible.Grouping + line: 98 +- file: dcc-network/qml/NetworkMain.qml + element_type: PageSystemProxy + accessible_id: NetworkMain_PageSystemProxy_ + accessible_role: Accessible.Grouping + line: 110 +- file: dcc-network/qml/NetworkMain.qml + element_type: PageAppProxy + accessible_id: NetworkMain_PageAppProxy_ + accessible_role: Accessible.Grouping + line: 121 +- file: dcc-network/qml/NetworkMain.qml + element_type: PageDetails + accessible_id: NetworkMain_PageDetails_ + accessible_role: Accessible.Grouping + line: 132 +- file: dcc-network/qml/PageAirplane.qml + element_type: Switch + accessible_id: SwitchControl + accessible_role: '' + line: 30 +- file: dcc-network/qml/PageAppProxy.qml + element_type: Switch + accessible_id: PageAppProxy_Switch + accessible_role: '' + line: 64 +- file: dcc-network/qml/PageAppProxy.qml + element_type: ComboBox + accessible_id: PageAppProxy_ComboBox + accessible_role: '' + line: 95 +- file: dcc-network/qml/PageAppProxy.qml + element_type: Button + accessible_id: Cancel_3 + accessible_role: '' + line: 254 +- file: dcc-network/qml/PageAppProxy.qml + element_type: Button + accessible_id: Save_2 + accessible_role: '' + line: 277 +- file: dcc-network/qml/PageDSL.qml + element_type: ItemDelegate + accessible_id: ItemDelegate_2_ + accessible_role: '' + line: 43 +- file: dcc-network/qml/PageDSL.qml + element_type: NetButton + accessible_id: Disconnect_2_ + accessible_role: Accessible.Button + line: 62 +- file: dcc-network/qml/PageDSL.qml + element_type: PageDSLSettings + accessible_id: DslSettings + accessible_role: Accessible.Grouping + line: 101 +- file: dcc-network/qml/PageDSL.qml + element_type: NetButton + accessible_id: AddPppoEConnection + accessible_role: Accessible.Button + line: 149 +- file: dcc-network/qml/PageDSLSettings.qml + element_type: SectionGeneric + accessible_id: SectionGeneric_2 + accessible_role: Accessible.Grouping + line: 39 +- file: dcc-network/qml/PageDSLSettings.qml + element_type: SectionPPPOE + accessible_id: SectionPppoe + accessible_role: Accessible.Grouping + line: 47 +- file: dcc-network/qml/PageDSLSettings.qml + element_type: SectionIPv4 + accessible_id: SectionIpv4_2 + accessible_role: Accessible.Grouping + line: 55 +- file: dcc-network/qml/PageDSLSettings.qml + element_type: SectionDNS + accessible_id: SectionDns_2 + accessible_role: Accessible.Grouping + line: 63 +- file: dcc-network/qml/PageDSLSettings.qml + element_type: SectionDevice + accessible_id: SectionDevice + accessible_role: Accessible.Grouping + line: 71 +- file: dcc-network/qml/PageDSLSettings.qml + element_type: SectionPPP + accessible_id: SectionPpp + accessible_role: Accessible.Grouping + line: 80 +- file: dcc-network/qml/PageDSLSettings.qml + element_type: NetButton + accessible_id: PageDslsettings_NetButton + accessible_role: Accessible.Button + line: 119 +- file: dcc-network/qml/PageDSLSettings.qml + element_type: Button + accessible_id: Cancel_4 + accessible_role: '' + line: 152 +- file: dcc-network/qml/PageDSLSettings.qml + element_type: Button + accessible_id: Component_Button_2 + accessible_role: '' + line: 164 +- file: dcc-network/qml/PageDSLSettings.qml + element_type: NetButton + accessible_id: Cancel_5 + accessible_role: Accessible.Button + line: 198 +- file: dcc-network/qml/PageDSLSettings.qml + element_type: NetButton + accessible_id: Save_3 + accessible_role: Accessible.Button + line: 213 +- file: dcc-network/qml/PageDetails.qml + element_type: ItemDelegate + accessible_id: ModelData_ + accessible_role: '' + line: 121 +- file: dcc-network/qml/PageDetails.qml + element_type: TextInput + accessible_id: TextInput_ + accessible_role: '' + line: 133 +- file: dcc-network/qml/PageDetails.qml + element_type: Menu + accessible_id: Loader_Menu_ + accessible_role: '' + line: 146 +- file: dcc-network/qml/PageDetails.qml + element_type: MenuItem + accessible_id: Copy_ + accessible_role: '' + line: 148 +- file: dcc-network/qml/PageDetails.qml + element_type: MenuItem + accessible_id: SelectAll_ + accessible_role: '' + line: 156 +- file: dcc-network/qml/PageDetails.qml + element_type: NetButton + accessible_id: NetworkDetection + accessible_role: Accessible.Button + line: 196 +- file: dcc-network/qml/PageHotspot.qml + element_type: Switch + accessible_id: SwitchControl_2 + accessible_role: '' + line: 102 +- file: dcc-network/qml/PageHotspot.qml + element_type: NetItemEditor + accessible_id: NameSsid + accessible_role: Accessible.Button + line: 269 +- file: dcc-network/qml/PageHotspot.qml + element_type: NetItemEditor + accessible_id: Security + accessible_role: Accessible.Button + line: 285 +- file: dcc-network/qml/PageHotspot.qml + element_type: ComboBox + accessible_id: NetItemEditor_ComboBox + accessible_role: '' + line: 290 +- file: dcc-network/qml/PageHotspot.qml + element_type: NetItemEditor + accessible_id: Password_2 + accessible_role: Accessible.Button + line: 317 +- file: dcc-network/qml/PageHotspot.qml + element_type: NetItemEditor + accessible_id: Band + accessible_role: Accessible.Button + line: 343 +- file: dcc-network/qml/PageHotspot.qml + element_type: ComboBox + accessible_id: NetItemEditor_ComboBox_2 + accessible_role: '' + line: 348 +- file: dcc-network/qml/PageHotspot.qml + element_type: Button + accessible_id: Cancel_8 + accessible_role: '' + line: 377 +- file: dcc-network/qml/PageHotspot.qml + element_type: TextInput + accessible_id: 80211WirelessSecurity + accessible_role: '' + line: 481 +- file: dcc-network/qml/PageHotspot.qml + element_type: ComboBox + accessible_id: PageHotspot_ComboBox + accessible_role: '' + line: 548 +- file: dcc-network/qml/PageSettings.qml + element_type: SectionGeneric + accessible_id: SectionGeneric_3 + accessible_role: Accessible.Grouping + line: 39 +- file: dcc-network/qml/PageSettings.qml + element_type: SectionSecret + accessible_id: SectionSecret + accessible_role: Accessible.Grouping + line: 48 +- file: dcc-network/qml/PageSettings.qml + element_type: SectionIPv4 + accessible_id: SectionIpv4_3 + accessible_role: Accessible.Grouping + line: 56 +- file: dcc-network/qml/PageSettings.qml + element_type: SectionIPv6 + accessible_id: SectionIpv6_2 + accessible_role: Accessible.Grouping + line: 64 +- file: dcc-network/qml/PageSettings.qml + element_type: SectionDNS + accessible_id: SectionDns_3 + accessible_role: Accessible.Grouping + line: 72 +- file: dcc-network/qml/PageSettings.qml + element_type: SectionDevice + accessible_id: SectionDevice_2 + accessible_role: Accessible.Grouping + line: 80 +- file: dcc-network/qml/PageSettings.qml + element_type: NetButton + accessible_id: PageSettings_NetButton + accessible_role: Accessible.Button + line: 123 +- file: dcc-network/qml/PageSettings.qml + element_type: Button + accessible_id: Cancel_6 + accessible_role: '' + line: 156 +- file: dcc-network/qml/PageSettings.qml + element_type: Button + accessible_id: Component_Button_3 + accessible_role: '' + line: 168 +- file: dcc-network/qml/PageSettings.qml + element_type: NetButton + accessible_id: Cancel_7 + accessible_role: Accessible.Button + line: 202 +- file: dcc-network/qml/PageSettings.qml + element_type: NetButton + accessible_id: Save_4 + accessible_role: Accessible.Button + line: 217 +- file: dcc-network/qml/PageSystemProxy.qml + element_type: Switch + accessible_id: Component_Switch_2 + accessible_role: '' + line: 45 +- file: dcc-network/qml/PageSystemProxy.qml + element_type: Switch + accessible_id: PageSystemProxy_Switch + accessible_role: '' + line: 72 +- file: dcc-network/qml/PageSystemProxy.qml + element_type: ComboBox + accessible_id: PageSystemProxy_ComboBox + accessible_role: '' + line: 104 +- file: dcc-network/qml/PageSystemProxy.qml + element_type: SystemProxyConfigItem + accessible_id: Http + accessible_role: Accessible.Grouping + line: 167 +- file: dcc-network/qml/PageSystemProxy.qml + element_type: SystemProxyConfigItem + accessible_id: Https + accessible_role: Accessible.Grouping + line: 185 +- file: dcc-network/qml/PageSystemProxy.qml + element_type: SystemProxyConfigItem + accessible_id: Ftp + accessible_role: Accessible.Grouping + line: 203 +- file: dcc-network/qml/PageSystemProxy.qml + element_type: SystemProxyConfigItem + accessible_id: Socks + accessible_role: Accessible.Grouping + line: 221 +- file: dcc-network/qml/PageSystemProxy.qml + element_type: TextArea + accessible_id: DccObjConfig + accessible_role: '' + line: 248 +- file: dcc-network/qml/PageSystemProxy.qml + element_type: Button + accessible_id: DccObjDisplayName + accessible_role: '' + line: 293 +- file: dcc-network/qml/PageSystemProxy.qml + element_type: Button + accessible_id: DccObjDisplayName_2 + accessible_role: '' + line: 314 +- file: dcc-network/qml/PageVPN.qml + element_type: Switch + accessible_id: Component_Switch + accessible_role: '' + line: 26 +- file: dcc-network/qml/PageVPN.qml + element_type: ItemDelegate + accessible_id: ItemDelegate_ + accessible_role: '' + line: 68 +- file: dcc-network/qml/PageVPN.qml + element_type: NetButton + accessible_id: Disconnect_ + accessible_role: Accessible.Button + line: 87 +- file: dcc-network/qml/PageVPN.qml + element_type: PageVPNSettings + accessible_id: VpnSettings + accessible_role: Accessible.Grouping + line: 125 +- file: dcc-network/qml/PageVPN.qml + element_type: NetButton + accessible_id: ImportVpn + accessible_role: Accessible.Button + line: 181 +- file: dcc-network/qml/PageVPN.qml + element_type: Button + accessible_id: Ok + accessible_role: '' + line: 239 +- file: dcc-network/qml/PageVPN.qml + element_type: NetButton + accessible_id: AddVpn + accessible_role: Accessible.Button + line: 255 +- file: dcc-network/qml/PageVPNSettings.qml + element_type: ComboBox + accessible_id: PageVpnsettings_ComboBox + accessible_role: '' + line: 75 +- file: dcc-network/qml/PageVPNSettings.qml + element_type: SectionGeneric + accessible_id: SectionGeneric + accessible_role: Accessible.Grouping + line: 118 +- file: dcc-network/qml/PageVPNSettings.qml + element_type: SectionVPN + accessible_id: SectionVpn + accessible_role: Accessible.Grouping + line: 126 +- file: dcc-network/qml/PageVPNSettings.qml + element_type: SectionIPv4 + accessible_id: SectionIpv4 + accessible_role: Accessible.Grouping + line: 135 +- file: dcc-network/qml/PageVPNSettings.qml + element_type: SectionIPv6 + accessible_id: SectionIpv6 + accessible_role: Accessible.Grouping + line: 145 +- file: dcc-network/qml/PageVPNSettings.qml + element_type: SectionDNS + accessible_id: SectionDns + accessible_role: Accessible.Grouping + line: 168 +- file: dcc-network/qml/PageVPNSettings.qml + element_type: NetButton + accessible_id: PageVpnsettings_NetButton + accessible_role: Accessible.Button + line: 189 +- file: dcc-network/qml/PageVPNSettings.qml + element_type: Button + accessible_id: Cancel + accessible_role: '' + line: 222 +- file: dcc-network/qml/PageVPNSettings.qml + element_type: Button + accessible_id: Component_Button + accessible_role: '' + line: 234 +- file: dcc-network/qml/PageVPNSettings.qml + element_type: NetButton + accessible_id: Export + accessible_role: Accessible.Button + line: 259 +- file: dcc-network/qml/PageVPNSettings.qml + element_type: NetButton + accessible_id: Cancel_2 + accessible_role: Accessible.Button + line: 298 +- file: dcc-network/qml/PageVPNSettings.qml + element_type: NetButton + accessible_id: Save + accessible_role: Accessible.Button + line: 313 +- file: dcc-network/qml/PageWiredDevice.qml + element_type: DeviceStatusItem + accessible_id: PageWiredDevice_DeviceStatusItem + accessible_role: Accessible.Grouping + line: 28 +- file: dcc-network/qml/PageWiredDevice.qml + element_type: DeviceStatusItem + accessible_id: PageWiredDevice_DeviceStatusItem_2 + accessible_role: Accessible.Grouping + line: 52 +- file: dcc-network/qml/PageWiredDevice.qml + element_type: ItemDelegate + accessible_id: ItemDelegate_4 + accessible_role: '' + line: 91 +- file: dcc-network/qml/PageWiredDevice.qml + element_type: NetButton + accessible_id: ModelItemStatus_2 + accessible_role: Accessible.Button + line: 138 +- file: dcc-network/qml/PageWiredDevice.qml + element_type: PageSettings + accessible_id: WiredSettings + accessible_role: Accessible.Grouping + line: 289 +- file: dcc-network/qml/PageWiredDevice.qml + element_type: NetButton + accessible_id: DccObjDisplayName_3 + accessible_role: Accessible.Button + line: 341 +- file: dcc-network/qml/PageWirelessDevice.qml + element_type: DeviceStatusItem + accessible_id: PageWirelessDevice_DeviceStatusItem + accessible_role: Accessible.Grouping + line: 30 +- file: dcc-network/qml/PageWirelessDevice.qml + element_type: ItemDelegate + accessible_id: ItemDelegate_3 + accessible_role: '' + line: 53 +- file: dcc-network/qml/PageWirelessDevice.qml + element_type: NetButton + accessible_id: ModelItemStatus + accessible_role: Accessible.Button + line: 100 +- file: dcc-network/qml/PageWirelessDevice.qml + element_type: ItemDelegate + accessible_id: Repeater_ItemDelegate_ + accessible_role: '' + line: 253 +- file: dcc-network/qml/PageWirelessDevice.qml + element_type: DeviceStatusItem + accessible_id: PageWirelessDevice_DeviceStatusItem_2 + accessible_role: Accessible.Grouping + line: 290 +- file: dcc-network/qml/PageWirelessDevice.qml + element_type: PageSettings + accessible_id: WirelessSettings + accessible_role: Accessible.Grouping + line: 417 +- file: dcc-network/qml/SectionDevice.qml + element_type: ComboBox + accessible_id: SectionDevice_ComboBox + accessible_role: '' + line: 109 +- file: dcc-network/qml/SectionDevice.qml + element_type: Switch + accessible_id: SectionDevice_Switch + accessible_role: '' + line: 170 +- file: dcc-network/qml/SectionDevice.qml + element_type: SpinBox + accessible_id: SectionDevice_SpinBox + accessible_role: '' + line: 187 +- file: dcc-network/qml/SectionGeneric.qml + element_type: Switch + accessible_id: SectionGeneric_Switch + accessible_role: '' + line: 87 +- file: dcc-network/qml/SectionGeneric.qml + element_type: ComboBox + accessible_id: SectionGeneric_ComboBox + accessible_role: '' + line: 104 +- file: dcc-network/qml/SectionIPv4.qml + element_type: ComboBox + accessible_id: SectionIpv4_ComboBox + accessible_role: '' + line: 227 +- file: dcc-network/qml/SectionIPv4.qml + element_type: Switch + accessible_id: SectionIpv4_Switch + accessible_role: '' + line: 262 +- file: dcc-network/qml/SectionIPv4.qml + element_type: ComboBox + accessible_id: SectionIpv4_ComboBox_2 + accessible_role: '' + line: 293 +- file: dcc-network/qml/SectionIPv6.qml + element_type: ComboBox + accessible_id: SectionIpv6_ComboBox + accessible_role: '' + line: 230 +- file: dcc-network/qml/SectionIPv6.qml + element_type: Switch + accessible_id: SectionIpv6_Switch + accessible_role: '' + line: 265 +- file: dcc-network/qml/SectionIPv6.qml + element_type: ComboBox + accessible_id: SectionIpv6_ComboBox_2 + accessible_role: '' + line: 295 +- file: dcc-network/qml/SectionIPv6.qml + element_type: SpinBox + accessible_id: SectionIpv6_SpinBox + accessible_role: '' + line: 443 +- file: dcc-network/qml/SectionPPP.qml + element_type: Switch + accessible_id: Component_Switch_3 + accessible_role: '' + line: 41 +- file: dcc-network/qml/SectionPPP.qml + element_type: Switch + accessible_id: SectionPpp_Switch + accessible_role: '' + line: 64 +- file: dcc-network/qml/SectionPPP.qml + element_type: Switch + accessible_id: SectionPpp_Switch_2 + accessible_role: '' + line: 188 +- file: dcc-network/qml/SectionPPPOE.qml + element_type: NetPasswordEdit + accessible_id: Password + accessible_role: Accessible.EditableText + line: 99 +- file: dcc-network/qml/SectionSecret.qml + element_type: ComboBox + accessible_id: SectionSecret_ComboBox + accessible_role: '' + line: 339 +- file: dcc-network/qml/SectionSecret.qml + element_type: Switch + accessible_id: SectionSecret_Switch + accessible_role: '' + line: 378 +- file: dcc-network/qml/SectionSecret.qml + element_type: ComboBox + accessible_id: SectionSecret_ComboBox_2 + accessible_role: '' + line: 397 +- file: dcc-network/qml/SectionSecret.qml + element_type: ComboBox + accessible_id: SectionSecret_ComboBox_3 + accessible_role: '' + line: 451 +- file: dcc-network/qml/SectionSecret.qml + element_type: NetPasswordEdit + accessible_id: RootPwdStr + accessible_role: Accessible.EditableText + line: 484 +- file: dcc-network/qml/SectionSecret.qml + element_type: ComboBox + accessible_id: SectionSecret_ComboBox_4 + accessible_role: '' + line: 500 +- file: dcc-network/qml/SectionSecret.qml + element_type: NetFileChooseEdit + accessible_id: PrivateKey + accessible_role: Accessible.EditableText + line: 530 +- file: dcc-network/qml/SectionSecret.qml + element_type: ComboBox + accessible_id: SectionSecret_ComboBox_5 + accessible_role: '' + line: 565 +- file: dcc-network/qml/SectionSecret.qml + element_type: NetFileChooseEdit + accessible_id: SectionSecret_NetFileChooseEdit + accessible_role: Accessible.EditableText + line: 604 +- file: dcc-network/qml/SectionSecret.qml + element_type: NetFileChooseEdit + accessible_id: SectionSecret_NetFileChooseEdit_2 + accessible_role: Accessible.EditableText + line: 620 +- file: dcc-network/qml/SectionSecret.qml + element_type: NetFileChooseEdit + accessible_id: Required + accessible_role: Accessible.EditableText + line: 636 +- file: dcc-network/qml/SectionSecret.qml + element_type: ComboBox + accessible_id: SectionSecret_ComboBox_6 + accessible_role: '' + line: 653 +- file: dcc-network/qml/SectionSecret.qml + element_type: ComboBox + accessible_id: SectionSecret_ComboBox_7 + accessible_role: '' + line: 689 +- file: dcc-network/qml/SectionVPN.qml + element_type: NetButton + accessible_id: Component_NetButton + accessible_role: Accessible.Button + line: 377 +- file: dcc-network/qml/SectionVPN.qml + element_type: NetButton + accessible_id: Component_NetButton_2 + accessible_role: Accessible.Button + line: 414 +- file: dcc-network/qml/SectionVPN.qml + element_type: Switch + accessible_id: Component_Switch_4 + accessible_role: '' + line: 500 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox + accessible_role: '' + line: 601 +- file: dcc-network/qml/SectionVPN.qml + element_type: NetButton + accessible_id: SectionVpn_NetButton + accessible_role: Accessible.Button + line: 662 +- file: dcc-network/qml/SectionVPN.qml + element_type: NetButton + accessible_id: SectionVpn_NetButton_2 + accessible_role: Accessible.Button + line: 705 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox_2 + accessible_role: '' + line: 755 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox_3 + accessible_role: '' + line: 809 +- file: dcc-network/qml/SectionVPN.qml + element_type: NetPasswordEdit + accessible_id: RootSecretMapHasOwnPropertydccObjNamerootSecretMap + accessible_role: Accessible.EditableText + line: 848 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox_4 + accessible_role: '' + line: 884 +- file: dcc-network/qml/SectionVPN.qml + element_type: NetPasswordEdit + accessible_id: RootSecretMapHasOwnPropertydccObjNamerootSecretMap_2 + accessible_role: Accessible.EditableText + line: 915 +- file: dcc-network/qml/SectionVPN.qml + element_type: Switch + accessible_id: SectionVpn_Switch + accessible_role: '' + line: 941 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox_5 + accessible_role: '' + line: 962 +- file: dcc-network/qml/SectionVPN.qml + element_type: Switch + accessible_id: SectionVpn_Switch_2 + accessible_role: '' + line: 1054 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox_6 + accessible_role: '' + line: 1112 +- file: dcc-network/qml/SectionVPN.qml + element_type: NetPasswordEdit + accessible_id: RootSecretMapHasOwnPropertydccObjNamerootSecretMap_3 + accessible_role: Accessible.EditableText + line: 1144 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox_7 + accessible_role: '' + line: 1170 +- file: dcc-network/qml/SectionVPN.qml + element_type: NetPasswordEdit + accessible_id: RootSecretMapHasOwnPropertydccObjNamerootSecretMap_4 + accessible_role: Accessible.EditableText + line: 1202 +- file: dcc-network/qml/SectionVPN.qml + element_type: Switch + accessible_id: SectionVpn_Switch_3 + accessible_role: '' + line: 1218 +- file: dcc-network/qml/SectionVPN.qml + element_type: Switch + accessible_id: SectionVpn_Switch_4 + accessible_role: '' + line: 1268 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox_8 + accessible_role: '' + line: 1285 +- file: dcc-network/qml/SectionVPN.qml + element_type: Switch + accessible_id: SectionVpn_Switch_5 + accessible_role: '' + line: 1426 +- file: dcc-network/qml/SectionVPN.qml + element_type: Switch + accessible_id: SectionVpn_Switch_6 + accessible_role: '' + line: 1543 +- file: dcc-network/qml/SectionVPN.qml + element_type: SpinBox + accessible_id: SectionVpn_SpinBox + accessible_role: '' + line: 1565 +- file: dcc-network/qml/SectionVPN.qml + element_type: Switch + accessible_id: SectionVpn_Switch_7 + accessible_role: '' + line: 1589 +- file: dcc-network/qml/SectionVPN.qml + element_type: SpinBox + accessible_id: SectionVpn_SpinBox_2 + accessible_role: '' + line: 1611 +- file: dcc-network/qml/SectionVPN.qml + element_type: Switch + accessible_id: SectionVpn_Switch_8 + accessible_role: '' + line: 1635 +- file: dcc-network/qml/SectionVPN.qml + element_type: Switch + accessible_id: SectionVpn_Switch_9 + accessible_role: '' + line: 1674 +- file: dcc-network/qml/SectionVPN.qml + element_type: SpinBox + accessible_id: SectionVpn_SpinBox_3 + accessible_role: '' + line: 1696 +- file: dcc-network/qml/SectionVPN.qml + element_type: Switch + accessible_id: SectionVpn_Switch_10 + accessible_role: '' + line: 1720 +- file: dcc-network/qml/SectionVPN.qml + element_type: SpinBox + accessible_id: SectionVpn_SpinBox_4 + accessible_role: '' + line: 1742 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox_9 + accessible_role: '' + line: 1811 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox_10 + accessible_role: '' + line: 1847 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox_11 + accessible_role: '' + line: 1877 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox_12 + accessible_role: '' + line: 1910 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox_13 + accessible_role: '' + line: 1940 +- file: dcc-network/qml/SectionVPN.qml + element_type: SpinBox + accessible_id: SectionVpn_SpinBox_5 + accessible_role: '' + line: 1976 +- file: dcc-network/qml/SectionVPN.qml + element_type: Switch + accessible_id: SectionVpn_Switch_11 + accessible_role: '' + line: 2000 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox_14 + accessible_role: '' + line: 2038 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox_15 + accessible_role: '' + line: 2113 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox_16 + accessible_role: '' + line: 2182 +- file: dcc-network/qml/SectionVPN.qml + element_type: SpinBox + accessible_id: SectionVpn_SpinBox_6 + accessible_role: '' + line: 2224 +- file: dcc-network/qml/SectionVPN.qml + element_type: NetPasswordEdit + accessible_id: RootSecretMapHasOwnPropertydccObjNamerootSecretMap_5 + accessible_role: Accessible.EditableText + line: 2272 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox_17 + accessible_role: '' + line: 2314 +- file: dcc-network/qml/SectionVPN.qml + element_type: Switch + accessible_id: SectionVpn_Switch_12 + accessible_role: '' + line: 2357 +- file: dcc-network/qml/SectionVPN.qml + element_type: ComboBox + accessible_id: SectionVpn_ComboBox_18 + accessible_role: '' + line: 2379 +- file: dcc-network/qml/SystemProxyConfigItem.qml + element_type: Switch + accessible_id: SystemProxyConfigItem_Switch + accessible_role: '' + line: 93 +- file: dcc-network/qml/SystemProxyConfigItem.qml + element_type: NetPasswordEdit + accessible_id: RootConfigPassword + accessible_role: Accessible.EditableText + line: 141 + +dynamic_elements: +# SecretLineEdit_ — dynamically created in NetSecretWidget::initUI() +# key values come from m_secretKeyStrMap and m_propMap +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_psk' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_wep-key0' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_wep-key1' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_wep-key2' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_wep-key3' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_leap-password' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_password' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_password-raw' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_ca-cert-password' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_client-cert-password' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_phase2-ca-cert-password' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_phase2-client-cert-password' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_private-key-password' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_phase2-private-key-password' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_pin' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_proxy-password' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_IPSec secret' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_Xauth password' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_identity' +- file: net-view/window/private/netsecretwidget.cpp + pattern: 'SecretLineEdit_{key}' + expected_name: 'SecretLineEdit_ssid' +# SecretDialogLineEdit_ — dynamically created in NetworkSecretDialog::initUI() +# secret values come from m_secretKeyStrMap and m_propMap +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_psk' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_wep-key0' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_wep-key1' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_wep-key2' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_wep-key3' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_leap-password' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_password' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_password-raw' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_ca-cert-password' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_client-cert-password' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_phase2-ca-cert-password' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_phase2-client-cert-password' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_private-key-password' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_phase2-private-key-password' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_pin' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_proxy-password' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_IPSec secret' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_Xauth password' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_cert-pass' +- file: network-service-plugin/dde-network-secret-dialog/src/networksecretdialog.cpp + pattern: 'SecretDialogLineEdit_{secret}' + expected_name: 'SecretDialogLineEdit_identity'