aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/shared/layouttesthelper.h
blob: c61fa75c3e189bff61649f5ff1449621b4093775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2016 Pelagicore AB
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#include <QtCore/qscopedpointer.h>
#include <QtCore/QString>
#include <QtQml/qqmlcomponent.h>
#include <QtQml/qqmlengine.h>
#include <QtQuick/qquickwindow.h>

class LayoutTestHelper : public QObject
{
    Q_OBJECT

public:
    LayoutTestHelper();

    QScopedPointer<QQmlComponent> component;
    QScopedPointer<QQuickWindow> window;

private:
    QQmlEngine engine;
};