Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Messagelib
Commits
00477305
Commit
00477305
authored
Oct 14, 2020
by
Laurent Montel
😁
Browse files
Start to create an unique widget for all kmessagewidget
parent
0008de78
Changes
3
Hide whitespace changes
Inline
Side-by-side
messageviewer/src/CMakeLists.txt
View file @
00477305
...
...
@@ -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
...
...
messageviewer/src/viewer/messagewidgetarea.cpp
0 → 100644
View file @
00477305
/*
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
()
{
}
messageviewer/src/viewer/messagewidgetarea.h
0 → 100644
View file @
00477305
/*
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment