yolobs-studio/UI/record-button.hpp

26 lines
479 B
C++
Raw Normal View History

2019-09-22 21:19:10 +00: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;
};
2020-03-25 08:07:22 +00: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;
};