diff options
Diffstat (limited to 'examples/charts/chartsgallery/calloutwidget.h')
-rw-r--r-- | examples/charts/chartsgallery/calloutwidget.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/charts/chartsgallery/calloutwidget.h b/examples/charts/chartsgallery/calloutwidget.h new file mode 100644 index 00000000..0040f4eb --- /dev/null +++ b/examples/charts/chartsgallery/calloutwidget.h @@ -0,0 +1,24 @@ +// Copyright (C) 2023 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only + +#ifndef CALLOUTWIDGET_H +#define CALLOUTWIDGET_H + +#include "contentwidget.h" + +class CalloutView; + +class CalloutWidget : public ContentWidget +{ + Q_OBJECT +public: + CalloutWidget(QWidget *parent = nullptr); + +protected: + void resizeEvent(QResizeEvent *) override; + +private: + CalloutView *m_view; +}; + +#endif |