summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2020-11-01 22:57:22 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2020-11-01 22:57:22 +0200
commitc90d8b4458966e9908b82e8d786ff699089176c7 (patch)
treef011e61635268cf230d463349c8e2d912cc3dc2c /src/mainwindow.h
parentSet version through meson (diff)
downloadqimv-c90d8b4458966e9908b82e8d786ff699089176c7.tar.xz
Add ScaleForm widget
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h8
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%"};
};