VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIApplianceUnverifiedCertificateViewer.h@ 104158

Last change on this file since 104158 was 103947, checked in by vboxsync, 10 months ago

FE/Qt. bugref:10622. Using new UITranslationEventListener in wizard classes. part 1.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1/* $Id: UIApplianceUnverifiedCertificateViewer.h 103947 2024-03-20 11:06:21Z vboxsync $ */
2/** @file
3 * VBox Qt GUI - UIApplianceUnverifiedCertificateViewer class declaration.
4 */
5
6/*
7 * Copyright (C) 2009-2023 Oracle and/or its affiliates.
8 *
9 * This file is part of VirtualBox base platform packages, as
10 * available from https://www.virtualbox.org.
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation, in version 3 of the
15 * License.
16 *
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, see <https://www.gnu.org/licenses>.
24 *
25 * SPDX-License-Identifier: GPL-3.0-only
26 */
27
28#ifndef FEQT_INCLUDED_SRC_wizards_importappliance_UIApplianceUnverifiedCertificateViewer_h
29#define FEQT_INCLUDED_SRC_wizards_importappliance_UIApplianceUnverifiedCertificateViewer_h
30#ifndef RT_WITHOUT_PRAGMA_ONCE
31# pragma once
32#endif
33
34/* GUI includes: */
35#include "QIDialog.h"
36
37/* Forward declarations: */
38class QLabel;
39class QTextBrowser;
40class CCertificate;
41
42/** QIDialog extension
43 * asking for consent to continue with unverifiable certificate. */
44class UIApplianceUnverifiedCertificateViewer : public QIDialog
45{
46 Q_OBJECT;
47
48public:
49
50 /** Constructs appliance @a comCertificate viewer for passed @a pParent. */
51 UIApplianceUnverifiedCertificateViewer(QWidget *pParent, const CCertificate &comCertificate);
52
53protected:
54
55 /** Prepares all. */
56 void prepare();
57
58private slots:
59
60 /** Handles translation event. */
61 void sltRetranslateUI();
62
63private:
64
65 /** Holds the certificate reference. */
66 const CCertificate &m_comCertificate;
67
68 /** Holds the text-label instance. */
69 QLabel *m_pTextLabel;
70 /** Holds the text-browser instance. */
71 QTextBrowser *m_pTextBrowser;
72};
73
74#endif /* !FEQT_INCLUDED_SRC_wizards_importappliance_UIApplianceUnverifiedCertificateViewer_h */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette