1 #ifndef BinaryStretchType_H 2 #define BinaryStretchType_H 4 #include "StretchType.h" 34 const QString &name,
const QColor &color);
void endSliderMoved(int)
This is called when the end point slider moves.
void startEditChanged(const QString &)
A new start point was typed in.
QLineEdit * p_endEdit
End point edit.
virtual void setStretch(Stretch)
Given an arbitrary stretch, this will re-interpret it, as best as possible, into a binary stretch...
QSlider * p_endSlider
End point slider.
bool p_editOverride
This is used to let the edits be changed without updating the stretch.
Stretch calculateNewStretch()
This uses the GUI elements to calculate the current binary stretch.
~BinaryStretchType()
Destroys the binary stretch.
Container of a cube histogram.
QSlider * p_startSlider
Start point slider.
void endEditChanged(const QString &)
A new end point was typed in.
BinaryStretchType(const Histogram &, const Stretch &, const QString &name, const QColor &color)
This constructs a binary stretch type.
bool p_sliderOverride
This is used to let the edits be changed to where sliders cant go.
Namespace for ISIS/Bullet specific routines.
This is the base class for advanced stretches.
void startSliderMoved(int)
This is called when the start point slider moves.
This handles the advanced binary stretch.
QLineEdit * p_startEdit
Start point edit.