From c90d8b4458966e9908b82e8d786ff699089176c7 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 1 Nov 2020 22:57:22 +0200 Subject: Add ScaleForm widget --- src/mainwindow.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index f6b8c32..5ef586b 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -14,15 +14,15 @@ public: explicit MainWindow(const QStringList &filePaths, QWidget *parent = nullptr); ~MainWindow() override; +public slots: + void fit(); + void scale(double scale); + protected: void resizeEvent(QResizeEvent *event) override; private: - void fit(); - void scale(double scale); - Ui::MainWindow *ui; QPixmap current; const QString title_format{"qimv [%1]"}; - const QString scale_format{"%1%"}; }; -- cgit v1.2.1