VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/manager/UIWelcomePane.h@ 82781

Last change on this file since 82781 was 76581, checked in by vboxsync, 5 years ago

Fe/QT: scm header guard alignment.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1/* $Id: UIWelcomePane.h 76581 2019-01-01 06:24:57Z vboxsync $ */
2/** @file
3 * VBox Qt GUI - UIWelcomePane class declaration.
4 */
5
6/*
7 * Copyright (C) 2010-2019 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef FEQT_INCLUDED_SRC_manager_UIWelcomePane_h
19#define FEQT_INCLUDED_SRC_manager_UIWelcomePane_h
20#ifndef RT_WITHOUT_PRAGMA_ONCE
21# pragma once
22#endif
23
24/* Qt includes: */
25#include <QIcon>
26#include <QWidget>
27
28/* GUI includes: */
29#include "QIWithRetranslateUI.h"
30
31/* Forward declarations: */
32class QLabel;
33
34/** QWidget subclass holding Welcome information about VirtualBox. */
35class UIWelcomePane : public QIWithRetranslateUI<QWidget>
36{
37 Q_OBJECT;
38
39public:
40
41 /** Constructs Welcome pane passing @a pParent to the base-class. */
42 UIWelcomePane(QWidget *pParent = 0);
43
44protected:
45
46 /** Handles any Qt @a pEvent. */
47 virtual bool event(QEvent *pEvent) /* override */;
48
49 /** Handles translation event. */
50 virtual void retranslateUi() /* override */;
51
52private:
53
54 /** Prepares all. */
55 void prepare();
56
57 /** Updates pixmap. */
58 void updatePixmap();
59
60 /** Holds the icon instance. */
61 QIcon m_icon;
62
63 /** Holds the text label instance. */
64 QLabel *m_pLabelText;
65 /** Holds the icon label instance. */
66 QLabel *m_pLabelIcon;
67};
68
69#endif /* !FEQT_INCLUDED_SRC_manager_UIWelcomePane_h */
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use