Add files via upload

This commit is contained in:
Lurkki14 2019-01-13 15:28:13 +02:00 committed by GitHub
parent fdd88eaeb2
commit 46796bed89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

10
plotwidget.cpp Normal file
View File

@ -0,0 +1,10 @@
#include "plotwidget.h"
PlotWidget::PlotWidget(QWidget *parent) : QWidget(parent)
{
}
void PlotWidget::leaveEvent(QEvent *event)
{
emit leftPlot();
}

19
plotwidget.h Normal file
View File

@ -0,0 +1,19 @@
#ifndef PLOTWIDGET_H
#define PLOTWIDGET_H
#include <QWidget>
class PlotWidget : public QWidget
{
Q_OBJECT
public:
explicit PlotWidget(QWidget *parent = nullptr);
signals:
void leftPlot();
protected:
void leaveEvent(QEvent *event);
public slots:
};
#endif // PLOTWIDGET_H