#ifndef MAINWINDOW_H #define MAINWINDOW_H #include class MapView2D; class MapView3D; class QTreeView; class QStatusBar; class QLabel; class ElementParamWidget; class LayerParamWidget; class ActionWidget; class ToolBoxWidget; class LayerTree; class LINTView; 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;} LINTView* getLINT() {return lintView;} ElementParamWidget* getElementParamWidget() {return elementParamWidget;} LayerParamWidget* getLayerParamWidget() {return layerParamWidget;} ToolBoxWidget* getToolBoxWidget() {return toolBoxWidget;} ActionWidget* getActionWidget() {return actionWidget;} LayerTree* getTree() {return layerTree;} signals: void onShow2D(); void onShow3DFloorplan(); void onShow3DGrid(); void onGridShowEdges(bool); void onGridNodeColorImp(); void onGridNodeColorType(); private: Ui::MainWindow *ui; LayerTree* layerTree; LINTView* lintView; MapView2D* mapView2D; MapView3D* mapView3D; ElementParamWidget* elementParamWidget; LayerParamWidget* layerParamWidget; ActionWidget* actionWidget; ToolBoxWidget* toolBoxWidget; QStatusBar* statusBar; QLabel* statusBarText1; }; #endif // MAINWINDOW_H