kwave
18.07.70
LogoWidget.h
Go to the documentation of this file.
1
/***************************************************************************
2
LogoWidget.h - widget with the animated Kwave logo
3
-------------------
4
begin : Sun Oct 29 2000
5
copyright : (C) 2000 by Thomas Eschenbacher
6
email : Thomas.Eschenbacher@gmx.de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef LOGO_WIDGET_H
19
#define LOGO_WIDGET_H
20
21
#include "config.h"
22
23
#include <QPixmap>
24
#include <QWidget>
25
26
class
QPaintEvent;
27
class
QImage;
28
class
QTimer;
29
31
#define MAXSIN 5
32
33
namespace
Kwave
34
{
35
class
LogoWidget
:
public
QWidget
36
{
37
Q_OBJECT
38
39
public
:
41
explicit
LogoWidget
(QWidget *parent);
42
44
virtual
~LogoWidget
() Q_DECL_OVERRIDE;
45
46
public
slots:
48
void
doAnim
();
49
50
protected
:
51
53
virtual
void
paintEvent
(QPaintEvent *) Q_DECL_OVERRIDE;
54
55
private
:
56
58
int
m_width
;
59
61
int
m_height
;
62
64
bool
m_repaint
;
65
67
double
m_deg
[
MAXSIN
];
68
70
QImage *
m_image
;
71
73
QPixmap
m_logo
;
74
76
QTimer *
m_timer
;
77
79
double
m_color_h
;
80
};
81
}
82
83
#endif
/* LOGO_WIDGET_H */
84
85
//***************************************************************************
86
//***************************************************************************
Kwave::LogoWidget::m_height
int m_height
Definition:
LogoWidget.h:61
Kwave::LogoWidget::paintEvent
virtual void paintEvent(QPaintEvent *) Q_DECL_OVERRIDE
Definition:
LogoWidget.cpp:86
Kwave
Definition:
App.h:33
Kwave::LogoWidget::m_timer
QTimer * m_timer
Definition:
LogoWidget.h:76
Kwave::LogoWidget::m_repaint
bool m_repaint
Definition:
LogoWidget.h:64
Kwave::LogoWidget::m_color_h
double m_color_h
Definition:
LogoWidget.h:79
Kwave::LogoWidget::LogoWidget
LogoWidget(QWidget *parent)
Definition:
LogoWidget.cpp:39
Kwave::LogoWidget::m_logo
QPixmap m_logo
Definition:
LogoWidget.h:73
Kwave::LogoWidget::m_image
QImage * m_image
Definition:
LogoWidget.h:70
Kwave::LogoWidget::doAnim
void doAnim()
Definition:
LogoWidget.cpp:61
Kwave::LogoWidget::~LogoWidget
virtual ~LogoWidget() Q_DECL_OVERRIDE
Definition:
LogoWidget.cpp:79
MAXSIN
#define MAXSIN
Definition:
LogoWidget.h:31
Kwave::LogoWidget
Definition:
LogoWidget.h:35
Kwave::LogoWidget::m_width
int m_width
Definition:
LogoWidget.h:58
Kwave::LogoWidget::m_deg
double m_deg[MAXSIN]
Definition:
LogoWidget.h:67
plugins
about
LogoWidget.h
Generated on Sat Mar 24 2018 09:10:26 for kwave by
1.8.13