You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
401 B
23 lines
401 B
#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;
|
|
};
|
|
|