Commit 00477305 authored by Laurent Montel's avatar Laurent Montel 😁

Start to create an unique widget for all kmessagewidget

parent 0008de78
......@@ -139,6 +139,7 @@ set(libmessageviewer_viewer_SRCS
viewer/mimeparttree/mimeparttreeview.cpp
viewer/mimeparttree/mimetreemodel.cpp
viewer/viewerpurposemenuwidget.cpp
viewer/messagewidgetarea.cpp
)
set(libmessageviewer_widgets_SRCS
......
/*
SPDX-FileCopyrightText: 2020 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "messagewidgetarea.h"
#include <QVBoxLayout>
using namespace MessageViewer;
MessageWidgetArea::MessageWidgetArea(QWidget *parent)
: QWidget(parent)
{
QVBoxLayout *mainLayout = new QVBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainLayout"));
mainLayout->setContentsMargins({});
}
MessageWidgetArea::~MessageWidgetArea()
{
}
/*
SPDX-FileCopyrightText: 2020 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef MESSAGEWIDGETAREA_H
#define MESSAGEWIDGETAREA_H
#include <QWidget>
#include "messageviewer_private_export.h"
namespace MessageViewer {
class MESSAGEVIEWER_TESTS_EXPORT MessageWidgetArea : public QWidget
{
Q_OBJECT
public:
explicit MessageWidgetArea(QWidget *parent = nullptr);
~MessageWidgetArea();
};
}
#endif // MESSAGEWIDGETAREA_H
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