6#ifndef SWIFT_GUI_EDITOR_VALIDATIONINDICATOR_H
7#define SWIFT_GUI_EDITOR_VALIDATIONINDICATOR_H
11#include <QScopedPointer>
23 class CValidationIndicator;
26namespace swift::gui::editors
66 const int ResetInterval = 5000;
70 void setBackgroundColor(
const QString &colorName);
void setState(bool ok)
Ok or failed validation?
CValidationIndicator(QWidget *parent=nullptr)
Constructor.
void passed()
Validation passed.
void warnings()
Passed with warnings.
void failed()
Validation failed.
void paintEvent(QPaintEvent *paintEvent)
void clear()
Cleared state.
~CValidationIndicator()
Destructor.
Status messages, e.g. from Core -> GUI.
QFrame(QWidget *parent, Qt::WindowFlags f)
QObject * parent() const const
#define SWIFT_GUI_EXPORT
Export a class or function from the library.