![]() |
ImFusion SDK 4.3
|
#include <ImFusion/LiveUS/UltrasoundCalibrationWizard.h>
Progress implementation as an integrated QProgressBar. More...
Inheritance diagram for CalibrationProgress:Progress implementation as an integrated QProgressBar.
Public Member Functions | |
| CalibrationProgress (QProgressBar *bar) | |
| void | onTaskUpdated (const Task *task) override |
| Function is called whenever the state of a Task has changed and the reporter should update its UI. | |
Public Member Functions inherited from NestedProgress | |
| NestedProgress (Progress *parent=nullptr, Flags< TaskMode > taskFlags=TaskMode::Default) | |
| Creates a new NestedProgress instance. | |
| void | setParentProgress (Progress *parent) |
| Updates the parent Progress instance to which progress updates should be forwarded to. | |
| void | cancelAllTasks () |
| Will cancel all tasks that were spawned from this NestedProgress instance. | |
Public Member Functions inherited from Progress | |
| Task | addTask (int numSteps, const std::string &description) |
| Create a new progress report for an operation with the given number of steps. | |
| Task | addBusyIndicator (const std::string &description) |
| Create a busy indicator for an operation but does not have a predefined number of steps. | |
Additional Inherited Members | |
Public Types inherited from NestedProgress | |
| enum | TaskMode { Default = 0 , ThreadSafe = 1 << 0 , Hidden = 1 << 1 } |
| Enumeration of possible invariants that should be ensured by NestedProgress. More... | |
Public Attributes inherited from NestedProgress | |
| ProtectedSignal< Task * > | signalTaskAdded |
| Signal emitted by the default implementation of NestedProgress::onTaskAdded(). | |
| ProtectedSignal< const Task * > | signalTaskUpdated |
| Signal emitted by the default implementation of NestedProgress::onTaskUpdated(). | |
Protected Member Functions inherited from NestedProgress | |
| void | onTaskAdded (Task *task) override |
| Function is called whenever a new Task has been created. | |
| void | onTaskUpdated (const Task *task) override |
| Function is called whenever the state of a Task has changed and the reporter should update its UI. | |
| bool | onTaskRequestsThreadSafety (const Task *task) override |
| Function is called by Task::requestThreadSafety() in order to check whether the parent reporter supports concurrent access. | |
| void | onTaskRemoved (const Task *task) override |
| Function is called whenever a Task is about to be destroyed and its pointer will become invalid. | |
Protected Attributes inherited from NestedProgress | |
| Progress * | m_parent |
| const Flags< TaskMode > | m_taskFlags |
| std::unique_ptr< std::mutex > | m_mutex |
| std::unique_ptr< Task > | m_parentThreadSafetyGuard |
| std::vector< Task * > | m_tasks |
|
overridevirtual |
Function is called whenever the state of a Task has changed and the reporter should update its UI.
Implements Progress.