File indexing completed on 2024-12-15 04:55:36

0001 /*
0002    SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "importimapsettingnofoundpage.h"
0008 #include <KLocalizedString>
0009 #include <QLabel>
0010 #include <QVBoxLayout>
0011 
0012 ImportImapSettingNoFoundPage::ImportImapSettingNoFoundPage(QWidget *parent)
0013     : QWidget(parent)
0014 {
0015     auto mainLayout = new QVBoxLayout(this);
0016     mainLayout->setObjectName(QLatin1StringView("mainlayout"));
0017 
0018     auto lab = new QLabel(i18n("No settings found to import."));
0019     QFont font = lab->font();
0020     font.setBold(true);
0021     font.setPointSizeF(font.pointSizeF() * 1.5);
0022     lab->setFont(font);
0023     lab->setAlignment(Qt::AlignCenter);
0024     lab->setObjectName(QLatin1StringView("label"));
0025     mainLayout->addWidget(lab);
0026 }
0027 
0028 ImportImapSettingNoFoundPage::~ImportImapSettingNoFoundPage() = default;
0029 
0030 #include "moc_importimapsettingnofoundpage.cpp"