Python: Use setup function for remaining plugin items

... and remove the now-empty plugin pimpl.

Change-Id: I0db27757e832a0e3ac52b938a4d6ad820adfc195
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2024-02-01 15:58:24 +01:00
parent 8dded168fd
commit df71c6a1f0
5 changed files with 47 additions and 47 deletions

View File

@@ -3,34 +3,8 @@
#pragma once
#include <projectexplorer/jsonwizard/jsonwizard.h>
#include <projectexplorer/jsonwizard/jsonwizardpagefactory.h>
#include <projectexplorer/runconfigurationaspects.h>
#include <utils/aspects.h>
#include <utils/wizardpage.h>
namespace Python::Internal {
class PythonWizardPageFactory : public ProjectExplorer::JsonWizardPageFactory
{
public:
PythonWizardPageFactory();
Utils::WizardPage *create(ProjectExplorer::JsonWizard *wizard,
Utils::Id typeId,
const QVariant &data) override;
bool validateData(Utils::Id typeId, const QVariant &data, QString *errorMessage) override;
};
class PythonWizardPage : public Utils::WizardPage
{
public:
PythonWizardPage(const QList<QPair<QString, QVariant>> &pySideAndData, const int defaultPyside);
bool validatePage() override;
private:
Utils::SelectionAspect m_pySideVersion;
};
void setupPythonWizard();
} // namespace Python::Internal