2019-07-07 15:47:29 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QPushButton>
|
|
|
|
|
|
|
|
class RecordButton : public QPushButton {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
inline RecordButton(QWidget *parent = nullptr) : QPushButton(parent) {}
|
|
|
|
|
|
|
|
virtual void resizeEvent(QResizeEvent *event) override;
|
|
|
|
};
|
2019-12-12 17:07:26 -08:00
|
|
|
|
|
|
|
class ReplayBufferButton : public QPushButton {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
inline ReplayBufferButton(const QString &text,
|
|
|
|
QWidget *parent = nullptr)
|
|
|
|
: QPushButton(text, parent)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual void resizeEvent(QResizeEvent *event) override;
|
|
|
|
};
|