Skip to content

Class ProgressBox

ClassList > ProgressBox

Inherits the following classes: QDialog, ProgressObserver

Public Signals

Type Name
signal void send_progress_bars (std::vector< double > progress)
signal void send_status_text (std::string text, int depth)

Public Functions

Type Name
ProgressBox (QWidget * parent=nullptr)
void start_task (std::function< void()> task, std::function< void()> on_finish=[] {})
virtual void text_update (const std::string & text, int depth=0) override
virtual void update_progress (double proportion) override

Public Functions inherited from ProgressObserver

See ProgressObserver

Type Name
ProgressTracker * child ()
virtual ~ProgressObserver ()

Protected Functions inherited from ProgressObserver

See ProgressObserver

Type Name
ProgressObserver ()
virtual void text_update (const std::string & text, int depth=0) = 0
virtual void update_progress (double progress) = 0

Public Signals Documentation

signal send_progress_bars

void ProgressBox::send_progress_bars;

signal send_status_text

void ProgressBox::send_status_text;

Public Functions Documentation

function ProgressBox

explicit ProgressBox::ProgressBox (
    QWidget * parent=nullptr
) 

function start_task

void ProgressBox::start_task (
    std::function< void ()> task,
    std::function< void ()> on_finish=[] {}
) 

function text_update

virtual void ProgressBox::text_update (
    const std::string & text,
    int depth=0
) override

Implements ProgressObserver::text_update


function update_progress

virtual void ProgressBox::update_progress (
    double proportion
) override

Implements ProgressObserver::update_progress



The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/gui/progress_box.hpp