mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-23 10:05:10 -07:00
Some checks are pending
Build Desktop / Configure (push) Waiting to run
Build Desktop / Debian 13 (push) Blocked by required conditions
Build Desktop / Debian 12 (push) Blocked by required conditions
Build Desktop / Fedora 44 (push) Blocked by required conditions
Build Desktop / Fedora 43 (push) Blocked by required conditions
Build Desktop / Servatrice_Debian 12 (push) Blocked by required conditions
Build Desktop / Ubuntu 26.04 (push) Blocked by required conditions
Build Desktop / Ubuntu 24.04 (push) Blocked by required conditions
Build Desktop / Arch (push) Blocked by required conditions
Build Desktop / macOS 14 (push) Blocked by required conditions
Build Desktop / macOS 15 (push) Blocked by required conditions
Build Desktop / macOS 13 Intel (push) Blocked by required conditions
Build Desktop / macOS 15 Debug (push) Blocked by required conditions
Build Desktop / Windows 10 (push) Blocked by required conditions
Build Docker Image / amd64 & arm64 (push) Waiting to run
* add settings * [Replay] Implement option to skip empty sections * correct starting offset
34 lines
842 B
C++
34 lines
842 B
C++
#ifndef COCKATRICE_REPLAY_QUICK_SETTINGS_WIDGET_H
|
|
#define COCKATRICE_REPLAY_QUICK_SETTINGS_WIDGET_H
|
|
|
|
#include "../../interface/widgets/quick_settings/settings_button_widget.h"
|
|
|
|
#include <QCheckBox>
|
|
#include <QDoubleSpinBox>
|
|
#include <libcockatrice/utility/macros.h>
|
|
|
|
class ReplayQuickSettingsWidget : public SettingsButtonWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ReplayQuickSettingsWidget(QWidget *parent);
|
|
|
|
void retranslateUi();
|
|
|
|
signals:
|
|
void fastForwardSpeedChanged(qreal speed);
|
|
void skipEmptySectionsChanged(bool skip);
|
|
|
|
private:
|
|
QLabel fastForwardSpeedLabel;
|
|
QDoubleSpinBox fastForwardSpeedBox;
|
|
|
|
QCheckBox skipEmptyCheckBox;
|
|
|
|
private slots:
|
|
void actUpdateFastForwardSpeed(qreal value);
|
|
void actUpdateSkipEmptySections(QT_STATE_CHANGED_T value);
|
|
};
|
|
|
|
#endif // COCKATRICE_REPLAY_QUICK_SETTINGS_WIDGET_H
|