From a97f90531826b33cd5b7a2bc6cbef079b8ebaac2 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 1 Nov 2020 20:01:00 +0200 Subject: Initial commit --- src/mainwindow.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/mainwindow.h (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h new file mode 100644 index 0000000..a270fd8 --- /dev/null +++ b/src/mainwindow.h @@ -0,0 +1,24 @@ +#pragma once + +#include +#include + +namespace Ui { +class MainWindow; +} + +class MainWindow final : public QMainWindow { + Q_OBJECT + +public: + explicit MainWindow(const QStringList &filePaths, QWidget *parent = nullptr); + ~MainWindow() override; + +protected: + void resizeEvent(QResizeEvent *event) override; + +private: + Ui::MainWindow *ui; + QPixmap current; + const QString title_format{"qimv [%1]"}; +}; -- cgit v1.2.1