1 #include "ProgressBar.h"
14 ProgressBar::ProgressBar(QString textDescription,
16 m_customText = textDescription;
40 QString progressText = m_customText;
42 if(progressText.size() != 0)
45 return progressText + QProgressBar::text();
virtual QString text() const
This applies the custom text.
~ProgressBar()
Free the allocated memory by this object.
void setText(QString text)
Set custom text for this progress bar.