1#include "ProgressBar.h"
8 ProgressBar::ProgressBar(QWidget *parent): QProgressBar(parent) {
15 ProgressBar::ProgressBar(QString textDescription,
17 m_customText = textDescription;
41 QString progressText = m_customText;
43 if(progressText.size() != 0)
46 return progressText + QProgressBar::text();
virtual QString text() const
This applies the custom text.
void setText(QString text)
Set custom text for this progress bar.
~ProgressBar()
Free the allocated memory by this object.
This is free and unencumbered software released into the public domain.