Commit b7fe8bbb authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add config widget

parent 3323b373
Pipeline #56651 passed with stage
in 28 minutes and 39 seconds
......@@ -6,6 +6,7 @@
#include "mailmergeconfiguredialog.h"
#include "kmail-version.h"
#include "mailmergeconfigurewidget.h"
#include <KAboutData>
#include <KHelpMenu>
#include <KLocalizedString>
......@@ -18,6 +19,7 @@
MailMergeConfigureDialog::MailMergeConfigureDialog(QWidget *parent)
: QDialog(parent)
, mWidget(new MailMergeConfigureWidget(this))
{
setWindowTitle(i18nc("@title:window", "Configure"));
setWindowIcon(QIcon::fromTheme(QStringLiteral("kmail")));
......@@ -28,9 +30,9 @@ MailMergeConfigureDialog::MailMergeConfigureDialog(QWidget *parent)
okButton->setShortcut(Qt::CTRL | Qt::Key_Return);
connect(buttonBox, &QDialogButtonBox::rejected, this, &MailMergeConfigureDialog::reject);
// mWidget->setObjectName(QStringLiteral("sendlaterwidget"));
mWidget->setObjectName(QStringLiteral("mailmergewidget"));
// connect(mWidget, &SendLaterWidget::sendNow, this, &SendLaterConfigureDialog::sendNow);
// mainLayout->addWidget(mWidget);
mainLayout->addWidget(mWidget);
mainLayout->addWidget(buttonBox);
// connect(okButton, &QPushButton::clicked, this, &SendLaterConfigureDialog::slotSave);
......
......@@ -7,11 +7,13 @@
#pragma once
#include <QDialog>
class MailMergeConfigureWidget;
class MailMergeConfigureDialog : public QDialog
{
Q_OBJECT
public:
explicit MailMergeConfigureDialog(QWidget *parent = nullptr);
~MailMergeConfigureDialog() override;
private:
MailMergeConfigureWidget *const mWidget;
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment