hydrogen
1.2.3
SplashScreen.h
Go to the documentation of this file.
1
/*
2
* Hydrogen
3
* Copyright(c) 2002-2008 by Alex >Comix< Cominu [comix@users.sourceforge.net]
4
* Copyright(c) 2008-2024 The hydrogen development team [hydrogen-devel@lists.sourceforge.net]
5
*
6
* http://www.hydrogen-music.org
7
*
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY, without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see https://www.gnu.org/licenses
20
*
21
*/
22
23
24
#ifndef SPLASH_SCREEN_H
25
#define SPLASH_SCREEN_H
26
27
#include <QSplashScreen>
28
#include <QTimer>
29
#include <QPixmap>
30
31
#include <
core/Object.h
>
32
34
class
SplashScreen
:
public
QSplashScreen,
public
H2Core::Object
<SplashScreen>
35
{
36
H2_OBJECT
(
SplashScreen
)
37
Q_OBJECT
38
public
:
39
SplashScreen
();
40
~SplashScreen
();
41
42
private
slots:
43
void
onCloseTimer
();
44
45
private
:
46
QPixmap *
m_pBackground
;
47
static
const
uint
width
= 400;
48
static
const
uint
height
= 300;
49
};
50
51
52
#endif
Object.h
H2_OBJECT
#define H2_OBJECT(name)
Definition
Object.h:224
H2Core::Object
Definition
Object.h:178
SplashScreen
Definition
SplashScreen.h:35
SplashScreen::width
static const uint width
Definition
SplashScreen.h:47
SplashScreen::SplashScreen
SplashScreen()
Definition
SplashScreen.cpp:32
SplashScreen::onCloseTimer
void onCloseTimer()
Definition
SplashScreen.cpp:76
SplashScreen::~SplashScreen
~SplashScreen()
Definition
SplashScreen.cpp:68
SplashScreen::height
static const uint height
Definition
SplashScreen.h:48
SplashScreen::m_pBackground
QPixmap * m_pBackground
Definition
SplashScreen.h:46
src
gui
src
SplashScreen.h
Generated by
1.10.0