Files
@ 1ab619914658
Branch filter:
Location: tempo-plotter/snapshot.h - annotation
1ab619914658
757 B
text/plain
removed snapshot view toolbar
77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 f520f2a1546b 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 77513ca7b1d4 7c41467702e0 77513ca7b1d4 77513ca7b1d4 099df007158d 099df007158d 099df007158d 099df007158d f520f2a1546b 77513ca7b1d4 099df007158d 099df007158d f520f2a1546b 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>
#include <QString>
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();
void setName(QString name);
signals:
void deleteRequested(SnapShot*);
void nameChanged(SnapShot*);
private:
QString _name;
QAction _showAction;
QAction _deleteAction;
QMainWindow* mainWindow;
SnapShotView* view;
private slots:
void show();
void viewClosed();
void onDeleteTriggered();
};
#endif /* SNAPSHOT_H */
|