6 #ifndef SWIFT_GUI_EDITOR_VALIDATIONINDICATOR_H
7 #define SWIFT_GUI_EDITOR_VALIDATIONINDICATOR_H
11 #include <QScopedPointer>
23 class CValidationIndicator;
26 namespace swift::gui::editors
52 void setState(
bool ok);
63 virtual void paintEvent(QPaintEvent *paintEvent)
override;
66 const int ResetInterval = 5000;
67 QScopedPointer<Ui::CValidationIndicator> ui;
70 void setBackgroundColor(
const QString &colorName);
73 QString m_originalStyleSheet;
Indication state of validation.
Status messages, e.g. from Core -> GUI.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.