18  class HistogramWidget;
 
   44                  const QString &name, 
const QColor &color);
 
   77      void deleteFromCube();
 
   78      void stretchChanged();
 
 
Stores stretch information for a cube.
Container of a cube histogram.
This is the base class for advanced stretches.
virtual CubeStretch getStretch()
Returns the current stretch object.
QTableWidget * p_table
Pairs table.
void updateGraph()
This updates the graph with the current stretch object.
Stretch * p_stretch
Current stretch pairs stored here.
Histogram * p_cubeHist
Visible area histogram.
void savePairs()
This asks the user for a file and saves the current stretch pairs to that file.
HistogramWidget * p_graph
Histogram graph.
StretchType(const Histogram &hist, const Stretch &stretch, const QString &name, const QColor &color)
This constructs a stretch type.
QTableWidget * createStretchTable()
This creates the stretch pairs table.
void saveToCube()
Emitted when a new Stretch object is available.
virtual void setStretch(Stretch)=0
Children must re-implement this to update their stretch pairs and GUI elements appropriately.
QGridLayout * p_mainLayout
Main layout.
void updateTable()
This updates the table with the current stretch pairs.
virtual void setHistogram(const Histogram &)
This should be called when the visible area changes.
virtual ~StretchType()
Destructor.
This is free and unencumbered software released into the public domain.