| 1 | // Copyright (C) 2023 The Qt Company Ltd.cxx . . $ `<file>/examples/charts/chartsgallery/calloutview.h`/ |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause |
| 3 | |
| 4 | #ifndef CALLOUTVIEW_H |
| 5 | #define CALLOUTVIEW_Hcxx . . $ `examples/charts/chartsgallery/calloutview.h:5:9`! |
| 6 | |
| 7 | #include <QGraphicsView> |
| 8 | |
| 9 | QT_FORWARD_DECLARE_CLASScxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:107:10`!(QChart) |
| 10 | QT_FORWARD_DECLARE_CLASScxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:107:10`!(QGraphicsScene) |
| 11 | QT_FORWARD_DECLARE_CLASScxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:107:10`!(QGraphicsSimpleTextItem) |
| 12 | QT_FORWARD_DECLARE_CLASScxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:107:10`!(QGraphicsView) |
| 13 | QT_FORWARD_DECLARE_CLASScxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:107:10`!(QMouseEvent) |
| 14 | QT_FORWARD_DECLARE_CLASScxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:107:10`!(QResizeEvent) |
| 15 | |
| 16 | class Calloutcxx . . $ Callout#; |
| 17 | |
| 18 | class CalloutViewcxx . . $ CalloutView# : public QGraphicsViewcxx . . $ QGraphicsView# |
| 19 | { |
| 20 | Q_OBJECTcxx . . $ CalloutView#qt_staticMetaObjectRelocatingContent. |
| 21 | public: |
| 22 | CalloutViewcxx . . $ CalloutView#CalloutView(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent = nullptr); |
| 23 | ~cxx . . $ CalloutView#`~CalloutView`(ced63f7c635d850d).CalloutViewcxx . . $ CalloutView#(); |
| 24 | |
| 25 | protected: |
| 26 | void resizeEventcxx . . $ CalloutView#resizeEvent(eeeec21cf8dc0387).(QResizeEventcxx . . $ QResizeEvent# *event) override; |
| 27 | void mouseMoveEventcxx . . $ CalloutView#mouseMoveEvent(702858a82d06265c).(QMouseEventcxx . . $ QMouseEvent# *event) override; |
| 28 | |
| 29 | public slotscxx . . $ `<external>/4830994369567095248/qtmetamacros.h:42:14`!: |
| 30 | void keepCalloutcxx . . $ CalloutView#keepCallout(49f6e7a06ebc5aa8).(); |
| 31 | void tooltipcxx . . $ CalloutView#tooltip(9d376306d8ec258).(QPointFcxx . . $ QPointF# point, bool state); |
| 32 | |
| 33 | private: |
| 34 | QGraphicsSimpleTextItemcxx . . $ QGraphicsSimpleTextItem# *m_coordXcxx . . $ CalloutView#m_coordX. = nullptr; |
| 35 | QGraphicsSimpleTextItemcxx . . $ QGraphicsSimpleTextItem# *m_coordYcxx . . $ CalloutView#m_coordY. = nullptr; |
| 36 | QChartcxx . . $ QChart# *m_chartcxx . . $ CalloutView#m_chart. = nullptr; |
| 37 | Calloutcxx . . $ Callout# *m_tooltipcxx . . $ CalloutView#m_tooltip. = nullptr; |
| 38 | QListcxx . . $ QList#<Calloutcxx . . $ Callout# *> m_calloutscxx . . $ CalloutView#m_callouts.; |
| 39 | }; |
| 40 | |
| 41 | #endif |