AsyncProgressDialog
Classes | Public Slots | Public Member Functions | List of all members
APD::ProgressOutput Class Reference

A wrapper around QPlainTextEdit, which can be added to AsyncProgressDialog. More...

Inheritance diagram for APD::ProgressOutput:
APD::ProgressWidget

Classes

class  Impl
 

Public Slots

void setText (const QString &text) override
 
- Public Slots inherited from APD::ProgressWidget
virtual void setValue (int, const QVariant &, const TimeStamp &)
 
virtual void setRange (int, int)
 
virtual void setText (const QString &)
 

Public Member Functions

 ProgressOutput (QWidget *parent=nullptr)
 
QPlainTextEdit * plainTextEdit () const
 
- Public Member Functions inherited from APD::ProgressWidget
 ProgressWidget (QWidget *parent=nullptr)
 

Detailed Description

A wrapper around QPlainTextEdit, which can be added to AsyncProgressDialog.

The plain text edit shows progress text as set by TaskThread::setText() method. It keeps the previous texts in the widget and scrolls down as new text is added. The edit is read-only by default.

Constructor & Destructor Documentation

◆ ProgressOutput()

APD::ProgressOutput::ProgressOutput ( QWidget *  parent = nullptr)
explicit

Constructs a progress output with the given parent.

Member Function Documentation

◆ plainTextEdit()

QPlainTextEdit * APD::ProgressOutput::plainTextEdit ( ) const

Return the wrapped QLabel.

◆ setText

void APD::ProgressOutput::setText ( const QString &  text)
overrideslot

Reimplementation of ProgressWidget::setText()


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