Files
@ 1ab619914658
Branch filter:
Location: tempo-plotter/snapshotmanager.h - annotation
1ab619914658
768 B
text/plain
removed snapshot view toolbar
84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 84f4fcdcd017 |
#ifndef SNAPSHOTMANAGER_H
#define SNAPSHOTMANAGER_H
#include <QObject>
#include <QAction>
#include <QMenu>
#include "framebuffer.h"
#include "snapshot.h"
// class MainWindow;
class SnapshotManager : public QObject
{
Q_OBJECT
public:
SnapshotManager(QMainWindow* mainWindow, QList<FrameBuffer*>* channelBuffers);
~SnapshotManager();
QMenu* menu();
QAction* takeSnapshotAction();
private:
QMainWindow* _mainWindow;
QList<FrameBuffer*>* _channelBuffers;
QList<SnapShot*> snapshots;
QMenu _menu;
QAction _takeSnapshotAction;
QAction clearAction;
void updateMenu();
private slots:
void takeSnapshot();
void clearSnapshots();
void deleteSnapshot(SnapShot* snapshot);
};
#endif /* SNAPSHOTMANAGER_H */
|