2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2014-12-04 14:05:19 +01:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2014-12-04 14:05:19 +01:00
|
|
|
|
|
|
|
|
#include <coreplugin/dialogs/ioptionspage.h>
|
|
|
|
|
|
|
|
|
|
#include <QPointer>
|
|
|
|
|
|
|
|
|
|
namespace Autotest {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
|
|
|
|
struct TestSettings;
|
2022-07-13 18:15:55 +02:00
|
|
|
class TestSettingsWidget;
|
2014-12-04 14:05:19 +01:00
|
|
|
|
|
|
|
|
class TestSettingsPage : public Core::IOptionsPage
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
2020-02-28 12:27:13 +01:00
|
|
|
explicit TestSettingsPage(TestSettings *settings);
|
2014-12-04 14:05:19 +01:00
|
|
|
|
2016-09-29 12:15:43 +02:00
|
|
|
QWidget *widget() override;
|
|
|
|
|
void apply() override;
|
|
|
|
|
void finish() override { }
|
2014-12-04 14:05:19 +01:00
|
|
|
|
|
|
|
|
private:
|
2020-02-28 12:27:13 +01:00
|
|
|
TestSettings *m_settings;
|
2014-12-04 14:05:19 +01:00
|
|
|
QPointer<TestSettingsWidget> m_widget;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace Autotest
|