CFEL - ASG Software Suite
2.5.0
CASS
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
jocassview
status_led.h
Go to the documentation of this file.
1
// Copyright (C) 2013 Lutz Foucar
2
3
/**
4
* @file status_led.h contains the status led class
5
*
6
* @author Lutz Foucar
7
*/
8
9
#ifndef _STATUS_LED_H_
10
#define _STATUS_LED_H_
11
12
#include "
led.h
"
13
14
namespace
jocassview
15
{
16
17
/** a LED that should display the status
18
*
19
* @author unknown
20
* @author Lutz Foucar
21
*/
22
class
StatusLED
:
public
LED
23
{
24
Q_OBJECT
25
26
public
:
27
/** enum describing the possible states of the LED */
28
enum
{
fail
,
ok
,
off
,
busy
};
29
30
/** constructor
31
*
32
* @param parent the parent of this widget
33
*/
34
StatusLED
(
QWidget
*parent=0);
35
36
public
slots:
37
/** set the status
38
*
39
* @param status the status that should be reflected by this
40
*/
41
void
setStatus
(
int
status
);
42
43
private
slots:
44
/** turn the led of */
45
void
turnOff
();
46
47
private
:
48
/** the turn off timer */
49
QTimer
_offTimer
;
50
};
51
52
}
//end namespace jocassview
53
54
#endif
QWidget
jocassview::StatusLED
a LED that should display the status
Definition:
status_led.h:22
jocassview::StatusLED::_offTimer
QTimer _offTimer
the turn off timer
Definition:
status_led.h:49
jocassview::StatusLED::busy
Definition:
status_led.h:28
jocassview::StatusLED::StatusLED
StatusLED(QWidget *parent=0)
constructor
Definition:
status_led.cpp:32
LED
Definition:
led.h:15
jocassview::StatusLED::ok
Definition:
status_led.h:28
jocassview
Definition:
curve_plot.h:16
jocassview::StatusLED::fail
Definition:
status_led.h:28
jocassview::StatusLED::off
Definition:
status_led.h:28
QTimer
jocassview::StatusLED::turnOff
void turnOff()
turn the led of
Definition:
status_led.cpp:74
jocassview::StatusLED::setStatus
void setStatus(int status)
set the status
Definition:
status_led.cpp:41
led.h
an led in qt
status
and the shutter status[Processor]
Definition:
SACLA-offline.ini:690
Impressum
privacy
-- Generated on Thu Nov 29 2018 21:31:28 for CFEL - ASG Software Suite by
1.8.10