18#include <QGraphicsView>
Definition of the DiagramScene class.
A List of data points and all the necessary meta-information to draw a graph.
A scene graph for a 2D Diagram including coordinate axes with labels and ticks for one or more plotte...
A view in which to display a DiagramScene.
QSize minimumSizeHint() const override
void keepItemAspectRatio()
void resizeEvent(QResizeEvent *event) override
Resizes the scene.
int getWidth()
Returns the width of the bounding rectangle of all objects within the scene.
void addGraph(DiagramList *list)
Adds a new graph to the scene.
QSize sizeHint() const override
DiagramView(QWidget *parent=nullptr)
int getHeight()
Returns the height of the bounding rectangle of all objects within the scene.