34#include <NDEVR/BaseValues.h>
35#include <NDEVR/TimeSpan.h>
36#include <NDEVR/RGBColor.h>
37#include <NDEVR/Buffer.h>
38#include <QProgressBar>
41 class TranslatedString;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:59
Allows for showing of progress bar in horizontal format. Defaults to look and feel of system progress...
Definition QCustomProgressbar.h:55
QSize minimumSizeHint() const override
void clearProgressColors()
QString customText() const
virtual void setToIndeterminateState(bool is_indeterminate)
fltp08 indeterminatePercent() const
Buffer< std::pair< fltp08, RGBColor > > m_progress_colors
Definition QCustomProgressbar.h:144
QSize sizeHint() const override
void setFormat(const String &format)
QString m_last_text
Definition QCustomProgressbar.h:145
void setDrawBackground(bool draw_background)
QCustomProgressBar(QWidget *parent=nullptr)
virtual void setPercent(fltp08 percent)
bool isIndeterminateState() const
virtual ~QCustomProgressBar() override
void setProgressColor(RGBColor color)
virtual void setIndeterminateAnimationTimespan(const TimeSpan &span)
void setProgressColors(const Buffer< RGBColor > &colors)
virtual void setMessage(const TranslatedString &message)
void paintEvent(QPaintEvent *event) override
void addProgressColor(fltp08 percent, RGBColor color)
bool m_draw_background
Definition QCustomProgressbar.h:146
void updateProgressColor()
QTimer * m_update_timer
Definition QCustomProgressbar.h:142
Represents a color in the RGB space with optional alpha transparency.
Definition RGBColor.h:53
The core String class for the software.
Definition String.h:47
Stores a time span, or difference between two times, with an optional start time.
Definition TimeSpan.h:46
Any text displayed to the user should be defined as a TranslatedString which allows the.
Definition TranslatedString.h:13
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:146