Custom QCPErrorBars class that disables selectability.
More...
#include <tcp_stream_dialog.h>
|
| | QCPErrorBarsNotSelectable (QCPAxis *keyAxis, QCPAxis *valueAxis) |
| | Constructs a new QCPErrorBarsNotSelectable instance.
|
| |
|
virtual | ~QCPErrorBarsNotSelectable () |
| | Destroys the QCPErrorBarsNotSelectable instance.
|
| |
| virtual double | selectTest (const QPointF &pos, bool onlySelectable, QVariant *details=0) const Q_DECL_OVERRIDE |
| | Overrides the selectTest to always return -1, disabling selection.
|
| |
| virtual void | drawLegendIcon (QCPPainter *painter, const QRectF &rect) const override |
| | Draws the legend icon for the error bars.
|
| |
Custom QCPErrorBars class that disables selectability.
◆ QCPErrorBarsNotSelectable()
| QCPErrorBarsNotSelectable::QCPErrorBarsNotSelectable |
( |
QCPAxis * |
keyAxis, |
|
|
QCPAxis * |
valueAxis |
|
) |
| |
|
explicit |
◆ drawLegendIcon()
| void QCPErrorBarsNotSelectable::drawLegendIcon |
( |
QCPPainter * |
painter, |
|
|
const QRectF & |
rect |
|
) |
| const |
|
overridevirtual |
Draws the legend icon for the error bars.
- Parameters
-
| painter | The QCPPainter to draw with. |
| rect | The rectangle defining the icon bounds. |
◆ selectTest()
| double QCPErrorBarsNotSelectable::selectTest |
( |
const QPointF & |
pos, |
|
|
bool |
onlySelectable, |
|
|
QVariant * |
details = 0 |
|
) |
| const |
|
virtual |
Overrides the selectTest to always return -1, disabling selection.
- Parameters
-
| pos | The position to test. |
| onlySelectable | Flag indicating if only selectable items should be tested. |
| details | Optional variant for details. |
- Returns
- -1.0 indicating no selection.
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/tcp_stream_dialog.h
- /builds/wireshark/wireshark/ui/qt/tcp_stream_dialog.cpp