6#include <Kanoop/gui/libkanoopgui.h>
7#include <Kanoop/timespan.h>
17class LIBKANOOPGUI_EXPORT
StatusBar :
public QStatusBar
47 void showStatusMessage(
const QString &text,
const QColor& textColor,
const TimeSpan& timeout);
71 QString _progressMessage;
74 void onDotTimerExpired();
QStatusBar subclass with timed messages, color styling, and animated progress text.
void showStatusMessage(const QString &text, const TimeSpan &timeout)
Show a message that disappears after a timeout.
void showStatusMessage(const QString &text, const QColor &textColor)
Show a colored message with no automatic timeout.
StatusBar(QWidget *parent=nullptr)
Construct with an optional parent.
void showAnimatedProgressMessage(const QString &text, const QColor &textColor=QColor())
Show a message with animated trailing dots to indicate progress.
void showStatusMessage(const QString &text, const QColor &textColor, const TimeSpan &timeout)
Show a colored message that disappears after a timeout.
void setForegroundColor(const QColor &color)
Set a permanent foreground color for status bar text.
void stopAnimation()
Stop the animated progress message and clear the status bar.