You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef PACKAGESELECTVIEWSTEP_H
|
|
|
|
#define PACKAGESELECTVIEWSTEP_H
|
|
|
|
|
|
|
|
#include <QFile>
|
|
|
|
#include <QTextStream>
|
|
|
|
|
|
|
|
#include "DllMacro.h"
|
|
|
|
#include "utils/PluginFactory.h"
|
|
|
|
#include "viewpages/QmlViewStep.h"
|
|
|
|
|
|
|
|
#include "GlobalStorage.h"
|
|
|
|
#include "JobQueue.h"
|
|
|
|
|
|
|
|
class PLUGINDLLEXPORT PackageSelectViewStep : public Calamares::QmlViewStep
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
Q_PROPERTY(QVariantMap packageSelections READ packageSelections WRITE setPackageSelections NOTIFY packageSelectionsChanged)
|
|
|
|
|
|
|
|
public:
|
|
|
|
PackageSelectViewStep( QObject* parent = nullptr );
|
|
|
|
virtual ~PackageSelectViewStep() override;
|
|
|
|
|
|
|
|
QString prettyName() const override;
|
|
|
|
|
|
|
|
Calamares::JobList jobs() const override;
|
|
|
|
|
|
|
|
void setConfigurationMap( const QVariantMap& configurationMap ) override;
|
|
|
|
|
|
|
|
void onActivate() override;
|
|
|
|
|
|
|
|
QVariantMap packageSelections() const { return m_packageSelections; }
|
|
|
|
void setPackageSelections(const QVariantMap &value);
|
|
|
|
|
|
|
|
signals:
|
|
|
|
void packageSelectionsChanged();
|
|
|
|
|
|
|
|
private:
|
|
|
|
QVariantMap m_packageSelections;
|
|
|
|
};
|
|
|
|
|
|
|
|
CALAMARES_PLUGIN_FACTORY_DECLARATION( PackageSelectViewStepFactory )
|
|
|
|
|
|
|
|
#endif
|