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/MainWindow.h
kazu fa06320219 a whole lotta work!!
- refactoring
- completely changed the tooling (adding elements)
- better re-use for more stable editing
- new elements
- ui adjustments
- LINT for stair-editing
- many more changes
2016-08-29 19:05:46 +02:00

64 lines
1.2 KiB
C++

#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
class MapView2D;
class MapView3D;
class QTreeView;
class QStatusBar;
class QLabel;
class ElementParamWidget;
class LayerParamWidget;
class ActionWidget;
class ToolBoxWidget;
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow {
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
MapView2D* getMapView2D() {return mapView2D;}
MapView3D* getMapView3D() {return mapView3D;}
ElementParamWidget* getElementParamWidget() {return elementParamWidget;}
LayerParamWidget* getLayerParamWidget() {return layerParamWidget;}
ToolBoxWidget* getToolBoxWidget() {return toolBoxWidget;}
ActionWidget* getActionWidget() {return actionWidget;}
QTreeView* getTree();
signals:
void onShow2D();
void onShow3DFloorplan();
void onShow3DGrid();
void onGridShowEdges(bool);
void onGridNodeColorImp();
void onGridNodeColorType();
private:
Ui::MainWindow *ui;
QTreeView* layerTree;
MapView2D* mapView2D;
MapView3D* mapView3D;
ElementParamWidget* elementParamWidget;
LayerParamWidget* layerParamWidget;
ActionWidget* actionWidget;
ToolBoxWidget* toolBoxWidget;
QStatusBar* statusBar;
QLabel* statusBarText1;
};
#endif // MAINWINDOW_H