SGSolve
SGSimulationPlot Class Reference

A customized version of QCustomPlot. More...

#include <sgsimulationplot.hpp>

Inheritance diagram for SGSimulationPlot:
Collaboration diagram for SGSimulationPlot:

Public Member Functions

 SGSimulationPlot (int _numStates)
 Constructor.
 

Protected Member Functions

void resizeEvent (QResizeEvent *event)
 Reimplement resizeEvent. More...
 

Private Member Functions

virtual QSize minimumSizeHint () const
 Custom minimum size.
 

Private Attributes

int numStates
 The number of states in the given plot.
 

Detailed Description

A customized version of QCustomPlot.

This class inherits from QCustomPlot and mainly reimplements the minimumSizeHint to reflect the number of states.

Member Function Documentation

◆ resizeEvent()

void SGSimulationPlot::resizeEvent ( QResizeEvent *  event)
inlineprotected

Reimplement resizeEvent.

Calls adjust ranges before calling QCustomPlot::resizeEvent.


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