Debian Codegraph @

examples/charts/chartsgallery/callout.h

raw symbols SCIP
1 // Copyright (C) 2023 The Qt Company Ltd.cxx . . $ `<file>/examples/charts/chartsgallery/callout.h`/
2 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4 #ifndef CALLOUT_H
5 #define CALLOUT_Hcxx . . $ `examples/charts/chartsgallery/callout.h:5:9`!
6
7 #include <QFont>
8 #include <QGraphicsItem>
9
10 QT_FORWARD_DECLARE_CLASScxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:107:10`!(QChart)
11 QT_FORWARD_DECLARE_CLASScxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:107:10`!(QGraphicsSceneMouseEvent)
12
13 class Calloutcxx . . $ Callout# : public QGraphicsItemcxx . . $ QGraphicsItem#
14 {
15 public:
16 Calloutcxx . . $ Callout#Callout(bbc5770b1ac435f).(QChartcxx . . $ QChart# *parent);
17
18 void setTextcxx . . $ Callout#setText(3520e46b33348bf6).(const QStringcxx . . $ QString# &text);
19 void setAnchorcxx . . $ Callout#setAnchor(f314d96e01811e97).(QPointFcxx . . $ QPointF# point);
20 void updateGeometrycxx . . $ Callout#updateGeometry(49f6e7a06ebc5aa8).();
21
22 QRectFcxx . . $ QRectF# boundingRectcxx . . $ Callout#boundingRect(19f9350443f914b1).() const override;
23 void paintcxx . . $ Callout#paint(75fb761ce905ae5).(QPaintercxx . . $ QPainter# *painter, const QStyleOptionGraphicsItemcxx . . $ QStyleOptionGraphicsItem# *option, QWidgetcxx . . $ QWidget# *widget) override;
24
25 protected:
26 void mousePressEventcxx . . $ Callout#mousePressEvent(11b24ffc11328e2d).(QGraphicsSceneMouseEventcxx . . $ QGraphicsSceneMouseEvent# *event) override;
27 void mouseMoveEventcxx . . $ Callout#mouseMoveEvent(11b24ffc11328e2d).(QGraphicsSceneMouseEventcxx . . $ QGraphicsSceneMouseEvent# *event) override;
28
29 private:
30 QStringcxx . . $ QString# m_textcxx . . $ Callout#m_text.;
31 QRectFcxx . . $ QRectF# m_textRectcxx . . $ Callout#m_textRect.;
32 QRectFcxx . . $ QRectF# m_rectcxx . . $ Callout#m_rect.;
33 QPointFcxx . . $ QPointF# m_anchorcxx . . $ Callout#m_anchor.;
34 QFontcxx . . $ QFont# m_fontcxx . . $ Callout#m_font.;
35 QChartcxx . . $ QChart# *m_chartcxx . . $ Callout#m_chart. = nullptr;
36 };
37
38 #endif