initial commit
This commit is contained in:
53
params/ToolBoxWidget.h
Normal file
53
params/ToolBoxWidget.h
Normal file
@@ -0,0 +1,53 @@
|
||||
#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;
|
||||
|
||||
QPushButton* btnGround;
|
||||
QPushButton* btnWall;
|
||||
QPushButton* btnPillar;
|
||||
|
||||
QPushButton* btnWifi;
|
||||
QPushButton* btnBeacon;
|
||||
|
||||
QPushButton* btnImage;
|
||||
|
||||
private slots:
|
||||
|
||||
void onNewGround();
|
||||
void onNewWall();
|
||||
void onNewPillar();
|
||||
|
||||
void onNewAccessPoint();
|
||||
void onNewBeacon();
|
||||
|
||||
void onNewImage();
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // TOOLBOX_H
|
||||
Reference in New Issue
Block a user