1 /* 2 SPDX-FileCopyrightText: 2016-2021 Laurent Montel <montel@kde.org> 3 4 SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 7 #include "importimapsettingnofoundpage.h" 8 #include <KLocalizedString> 9 #include <QLabel> 10 #include <QVBoxLayout> 11 ImportImapSettingNoFoundPage(QWidget * parent)12ImportImapSettingNoFoundPage::ImportImapSettingNoFoundPage(QWidget *parent) 13 : QWidget(parent) 14 { 15 auto mainLayout = new QVBoxLayout(this); 16 mainLayout->setObjectName(QStringLiteral("mainlayout")); 17 18 auto lab = new QLabel(i18n("No settings found to import.")); 19 QFont font = lab->font(); 20 font.setBold(true); 21 font.setPointSizeF(font.pointSizeF() * 1.5); 22 lab->setFont(font); 23 lab->setAlignment(Qt::AlignCenter); 24 lab->setObjectName(QStringLiteral("label")); 25 mainLayout->addWidget(lab); 26 } 27 ~ImportImapSettingNoFoundPage()28ImportImapSettingNoFoundPage::~ImportImapSettingNoFoundPage() 29 { 30 } 31