ManiVault 1.0.0
A Flexible and Extensible Visual Analytics Framework for High-Dimensional Data
Loading...
Searching...
No Matches
hdps::gui::TaskProgressDialog Class Reference

#include <TaskProgressDialog.h>

Inheritance diagram for hdps::gui::TaskProgressDialog:

Public Member Functions

 TaskProgressDialog (QWidget *parent, const QStringList &tasks, const QString &title, const QIcon &icon)
 
void addTasks (const QStringList &tasks)
 
void setCurrentTask (const QString &taskName)
 
void setTaskFinished (const QString &taskName)
 
void setCurrentTaskText (const QString &taskText)
 

Protected Attributes

QStringList _tasks
 

Detailed Description

Task progress dialog class

Class for reporting task progress.

Author
Thomas Kroes

Constructor & Destructor Documentation

◆ TaskProgressDialog()

hdps::gui::TaskProgressDialog::TaskProgressDialog ( QWidget *  parent,
const QStringList &  tasks,
const QString &  title,
const QIcon &  icon 
)
explicit

Constructor

Parameters
parentPointer to parent widget
tasksList of task names
titleMain task title
iconDialog icon

Member Function Documentation

◆ addTasks()

void hdps::gui::TaskProgressDialog::addTasks ( const QStringList &  tasks)

Add a list of tasks

Parameters
tasksList of tasks to add

◆ setCurrentTask()

void hdps::gui::TaskProgressDialog::setCurrentTask ( const QString &  taskName)

Set the name of the current task

Parameters
taskNameName of the current task

◆ setCurrentTaskText()

void hdps::gui::TaskProgressDialog::setCurrentTaskText ( const QString &  taskText)

Set the current tasks text (visible in the label on the progress dialog)

Parameters
taskTextTask text

◆ setTaskFinished()

void hdps::gui::TaskProgressDialog::setTaskFinished ( const QString &  taskName)

Flag task as finished

Parameters
taskNameName of the task that finished

Member Data Documentation

◆ _tasks

QStringList hdps::gui::TaskProgressDialog::_tasks
protected

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