1#ifndef ManualStretchType_H
2#define ManualStretchType_H
4#include "StretchType.h"
37 const QString &name,
const QColor &color);
49 Stretch convertTableToStretch();
51 QLabel *p_errorMessage;
Stores stretch information for a cube.
Container of a cube histogram.
This handles arbitrary user-input stretches.
~ManualStretchType()
Destructor.
void addButtonPressed(bool)
This is called when a user clicks "Add / Edit" and is responsible for adding the pair into the correc...
virtual void setStretch(Stretch)
Given an arbitrary stretch, this will re-interpret it, as best as possible, into a manual stretch.
void deleteButtonPressed(bool)
This is called when a user clicks "Delete" and is responsible for removing the pair with the given in...
virtual CubeStretch getStretch()
Gets the current CubeStretch for this ManualStretch.
ManualStretchType(const Histogram &, const Stretch &, const QString &name, const QColor &color)
This constructs a manual stretch type.
This is the base class for advanced stretches.
This is free and unencumbered software released into the public domain.