OpenStudioCore:resultsviewer
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Signals | Public Member Functions | Protected Member Functions | List of all members
resultsviewer::PlotView Class Reference

#include <PlotView.hpp>

Signals

void signalClose (QString &windowTitle)
 
void signalFloatOrDockMe (resultsviewer::PlotView *plotView)
 
void signalLastImageSavedPath (QString &path)
 

Public Member Functions

int colorMap ()
 
QStringList colorMapList ()
 
bool contourOn ()
 
bool floodPlotAutoScale ()
 
double floodPlotMax ()
 
double floodPlotMin ()
 
double floodPlotYearlyMax ()
 
double floodPlotYearlyMin ()
 
QwtPlotMarker * illuminanceMapRefPt1 ()
 
QwtPlotMarker * illuminanceMapRefPt2 ()
 
QString & lastImageSavedPath ()
 
resultsviewer::PlotLegendlegend ()
 
int numberOfCurves ()
 
QwtPlot * plot ()
 
int plotType ()
 
 PlotView (int plotType=RVPV_LINEPLOT,*parent=nullptr)
 
 PlotView (QString &path, int plotType=RVPV_LINEPLOT,*parent=nullptr)
 
void plotViewData (PlotViewData &_plotViewData, const std::function< bool()> &t_workCanceled)
 
void plotViewDataDifference (PlotViewData &_plotViewData1, PlotViewData &_plotViewData2)
 
void setColorMap (openstudio::FloodPlotColorMap::ColorMapList clrMap)
 
void setColorMap (QString &clrMap)
 
void setDataRange ()
 
void setFloodPlotAutoScale (bool autoscale)
 
void setFloodPlotMax (double maxValue)
 
void setFloodPlotMin (double minValue)
 
void setFloodPlotYearlyMax (double maxValue)
 
void setFloodPlotYearlyMin (double minValue)
 
void setLastImageSavedPath (QString &path)
 
void setYLeftAutoScale (bool autoScale)
 
void setYRightAutoScale (bool autoScale)
 
void showContour (bool on)
 
void showSpectrogram (bool on)
 
bool spectrogramOn ()
 
void updateAlias (QString &alias, QString &plotSource)
 
bool yLeftAutoScale ()
 
bool yRightAutoScale ()
 
virtual ~PlotView ()
 

Protected Member Functions

void dragEnterEvent (QDragEnterEvent *e) override
 drop target support for drag/drop operations More...
 
void dropEvent (QDropEvent *e) override
 drop target support for drag/drop operations More...
 
void mousePressEvent (QMouseEvent *e) override
 trac 1383 right mouse click for properties More...
 

Detailed Description

PlotView is a ui container for the plot and all controls and toolbars.

Constructor & Destructor Documentation

resultsviewer::PlotView::PlotView ( int  plotType = RVPV_LINEPLOT,
parent = nullptr 
)
resultsviewer::PlotView::PlotView ( QString &  path,
int  plotType = RVPV_LINEPLOT,
parent = nullptr 
)
virtual resultsviewer::PlotView::~PlotView ( )
virtual

Member Function Documentation

int resultsviewer::PlotView::colorMap ( )
inline
QStringList resultsviewer::PlotView::colorMapList ( )
bool resultsviewer::PlotView::contourOn ( )
inline
void resultsviewer::PlotView::dragEnterEvent ( QDragEnterEvent *  e)
inlineoverrideprotected

drop target support for drag/drop operations

void resultsviewer::PlotView::dropEvent ( QDropEvent *  e)
overrideprotected

drop target support for drag/drop operations

bool resultsviewer::PlotView::floodPlotAutoScale ( )
inline
double resultsviewer::PlotView::floodPlotMax ( )
inline
double resultsviewer::PlotView::floodPlotMin ( )
inline
double resultsviewer::PlotView::floodPlotYearlyMax ( )
inline
double resultsviewer::PlotView::floodPlotYearlyMin ( )
inline
QwtPlotMarker* resultsviewer::PlotView::illuminanceMapRefPt1 ( )
inline
QwtPlotMarker* resultsviewer::PlotView::illuminanceMapRefPt2 ( )
inline
QString& resultsviewer::PlotView::lastImageSavedPath ( )
inline
resultsviewer::PlotLegend* resultsviewer::PlotView::legend ( )
inline
void resultsviewer::PlotView::mousePressEvent ( QMouseEvent *  e)
overrideprotected

trac 1383 right mouse click for properties

int resultsviewer::PlotView::numberOfCurves ( )
QwtPlot* resultsviewer::PlotView::plot ( )
inline
int resultsviewer::PlotView::plotType ( )
inline
void resultsviewer::PlotView::plotViewData ( PlotViewData _plotViewData,
const std::function< bool()> &  t_workCanceled 
)
void resultsviewer::PlotView::plotViewDataDifference ( PlotViewData _plotViewData1,
PlotViewData _plotViewData2 
)
void resultsviewer::PlotView::setColorMap ( openstudio::FloodPlotColorMap::ColorMapList  clrMap)
void resultsviewer::PlotView::setColorMap ( QString &  clrMap)
void resultsviewer::PlotView::setDataRange ( )
void resultsviewer::PlotView::setFloodPlotAutoScale ( bool  autoscale)
inline
void resultsviewer::PlotView::setFloodPlotMax ( double  maxValue)
inline
void resultsviewer::PlotView::setFloodPlotMin ( double  minValue)
inline
void resultsviewer::PlotView::setFloodPlotYearlyMax ( double  maxValue)
inline
void resultsviewer::PlotView::setFloodPlotYearlyMin ( double  minValue)
inline
void resultsviewer::PlotView::setLastImageSavedPath ( QString &  path)
inline
void resultsviewer::PlotView::setYLeftAutoScale ( bool  autoScale)
inline
void resultsviewer::PlotView::setYRightAutoScale ( bool  autoScale)
inline
void resultsviewer::PlotView::showContour ( bool  on)
void resultsviewer::PlotView::showSpectrogram ( bool  on)
void resultsviewer::PlotView::signalClose ( QString &  windowTitle)
signal
void resultsviewer::PlotView::signalFloatOrDockMe ( resultsviewer::PlotView plotView)
signal
void resultsviewer::PlotView::signalLastImageSavedPath ( QString &  path)
signal
bool resultsviewer::PlotView::spectrogramOn ( )
inline
void resultsviewer::PlotView::updateAlias ( QString &  alias,
QString &  plotSource 
)
bool resultsviewer::PlotView::yLeftAutoScale ( )
inline
bool resultsviewer::PlotView::yRightAutoScale ( )
inline