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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,9 @@ path = ["dde-osd/src/notification/dbus**", "global_util/dbus/**"]
precedence = "aggregate"
SPDX-FileCopyrightText = "The Qt Company Ltd."
SPDX-License-Identifier = "CC0-1.0"

[[annotations]]
path = "tests/at/spi/**.yaml"
precedence = "aggregate"
SPDX-FileCopyrightText = "UnionTech Software Technology Co., Ltd."
SPDX-License-Identifier = "CC0-1.0"
4 changes: 3 additions & 1 deletion dde-hints-dialog/src/hintsdialog.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2020 - 2022 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2020 - 2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

Expand All @@ -24,6 +24,8 @@ HintsDialog::HintsDialog(QWidget *parent)
m_title->setObjectName("TitleLabel");
m_title->setAccessibleName("TitleLabel");
m_content->setAccessibleName("MainContent");
m_content->setObjectName("MainContent");
m_closeButton->setObjectName("CloseButton");

DFontSizeManager::instance()->bind(m_title, DFontSizeManager::SizeType::T5, 70);

Expand Down
7 changes: 7 additions & 0 deletions dde-license-dialog/src/content.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,17 @@ Content::Content(QWidget *parent)
, m_hasEn(false)
{
m_scrollArea->setAccessibleName("ScrollArea");
m_scrollArea->setObjectName("ScrollArea");
m_acceptCheck->setAccessibleName("AcceptCheck");
m_acceptCheck->setObjectName("AcceptCheck");
m_cancelBtn->setAccessibleName("CancelBtn");
m_cancelBtn->setObjectName("CancelBtn");
m_acceptBtn->setAccessibleName("AcceptBtn");
m_acceptBtn->setObjectName("AcceptBtn");
m_source->setAccessibleName("SourceLabel");
m_source->setObjectName("SourceLabel");
m_languageBtn->setAccessibleName("LanguageBtn");
m_languageBtn->setObjectName("LanguageBtn");
QVBoxLayout *layout = new QVBoxLayout;
layout->setContentsMargins(0, 0, 0, 0);
layout->setSpacing(0);
Expand Down Expand Up @@ -180,6 +186,7 @@ Content::Content(QWidget *parent)
m_bottom = new QWidget(this);
m_bottom->setLayout(bottomLayout);
m_bottom->setAccessibleName("ContentBottomWidget");
m_bottom->setObjectName("ContentBottomWidget");

layout->addWidget(m_scrollArea);
layout->addSpacing(20);
Expand Down
5 changes: 4 additions & 1 deletion dde-osd/src/kblayoutindicator.cpp
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -101,6 +101,8 @@ KBLayoutIndicator::KBLayoutIndicator(QWidget *parent)
m_menu(new QMenu),
m_addLayoutAction(nullptr)
{
m_menu->setObjectName("KeyboardLayoutMenu");

updateIcon();
updateMenu();

Expand Down Expand Up @@ -138,6 +140,7 @@ void KBLayoutIndicator::updateMenu()
m_menu->addSeparator();

m_addLayoutAction = new QAction(tr("Add keyboard layout"), m_menu);
m_addLayoutAction->setObjectName("AddLayoutAction");

m_menu->addAction(m_addLayoutAction);
}
Expand Down
3 changes: 2 additions & 1 deletion dde-welcome/src/updatecontent.cpp
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -24,6 +24,7 @@ UpdateContent::UpdateContent(const std::pair<QString, QString> &version, QWidget
QLabel *successTip = new QLabel(tr("Welcome, system updated successfully"));
QLabel *currentVersion = new QLabel(tr("Current Edition:") + " " + version.first + " " + version.second);
m_enterBtn = new QPushButton(tr("Enter"), this);
m_enterBtn->setObjectName("EnterBtn");
m_enterBtn->setMinimumWidth(200);

mainLayout->addStretch();
Expand Down
4 changes: 3 additions & 1 deletion dde-wm-chooser/src/wmchooser.cpp
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -34,9 +34,11 @@ WMChooser::WMChooser(QWidget *parent)
"}";

m_gorgeousBtn = new QPushButton(tr("Effect Mode"));
m_gorgeousBtn->setObjectName("GorgeousBtn");
m_gorgeousBtn->setFixedSize(300, 50);
m_gorgeousBtn->setStyleSheet(btnStyle);
m_topSpeedBtn = new QPushButton(tr("Normal Mode"));
m_topSpeedBtn->setObjectName("TopSpeedBtn");
m_topSpeedBtn->setFixedSize(m_gorgeousBtn->size());
m_topSpeedBtn->setStyleSheet(btnStyle);

Expand Down
2 changes: 2 additions & 0 deletions dmemory-warning-dialog/src/dmemorywarningdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ DMemoryWarningDialog::DMemoryWarningDialog(QWidget *parent)
m_memNeeded->setWordWrap(true);
m_memNeeded->setAccessibleName("MemNeededLabel");
m_cancelButton->setText(tr("Cancel", "button"));
m_cancelButton->setObjectName("CancelButton");
m_continueButton->setText(tr("Continue", "button"));
m_continueButton->setObjectName("ContinueButton");
m_icon->setAccessibleName("DdeIconLabel");
m_icon->setPixmap(QIcon::fromTheme("dde").pixmap(32, 32));

Expand Down
6 changes: 5 additions & 1 deletion reset-password-dialog/passwordwidget.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2022 - 2023 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2022 - 2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

Expand Down Expand Up @@ -62,6 +62,10 @@ void PasswordWidget::initWidget(int margin)

this->setAccessibleName("PasswordWidget");

m_newPasswordEdit->setObjectName("NewPasswordEdit");
m_repeatPasswordEdit->setObjectName("RepeatPasswordEdit");
m_passwordTipsEdit->setObjectName("PasswordTipsEdit");

QVBoxLayout *resetPasswordVLayout = new QVBoxLayout(this);
resetPasswordVLayout->setSpacing(0);
resetPasswordVLayout->setContentsMargins(0, 0, 0, 0);
Expand Down
1 change: 1 addition & 0 deletions reset-password-dialog/resetpassworddialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ void ResetPasswordDialog::initWidget(const QString &userName)
mainContentLayout->setContentsMargins(0, 0, 0, 0);

m_buttonBox = new DButtonBox(this);
m_buttonBox->setObjectName("ButtonBox");
m_buttonBox->setButtonList({new DButtonBoxButton(tr("Security Questions")), new DButtonBoxButton("Union ID")}, true);
m_buttonBox->setId(m_buttonBox->buttonList().at(0), 0);
m_buttonBox->setId(m_buttonBox->buttonList().at(1), 1);
Expand Down
9 changes: 8 additions & 1 deletion reset-password-dialog/securityquestionswidget.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2021 - 2023 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2021 - 2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

Expand Down Expand Up @@ -54,6 +54,13 @@ void SecurityQuestionsWidget::initWidget()
{
this->setAccessibleName("SecurityQuestionsWidget");

m_questionEdit1->setObjectName("QuestionEdit1");
m_questionEdit2->setObjectName("QuestionEdit2");
m_questionEdit3->setObjectName("QuestionEdit3");
m_answerEdit1->setObjectName("AnswerEdit1");
m_answerEdit2->setObjectName("AnswerEdit2");
m_answerEdit3->setObjectName("AnswerEdit3");

QVBoxLayout *answerQuestionsVLayout = new QVBoxLayout(m_answerQuestionsWidget);
answerQuestionsVLayout->setSpacing(0);
answerQuestionsVLayout->setContentsMargins(0, 0, 0, 0);
Expand Down
6 changes: 5 additions & 1 deletion reset-password-dialog/unionidwidget.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2021 - 2023 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2021 - 2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

Expand Down Expand Up @@ -34,6 +34,10 @@ UnionIDWidget::UnionIDWidget(const QString &userPath, const QString &userName, Q
void UnionIDWidget::initWidget()
{
this->setAccessibleName("ResetPasswordPage");

m_phoneEmailEdit->setObjectName("PhoneEmailEdit");
m_verificationCodeEdit->setObjectName("VerificationCodeEdit");
m_sendCodeBtn->setObjectName("SendCodeBtn");
DGuiApplicationHelper::ColorType type = DGuiApplicationHelper::instance()->themeType();
setIconPath(type);

Expand Down
Loading
Loading