1#ifndef LinearStretchType_H
2#define LinearStretchType_H
4#include "StretchType.h"
34 const QString &name,
const QColor &color);
Stores stretch information for a cube.
Container of a cube histogram.
This handles the advanced linear stretch.
bool p_editOverride
This is used to let the edits be changed without updating the stretch.
virtual CubeStretch getStretch()
Returns the CubeStretch for this LinearStretch.
void startSliderMoved(int)
This is called when the start point slider moves.
virtual void setStretch(Stretch)
Given an arbitrary stretch, this will re-interpret it, as best as possible, into a linear stretch.
QLineEdit * p_startEdit
Line start pt edit.
void endEditChanged(const QString &)
A new end point was typed in.
~LinearStretchType()
Destructor.
QLineEdit * p_endEdit
Line end pt edit.
void endSliderMoved(int)
This is called when the end point slider moves.
void startEditChanged(const QString &)
A new start point was typed in.
LinearStretchType(const Histogram &, const Stretch &, const QString &name, const QColor &color)
This constructs a linear stretch type.
QSlider * p_endSlider
Line end pt slider.
QSlider * p_startSlider
Line start pt slider.
bool p_sliderOverride
This is used to let the edits be changed to where sliders cant go.
This is the base class for advanced stretches.
This is free and unencumbered software released into the public domain.