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/LayerTree.h
root e5e19779d5 worked on android port
opengl1 -> es
2018-01-31 17:15:11 +01:00

52 lines
644 B
C++

#ifndef LAYERTREE_H
#define LAYERTREE_H
#include "fixC11.h"
#include <QWidget>
class QTreeView;
class QPushButton;
class MapTreeModel;
#include <QModelIndex>
class LayerTree : public QWidget {
Q_OBJECT
public:
explicit LayerTree(QWidget *parent = 0);
//QTreeView* getTree() const {return tree;}
void setModel(MapTreeModel* model);
void expandAll();
signals:
void layerSelected(QModelIndex);
private slots:
void onLayerSelected(QModelIndex);
void onBtnNew();
void onBtnDelete();
private:
QTreeView* tree;
QPushButton* btnNew;
QPushButton* btnDelete;
MapTreeModel* model;
public slots:
};
#endif // LAYERTREE_H