2022-05-10 10:06:48 +00:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2013-03-05 13:45:51 +00:00
|
|
|
|
|
|
|
#ifndef WIZARDPANEL_H
|
|
|
|
#define WIZARDPANEL_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
class WizardStyleControl;
|
|
|
|
class WizardOptionsControl;
|
2013-06-13 17:13:49 +00:00
|
|
|
QT_BEGIN_NAMESPACE
|
2013-03-05 13:45:51 +00:00
|
|
|
class QWizard;
|
2013-06-13 17:13:49 +00:00
|
|
|
QT_END_NAMESPACE
|
2013-03-05 13:45:51 +00:00
|
|
|
|
|
|
|
class WizardPanel : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2020-10-07 11:05:48 +00:00
|
|
|
explicit WizardPanel(QWidget *parent = nullptr);
|
2013-03-05 13:45:51 +00:00
|
|
|
|
|
|
|
public slots:
|
2022-09-13 11:23:09 +00:00
|
|
|
void execModal();
|
|
|
|
void showModal(Qt::WindowModality modality);
|
2013-03-05 13:45:51 +00:00
|
|
|
void showNonModal();
|
|
|
|
void showEmbedded();
|
|
|
|
|
|
|
|
private:
|
|
|
|
void applyParameters(QWizard *wizard) const;
|
|
|
|
|
|
|
|
WizardStyleControl *m_styleControl;
|
|
|
|
WizardOptionsControl *m_optionsControl;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // WIZARDPANEL_H
|