kwave
18.07.70
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
f
h
i
l
m
o
p
r
s
t
u
w
y
z
Functions
Typedefs
Enumerations
+
Enumerator
a
b
c
f
i
l
o
p
r
s
u
w
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
+
Variables
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
x
y
z
Typedefs
Enumerations
+
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
i
l
m
p
q
r
s
t
x
z
Variables
Typedefs
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
StatusWidget.h
Go to the documentation of this file.
1
/*************************************************************************
2
StatusWidget.h - little widget with status icons
3
-------------------
4
begin : Sat Apr 15 2006
5
copyright : (C) 2006 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 STATUS_WIDGET_H
19
#define STATUS_WIDGET_H
20
21
#include "config.h"
22
23
#include <QPixmap>
24
#include <QTimer>
25
#include <QVector>
26
#include <QWidget>
27
28
namespace
Kwave
29
{
33
class
StatusWidget
:
public
QWidget
34
{
35
Q_OBJECT
36
public
:
37
39
explicit
StatusWidget
(QWidget *parent = Q_NULLPTR);
40
42
virtual
~StatusWidget
() Q_DECL_OVERRIDE;
43
51
void
setPixmaps
(
const
QVector<QPixmap> &pixmaps,
52
unsigned
int
speed = 150);
53
54
protected
:
56
virtual
void
paintEvent
(QPaintEvent *) Q_DECL_OVERRIDE;
57
58
private
slots:
59
61
void
nextPixmap
();
62
63
private
:
64
66
QVector<QPixmap>
m_pixmaps
;
67
69
unsigned
int
m_index
;
70
72
QTimer
m_timer
;
73
74
};
75
}
76
77
#endif
/* STATUS_WIDGET_H */
78
79
//***************************************************************************
80
//***************************************************************************
Kwave::StatusWidget::setPixmaps
void setPixmaps(const QVector< QPixmap > &pixmaps, unsigned int speed=150)
Definition:
StatusWidget.cpp:58
Kwave
Definition:
App.h:33
Kwave::StatusWidget::nextPixmap
void nextPixmap()
Definition:
StatusWidget.cpp:73
Kwave::StatusWidget::m_timer
QTimer m_timer
Definition:
StatusWidget.h:72
Kwave::StatusWidget::paintEvent
virtual void paintEvent(QPaintEvent *) Q_DECL_OVERRIDE
Definition:
StatusWidget.cpp:43
Kwave::StatusWidget::StatusWidget
StatusWidget(QWidget *parent=Q_NULLPTR)
Definition:
StatusWidget.cpp:28
Kwave::StatusWidget::m_pixmaps
QVector< QPixmap > m_pixmaps
Definition:
StatusWidget.h:66
Kwave::StatusWidget
Definition:
StatusWidget.h:33
Kwave::StatusWidget::~StatusWidget
virtual ~StatusWidget() Q_DECL_OVERRIDE
Definition:
StatusWidget.cpp:36
Kwave::StatusWidget::m_index
unsigned int m_index
Definition:
StatusWidget.h:69
plugins
record
StatusWidget.h
Generated on Sat Mar 24 2018 09:10:27 for kwave by
1.8.13