40 explicit SequenceDiagram(QCPAxis *keyAxis, QCPAxis *valueAxis, QCPAxis *commentAxis);
45 int adjacentPacket(
bool next);
47 double selectedKey() {
return selected_key_; }
54 bool inComment(QPoint pos)
const;
55 QString elidedComment(
const QString &text)
const;
58 virtual void clearData() { data_->clear(); }
59 virtual double selectTest(
const QPointF &pos,
bool onlySelectable, QVariant *details=0)
const Q_DECL_OVERRIDE;
62 void setSelectedPacket(
int selected_packet);
65 virtual void draw(QCPPainter *painter) Q_DECL_OVERRIDE;
66 virtual void drawLegendIcon(QCPPainter *painter,
const QRectF &rect)
const Q_DECL_OVERRIDE;
67 virtual QCPRange getKeyRange(
bool &validRange, QCP::SignDomain inSignDomain=QCP::sdBoth)
const Q_DECL_OVERRIDE;
68 virtual QCPRange getValueRange(
bool &validRange, QCP::SignDomain inSignDomain=QCP::sdBoth,
const QCPRange &inKeyRange = QCPRange())
const Q_DECL_OVERRIDE;
73 QCPAxis *comment_axis_;
74 WSCPSeqDataMap *data_;
76 uint32_t selected_packet_;