mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-22 00:33:44 +08:00
04bc7566af
Co-authored-by: Cameron Clough <cameronjclough@gmail.com> old-commit-hash: dcb769982f87e8128679fd76e181e6ccef2dd5f0
24 lines
401 B
C++
24 lines
401 B
C++
#pragma once
|
|
|
|
#include <QFrame>
|
|
#include <QMapboxGL>
|
|
#include <QStackedLayout>
|
|
|
|
class MapPanel : public QFrame {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MapPanel(const QMapboxGLSettings &settings, QWidget *parent = nullptr);
|
|
|
|
bool isShowingMap() const;
|
|
|
|
private:
|
|
void showEvent(QShowEvent *event) { emit mapWindowShown(); };
|
|
|
|
signals:
|
|
void mapWindowShown();
|
|
|
|
private:
|
|
QStackedLayout *content_stack;
|
|
};
|