Simulacrum  1.2
Public Member Functions | Protected Member Functions | List of all members
Simulacrum::SGrapher Class Reference

#include <grapher.h>

Inheritance diagram for Simulacrum::SGrapher:
Inheritance graph
Collaboration diagram for Simulacrum::SGrapher:
Collaboration graph

Public Member Functions

 SGrapher (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~SGrapher ()
 
void setShowLabels (bool)
 
bool showLabels ()
 
void setLabelColor (QColor)
 
int sigFigs ()
 
void setSigFigs (int)
 
bool drawGrid ()
 
void setDrawGrid (bool)
 
int addDataSet (const SDataSet &, SGrapherMode_t mode=SLineGraph, bool doupdate=true)
 
void removeDataSet (int, bool doupdate=true)
 
int dataSets ()
 
void setDataSetColors (const std::vector< QColor > &)
 
void setBGColor (QColor)
 
void clear ()
 
const QPixmap & pixmap ()
 
void drawGraph ()
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *)
 
virtual void resizeEvent (QResizeEvent *)
 
virtual void mouseMoveEvent (QMouseEvent *)
 

Constructor & Destructor Documentation

◆ SGrapher()

SGrapher::SGrapher ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
explicit

◆ ~SGrapher()

SGrapher::~SGrapher ( )
virtual

Member Function Documentation

◆ addDataSet()

int SGrapher::addDataSet ( const SDataSet newset,
SGrapherMode_t  mode = SLineGraph,
bool  doupdate = true 
)

◆ clear()

void SGrapher::clear ( )

◆ dataSets()

int SGrapher::dataSets ( )

◆ drawGraph()

void SGrapher::drawGraph ( )

◆ drawGrid()

bool SGrapher::drawGrid ( )

◆ mouseMoveEvent()

void SGrapher::mouseMoveEvent ( QMouseEvent *  event)
protectedvirtual

◆ paintEvent()

void SGrapher::paintEvent ( QPaintEvent *  event)
protectedvirtual

◆ pixmap()

const QPixmap & SGrapher::pixmap ( )

◆ removeDataSet()

void SGrapher::removeDataSet ( int  remdat,
bool  doupdate = true 
)

◆ resizeEvent()

void SGrapher::resizeEvent ( QResizeEvent *  event)
protectedvirtual

◆ setBGColor()

void SGrapher::setBGColor ( QColor  newbg)

◆ setDataSetColors()

void SGrapher::setDataSetColors ( const std::vector< QColor > &  newcolours)

◆ setDrawGrid()

void SGrapher::setDrawGrid ( bool  ngrid)

◆ setLabelColor()

void SGrapher::setLabelColor ( QColor  newcol)

◆ setShowLabels()

void SGrapher::setShowLabels ( bool  doshow)

◆ setSigFigs()

void SGrapher::setSigFigs ( int  newsig)

◆ showLabels()

bool SGrapher::showLabels ( )

◆ sigFigs()

int SGrapher::sigFigs ( )

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