Replace goto.png with a themeable svg image
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
Build / Publish YACReader10 Pre-release Builds (push) Has been cancelled

This commit is contained in:
luisangelsm
2026-03-17 19:35:30 +01:00
parent b49446c246
commit 83e1b88c2c
10 changed files with 46 additions and 5 deletions

View File

@ -1,21 +1,27 @@
#ifndef __GOTODIALOG_H
#define __GOTODIALOG_H
#include "themable.h"
#include <QDialog>
#include <QIntValidator>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
class GoToDialog : public QDialog
class GoToDialog : public QDialog, protected Themable
{
Q_OBJECT
public:
GoToDialog(QWidget *parent = nullptr);
protected:
void applyTheme(const Theme &theme) override;
private:
QLabel *numPagesLabel;
QLabel *textLabel;
QLabel *imgLabel;
QLineEdit *pageNumber;
QIntValidator *v;
QPushButton *accept;