1#ifndef QX_GROUPEDPROGRESSMANAGER_H
2#define QX_GROUPEDPROGRESSMANAGER_H
5#include "qx/core/qx_core_export.h"
12#include "qx/core/qx-progressgroup.h"
26 static const quint64 UNIFIED_MAXIMUM = 100;
35 quint64 mCurrentValue;
36 QHash<QString, ProgressGroup*> mGroups;
37 QHash<QString, quint64> mRelativePortions;
45 void updateRelativePortions();
54 quint64
value()
const;
59 void childValueChanged(quint64
value);
60 void childMaximumChanged(quint64
maximum);
61 void childWeightChanged();
quint64 maximum
The maximum value of the grouped progress manager.
Definition qx-groupedprogressmanager.h:31
quint64 value
The current value of the grouped progress manager.
Definition qx-groupedprogressmanager.h:30
void valueChanged(quint64 value)
void groupValueChanged(Qx::ProgressGroup *group, quint64 value)
void removeGroup(const QString &name)
Definition qx-groupedprogressmanager.cpp:154
void groupMaximumChanged(Qx::ProgressGroup *group, quint64 maximum)
ProgressGroup * group(const QString &name)
Definition qx-groupedprogressmanager.cpp:143
void addGroup(ProgressGroup *progressGroup)
Definition qx-groupedprogressmanager.cpp:106
void progressUpdated(quint64 currentValue)
GroupedProgressManager(QObject *parent=nullptr)
Definition qx-groupedprogressmanager.cpp:59
The ProgressGroup class represents a distinct portion of overall progress to be mediated by GroupedPr...
Definition qx-progressgroup.h:16
The Qx namespace is the main namespace through which all non-global functionality of the Qx library i...
Definition qx-abstracterror.cpp:13