mirror of
https://github.com/markdavidlong/AppleSAWS.git
synced 2024-06-17 07:29:28 +00:00
31 lines
648 B
C++
31 lines
648 B
C++
#ifndef SEQUENCETOOL_H
|
|
#define SEQUENCETOOL_H
|
|
|
|
#include "sequenceevent.h"
|
|
|
|
#include <QWidget>
|
|
|
|
class SequenceTool : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit SequenceTool(SequenceEvent *event = nullptr, QWidget *parent = nullptr);
|
|
virtual ~SequenceTool();
|
|
|
|
virtual void setSequenceEvent(SequenceEvent *event);
|
|
|
|
virtual void setCategory(QString category) { m_category = category; }
|
|
virtual QString category() const { return m_category; }
|
|
|
|
|
|
protected:
|
|
void mousePressEvent(QMouseEvent *event);
|
|
|
|
protected:
|
|
SequenceEvent *m_seqevent;
|
|
QString m_category;
|
|
|
|
};
|
|
|
|
#endif // SEQUENCETOOL_H
|