1 #ifndef SAWTOOTHSTRETCHTYPE_H 2 #define SAWTOOTHSTRETCHTYPE_H 4 #include "StretchType.h" 37 const QString &name,
const QColor &color);
void widthSliderMoved(int)
This is called when the sawtooth width slider moves.
QLineEdit * p_widthEdit
Width edit.
QSlider * p_offsetSlider
Offset slider.
This handles the advanced sawtooth stretch.
void offsetSliderMoved(int)
This is called when the sawtooth offset slider moves.
void offsetEditChanged(const QString &)
This is called when the the sawtooth offset edit changes.
QLineEdit * p_offsetEdit
Offset edit.
bool p_sliderOverride
This is used to let the edits be changed to where sliders cant go.
void widthEditChanged(const QString &)
This is called when the the sawtooth width edit changes.
Container of a cube histogram.
virtual void setStretch(Stretch)
Given an arbitrary stretch, this will re-interpret it, as best as possible, into a sawtooth stretch...
Stretch calculateNewStretch()
This calculates a new stretch using the GUI edits.
QSlider * p_widthSlider
Width slider.
SawtoothStretchType(const Histogram &, const Stretch &, const QString &name, const QColor &color)
This initializes a sawtooth stretch type.
Namespace for ISIS/Bullet specific routines.
This is the base class for advanced stretches.
~SawtoothStretchType()
Destructor.