forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user