private:
static const QColor DecodeColours[4];
+ static const QColor ErrorBgColour;
public:
DecodeSignal(pv::SigSession &session,
void delete_pressed();
private:
-
- /**
- * When painting into the rectangle, calculate the y
- * offset of the zero point.
- **/
- int get_nominal_offset(const QRect &rect) const;
+ void draw_error(QPainter &p, const QString &message,
+ int left, int right);
private slots:
void on_new_decode_data();