Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
qcp_axis_ticker_elided.h
Go to the documentation of this file.
1
16#ifndef QCP_AXIS_TICKER_ELIDED_H
17#define QCP_AXIS_TICKER_ELIDED_H
18
19#include <ui/qt/widgets/qcustomplot.h>
20
21class QCPAxisTickerElided : public QCPAxisTickerText
22{
23public:
24 explicit QCPAxisTickerElided(QCPAxis *parent);
25
26 // QCP has marginSideToAxisType but not the inverse
27 static QCP::MarginSide axisTypeToMarginSide(const QCPAxis::AxisType);
28
29 QString elidedText(const QString& text);
30
31protected:
32 virtual QString getTickLabel(double tick, const QLocale &locale, QChar formatChar, int precision) override;
33
34private:
35 QCPAxis *mParent;
36};
37
38#endif
Definition qcp_axis_ticker_elided.h:22