[Replay] Make fast forward speed configurable (#7037)

* [Replay] Make fast forward speed configurable

* fix settings widget

* clamp interval
This commit is contained in:
RickyRister 2026-07-26 15:18:40 -07:00 • committed by GitHub
parent ae37762ee1
commit b70f770633
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 102 additions and 7 deletions

View file

@ -0,0 +1,28 @@
#ifndef COCKATRICE_REPLAY_QUICK_SETTINGS_WIDGET_H
#define COCKATRICE_REPLAY_QUICK_SETTINGS_WIDGET_H
#include "../../interface/widgets/quick_settings/settings_button_widget.h"
#include <QDoubleSpinBox>
class ReplayQuickSettingsWidget : public SettingsButtonWidget
{
Q_OBJECT
public:
explicit ReplayQuickSettingsWidget(QWidget *parent);
void retranslateUi();
signals:
void fastForwardSpeedChanged(qreal speed);
private:
QLabel fastForwardSpeedLabel;
QDoubleSpinBox fastForwardSpeedBox;
private slots:
void actUpdateFastForwardSpeed(qreal value);
};
#endif // COCKATRICE_REPLAY_QUICK_SETTINGS_WIDGET_H