wfview/qledlabel.h

28 wiersze
379 B
C
Czysty Zwykły widok Historia

#ifndef QLEDLABEL_H
#define QLEDLABEL_H
#include <QLabel>
class QLedLabel : public QLabel
{
Q_OBJECT
public:
explicit QLedLabel(QWidget* parent = 0);
enum State {
StateOk,
StateOkBlue,
StateWarning,
StateError
};
signals:
public slots:
void setState(State state);
void setState(bool state);
};
#endif // QLEDLABEL_H