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
LabelPropertiesWidget.h
Go to the documentation of this file.
1
/*************************************************************************
2
LabelPropertiesWidget.h - dialog for editing label properties
3
-------------------
4
begin : Sun Sep 03 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 LABEL_PROPERTIES_WIDGET_H
19
#define LABEL_PROPERTIES_WIDGET_H
20
21
#include "config.h"
22
23
#include <QtGlobal>
24
#include <QDialog>
25
#include <QObject>
26
#include <QString>
27
28
#include "libgui/ui_LabelPropertiesWidgetBase.h"
29
#include "
libkwave/Sample.h
"
30
31
namespace
Kwave
32
{
33
34
class
Label;
35
36
class
Q_DECL_EXPORT
LabelPropertiesWidget
37
:
public
QDialog,
38
public
Ui::LabelPropertiesWidgetBase
39
{
40
Q_OBJECT
41
public
:
42
44
explicit
LabelPropertiesWidget
(QWidget *parent);
45
47
virtual
~
LabelPropertiesWidget
();
48
53
virtual
void
setLabelIndex(
unsigned
int
index);
54
61
virtual
void
setLabelPosition(
sample_index_t
pos,
62
sample_index_t
length,
63
double
rate);
64
69
virtual
void
setLabelName(
const
QString &
name
);
70
72
virtual
sample_index_t
labelPosition();
73
75
virtual
QString labelName();
76
81
void
saveSettings();
82
83
private
:
84
86
sample_index_t
m_length
;
87
89
double
m_sample_rate
;
90
91
};
92
}
93
94
#endif
/* LABEL_PROPERTIES_WIDGET_H */
95
96
//***************************************************************************
97
//***************************************************************************
Kwave
Definition:
App.h:33
sample_index_t
quint64 sample_index_t
Definition:
Sample.h:28
name
const char name[16]
Definition:
memcpy.c:510
Kwave::LabelPropertiesWidget::m_length
sample_index_t m_length
Definition:
LabelPropertiesWidget.h:86
Sample.h
Kwave::LabelPropertiesWidget::m_sample_rate
double m_sample_rate
Definition:
LabelPropertiesWidget.h:89
Kwave::LabelPropertiesWidget
Definition:
LabelPropertiesWidget.h:36
libgui
LabelPropertiesWidget.h
Generated on Sat Mar 24 2018 09:10:24 for kwave by
1.8.13