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
ViewItem.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
ViewItem.cpp - base class for a visible item within a SignalView
3
-------------------
4
begin : Sat Mar 26 2011
5
copyright : (C) 2011 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
#include "config.h"
19
20
#include <QCursor>
21
#include <QObject>
22
23
#include <KLocalizedString>
24
25
#include "
libgui/LabelItem.h
"
26
#include "
libgui/SignalView.h
"
27
28
//***************************************************************************
29
Kwave::ViewItem::ViewItem
(
Kwave::SignalView
&view,
30
Kwave::SignalManager
&signal_manager)
31
:QObject(&view), m_view(view), m_signal_manager(signal_manager)
32
{
33
}
34
35
//***************************************************************************
36
Kwave::ViewItem::~ViewItem
()
37
{
38
}
39
40
//***************************************************************************
41
Kwave::ViewItem::Flags
Kwave::ViewItem::flags
()
const
42
{
43
return
Kwave::ViewItem::None
;
44
}
45
46
//***************************************************************************
47
QString
Kwave::ViewItem::toolTip
(
sample_index_t
&ofs)
48
{
49
Q_UNUSED(ofs);
50
return
QString();
51
}
52
53
//***************************************************************************
54
void
Kwave::ViewItem::appendContextMenu
(QMenu *parent)
55
{
56
Q_UNUSED(parent);
57
}
58
59
//***************************************************************************
60
QCursor
Kwave::ViewItem::mouseCursor
()
const
61
{
62
return
Qt::ArrowCursor;
63
}
64
65
//***************************************************************************
66
void
Kwave::ViewItem::moveTo
(
const
QPoint &mouse_pos)
67
{
68
Q_UNUSED(mouse_pos);
69
}
70
71
//***************************************************************************
72
void
Kwave::ViewItem::startDragging
()
73
{
74
}
75
76
//***************************************************************************
77
void
Kwave::ViewItem::done
()
78
{
79
}
80
81
//***************************************************************************
82
//***************************************************************************
Kwave::SignalView
Definition:
SignalView.h:50
Kwave::ViewItem::done
virtual void done()
Definition:
ViewItem.cpp:77
Kwave::SignalManager
Definition:
SignalManager.h:64
Kwave::ViewItem::startDragging
virtual void startDragging()
Definition:
ViewItem.cpp:72
Kwave::ViewItem::moveTo
virtual void moveTo(const QPoint &mouse_pos)
Definition:
ViewItem.cpp:66
Kwave::ViewItem::~ViewItem
virtual ~ViewItem()
Definition:
ViewItem.cpp:36
sample_index_t
quint64 sample_index_t
Definition:
Sample.h:28
LabelItem.h
Kwave::ViewItem::ViewItem
ViewItem(Kwave::SignalView &view, Kwave::SignalManager &signal_manager)
Definition:
ViewItem.cpp:29
Kwave::ViewItem::None
Definition:
ViewItem.h:48
Kwave::ViewItem::toolTip
virtual QString toolTip(sample_index_t &ofs)
Definition:
ViewItem.cpp:47
SignalView.h
Kwave::ViewItem::appendContextMenu
virtual void appendContextMenu(QMenu *parent)
Definition:
ViewItem.cpp:54
Kwave::ViewItem::flags
virtual Kwave::ViewItem::Flags flags() const
Definition:
ViewItem.cpp:41
Kwave::ViewItem::mouseCursor
virtual QCursor mouseCursor() const
Definition:
ViewItem.cpp:60
libgui
ViewItem.cpp
Generated on Sat Mar 24 2018 09:10:25 for kwave by
1.8.13