LeechCraft 0.6.70-14794-g33744ae6ce
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
sslcertificateinfowidget.h
Go to the documentation of this file.
1/**********************************************************************
2 * LeechCraft - modular cross-platform feature rich internet client.
3 * Copyright (C) 2006-2014 Georg Rudoy
4 *
5 * Distributed under the Boost Software License, Version 1.0.
6 * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7 **********************************************************************/
8
9#pragma once
10
11#include <memory>
12#include <QWidget>
13#include <QtNetwork/QSslCertificate>
14#include "guiconfig.h"
15
16class QSslCertificate;
17
18namespace Ui
19{
20 class SslCertificateInfoWidget;
21}
22
23namespace LC::Util
24{
26 {
27 std::shared_ptr<Ui::SslCertificateInfoWidget> Ui_;
28 public:
29 explicit SslCertificateInfoWidget (QWidget* = nullptr);
30
31 void SetCertificate (const QSslCertificate&);
32 };
33
34 UTIL_GUI_API QDialog* MakeCertificateViewerDialog (const QSslCertificate&, QWidget* = nullptr);
35}
#define UTIL_GUI_API
Definition: guiconfig.h:16
QDialog * MakeCertificateViewerDialog(const QSslCertificate &cert, QWidget *parent)