video->setVideoOutput(ui->video);
+ // It's not really clear whether PgUp should be forwards or backwards,
+ // but mpv does at least up = forwards, so that's probably standard.
+ QShortcut *pgdown = new QShortcut(QKeySequence(Qt::Key_PageDown), this);
+ connect(pgdown, &QShortcut::activated, [this]() { seek(-120000); });
+ QShortcut *pgup = new QShortcut(QKeySequence(Qt::Key_PageUp), this);
+ connect(pgup, &QShortcut::activated, [this]() { seek(120000); });
+
connect(ui->minus10s, &QPushButton::clicked, [this]() { seek(-10000); });
connect(ui->plus10s, &QPushButton::clicked, [this]() { seek(10000); });