Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::gui::qquick::QFutureQmlWrapper Class Referenceabstract

QML-exposed wrapper over a QFuture that provides properties for binding. More...

#include <src/gui/qquick/qfuture_qml_wrapper.h>

Inheritance diagram for zrythm::gui::qquick::QFutureQmlWrapper:
Collaboration diagram for zrythm::gui::qquick::QFutureQmlWrapper:

Signals

void progressValueChanged (int value)
void progressRangeChanged (int minimum, int maximum)
void progressTextChanged (const QString &text)
void finished ()

Public Member Functions

virtual int progressMinimum () const =0
virtual int progressMaximum () const =0
virtual int progressValue () const =0
virtual QString progressText () const =0
virtual Q_INVOKABLE QVariant resultVar () const =0
virtual Q_INVOKABLE void cancel ()=0
virtual Q_INVOKABLE bool isCanceled () const =0

Protected Member Functions

void setup (QFutureWatcherBase &watcher) const

Properties

int progressMinimum
int progressMaximum
int progressValue
QString progressText

Detailed Description

QML-exposed wrapper over a QFuture that provides properties for binding.

Definition at line 15 of file qfuture_qml_wrapper.h.

Member Function Documentation

◆ setup()

void zrythm::gui::qquick::QFutureQmlWrapper::setup ( QFutureWatcherBase & watcher) const
inlineprotected

Definition at line 43 of file qfuture_qml_wrapper.h.

Property Documentation

◆ progressMaximum

int zrythm::gui::qquick::QFutureQmlWrapper::progressMaximum
read

Definition at line 19 of file qfuture_qml_wrapper.h.

◆ progressMinimum

int zrythm::gui::qquick::QFutureQmlWrapper::progressMinimum
read

Definition at line 18 of file qfuture_qml_wrapper.h.

◆ progressText

QString zrythm::gui::qquick::QFutureQmlWrapper::progressText
read

Definition at line 21 of file qfuture_qml_wrapper.h.

◆ progressValue

int zrythm::gui::qquick::QFutureQmlWrapper::progressValue
read

Definition at line 20 of file qfuture_qml_wrapper.h.


The documentation for this class was generated from the following file: