Isis 3.0 Object Programmers' Reference
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
LinearStretchType.h
1
#ifndef LinearStretchType_H
2
#define LinearStretchType_H
3
4
#include "StretchType.h"
5
6
class
QColor;
7
class
QLineEdit;
8
class
QSlider;
9
class
QString;
10
11
namespace
Isis {
12
class
Histogram;
13
class
Stretch;
14
28
class
LinearStretchType
:
public
StretchType
{
29
Q_OBJECT
30
31
public
:
32
LinearStretchType
(
const
Histogram
&,
const
Stretch
&,
33
const
QString &name,
const
QColor &color);
34
~LinearStretchType
();
35
36
virtual
Stretch
getStretch
();
37
virtual
void
setStretch
(
Stretch
);
38
39
40
private
slots:
41
void
startSliderMoved
(
int
);
42
void
startEditChanged
(
const
QString &);
43
void
endSliderMoved
(
int
);
44
void
endEditChanged
(
const
QString &);
45
46
private
:
47
QSlider *
p_startSlider
;
48
QLineEdit *
p_startEdit
;
49
QSlider *
p_endSlider
;
50
QLineEdit *
p_endEdit
;
51
53
bool
p_sliderOverride
;
54
56
bool
p_editOverride
;
57
};
58
}
59
60
#endif