mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-26 14:17:05 +08:00
27 lines
478 B
C++
27 lines
478 B
C++
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
|
|
|
#ifndef MAINWIDGET_H
|
|
#define MAINWIDGET_H
|
|
|
|
#include <QMainWindow>
|
|
|
|
class ImageWidget;
|
|
|
|
class MainWidget : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MainWidget(QWidget *parent = nullptr);
|
|
void grabGestures(const QList<Qt::GestureType> &gestures);
|
|
|
|
public slots:
|
|
void openDirectory(const QString &path);
|
|
|
|
private:
|
|
ImageWidget *imageWidget;
|
|
};
|
|
|
|
#endif
|