kwave
18.07.70
HMSTimeWidget.h
Go to the documentation of this file.
1
/*************************************************************************
2
HMSTimeWidget.h - widget for setting a time in hours, minutes, seconds
3
-------------------
4
begin : Sat Sep 06 2003
5
copyright : (C) 2003 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 HMS_TIME_WIDGET_H
19
#define HMS_TIME_WIDGET_H
20
21
#include "config.h"
22
23
#include <QtGlobal>
24
#include <QObject>
25
#include <QWidget>
26
27
#include "libgui/ui_HMSTimeWidgetBase.h"
28
29
namespace
Kwave
30
{
31
class
Q_DECL_EXPORT
HMSTimeWidget
32
:
public
QWidget,
public
Ui::HMSTimeWidgetBase
33
{
34
Q_OBJECT
35
public
:
36
38
explicit
HMSTimeWidget
(QWidget *parent);
39
41
virtual
~
HMSTimeWidget
();
42
44
virtual
int
value();
45
46
signals:
47
49
void
valueChanged(
int
value);
50
51
public
slots:
52
54
virtual
void
setValue(
int
value);
55
57
virtual
void
setLimit(
unsigned
int
limit);
58
59
protected
slots:
60
62
void
timeChanged(
int
);
63
64
private
:
65
67
void
connect
();
68
70
void
disconnect();
71
72
private
:
73
75
unsigned
int
m_time
;
76
78
unsigned
int
m_limit
;
79
80
};
81
}
82
83
#endif
/* HMS_TIME_WIDGET_H */
84
85
//***************************************************************************
86
//***************************************************************************
Kwave
Definition:
App.h:33
Kwave::connect
bool connect(Kwave::StreamObject &source, const char *output, Kwave::StreamObject &sink, const char *input)
Definition:
Connect.cpp:48
Kwave::HMSTimeWidget::m_limit
unsigned int m_limit
Definition:
HMSTimeWidget.h:78
Kwave::HMSTimeWidget
Definition:
HMSTimeWidget.h:31
Kwave::HMSTimeWidget::m_time
unsigned int m_time
Definition:
HMSTimeWidget.h:75
libgui
HMSTimeWidget.h
Generated on Sat Mar 24 2018 09:10:24 for kwave by
1.8.13