Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F35336972
messagecontainerwidget_p.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
1 KB
Subscribers
None
messagecontainerwidget_p.h
View Options
// SPDX-FileCopyrightText: 2023 g10 Code GmbH
// SPDX-FileContributor: Carl Schwan <carl.schwan@gnupg.com>
// SPDX-License-Identifier: LGPL-2.0-or-later
#pragma once
#include
"mimetreeparser_widgets_export.h"
#include
<MimeTreeParserCore/PartModel>
#include
<QFrame>
class
SignatureInfo
;
class
QPaintEvent
;
class
QResizeEvent
;
class
UrlHandler
;
/// \internal
class
MIMETREEPARSER_WIDGETS_EXPORT
MessageWidgetContainer
:
public
QFrame
{
Q_OBJECT
public
:
explicit
MessageWidgetContainer
(
bool
isSigned
,
const
SignatureInfo
&
signatureInfo
,
PartModel
::
SecurityLevel
signatureSecurityLevel
,
bool
displaySignatureInfo
,
bool
isEncrypted
,
const
SignatureInfo
&
encryptionInfo
,
PartModel
::
SecurityLevel
encryptionSecurityLevel
,
bool
displayEncryptionInfo
,
UrlHandler
*
urlHandler
,
QWidget
*
parent
=
nullptr
);
~
MessageWidgetContainer
();
protected
:
void
paintEvent
(
QPaintEvent
*
event
)
override
;
bool
event
(
QEvent
*
event
)
override
;
private
:
void
createLayout
();
bool
m_isSigned
;
SignatureInfo
const
m_signatureInfo
;
PartModel
::
SecurityLevel
m_signatureSecurityLevel
;
bool
m_displaySignatureInfo
;
bool
m_isEncrypted
;
SignatureInfo
const
m_encryptionInfo
;
PartModel
::
SecurityLevel
m_encryptionSecurityLevel
;
bool
m_displayEncryptionInfo
;
UrlHandler
*
const
m_urlHandler
;
};
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Fri, Feb 6, 8:12 AM (11 h, 10 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
65/9a/a9a2d4f9465f3db00c8c9b053879
Attached To
rMTP MIME Tree Parser
Event Timeline
Log In to Comment