diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-11-01 22:57:22 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-11-01 22:57:22 +0200 |
commit | c90d8b4458966e9908b82e8d786ff699089176c7 (patch) | |
tree | f011e61635268cf230d463349c8e2d912cc3dc2c /src/mainwindow.h | |
parent | Set version through meson (diff) | |
download | qimv-c90d8b4458966e9908b82e8d786ff699089176c7.tar.xz |
Add ScaleForm widget
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 8 |
1 files changed, 4 insertions, 4 deletions
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%"}; }; |