This repository has been archived on 2020-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
IndoorMap/params/ToolBoxWidget.h
2016-06-06 22:08:53 +02:00

57 lines
765 B
C++

#ifndef TOOLBOX_H
#define TOOLBOX_H
#include <QWidget>
class MapLayer;
class QPushButton;
class MapView2D;
class ToolBoxWidget : public QWidget {
Q_OBJECT
public:
explicit ToolBoxWidget(MapView2D* view, QWidget *parent = 0);
signals:
public slots:
/** set the currently selected map layer */
void setSelectedLayer(MapLayer* ml);
private:
MapView2D* view;
MapLayer* curLayer;
int r = 0;
QPushButton* btnGround;
QPushButton* btnWall;
QPushButton* btnPillar;
QPushButton* btnWifi;
QPushButton* btnBeacon;
QPushButton* btnPOI;
QPushButton* btnImage;
private slots:
void onNewGround();
void onNewWall();
void onNewPillar();
void onNewAccessPoint();
void onNewBeacon();
void onNewPOI();
void onNewImage();
};
#endif // TOOLBOX_H