qt6windows7/examples/widgets/gestures/imagegestures/mainwidget.h
2023-10-29 23:33:08 +01:00

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