|
|
@ -12,13 +12,11 @@
|
|
|
|
#define SUMMARY_CONFIG_H
|
|
|
|
#define SUMMARY_CONFIG_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "viewpages/ViewStep.h"
|
|
|
|
#include "viewpages/ViewStep.h"
|
|
|
|
|
|
|
|
|
|
|
|
#include <QAbstractListModel>
|
|
|
|
#include <QAbstractListModel>
|
|
|
|
#include <QObject>
|
|
|
|
#include <QObject>
|
|
|
|
#include <QQmlParserStatus>
|
|
|
|
#include <QQmlParserStatus>
|
|
|
|
|
|
|
|
|
|
|
|
class SummaryQmlViewStep;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** @brief Data for one step
|
|
|
|
/** @brief Data for one step
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* A step generally has a text description, but **may** have a
|
|
|
|
* A step generally has a text description, but **may** have a
|
|
|
@ -61,7 +59,7 @@ class Config : public QObject, public QQmlParserStatus
|
|
|
|
Q_PROPERTY( SummaryModel* summaryModel READ summaryModel CONSTANT FINAL )
|
|
|
|
Q_PROPERTY( SummaryModel* summaryModel READ summaryModel CONSTANT FINAL )
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
explicit Config( QObject* parent = nullptr );
|
|
|
|
explicit Config( Calamares::ViewStep* parent = nullptr );
|
|
|
|
virtual void componentComplete() override;
|
|
|
|
virtual void componentComplete() override;
|
|
|
|
virtual void classBegin() override {}
|
|
|
|
virtual void classBegin() override {}
|
|
|
|
|
|
|
|
|
|
|
@ -74,7 +72,7 @@ private:
|
|
|
|
Calamares::ViewStepList stepsForSummary( const Calamares::ViewStepList& allSteps ) const;
|
|
|
|
Calamares::ViewStepList stepsForSummary( const Calamares::ViewStepList& allSteps ) const;
|
|
|
|
void retranslate();
|
|
|
|
void retranslate();
|
|
|
|
|
|
|
|
|
|
|
|
const SummaryQmlViewStep* m_thisViewStep;
|
|
|
|
const Calamares::ViewStep* m_thisViewStep;
|
|
|
|
SummaryModel* m_summary;
|
|
|
|
SummaryModel* m_summary;
|
|
|
|
|
|
|
|
|
|
|
|
QString m_message;
|
|
|
|
QString m_message;
|
|
|
|