swift
radarview.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2019 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
5 
6 #ifndef SWIFT_GUI_RADARVIEW_H
7 #define SWIFT_GUI_RADARVIEW_H
8 
9 #include <QGraphicsView>
10 
11 #include "gui/swiftguiexport.h"
12 
13 namespace swift::gui::views
14 {
16  class SWIFT_GUI_EXPORT CRadarView : public QGraphicsView
17  {
18  Q_OBJECT
19 
20  public:
22  CRadarView(QWidget *parent = nullptr);
23 
24  signals:
27 
29  void zoomEvent(bool zoomIn);
30 
31  protected:
33  virtual void resizeEvent(QResizeEvent *event) override;
34 
36  virtual void wheelEvent(QWheelEvent *event) override;
37  };
38 } // namespace swift::gui::views
39 
40 #endif // SWIFT_GUI_RADARVIEW_H
void radarViewResized()
Signal emitted when the view is resized.
void zoomEvent(bool zoomIn)
Signal emitted when the user zoomed in our out.
Views, mainly QTableView.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.