SGSolve
SGPlotSettings Class Reference

Public Types

enum  SGScatterParam {
  PivotStyle, ExpPivotStyle, StageStyle, BindingPayoffStyle,
  ICPayoffStyle, PayoffStyle, TupleStyle, NumScatterParams
}
 
enum  SGPenParam {
  StagePen, PivotPen, ExpPivotPen, ExpPen,
  PrevExpPen, ValuePen, ICPen, BindingPayoffPen,
  DirectionPen, GenLinePen, NumPenParams
}
 
enum  SGPlotFeature {
  StagePayoffs, Pivot, ExpPivot, PayoffSet,
  ExpPayoffSet, PrevExpPayoffSet, ICBoundary, BindingPayoffs,
  Direction, GenLines, GridLines, ZeroLines,
  UniformRanges, NumPlotFeatures
}
 

Public Member Functions

 SGPlotSettings ()
 Constructor.
 
void restoreDefaults ()
 
void restoreDefault (const SGPlotSettings::SGScatterParam param)
 
void restoreDefault (const SGPlotSettings::SGPenParam param)
 
const QCPScatterStyle & get (const SGPlotSettings::SGScatterParam param) const
 
const QPen & get (const SGPlotSettings::SGPenParam param) const
 
bool get (const SGPlotSettings::SGPlotFeature param) const
 
void set (const SGPlotSettings::SGScatterParam param, const QCPScatterStyle &newStyle)
 
void set (const SGPlotSettings::SGPenParam param, const QPen &newPen)
 
void set (const SGPlotSettings::SGPlotFeature param, bool tf)
 
void disable (const SGPlotSettings::SGScatterParam param)
 
void disable (const SGPlotSettings::SGPenParam param)
 

Private Attributes

std::vector< QCPScatterStyle > styles
 
std::vector< QPen > pens
 
std::vector< bool > features
 

The documentation for this class was generated from the following files: