2022-05-10 10:06:48 +00:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
#ifndef MAINWIDGET_H
|
|
|
|
#define MAINWIDGET_H
|
|
|
|
|
|
|
|
#include <QMainWindow>
|
|
|
|
|
|
|
|
class ImageWidget;
|
|
|
|
|
|
|
|
class MainWidget : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2019-09-06 21:24:56 +00:00
|
|
|
MainWidget(QWidget *parent = nullptr);
|
2020-06-22 08:12:38 +00:00
|
|
|
void grabGestures(const QList<Qt::GestureType> &gestures);
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
public slots:
|
|
|
|
void openDirectory(const QString &path);
|
|
|
|
|
|
|
|
private:
|
|
|
|
ImageWidget *imageWidget;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|