#pragma once #include #include #include class MapPanel : public QFrame { Q_OBJECT public: explicit MapPanel(const QMapboxGLSettings &settings, QWidget *parent = nullptr); bool isShowingMap() const; private: QStackedLayout *content_stack; };