wip
This commit is contained in:
22
selfdrive/ui/qt/maps/map_panel.h
Executable file
22
selfdrive/ui/qt/maps/map_panel.h
Executable file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include <QFrame>
|
||||
#include <QMapboxGL>
|
||||
#include <QStackedLayout>
|
||||
|
||||
class MapPanel : public QFrame {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MapPanel(const QMapboxGLSettings &settings, QWidget *parent = nullptr);
|
||||
void setVisible(bool visible);
|
||||
|
||||
signals:
|
||||
void mapPanelRequested();
|
||||
|
||||
public slots:
|
||||
void toggleMapSettings();
|
||||
|
||||
private:
|
||||
QStackedLayout *content_stack;
|
||||
};
|
||||
Reference in New Issue
Block a user