Files
@ e421d52f198e
Branch filter:
Location: tempo-plotter/snapshot.h - annotation
e421d52f198e
673 B
text/plain
code cleanup and remove test messages
77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 7c41467702e0 77513ca7b1d4 77513ca7b1d4 099df007158d 099df007158d 099df007158d 099df007158d 77513ca7b1d4 099df007158d 099df007158d 099df007158d 77513ca7b1d4 099df007158d 099df007158d 099df007158d 77513ca7b1d4 77513ca7b1d4 7c41467702e0 7c41467702e0 e421d52f198e 7c41467702e0 099df007158d 099df007158d 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 | #ifndef SNAPSHOT_H
#define SNAPSHOT_H
#include <QObject>
#include <QMainWindow>
#include <QAction>
#include <QVector>
class SnapShotView;
class SnapShot : public QObject
{
Q_OBJECT
public:
SnapShot(QMainWindow* parent, QString name);
~SnapShot();
QVector<QVector<QPointF>> data;
QAction* showAction();
QAction* deleteAction();
QString name();
signals:
void deleteRequested(SnapShot*);
private:
QString _name;
QAction _showAction;
QAction _deleteAction;
QMainWindow* mainWindow;
SnapShotView* view;
private slots:
void show();
void viewClosed();
void onDeleteTriggered();
};
#endif /* SNAPSHOT_H */
|