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
FrequencyResponseWidget.h
Go to the documentation of this file.
1
/***************************************************************************
2
FrequencyResponseWidget.h - displays a frequency response
3
-------------------
4
begin : Mar 09 2003
5
copyright : (C) 2003 by Thomas Eschenbacher
6
email : Thomas Eschenbacher <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 FREQUENCY_RESPONSE_WIDGET_H
19
#define FREQUENCY_RESPONSE_WIDGET_H
20
21
#include "config.h"
22
23
#include <QtGlobal>
24
#include <QObject>
25
#include <QWidget>
26
27
class
QPaintEvent;
28
29
namespace
Kwave
30
{
31
32
class
TransmissionFunction;
33
37
class
Q_DECL_EXPORT
FrequencyResponseWidget
:
public
QWidget
38
{
39
Q_OBJECT
40
41
public
:
42
44
explicit
FrequencyResponseWidget
(QWidget *parent);
45
47
virtual
~
FrequencyResponseWidget
() Q_DECL_OVERRIDE;
48
56
virtual
void
init(
double
freq,
int
db_min,
int
db_max);
57
59
virtual
void
setFilter(
Kwave::TransmissionFunction
*func);
60
62
virtual
void
paintEvent(QPaintEvent *) Q_DECL_OVERRIDE;
63
64
private
:
65
67
double
m_f_max
;
68
70
int
m_db_min
;
71
73
int
m_db_max
;
74
76
int
m_decades
;
77
82
Kwave::TransmissionFunction
*
m_function
;
83
84
};
85
}
86
87
#endif
/* FREQUENCY_RESPONSE_WIDGET_H */
88
89
//***************************************************************************
90
//***************************************************************************
Kwave
Definition:
App.h:33
Kwave::FrequencyResponseWidget::m_decades
int m_decades
Definition:
FrequencyResponseWidget.h:76
Kwave::FrequencyResponseWidget::m_function
Kwave::TransmissionFunction * m_function
Definition:
FrequencyResponseWidget.h:82
Kwave::FrequencyResponseWidget::m_db_max
int m_db_max
Definition:
FrequencyResponseWidget.h:73
Kwave::TransmissionFunction
Definition:
TransmissionFunction.h:25
Kwave::FrequencyResponseWidget::m_f_max
double m_f_max
Definition:
FrequencyResponseWidget.h:67
Kwave::FrequencyResponseWidget::m_db_min
int m_db_min
Definition:
FrequencyResponseWidget.h:70
Kwave::FrequencyResponseWidget
Definition:
FrequencyResponseWidget.h:37
libgui
FrequencyResponseWidget.h
Generated on Sat Mar 24 2018 09:10:24 for kwave by
1.8.13