|
HAL
v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
|


Public Member Functions | |
| WaveFormPrimitiveValue (float x0, float x1, int val, int bits, int base) | |
| void | paint (int y0, QPainter &painter) |
| int | value () const |
Public Member Functions inherited from hal::WaveFormPrimitive | |
| WaveFormPrimitive (float x0, float x1) | |
| virtual | ~WaveFormPrimitive () |
| float | x0 () const |
| float | x1 () const |
| bool | isInRange (int x) const |
Additional Inherited Members | |
Protected Attributes inherited from hal::WaveFormPrimitive | |
| float | mX0 |
| float | mX1 |
A box that shows the numeric value of a multi-bit waveform for the duration it is stable.
Definition at line 111 of file wave_form_primitive.h.
| hal::WaveFormPrimitiveValue::WaveFormPrimitiveValue | ( | float | x0, |
| float | x1, | ||
| int | val, | ||
| int | bits, | ||
| int | base | ||
| ) |
Definition at line 87 of file wave_form_primitive.cpp.
References QVector::append(), hal::WaveFormPrimitive::mX0, hal::WaveFormPrimitive::mX1, hal::WaveFormPrimitive::x0(), and hal::WaveFormPrimitive::x1().
|
virtual |
Implements hal::WaveFormPrimitive.
Definition at line 114 of file wave_form_primitive.cpp.
References QFontMetrics::boundingRect(), QPainter::drawPolygon(), QPainter::drawText(), QPainter::font(), QRectF::moveTo(), hal::WaveFormPrimitive::mX0, hal::WaveFormPrimitive::mX1, QFont::setBold(), QRectF::setHeight(), QFont::setPixelSize(), QRectF::setWidth(), QString::size(), hal::WaveData::stringValue(), QPolygonF::translated(), and QRectF::width().
|
inlinevirtual |
Reimplemented from hal::WaveFormPrimitive.
Definition at line 121 of file wave_form_primitive.h.